{"gameJson":{"status":"success","data":{"dialogues":{"X8RaUwuzvf":{"name":"Kicked User","dialogueTitle":"You have been kicked due to inactivity","message":"You have been kicked due to inactivity. To prevent this from happening, please consider logging in.","image":"","letterPrintSpeed":0,"options":[{"name":"Understood","scriptName":"","followUpDialogue":""}]},"MhUa8U9yYY":{"name":"We are recruiting Video Editors!","dialogueTitle":"We are accepting applications!","message":"Would you like to help edit Modd.io Gameplay Videos? Your work will be published on Modd.io's Youtube channel.","image":"","letterPrintSpeed":null,"options":[{"name":"Yes","scriptName":"0POj8p3KZO","followUpDialogue":""},{"name":"No","scriptName":"","followUpDialogue":""}],"streamMode":1},"R7uNyOXmE9":{"name":"Kicked User with account","dialogueTitle":"You have been kicked due to inactivity","message":"You have been kicked due to inactivity in full server..","image":"","letterPrintSpeed":0,"options":[{"name":"Understood","scriptName":"","followUpDialogue":""}]}},"bodyTypes":{"default":{"bullet":true,"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"rotationSpeed":1,"linearDamping":1,"angularDamping":1,"collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":false},"allowSleep":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"fixedRotation":true,"z-index":{"depth":9,"layer":3},"height":100,"width":100,"type":"spriteOnly","name":"default","affectedByGravity":false},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":30,"width":30,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":42,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false},"unselected":{"friction":0,"collidesWith":{"debris":false,"walls":true,"projectiles":true,"items":true,"units":true},"itemAnchor":{"y":0,"x":0},"unitAnchor":{"rotation":0,"y":30,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":42,"width":12,"type":"none","typeWhenDrop":"dynamic","z-index":{"depth":3,"layer":3},"fixedRotation":false,"name":"unselected"},"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":3,"depth":6},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":30,"width":30,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":32,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":false},"type":"spriteOnly","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"}}],"affectedByGravity":false},"unSelected":{"type":"none","collidesWith":{"debris":false,"walls":true,"projectiles":true,"items":true,"units":true},"itemAnchor":{"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":40,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":3,"layer":3},"fixedRotation":false,"name":"unselected"},"2Ud5pQbq7b":{"height":16,"width":20,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png","fixtures":[{"shape":{"type":"rectangle"},"restitution":"0.3","density":150,"isSensor":false,"friction":1}],"fixedRotation":false,"bullet":true,"allowSleep":true,"type":"dynamic","angularDamping":0,"linearDamping":0,"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":true},"name":"potato","z-index":{"layer":3,"depth":3},"rotationSpeed":3,"spriteScale":1,"affectedByGravity":false},"MTo2rh9Gud":{"name":"Flying","type":"dynamic","width":225,"height":225,"z-index":{"layer":5,"depth":8},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"rotation":0},"itemAnchor":{"x":0,"y":0}},"UhbITAv1Qq":{"name":"uncollidable","type":"dynamic","width":40,"height":40,"z-index":{"layer":3,"depth":3,"offset":0},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"rotate":{"x":0,"y":0,"z":0},"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0}},"OR1aVAeA1X":{"name":"vertical","type":"static","width":64,"height":64000,"depth":0,"z-index":{"layer":3,"depth":3,"offset":0},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false,"sensors":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"rotate":{"x":0,"y":0,"z":0},"fixtures":[{"density":20,"friction":0.1,"restitution":0.1,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"isBillboard":false},"RxYB3HIwOK":{"name":"activated","type":"dynamic","width":16,"height":45,"z-index":{"layer":3,"depth":3},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":false,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":"1.3","fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"rotation":180},"itemAnchor":{"x":0,"y":0}},"TWvkcg7Waa":{"name":"Ghost","type":"dynamic","size":{"width":40,"height":40,"depth":40},"allowSleep":true,"bullet":false,"z-index":{"layer":1,"depth":3,"offset":0},"fixedRotation":false,"fixed":{"rx":false,"ry":false,"rz":false},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"rotationSpeed":3,"angularDamping":1,"linearDamping":5,"spriteScale":1,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"props":false,"sensors":false},"fixtures":[{"overrideMass":false,"density":1,"mass":0,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0,"z":0}}],"isBillboard":false,"globalSpace":false,"mountTarget":"","mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"width":60,"height":60},"9fZZVm1eC1":{"name":"Cloak","type":"dynamic","size":{"width":40,"height":40,"depth":40},"allowSleep":true,"bullet":false,"z-index":{"layer":1,"depth":3,"offset":0},"fixedRotation":false,"fixed":{"rx":false,"ry":false,"rz":false},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"z":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"rotationSpeed":3,"angularDamping":1,"linearDamping":5,"spriteScale":1,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"props":false,"sensors":false},"fixtures":[{"overrideMass":false,"density":1,"mass":0,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0,"z":0}}],"isBillboard":false,"globalSpace":false,"mountTarget":"","mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"width":50,"height":50}},"shops":{"humansShop":{"unitTypes":{},"dismissible":true,"name":"Shop","itemTypes":{"6T5fWSolir":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":0},"a7ixKqRxFW":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":1},"nidc3swP0c":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":2},"BKZQ7EL3J5":{"price":{"playerAttributes":{"points":1500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":3},"W8SojbpByx":{"price":{"playerAttributes":{"points":2000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":4},"PBOMyFpPs8":{"price":{"playerAttributes":{"points":2000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":5},"potatoGun":{"price":{"playerAttributes":{"points":3000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":6},"d73qo6nov5":{"price":{"playerAttributes":{"points":10000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":7}},"description":"Buy items with points! Keep in mind some items have rare variants!","streamMode":1,"shopClass":""},"G8cuF6k2zK":{"name":"Mod's Shop","dismissible":true,"itemTypes":{"6T5fWSolir":{"price":{"playerAttributes":{"points":250},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":0},"ZD6XzgYzi5":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":1},"4RNAmFWfy2":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":2},"nl7XMFfFN8":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":3},"wc3VOrFj3i":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":4},"9w6WpNtbMG":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":5},"oQOSkx7Oe6":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":6},"kr6NTk9wSo":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":7},"f9tu1nfLoh":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":8},"hI12cyhOl0":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":9},"qivW93U4XC":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":10},"FRA8xRxrDG":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":13}},"unitTypes":{},"description":"Shrek was here...","streamMode":1,"shopClass":""},"kxyl5lsoVw":{"name":"Extra Items Shop","description":"Buy extra items with points! Keep in mind some items have rare variants!","dismissible":true,"itemTypes":{"6T5fWSolir":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":0},"g2XpxVVdEp":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":1},"a7ixKqRxFW":{"price":{"playerAttributes":{"points":250},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":2},"nidc3swP0c":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":3},"BKZQ7EL3J5":{"price":{"playerAttributes":{"points":1500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":4},"W8SojbpByx":{"price":{"playerAttributes":{"points":2000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":5},"PBOMyFpPs8":{"price":{"playerAttributes":{"points":2000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":6},"U57uEKv8ko":{"price":{"playerAttributes":{"points":2500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":7},"potatoGun":{"price":{"playerAttributes":{"points":3000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":8},"d73qo6nov5":{"price":{"playerAttributes":{"points":10000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":9},"oI7IYepEHl":{"price":{"playerAttributes":{"points":2000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":10},"Z6cZdmeRd8":{"price":{"playerAttributes":{"points":2000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":11},"9jYPyEYzU4":{"price":{"playerAttributes":{"points":2000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":12},"7PnVjGFlfv":{"price":{"playerAttributes":{"points":3000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":13},"NUQnpXAIsR":{"price":{"playerAttributes":{"points":2500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":200,"isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":14},"QZadOkit0E":{"price":{"playerAttributes":{"points":3500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":200,"isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":15},"nl7XMFfFN8":{"price":{"playerAttributes":{"points":4000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":200,"isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":16},"eQSGgauhnV":{"price":{"playerAttributes":{"points":4000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":17},"PnfbtGyEy9":{"price":{"playerAttributes":{"points":5000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":18},"9w6WpNtbMG":{"price":{"playerAttributes":{"points":5000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":19},"oQOSkx7Oe6":{"price":{"playerAttributes":{"points":7500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":20},"zwAoerFxEw":{"price":{"playerAttributes":{"points":7500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":21},"g48QWebjK3":{"price":{"playerAttributes":{"points":7500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":22},"Ht5dDfEuGr":{"price":{"playerAttributes":{"points":10000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":23},"OX7kaD3N28":{"price":{"playerAttributes":{"points":12500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":24},"m3xUP8Xx3R":{"price":{"playerAttributes":{"points":15000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":25},"AqvB0z1niq":{"price":{"playerAttributes":{"points":20000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":26},"qivW93U4XC":{"price":{"playerAttributes":{"points":25000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":27},"xF5dQGsZnK":{"price":{"playerAttributes":{"points":25000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":28},"PyrFdp103w":{"price":{"playerAttributes":{"points":25000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":29},"b5cIzRMo5i":{"price":{"playerAttributes":{"points":25000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":30},"dZiBrGMVbr":{"price":{"playerAttributes":{"points":25000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":31},"4D2dXENCn6":{"price":{"playerAttributes":{"points":30000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":32}},"unitTypes":{},"streamMode":1,"shopClass":""},"LLPRcmAWJO":{"name":"Developer shop","description":"Only for testing and for events. :P","dismissible":true,"itemTypes":{"FRA8xRxrDG":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":0},"6T5fWSolir":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":1},"nidc3swP0c":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":2},"eQSGgauhnV":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":3},"BKZQ7EL3J5":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":4},"W8SojbpByx":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":5},"PBOMyFpPs8":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":6},"potatoGun":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":7},"d73qo6nov5":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":8},"HoRkmdYOhT":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":9},"zwAoerFxEw":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":10},"Ht5dDfEuGr":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":11},"g48QWebjK3":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":12},"ZD6XzgYzi5":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":13},"m3xUP8Xx3R":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":14},"9jYPyEYzU4":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":15},"7PnVjGFlfv":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":16},"dUlUsudomI":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":17},"QzsEYxw8Fe":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":18},"Z6cZdmeRd8":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":19},"OX7kaD3N28":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":20},"oI7IYepEHl":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":21},"U57uEKv8ko":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":22},"Vsq7KR0ugI":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":23},"QZadOkit0E":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":24},"9w6WpNtbMG":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":25},"NUQnpXAIsR":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":26},"7n2xQC30K4":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":27},"FakbevHIL3":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":28},"PnfbtGyEy9":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":29},"oQOSkx7Oe6":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":30},"qivW93U4XC":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":31},"s1L3qvKP3E":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":32},"AqvB0z1niq":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":33},"g2XpxVVdEp":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":34},"EabNufYfRC":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":35},"kr6NTk9wSo":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":36},"hI12cyhOl0":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":37},"Ff9XI5Sg1c":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":38},"4RNAmFWfy2":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":39},"f9tu1nfLoh":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":40},"wc3VOrFj3i":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":41},"nl7XMFfFN8":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":42},"dZiBrGMVbr":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":43},"cAa37MC5GW":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":44},"PyrFdp103w":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":45},"fjTVEaTI6W":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":46},"zJdbYbM7i2":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":47},"O71kePDy7h":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":48},"RLrKyRnahl":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":49},"aCCoh2lFbC":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":50},"kuwo9soxTb":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":51},"rglf09CYPa":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":52},"iyejlTmBFc":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":53},"4D2dXENCn6":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":54},"Bfo7rjMh9q":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":55},"b5cIzRMo5i":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":56},"aNMjJKOcmQ":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":57},"xF5dQGsZnK":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":58},"DiitAFmQ31":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":59},"Z4vVSxpakD":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":60},"a7ixKqRxFW":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":100},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":61}},"unitTypes":{},"shopClass":"","streamMode":1},"Cr26DGXLBD":{"name":"Juke-Only shop","description":"Buy things to allow you to survive in JUKE-only round.","dismissible":true,"itemTypes":{"6T5fWSolir":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":0},"a7ixKqRxFW":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":1},"nidc3swP0c":{"price":{"playerAttributes":{"points":250},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":2},"BKZQ7EL3J5":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":3},"PBOMyFpPs8":{"price":{"playerAttributes":{"points":750},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":4},"oI7IYepEHl":{"price":{"playerAttributes":{"points":750},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":5},"potatoGun":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":6},"d73qo6nov5":{"price":{"playerAttributes":{"points":5000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":7},"Z6cZdmeRd8":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":8},"9jYPyEYzU4":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":9}},"unitTypes":{},"shopClass":""},"FWljND3E6h":{"name":"Wizard's Shop","description":"I offer premium items at a non-premium price!","dismissible":true,"itemTypes":{"g2XpxVVdEp":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":0},"oQOSkx7Oe6":{"price":{"playerAttributes":{"points":3000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":1},"PnfbtGyEy9":{"price":{"playerAttributes":{"points":3500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":2},"Ht5dDfEuGr":{"price":{"playerAttributes":{"points":5000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":3},"Ff9XI5Sg1c":{"price":{"playerAttributes":{"points":10000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":4},"qivW93U4XC":{"price":{"playerAttributes":{"points":15000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":5},"xF5dQGsZnK":{"price":{"playerAttributes":{"points":15000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":6},"b5cIzRMo5i":{"price":{"playerAttributes":{"points":15000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":7},"4D2dXENCn6":{"price":{"playerAttributes":{"points":25000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":8}},"unitTypes":{},"shopClass":""},"tsUn1ozVOE":{"name":"Wizard's JUKE-ONLY shop","description":"I sell premium JUKE-ONLY items with non-premium price!","dismissible":true,"itemTypes":{"g2XpxVVdEp":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":0},"NUQnpXAIsR":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":1},"QZadOkit0E":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":2},"oI7IYepEHl":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":3},"Z6cZdmeRd8":{"price":{"playerAttributes":{"points":750},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":4},"9jYPyEYzU4":{"price":{"playerAttributes":{"points":750},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":null,"isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":5},"7PnVjGFlfv":{"price":{"playerAttributes":{"points":1000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":null,"isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":6},"nl7XMFfFN8":{"price":{"playerAttributes":{"points":2000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":7},"9w6WpNtbMG":{"price":{"playerAttributes":{"points":3000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":8},"oQOSkx7Oe6":{"price":{"playerAttributes":{"points":5000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":9},"OX7kaD3N28":{"price":{"playerAttributes":{"points":7500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":10},"PyrFdp103w":{"price":{"playerAttributes":{"points":10000},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":11}},"unitTypes":{},"shopClass":""},"jmVD4csnrz":{"name":"Booster's Shop","description":"Thanks for boosting the Braains.io Discord Server!","dismissible":true,"itemTypes":{"6T5fWSolir":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":0},"g2XpxVVdEp":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":1},"BKZQ7EL3J5":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":2},"Ht5dDfEuGr":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":3},"9w6WpNtbMG":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":4},"9jYPyEYzU4":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":2,"isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":5},"d73qo6nov5":{"price":{"playerAttributes":{"points":500},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":5,"isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":false,"order":6}},"unitTypes":{},"shopClass":""}},"animationTypes":{"default":{"framesPerSecond":15,"loopCount":1,"frames":[1,2,3,4,5,6],"name":"default"},"TpsmgGVfi5":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"yCISXF8EXm":{"name":"immune","frames":[2],"framesPerSecond":0,"loopCount":""},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":""},"use":{"loopCount":null,"framesPerSecond":null,"frames":[2],"name":"use"},"fD6vK3Jt07":{"name":"flying","frames":[3,2,1,2],"framesPerSecond":10,"loopCount":""},"suJy6sfV7i":{"name":"picked up","frames":[6,7,8,9,10],"framesPerSecond":2,"loopCount":""},"jDPLs5pGrM":{"name":"cooldown","frames":[],"framesPerSecond":0,"threeAnimationKey":"","loopCount":""},"gck7kItjPT":{"name":"Cloak","frames":[],"framesPerSecond":0,"threeAnimationKey":"","loopCount":0,"animationDuration":"","forceCompleteAnimation":false},"Lxs1mac9sT":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":""},"m9ST3VBFsT":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":""}},"states":{"dropped":{"sound":{},"particles":{},"body":"dropped","animation":"TpsmgGVfi5","name":"dropped"},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"selected":{"sound":{},"particles":{},"body":"selected","animation":"TpsmgGVfi5","name":"selected"},"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"},"zhBMAKcow8":{"name":"immune","animation":"yCISXF8EXm","body":"default","particles":{},"sound":{}},"MWWnM0tnIb":{"name":"flying","animation":"fD6vK3Jt07","body":"selected","particles":{},"sound":{}},"zTzPFYOZkc":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"},"0PKIyEEGdC":{"name":"uncollidable","animation":"","body":"none","particles":{},"sound":{}},"unSelected":{"sound":{},"particles":{},"body":"unSelected","animation":"TpsmgGVfi5","name":"unselected"},"dBoqKf1dwc":{"name":"activated","animation":"default","body":"RxYB3HIwOK","particles":{},"sound":{}},"oMUJugtfHX":{"name":"Ghost","animation":"","body":"TWvkcg7Waa","particles":{},"sound":{}},"414MVDyJSG":"","wbR6N60FhN":{"name":"Cloak","animation":"gck7kItjPT","body":"9fZZVm1eC1","particles":{},"sound":{}}},"map":{"compressionlevel":-1,"height":57,"infinite":false,"layers":[{"data":[3,4,3,2,4,3,3,3,443,3,4,2,3,1,2,4,3,1,4,443,1,2,4,4,4,4,1,2,3,1,1,2,1,2,2,2,3,2,2,2,1,2,2,1,4,473,1,4,2,1,4,2,444,1,1,1,3,2,4,475,2,4,2,2,474,3,3,3,2,2,448,1,474,4,1,1,1,471,2,1,2,2,1,474,294,323,323,323,323,323,295,447,1,443,1,446,446,2,473,448,2,4,4,475,4,444,2,470,3,2,2,1,4,3,1,448,1,4,294,268,48,77,77,77,49,269,295,3,1,2,4,472,4,3,443,2,4,3,3,4,1,446,1,3,4,4,443,0,0,0,0,3,17,447,449,449,450,475,0,449,49,477,17,17,4,444,472,446,443,1,3,4,1,445,2,93,93,93,93,93,93,93,93,93,93,93,93,93,2,449,449,449,450,449,450,449,450,449,7,7,7,7,7,7,7,7,1,4,1,447,93,56,93,56,93,56,93,93,93,93,93,93,93,449,449,450,449,450,449,450,450,450,449,7,370,371,371,371,371,372,7,2,1,4,2,93,93,93,93,93,93,93,93,93,93,93,93,93,450,450,449,450,450,449,450,449,450,17,7,397,398,398,398,398,399,7,2,3,4,2,1,447,1,444,2,448,1,93,169,178,93,93,93,51,75,51,51,449,449,450,449,76,7,7,424,425,425,425,425,426,7,4,4,1,2,4,2,475,1,2,472,4,178,178,178,178,178,445,470,450,321,242,75,51,51,76,476,7,7,7,8,8,8,7,7,7,445,4,3,448,2,1,2,1,448,3,2,178,178,178,178,178,2,2,3,2,321,297,297,297,242,476,8,7,7,7,8,8,8,8,7,477,2,3,1,1,470,4,471,445,1,475,1,3,2,1,4,2,3,2,470,3,2,473,3,324,477,8,507,507,507,7,8,8,7,7,477,4,471,2,2,4,1,4,4,96,96,96,96,96,3,4,3,470,0,96,474,313,96,96,96,96,96,507,507,507,507,8,8,8,8,476,4,1,448,2,1,1,4,474,14,13,13,14,96,96,96,120,120,96,96,96,96,96,96,96,96,8,507,507,507,507,7,7,8,8,477,448,4,1,448,4,448,3,474,13,14,13,13,96,96,96,96,96,96,96,96,96,96,96,96,96,7,507,507,507,507,8,8,7,7,477,448,1,444,4,3,1,2,474,13,13,13,13,96,96,96,96,96,96,96,96,96,96,96,96,96,11,507,507,507,8,8,7,7,8,477,3,2,4,4,2,472,446,2,13,14,14,13,377,96,96,96,96,96,96,96,96,96,96,96,96,8,8,7,7,7,8,7,7,8,356,446,448,443,1,448,4,1,4,14,13,13,13,96,96,96,96,96,96,96,96,96,96,96,96,96,8,8,7,7,8,7,8,7,1,1,1,470,4,3,1,4,2,3,14,96,96,96,96,96,96,96,96,96,96,96,96,373,374,375,96,8,8,8,455,456,457,7,445,3,3,3,3,2,3,3,2,1,11,11,11,11,96,96,96,96,96,96,96,96,96,96,427,428,429,96,8,8,8,482,483,484,7,3,3,3,2,4,3,3,3,2,1,11,11,11,11,96,96,96,96,96,96,96,96,96,96,96,96,96,96,7,7,8,509,510,511,7,474,448,2,4,2,2,447,445,443,443,11,11,11,11,96,96,346,348,96,96,96,96,96,96,96,96,96,96,7,7,7,8,7,8,8,8,4,475,4,3,443,1,1,4,2,11,11,11,11,96,96,96,96,96,96,96,96,96,96,96,96,96,96,476,476,477,0,7,7,8,0,2,1,471,4,4,3,1,3,4,11,11,11,11,2,4,324,296,3,475,4,349,350,350,350,350,351,351,1,443,1,7,8,7,8,473,470,1,474,1,448,1,3,4,474,11,11,11,11,4,471,324,296,4,4,2,376,377,377,377,377,378,3,475,470,446,7,448,270,4,1,4,475,3,4,2,3,2,475,3,11,11,11,11,2,3,324,296,448,3,2,376,377,377,377,377,378,4,2,448,447,3,1,270,474,2,2,1,444,1,4,4,2,473,3,11,11,11,11,447,2,324,269,295,474,2,403,404,404,404,404,405,472,472,4,3,448,243,216,2,4,4,4,470,2,3,1,2,1,2,444,474,474,3,4,2,321,242,296,1,4,3,3,474,474,474,443,4,2,4,443,474,270,4,2,4,1,3,3,475,1,1,1,4,4,3,3,3,2,474,475,447,324,296,446,2,3,4,1,445,4,473,475,2,1,1,4,270,3,2,473,3,471,3,2,4,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,356,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,357,4,1,1,329,330,1,2,3,3,446,4,1,4,329,330,447,2,470,1,474,471,4,4,1,1,4,471,447,1,2,2,1,2,473,1,448,3,1,329,330,2,4,1,471,4,4,1,4,329,330,2,443,3,444,2,2,4,4,471,4,4,3,2,2,4,474,4,2,2,475,1,2,1,329,330,2,3,472,4,470,4,477,47,305,306,477,476,477,476,377,476,476,446,1,2,4,3,101,99,101,101,444,3,4,4,1,4,3,329,330,3,4,1,2,1,3,476,343,344,344,345,477,349,350,350,351,101,476,476,2,4,1,99,101,99,101,1,2,2,2,2,2,473,329,330,476,476,2,3,2,476,476,101,101,101,101,477,376,377,377,377,350,351,476,3,2,3,4,101,101,101,446,3,3,473,3,4,2,329,330,477,101,101,101,101,101,101,101,101,101,101,16,376,377,377,377,377,378,16,4,446,443,470,1,448,2,1,3,3,2,2,3,2,329,330,477,101,373,374,375,101,101,101,101,101,101,16,403,404,404,404,404,405,476,3,475,2,4,448,3,2,4,448,1,1,2,3,3,329,330,476,101,427,428,429,101,47,101,101,101,101,476,476,377,377,101,101,101,477,476,477,476,3,2,3,4,4,472,2,1,443,2,2,329,330,477,101,97,97,97,101,47,101,101,101,101,101,101,101,101,101,101,101,99,101,101,477,1,444,3,448,443,4,1,1,474,2,2,329,330,477,477,477,477,476,476,477,101,477,476,477,476,477,101,101,47,477,476,47,101,101,476,4,4,4,4,4,3,3,4,475,446,1,329,330,2,4,1,477,101,101,101,101,21,21,21,21,101,101,101,101,16,101,101,101,101,2,3,471,2,4,4,4,4,4,4,1,3,329,352,356,356,356,279,101,477,101,21,21,21,21,476,101,101,101,101,476,101,455,457,101,4,4,4,4,4,2,2,2,4,1,1,2,305,357,357,357,357,306,101,47,21,21,21,21,21,476,101,101,101,101,477,101,509,511,101,477,2,2,2,3,4,4,3,474,3,443,2,324,296,2,446,2,47,101,47,21,21,21,21,21,477,97,101,101,101,477,97,97,97,97,477,3,446,4,447,4,4,4,4,2,1,3,324,296,474,4,4,1,1,47,47,475,2,2,3,477,16,15,16,16,476,15,15,15,15,477,3,2,448,3,4,3,3,1,4,2,4,324,296,3,1,1,3,3,4,445,3,475,2,3,474,2,3,1,4,1,446,472,3,4,443,2,448,4,2,4,3,4,1,2,471,294,268,296,448,2,4,1,475,475,2,1,475,4,470,2,4,3,3,1,470,3,3,1,1,2,4,2,4,1,3,4,1,4,3,4,324,241,322,447,3,2,2,2,1,1,446,475,3,4,4,2,3,4,3,3,4,2,4,448,3,1,2,3,445,1,470,1,3,474,4,324,296,443,1,2,3,473,475,3,1,3,1,2,4,2,472,3,443,474,474,4,1,448,2,4,4,448,4,3,471,3,1,3,3,444,324,296,1,475,4,4,2,443,1,3,448,4,3,471,1,443,1,3,3,2,448,3,474,1,444,2,448,2,2,3,444,2,4],"height":57,"id":1,"name":"floor","opacity":0.98,"type":"tilelayer","visible":true,"width":35,"x":0,"y":0},{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,451,451,451,451,451,451,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,479,0,0,0,0,0,0,452,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,479,0,0,0,0,0,0,452,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,320,0,0,0,0,0,0,0,0,0,0,0,479,0,0,0,0,0,0,452,0,0,0,0,0,0,0,0,213,213,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,478,478,478,478,478,478,0,0,0,0,0,0,0,0,0,213,213,0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,213,213,0,0,0,0,0,0,0,0,0,512,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,453,453,453,0,0,0,0,453,453,453,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,481,0,0,0,454,0,0,481,0,0,0,454,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,481,0,0,0,454,0,0,481,0,0,0,454,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,453,453,0,0,0,0,0,0,480,480,480,0,0,0,481,0,0,0,454,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,481,0,0,454,0,0,0,0,0,0,0,0,0,0,0,0,480,480,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,480,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,486,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,486,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,213,213,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,0,0,0,0,0,0,451,451,0,0,0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,0,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,478,478,478,478,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,453,453,453,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,481,0,0,0,454,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,481,0,0,0,454,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,0,0,0,0,0,480,480,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,453,453,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,481,0,0,454,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,481,0,0,454,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,480,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,236,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":57,"id":6,"name":"floor2","opacity":1,"type":"tilelayer","visible":true,"width":35,"x":0,"y":0},{"draworder":"topdown","id":3,"name":"debris","objects":[],"opacity":1,"type":"objectgroup","visible":true,"x":0,"y":0,"height":57,"width":35},{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,237,238,239,151,120,120,120,120,120,119,19,19,0,19,20,0,0,20,109,111,111,111,114,0,461,142,111,110,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,147,0,0,0,20,0,0,0,0,138,0,0,0,0,0,0,0,0,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,147,0,0,20,0,0,0,20,0,138,0,0,0,0,0,0,0,0,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,147,0,19,20,459,0,20,19,0,138,0,0,0,0,0,0,0,0,138,0,0,0,0,0,0,0,0,0,0,150,0,0,0,0,0,147,0,0,0,19,0,19,0,0,138,0,0,0,0,0,0,0,0,138,0,0,0,0,0,0,0,0,0,0,147,0,0,0,118,120,146,20,0,0,0,0,0,0,0,138,0,0,0,0,0,0,0,0,138,0,0,0,0,0,0,0,0,0,0,145,120,120,120,146,0,0,0,0,0,0,0,0,0,0,139,111,111,111,110,0,0,0,0,138,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,0,0,0,138,0,0,0,0,138,0,0,0,0,0,0,0,280,282,282,282,282,281,0,0,0,0,118,123,461,151,119,0,0,0,138,0,0,0,138,0,109,114,0,138,0,0,0,0,0,0,0,286,0,0,0,0,307,282,282,120,120,146,0,0,0,147,0,0,0,138,0,0,0,138,0,138,0,0,138,0,0,0,0,0,0,0,434,0,0,0,0,0,0,0,0,0,0,0,0,0,147,0,0,0,138,0,0,0,138,0,138,0,0,138,0,0,0,0,0,0,0,434,0,0,0,0,0,0,0,0,0,150,0,0,0,147,0,0,0,139,111,114,0,115,0,138,0,0,138,0,0,0,0,0,0,0,312,0,0,0,0,312,0,0,0,0,148,120,120,120,146,0,0,0,115,0,0,0,0,0,136,112,111,137,0,0,0,0,0,0,0,309,0,0,0,280,308,0,0,0,0,147,0,0,0,0,0,0,0,435,0,0,0,0,0,0,115,0,0,0,0,0,0,0,0,280,284,282,282,282,311,0,0,0,0,0,124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,433,0,0,0,0,0,0,0,0,309,0,0,0,0,309,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,433,0,0,0,0,0,0,0,0,309,0,0,0,0,286,0,0,0,0,0,0,0,0,0,0,0,0,0,435,0,0,0,0,0,0,433,0,0,0,0,0,0,0,0,309,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,141,0,0,0,0,0,0,141,0,0,0,0,0,0,0,0,310,282,285,0,0,280,285,0,0,313,282,283,285,0,0,313,282,282,283,113,111,111,110,0,0,0,138,0,0,0,0,0,0,0,0,309,0,0,0,0,309,0,0,0,0,0,309,0,0,0,0,0,0,309,0,0,0,138,0,0,0,138,0,0,0,0,0,0,0,0,309,0,0,0,0,309,0,0,0,0,0,309,0,0,0,0,0,0,309,0,0,0,115,460,0,460,115,0,0,0,0,0,0,0,0,309,0,0,0,0,309,0,0,0,0,0,309,0,0,0,0,0,0,309,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,309,0,0,0,0,309,0,0,0,0,0,309,0,0,0,0,0,0,309,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,307,285,460,460,313,308,0,0,0,0,0,307,282,285,460,460,460,313,308,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,118,120,120,120,120,119,0,0,0,0,0,0,0,0,0,0,0,0,0,0,118,123,0,0,151,121,120,120,120,120,119,0,0,0,0,147,0,0,0,0,147,0,0,0,0,0,0,0,0,0,0,0,0,0,0,147,0,0,0,0,147,0,0,0,0,145,120,119,0,0,147,0,0,0,0,147,0,0,0,0,0,0,0,0,118,123,515,0,515,151,146,0,0,0,0,147,0,0,0,0,0,0,147,0,0,145,119,0,0,0,147,0,0,0,0,0,0,0,0,147,0,0,0,0,0,0,0,0,0,0,147,0,0,0,0,0,0,147,0,0,0,145,123,0,151,146,0,0,0,0,0,0,0,0,147,0,0,0,0,0,0,0,0,0,0,147,0,0,0,0,0,0,147,0,0,0,0,237,0,0,0,0,0,0,0,0,0,0,0,147,0,0,0,0,0,150,0,0,0,0,145,120,120,123,0,0,151,122,120,120,119,0,239,0,0,0,0,0,0,0,0,0,0,0,147,0,0,0,0,0,147,0,0,0,0,0,0,0,0,0,0,0,0,0,0,147,0,0,0,0,0,0,0,0,0,0,0,0,0,145,120,120,121,120,120,146,0,118,120,120,121,123,0,0,151,121,120,123,0,0,124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,124,0,0,0,0,124,0,0,147,0,0,0,0,147,0,0,0,0,487,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,118,123,0,0,0,0,147,0,0,0,0,147,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,147,0,0,0,0,0,147,0,0,0,0,147,0,0,0,0,150,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,151,120,149,0,0,0,0,0,147,0,0,0,0,147,0,0,0,0,147,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,145,123,514,514,514,151,122,120,120,120,120,122,120,120,120,120,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":57,"id":4,"name":"walls","opacity":1,"type":"tilelayer","visible":true,"width":35,"x":0,"y":0},{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,181,182,0,0,184,185,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,209,0,0,211,212,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,181,182,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,181,182,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,209,0,0,0,0,0,0,0,0,184,185,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,211,212,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,181,182,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,181,182,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,181,182,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,181,182,0,505,506,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,209,0,532,533,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,505,506,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,532,533,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":57,"id":5,"name":"trees","opacity":1,"type":"tilelayer","visible":true,"width":35,"x":0,"y":0}],"nextlayerid":6,"nextobjectid":320,"orientation":"orthogonal","renderorder":"right-down","tiledversion":"1.11.0","tileheight":64,"tilesets":[{"columns":27,"firstgid":1,"image":"https://cache.modd.io/asset/spriteImage/1763501136378_tilesheet_complete.png","imageheight":1280,"imagewidth":1728,"margin":0,"name":"tilesheet_complete","spacing":0,"tilecount":540,"tileheight":64,"tilewidth":64,"isMaped":false,"rows":20}],"tilewidth":64,"type":"map","version":"1.10","width":35},"buffTypes":{"canPenetrate":{"unit":"boolean","chance":0.05},"canPushDebris":{"unit":"boolean","chance":0.05},"height":{"unit":"percentage","chance":0.2,"maxBonus":0.3,"minBonus":0.05},"maxStamina":{"unit":"integer","chance":0.1,"maxBonus":120,"minBonus":20},"movementSpeed":{"unit":"integer","chance":0.02,"maxBonus":5,"minBonus":1},"immunity":{"unit":"percentage","chance":0.1,"maxBonus":0.2,"minBonus":0.05},"slowChance":{"unit":"percentage","chance":0.05,"maxBonus":0.1,"minBonus":0.02},"stunChance":{"unit":"percentage","chance":0.05,"maxBonus":0.1,"minBonus":0.02},"recoilForce":{"unit":"integer","chance":0.04,"maxBonus":8,"minBonus":0},"bulletForce":{"unit":"percentage","chance":0.07,"maxBonus":1,"minBonus":0.1},"ammoTotal":{"unit":"percentage","chance":0.2,"maxBonus":0.3,"minBonus":0},"ammoSize":{"unit":"percentage","chance":0.1,"maxBonus":0.3,"minBonus":0},"distanceEnd":{"unit":"percentage","chance":0.3,"maxBonus":500,"minBonus":100},"fireRate":{"unit":"percentage","chance":0.15,"maxBonus":-0.3,"minBonus":0},"reloadRate":{"unit":"percentage","chance":0.1,"maxBonus":-0.3,"minBonus":0}},"projectileTypes":{"potato":{"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventoryImage":"","variables":{"a":{"dataType":"projectile","streamMode":1}},"attributes":{},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"circle"},"restitution":0.35,"friction":"0.5","density":650,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":8,"linearDamping":"0.25","angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":false,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":5,"layer":3},"height":24,"width":24,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":22,"isBillboard":false}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1734810176397_1670783388845_resim_2022-12-11_213001950.png","rowCount":1,"columnCount":6},"animations":{"default":{"framesPerSecond":8,"loopCount":"","frames":[1,2,3,4,5,6],"name":"default"}},"collidesWith":{"item":true,"unit":true,"walls":true,"projectiles":false,"items":false,"units":false},"isFlying":false,"name":"Potato","width":20,"height":20,"body":{"name":"potato","collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":true,"units":true},"linearDamping":0.7,"angularDamping":0.1,"type":"dynamic","allowSleep":true,"bullet":false,"fixedRotation":false,"fixtures":[{"density":3,"restitution":0.1,"shape":{"type":"circle"}}],"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png"},"lifeSpan":2500,"confinedWithinMapBoundaries":true,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"streamMode":1,"scripts":{"PL6U0CFO3g":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"],"then":[{"type":"applyForceOnEntityAngle","force":12000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"human"],"then":[{"type":"applyForceOnEntityAngle","force":3200,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"then":[{"type":"applyForceOnEntityAngle","force":{"function":"calculate","items":[{"operator":"*"},150,{"function":"calculate","items":[{"operator":"+"},{"function":"entityHeight","entity":{"function":"getTriggeringUnit"}},{"function":"entityWidth","entity":{"function":"getTriggeringUnit"}}]}]},"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceItemOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getTriggeringUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"runMode":0}],"name":"When this entity touches unit","parent":null,"key":"PL6U0CFO3g","order":-1}},"controls":null,"id":"potato","isBillboard":false,"instancedMesh":false,"is3DObject":false,"opacity":1},"jIyYO8e2XY":{"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventoryImage":"","variables":{},"attributes":{},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.25","friction":"0.5","density":900,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":5,"linearDamping":"0.25","angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":false,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":5,"layer":3},"height":30,"width":30,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1701627727148_1675380969653_1631640650232_jh.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"collidesWith":{"item":true,"unit":true,"walls":true,"projectiles":false,"items":false,"units":false},"isFlying":false,"name":"Hot Potato","width":20,"height":20,"body":{"name":"potato","collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":true,"units":true},"linearDamping":0.7,"angularDamping":0.1,"type":"dynamic","allowSleep":true,"bullet":false,"fixedRotation":false,"fixtures":[{"density":3,"restitution":0.1,"shape":{"type":"circle"}}],"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png"},"lifeSpan":2500,"confinedWithinMapBoundaries":true,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"streamMode":1,"scripts":{"I3jrpVPBfv":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"],"then":[{"type":"applyForceOnEntityAngle","force":15000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"human"],"then":[{"type":"applyForceOnEntityAngle","force":4000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"then":[{"type":"applyForceOnEntityAngle","force":{"function":"calculate","items":[{"operator":"*"},175,{"function":"calculate","items":[{"operator":"+"},{"function":"entityHeight","entity":{"function":"getTriggeringUnit"}},{"function":"entityWidth","entity":{"function":"getTriggeringUnit"}}]}]},"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceItemOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getTriggeringUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"runMode":0}],"name":"When this entity touches unit","parent":null,"key":"I3jrpVPBfv","order":-1}},"controls":null,"id":"jIyYO8e2XY","isBillboard":false,"instancedMesh":false,"opacity":1},"UJvgK0SDdJ":{"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventoryImage":"","variables":{},"attributes":{},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.4,"friction":10000,"density":600,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":"1.5","rotationSpeed":5,"linearDamping":1.5,"angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":false,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":5,"layer":3},"height":22,"width":22,"type":"dynamic","name":"default","affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1687995575950_fart.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"collidesWith":{"item":true,"unit":true,"walls":true,"projectiles":false,"items":false,"units":false},"isFlying":false,"name":"Fart","width":20,"height":20,"body":{"name":"potato","collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":true,"units":true},"linearDamping":0.7,"angularDamping":0.1,"type":"dynamic","allowSleep":true,"bullet":false,"fixedRotation":false,"fixtures":[{"density":3,"restitution":0.1,"shape":{"type":"circle"}}],"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png"},"lifeSpan":1250,"confinedWithinMapBoundaries":true,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"streamMode":1,"scripts":{"I3jrpVPBfv":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"],"then":[{"type":"applyForceOnEntityAngle","force":15000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"human"],"then":[{"type":"applyForceOnEntityAngle","force":3600,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"then":[{"type":"applyForceOnEntityAngle","force":{"function":"calculate","items":[{"operator":"*"},250,{"function":"calculate","items":[{"operator":"+"},{"function":"entityHeight","entity":{"function":"getTriggeringUnit"}},{"function":"entityWidth","entity":{"function":"getTriggeringUnit"}}]}]},"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceItemOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getTriggeringUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"runMode":0}],"name":"When this entity touches unit","parent":null,"key":"I3jrpVPBfv","order":-1}},"controls":null,"id":"UJvgK0SDdJ","instancedMesh":false,"opacity":1},"VwG3OhwMO5":{"animations":{"default":{"framesPerSecond":15,"loopCount":1,"frames":[1,2,3,4,5,6],"name":"default"}},"attributes":{},"bodies":{"default":{"bullet":true,"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"rotationSpeed":1,"linearDamping":1,"angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"fixedRotation":true,"z-index":{"depth":9,"layer":3},"height":96,"width":96,"type":"static","name":"default","affectedByGravity":false}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1588350123256_Explosion_(Animated).png","rowCount":1,"columnCount":6},"controls":null,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"explosiveTimer":1500,"inventoryImage":"https://cache.modd.io/asset/spriteImage/1588349840112_Explosion.png","lifeSpan":500,"name":"Explosion","states":{"zTzPFYOZkc":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"streamMode":1,"variables":{},"id":"VwG3OhwMO5","instancedMesh":false,"scripts":{"HXakScjFI2":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default","runMode":0}],"name":"CreatedEntity","parent":null,"key":"HXakScjFI2","order":0}},"confinedWithinMapBoundaries":true,"opacity":1},"vPFTSAhKNW":{"inventoryImage":"","effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"KD1bPp9l7i","sound":{},"animation":"","runScript":""}},"lifeSpan":1000,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1771208732976_1688678004708_grenade.png","rowCount":1,"columnCount":1},"explosiveTimer":1500,"bodies":{"default":{"bullet":false,"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"circle"},"restitution":"0.7","friction":0.01,"density":"0.8","offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":3,"angularDamping":3,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"fixedRotation":false,"z-index":{"depth":10,"layer":4},"height":32,"width":32,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0}}},"animations":{"default":{"frames":[1],"name":"default","framesPerSecond":0,"loopCount":0}},"states":{"zTzPFYOZkc":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"variables":{},"attributes":{},"name":"Grenade","destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"confinedWithinMapBoundaries":true,"scripts":{"EU6jFpgesT":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"applyTorqueOnEntity","torque":60,"entity":{"function":"thisEntity"}},{"type":"setTimeOut","duration":800,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"width":256,"height":256}},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":20000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":60000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[],"isExpanded":{"self":true},"disabled":false,"runMode":0}],"runMode":0},{"type":"createProjectileAtPosition","projectileType":"VwG3OhwMO5","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"force":0,"angle":0},{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"runMode":0}],"name":"explodes","parent":null,"key":"EU6jFpgesT","order":-1},"HCcfEoAo0A":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"human"],[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"]],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"width":256,"height":256}},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":20000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":60000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[],"isExpanded":{"self":true},"disabled":false,"runMode":0}],"runMode":0},{"type":"createProjectileAtPosition","projectileType":"VwG3OhwMO5","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"force":0,"angle":0},{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"touches zombie","parent":null,"key":"HCcfEoAo0A","order":1}},"projectileTypes":{"vPFTSAhKNW":{"scripts":{"EU6jFpgesT":{"name":"explodes"},"HCcfEoAo0A":{"name":"touches zombie"}}}},"controls":null,"id":"vPFTSAhKNW","streamMode":1,"isBillboard":false,"instancedMesh":false,"opacity":1,"is3DObject":false},"KY8yB9E8Qu":{"inventoryImage":"","effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""}},"lifeSpan":100,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1692892808150_1689550446725_invisible_hitbox.png","rowCount":1,"columnCount":1},"explosiveTimer":1500,"bodies":{"default":{"bullet":false,"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":true,"shape":{"type":"circle"},"restitution":0.01,"friction":0.01,"density":1,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":1,"angularDamping":1,"collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":true},"allowSleep":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"fixedRotation":false,"z-index":{"depth":10,"layer":4},"height":80,"width":120,"type":"static","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0}}},"animations":{"default":{"framesPerSecond":15,"loopCount":1,"frames":[1,2,3,4,5,6],"name":"default"}},"states":{"zTzPFYOZkc":{"body":"default","animation":"none","particles":{},"sound":{},"name":"default"}},"variables":{},"attributes":{},"name":"Sword Sensor","destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"confinedWithinMapBoundaries":false,"scripts":{"XNMza38NzC":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unitType"},{"function":"getUnitTypeOfUnit","entity":{"function":"getTriggeringUnit"}},"human"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPositionInWall","position":{"x":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}}]},0.5]},"y":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}}]},0.5]}}},false],"then":[{"type":"setEntityVelocityAtAngle","entity":{"function":"getTriggeringUnit"},"speed":15,"angle":{"function":"unitsFacingAngle","unit":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"disabled":true},{"type":"applyForceOnEntityAngle","force":30000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceItemOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}}}],"else":[],"comment":"Prevent use of item through wall","runMode":0}],"else":[{"type":"setEntityVelocityAtAngle","entity":{"function":"getTriggeringUnit"},"speed":15,"angle":{"function":"unitsFacingAngle","unit":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"disabled":true},{"type":"applyForceOnEntityAngle","force":{"function":"calculate","items":[{"operator":"*"},1000,{"function":"calculate","items":[{"operator":"*"},{"function":"entityHeight","entity":{"function":"getTriggeringUnit"}},{"function":"entityWidth","entity":{"function":"getTriggeringUnit"}}]}]},"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceItemOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"runMode":0}],"else":[],"runMode":0}],"name":"unit collision","parent":null,"key":"XNMza38NzC","order":2}},"controls":null,"id":"KY8yB9E8Qu","streamMode":1,"isBillboard":false},"01wjEcGht2":{"inventoryImage":"","effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""}},"lifeSpan":100,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1614006993756_invisible.png","rowCount":1,"columnCount":1},"explosiveTimer":1500,"bodies":{"default":{"bullet":false,"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"rotationSpeed":1,"linearDamping":1,"angularDamping":1,"collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":true},"allowSleep":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"fixedRotation":false,"z-index":{"depth":10,"layer":4},"height":192,"width":30,"type":"static","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0}}},"animations":{"default":{"framesPerSecond":15,"loopCount":1,"frames":[1,2,3,4,5,6],"name":"default"}},"states":{"zTzPFYOZkc":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"variables":{},"attributes":{},"name":"Large Spear Sensor","destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"confinedWithinMapBoundaries":false,"scripts":{"XNMza38NzC":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPositionInWall","position":{"x":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}}]},0.5]},"y":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}}]},0.5]}}},false],"then":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"<=","operandType":"number"},{"function":"absoluteValueOfNumber","number":{"function":"getEntityVelocityX","entity":{"function":"getTriggeringUnit"}}},0.4],[{"operator":"<=","operandType":"number"},{"function":"absoluteValueOfNumber","number":{"function":"getEntityVelocityY","entity":{"function":"getTriggeringUnit"}}},0.4]],"then":[{"type":"applyForceOnEntityAngleLT","force":20000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[{"type":"applyForceOnEntityAngleLT","force":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"*"},37500,{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},0.33]}]}]},1]},"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"runMode":0}],"else":[],"comment":"Prevent use of item through wall","runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"name":"unit collision","parent":null,"key":"XNMza38NzC","order":2}},"controls":null,"id":"01wjEcGht2","streamMode":1,"isBillboard":false,"instancedMesh":false},"KiWktxP8aX":{"inventoryImage":"","effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""}},"lifeSpan":100,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1614006993756_invisible.png","rowCount":1,"columnCount":1},"explosiveTimer":1500,"bodies":{"default":{"bullet":false,"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"rotationSpeed":1,"linearDamping":1,"angularDamping":1,"collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":true},"allowSleep":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"fixedRotation":false,"z-index":{"depth":10,"layer":4},"height":128,"width":20,"type":"static","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0}}},"animations":{"default":{"framesPerSecond":15,"loopCount":1,"frames":[1,2,3,4,5,6],"name":"default"}},"states":{"zTzPFYOZkc":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"variables":{},"attributes":{},"name":"Spear Sensor","destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"confinedWithinMapBoundaries":false,"scripts":{"Fxcy5UdrBB":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPositionInWall","position":{"x":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}}]},0.5]},"y":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}}]},0.5]}}},false],"then":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"<=","operandType":"number"},{"function":"absoluteValueOfNumber","number":{"function":"getEntityVelocityX","entity":{"function":"getTriggeringUnit"}}},0.4],[{"operator":"<=","operandType":"number"},{"function":"absoluteValueOfNumber","number":{"function":"getEntityVelocityY","entity":{"function":"getTriggeringUnit"}}},0.4]],"then":[{"type":"applyForceOnEntityAngleLT","force":15000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[{"type":"applyForceOnEntityAngleLT","force":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"*"},25000,{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},0.33]}]}]},1]},"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"runMode":0}],"else":[],"comment":"Prevent use of item through wall","runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"name":"unit collision","parent":null,"key":"Fxcy5UdrBB","order":-1}},"controls":null,"id":"KiWktxP8aX","streamMode":1,"isBillboard":false,"instancedMesh":false},"aWjzeTwyac":{"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventoryImage":"","variables":{},"attributes":{},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.2","friction":"0.5","density":"0.5"}],"spriteScale":"0.5","rotationSpeed":8,"linearDamping":"0.1","angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":5,"layer":3},"height":33,"width":15,"type":"dynamic","name":"default","affectedByGravity":false,"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1644670162241_resim_2022-02-12_154920.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"collidesWith":{"item":true,"unit":true,"walls":true,"projectiles":false,"items":false,"units":false},"isFlying":false,"name":"Valentines Arrow","width":20,"height":20,"body":{"name":"potato","collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":true,"units":true},"linearDamping":0.7,"angularDamping":0.1,"type":"dynamic","allowSleep":true,"bullet":false,"fixedRotation":false,"fixtures":[{"density":3,"restitution":0.1,"shape":{"type":"circle"}}],"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png"},"lifeSpan":1500,"confinedWithinMapBoundaries":true,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"streamMode":1,"scripts":{"VwdITXaSlF":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unitType"},{"function":"getUnitTypeOfUnit","entity":{"function":"getTriggeringUnit"}},"VNcMwKfVqv"],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getLastTouchedUnit"},{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"getTriggeringUnit"},"text":"<3","color":"red"},{"type":"applyForceOnEntityAngle","force":10000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}},"positionB":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},"runMode":0},{"comment":"bonus point for luv","entity":{"entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}},"function":"getOwner"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},{"function":"getVariable","variableName":"playerCount"}]},"attribute":"points","type":"setPlayerAttribute","runMode":0},{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"else":[],"runMode":0}],"name":"unit collision","parent":null,"key":"VwdITXaSlF","order":-1}},"controls":null,"id":"aWjzeTwyac","instancedMesh":false,"opacity":1},"YcBGuNirYa":{"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventoryImage":"","variables":{},"attributes":{},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.1,"friction":1000,"density":25,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":"1.5","rotationSpeed":5,"linearDamping":"0.25","angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":false,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":5,"layer":3},"height":40,"width":15,"type":"dynamic","name":"default","affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1722221144456_arrow.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"collidesWith":{"item":true,"unit":true,"walls":true,"projectiles":false,"items":false,"units":false},"isFlying":false,"name":"Arrow","width":20,"height":20,"body":{"name":"potato","collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":true,"units":true},"linearDamping":0.7,"angularDamping":0.1,"type":"dynamic","allowSleep":true,"bullet":false,"fixedRotation":false,"fixtures":[{"density":3,"restitution":0.1,"shape":{"type":"circle"}}],"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png"},"lifeSpan":2000,"confinedWithinMapBoundaries":true,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"streamMode":1,"scripts":{"I3jrpVPBfv":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"],"then":[{"type":"applyForceOnEntityAngle","force":17500,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"human"],"then":[{"type":"applyForceOnEntityAngle","force":3500,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[],"runMode":0}],"name":"When this entity touches unit","parent":null,"key":"I3jrpVPBfv","order":-1}},"controls":null,"id":"YcBGuNirYa","is3DObject":false,"instancedMesh":false,"opacity":1},"NdlCD2IJws":{"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventoryImage":"","variables":{},"attributes":{},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":"0.2","friction":"0.5","density":400}],"spriteScale":"0.5","rotationSpeed":8,"linearDamping":"0.5","angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":5,"layer":3},"height":"37.5","width":"13.5","type":"dynamic","name":"default","affectedByGravity":false}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1615232020020_dart.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"collidesWith":{"item":true,"unit":true,"walls":true,"projectiles":false,"items":false,"units":false},"isFlying":false,"name":"Dart","width":20,"height":20,"body":{"name":"potato","collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":true,"units":true},"linearDamping":0.7,"angularDamping":0.1,"type":"dynamic","allowSleep":true,"bullet":false,"fixedRotation":false,"fixtures":[{"density":3,"restitution":0.1,"shape":{"type":"circle"}}],"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png"},"lifeSpan":850,"confinedWithinMapBoundaries":true,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":true,"debris":true},"streamMode":1,"scripts":{"TnfTHHSPkD":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"human"],[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},"human"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}}},"entity":{"function":"getLastTouchedUnit"},"force":1250,"type":"applyForceOnEntityAngle","runMode":0},{"type":"setPlayerAttribute","attribute":"r4EDR7aQK5","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"value":1,"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":"Stunned!","color":"#dc3545","runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},"zombie"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}}},"entity":{"function":"getLastTouchedUnit"},"force":1500,"type":"applyForceOnEntityAngle","runMode":0},{"type":"setPlayerAttribute","attribute":"r4EDR7aQK5","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"value":1,"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":"Stunned!","color":"#dc3545","runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[],"runMode":0}],"name":"Stun","parent":null,"key":"TnfTHHSPkD","order":0}},"id":"NdlCD2IJws","controls":null,"instancedMesh":false,"opacity":1,"projectileTypes":{"NdlCD2IJws":{"scripts":{"TnfTHHSPkD":{"name":"Stun"}}}}},"lpUqGiiq1R":{"confinedWithinMapBoundaries":true,"lifeSpan":1250,"body":{"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png","fixtures":[{"shape":{"type":"circle"},"restitution":0.1,"density":3}],"fixedRotation":false,"bullet":false,"allowSleep":true,"type":"dynamic","angularDamping":0.1,"linearDamping":0.7,"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":true},"name":"potato","NSVqLDB7rA":{"name":"Bullet","type":"dynamic","width":40,"height":40,"depth":0,"z-index":{"layer":3,"depth":3,"offset":0},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false,"sensors":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"rotate":{"x":0,"y":0,"z":0},"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"isBillboard":false}},"height":20,"width":20,"name":"Bullet","isFlying":false,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":true,"unit":true,"item":true},"animations":{"TpsmgGVfi5":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1644618785744_resim_2022-02-12_013304.png","rowCount":1,"columnCount":1},"states":{"zTzPFYOZkc":{"name":"default","sound":{},"particles":{},"animation":"TpsmgGVfi5","body":"2Ud5pQbq7b"}},"bodies":{"2Ud5pQbq7b":{"height":20,"width":28,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png","fixtures":[{"shape":{"type":"rectangle"},"restitution":0.5,"density":50,"isSensor":false,"friction":1,"offset":{"x":0,"y":0},"size":{}}],"fixedRotation":false,"bullet":true,"allowSleep":true,"type":"dynamic","angularDamping":0,"linearDamping":1.5,"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":true},"name":"potato","z-index":{"layer":3,"depth":3},"rotationSpeed":0,"spriteScale":1,"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"attributes":{},"variables":{},"inventoryImage":"","effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"scripts":{"vF6Y2cW8z6":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"],"then":[{"type":"applyForceOnEntityAngle","force":10000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"human"],"then":[{"type":"applyForceOnEntityAngle","force":3000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[],"runMode":0}],"name":"unit collision","parent":null,"key":"vF6Y2cW8z6","order":1}},"id":"lpUqGiiq1R","controls":null,"instancedMesh":false,"streamMode":1,"opacity":1},"emnot26OgQ":{"inventoryImage":null,"name":"ornament fragment","attributes":{},"variables":{},"states":{"zTzPFYOZkc":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"m9ST3VBFsT":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":""},"Lxs1mac9sT":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":""}},"bodies":{"default":{"bullet":true,"name":"default","type":"dynamic","width":9,"height":9,"z-index":{"layer":3,"depth":1},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":0,"rotationSpeed":1,"spriteScale":3,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"circle"},"isSensor":true}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false}},"destroyTimer":1500,"cellSheet":{"columnCount":3,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1673015641099_spritesheet_(2).png"},"lifeSpan":700,"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"destroyOnContactWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"confinedWithinMapBoundaries":true,"scripts":{"JgWXX4IM6w":{"triggers":[{"type":"entityTouchesWall"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"name":"wall collision","parent":null,"key":"JgWXX4IM6w","order":-1},"wGclTzHbkJ":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},"human"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}}},"entity":{"function":"getLastTouchedUnit"},"force":5000,"type":"applyForceOnEntityAngle","runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getTriggeringUnit"},"text":"ouch!","color":"red","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},"zombie"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}}},"entity":{"function":"getLastTouchedUnit"},"force":15000,"type":"applyForceOnEntityAngle","runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getTriggeringUnit"},"text":"ouch!","color":"red","runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}}},"entity":{"function":"getLastTouchedUnit"},"force":{"function":"calculate","items":[{"operator":"*"},2500,{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"*"},{"function":"entityHeight","entity":{"function":"getLastTouchedUnit"}},{"function":"entityWidth","entity":{"function":"getLastTouchedUnit"}}]},0.00025]}]},"type":"applyForceOnEntityAngle","runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getLastTouchedUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"runMode":0,"disabled":true},{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"name":"unit collision","parent":null,"key":"wGclTzHbkJ","order":1}},"controls":null,"id":"emnot26OgQ","instancedMesh":false,"streamMode":1},"eSi0HbdUVa":{"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventoryImage":"","variables":{},"attributes":{},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":"0.67","friction":2,"density":800}],"spriteScale":1,"rotationSpeed":8,"linearDamping":3,"angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":true,"bullet":true,"fixedRotation":false,"z-index":{"depth":5,"layer":3},"height":30,"width":30,"type":"dynamic","name":"default","affectedByGravity":false}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1671119721969_resim_2022-12-15_185538964.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"collidesWith":{"item":true,"unit":true,"walls":true,"projectiles":false,"items":false,"units":false},"isFlying":false,"name":"explosive ornament","width":20,"height":20,"body":{"name":"potato","collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":true,"units":true},"linearDamping":0.7,"angularDamping":0.1,"type":"dynamic","allowSleep":true,"bullet":false,"fixedRotation":false,"fixtures":[{"density":3,"restitution":0.1,"shape":{"type":"circle"}}],"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png"},"lifeSpan":60000,"confinedWithinMapBoundaries":true,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"streamMode":0,"scripts":{"oQkbfrACMX":{"triggers":[{"type":"entityTouchesWall"},{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"repeat","count":2,"actions":[{"type":"createProjectileAtPosition","projectileType":"emnot26OgQ","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"force":17,"angle":{"function":"getRandomNumberBetween","min":1,"max":1234}},{"type":"createProjectileAtPosition","projectileType":"emnot26OgQ","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"force":17,"angle":{"function":"getRandomNumberBetween","min":1,"max":1234}},{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"m9ST3VBFsT"},{"type":"createProjectileAtPosition","projectileType":"emnot26OgQ","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"force":17,"angle":{"function":"getRandomNumberBetween","min":1,"max":1234}},{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"Lxs1mac9sT"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},"human"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}}},"entity":{"function":"getLastTouchedUnit"},"force":20000,"type":"applyForceOnEntityAngle","runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getTriggeringUnit"},"text":"ouch!","color":"red","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},"zombie"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}}},"entity":{"function":"getLastTouchedUnit"},"force":60000,"type":"applyForceOnEntityAngle","runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getTriggeringUnit"},"text":"ouch!","color":"red","runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}}},"entity":{"function":"getLastTouchedUnit"},"force":{"function":"calculate","items":[{"operator":"*"},10000,{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"*"},{"function":"entityHeight","entity":{"function":"getLastTouchedUnit"}},{"function":"entityWidth","entity":{"function":"getLastTouchedUnit"}}]},0.00025]}]},"type":"applyForceOnEntityAngle","runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getLastTouchedUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"name":"wall/unit collision","parent":null,"key":"oQkbfrACMX","order":-1}},"controls":null,"id":"eSi0HbdUVa","instancedMesh":false},"QpkR3AZvqF":{"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{},"bodies":{"default":{"name":"default","type":"dynamic","width":58,"height":58,"z-index":{"layer":3,"depth":1},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":20,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"bullet":false,"depth":40,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"size":{"width":40,"height":40,"depth":40}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1588211847884_Wooden Box Crate.png"},"controls":null,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"destroyTimer":1500,"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"instancedMesh":false,"inventoryImage":"","is3DObject":false,"lifeSpan":5000,"name":"slingshot box","states":{"zTzPFYOZkc":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"streamMode":1,"variables":{},"confinedWithinMapBoundaries":true,"opacity":1,"shadow":false,"scripts":{},"id":"QpkR3AZvqF"},"T7fRmWAGQB":{"animations":{"default":{"framesPerSecond":15,"loopCount":1,"frames":[1,2,3,4,5,6],"name":"default"}},"attributes":{},"bodies":{"default":{"bullet":true,"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":true,"shape":{"type":"circle"},"restitution":0.01,"friction":0.01,"density":1,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":1,"angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"fixedRotation":true,"z-index":{"depth":10,"layer":3},"height":448,"width":448,"type":"static","name":"default","affectedByGravity":false,"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1768581233384_Explosion_Zombie_Reveal.png","rowCount":1,"columnCount":6},"controls":null,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"explosiveTimer":1500,"inventoryImage":"https://cache.modd.io/asset/spriteImage/1588349840112_Explosion.png","lifeSpan":500,"name":"Zombie Reveal Explosion","states":{"zTzPFYOZkc":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"streamMode":1,"variables":{},"id":"T7fRmWAGQB","instancedMesh":false,"scripts":{"HXakScjFI2":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default","runMode":0}],"name":"CreatedEntity","parent":null,"key":"HXakScjFI2","order":0}},"confinedWithinMapBoundaries":true,"opacity":1,"is3DObject":false},"Coy6Qe9uwP":{"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventoryImage":null,"variables":{},"attributes":{},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.25","friction":"0.5","density":900,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":5,"linearDamping":"0.25","angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":false,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":5,"layer":3},"height":32,"width":32,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"size":{"width":40,"height":40,"depth":40}},"dropped":{"bullet":false,"itemAnchor":{"y":0,"x":0},"unitAnchor":{"y":50,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0,"friction":0,"density":1}],"spriteScale":1,"rotationSpeed":1,"linearDamping":1,"angularDamping":1,"collidesWith":{"debris":false,"walls":true,"projectiles":false,"items":false,"units":false},"allowSleep":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"fixedRotation":false,"z-index":{"depth":1,"layer":1},"height":21,"width":22,"type":"static","name":"dropped","size":{"width":40,"height":40,"depth":40},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false},"selected":{"bullet":false,"itemAnchor":{"y":0,"x":0},"unitAnchor":{"y":50,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"rotationSpeed":3,"linearDamping":5,"angularDamping":1,"collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":false},"allowSleep":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":21,"width":22,"type":"spriteOnly","name":"selected","size":{"width":40,"height":40,"depth":40},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1588198294006_Stone Rock.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"collidesWith":{"item":true,"unit":true,"walls":true,"projectiles":false,"items":false,"units":false},"isFlying":false,"name":"Stone Projectile","width":20,"height":20,"body":{"name":"potato","collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":true,"units":true},"linearDamping":0.7,"angularDamping":0.1,"type":"dynamic","allowSleep":true,"bullet":false,"fixedRotation":false,"fixtures":[{"density":3,"restitution":0.1,"shape":{"type":"circle"}}],"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png"},"lifeSpan":2500,"confinedWithinMapBoundaries":true,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"streamMode":1,"scripts":{"WVv58ClfOR":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"zombie"],"then":[{"type":"applyForceOnEntityAngle","force":12000,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"human"],"then":[{"type":"applyForceOnEntityAngle","force":3200,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"then":[{"type":"applyForceOnEntityAngle","force":{"function":"calculate","items":[{"operator":"*"},150,{"function":"calculate","items":[{"operator":"+"},{"function":"entityHeight","entity":{"function":"getTriggeringUnit"}},{"function":"entityWidth","entity":{"function":"getTriggeringUnit"}}]}]},"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getSourceItemOfProjectile","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}}},"runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getTriggeringUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"runMode":0}],"name":"When this entity touches unit","parent":null,"key":"WVv58ClfOR","order":1}},"controls":null,"id":"Coy6Qe9uwP","isBillboard":false,"instancedMesh":false,"opacity":1,"is3DObject":false,"threeD":{}},"DH9lWjOs1n":{"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventoryImage":"","variables":{},"attributes":{},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.2","friction":"0.5","density":"0.5"}],"spriteScale":"0.5","rotationSpeed":8,"linearDamping":"0.1","angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":5,"layer":3},"height":33,"width":14,"type":"dynamic","name":"default","affectedByGravity":false,"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1769714104623_2026_01_29_0nq_Kleki.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"collidesWith":{"item":true,"unit":true,"walls":true,"projectiles":false,"items":false,"units":false},"isFlying":false,"name":"Super-Charged Valentine's Arrow","width":20,"height":20,"body":{"name":"potato","collidesWith":{"debris":true,"walls":true,"projectiles":false,"items":true,"units":true},"linearDamping":0.7,"angularDamping":0.1,"type":"dynamic","allowSleep":true,"bullet":false,"fixedRotation":false,"fixtures":[{"density":3,"restitution":0.1,"shape":{"type":"circle"}}],"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato.png"},"lifeSpan":1500,"confinedWithinMapBoundaries":true,"destroyOnContactWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"streamMode":1,"scripts":{"VwdITXaSlF":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unitType"},{"function":"getUnitTypeOfUnit","entity":{"function":"getTriggeringUnit"}},"VNcMwKfVqv"],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getLastTouchedUnit"},{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"getTriggeringUnit"},"text":"<3","color":"red"},{"type":"applyForceOnEntityAngle","force":17500,"entity":{"function":"getTriggeringUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getTriggeringUnit"}},"positionB":{"function":"getEntityPosition","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},"runMode":0},{"comment":"bonus point for luv","entity":{"entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}},"function":"getOwner"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getSourceUnitOfProjectile","entity":{"function":"thisEntity"}}}},{"function":"calculate","items":[{"operator":"*"},2,{"function":"getVariable","variableName":"playerCount"}]}]},"attribute":"points","type":"setPlayerAttribute","runMode":0},{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"else":[],"runMode":0}],"name":"unit collision","parent":null,"key":"VwdITXaSlF","order":-1}},"controls":null,"id":"DH9lWjOs1n","instancedMesh":false,"opacity":1,"is3DObject":false}},"itemTypes":{"potatoGun":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Shoots powerful potatoes for 25 points each and also moves heavy objects!<br>\n- 10% chance to be rare!","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":14,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":43,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"type":"dynamic","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":120,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":14,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1589826329664_leaf.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":28,"distanceStart":40,"bulletType":"projectile","fireRate":1500,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Potato Gun  ","bulletStartPosition":{"x":0,"y":0},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":null,"maxQuantity":null,"autoUpdateQuantity":false,"cost":{"playerAttributes":{"points":25}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":5,"dataType":"number"},"ShrekExchangeRate":{"default":70,"dataType":"number"},"RareItemVariant":{"default":"zwAoerFxEw","dataType":"itemType"},"rareItemtounit":{"dataType":"unit"},"isUnpickable?":{"default":false,"dataType":"boolean"},"RareItemChance":{"default":10,"dataType":"number"},"rareRandomize":{"default":true,"dataType":"boolean"}},"inventoryImage":"","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"potato","scripts":{"GaRsK8sFUV":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemChance","dataType":"number","entity":"nidc3swP0c","key":"RareItemChance"}},"entity":{"function":"thisEntity"}},{"function":"getRandomNumberBetween","min":0,"max":99}],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"nidc3swP0c","key":"rareRandomize"}},"entity":{"function":"thisEntity"}},true]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemVariant","dataType":"itemType","entity":"W8SojbpByx","key":"RareItemVariant"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"entity":{"function":"thisEntity"}},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":false,"runMode":0}],"else":[],"runMode":0,"comment":"RareItemVariant"}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"GaRsK8sFUV","order":1}},"itemTypes":{"potatoGun":{"scripts":{"RKFI3UKlmy":{"name":"crazy"}}}},"projectileStreamMode":1,"removeWhenEmpty":false,"isUsedOnPickup":false,"ignoreServerStream":false,"saveBandwidth":true,"confinedWithinMapBoundaries":false,"streamMode":1,"id":"potatoGun","showCDOverlay":true,"isBillboard":false,"opacity":1,"is3DObject":false,"threeD":{}},"PBOMyFpPs8":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":1000,"description":"Use the Swordfish to move heavy objects and perhaps grab them!<br>\n- 10% chance to be rare!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":23,"height":48,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":50,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":60,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":23,"height":48,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":47,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1703633112915_1654889674227_1606635107589_1597670123343_swordfish_(1).png"},"animations":{"default":{"framesPerSecond":0,"frames":[1],"name":"default","loopCount":0}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Swordfish","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":3,"dataType":"number"},"ShrekExchangeRate":{"default":100,"dataType":"number"},"RareItemVariant":{"default":"g48QWebjK3","dataType":"itemType"},"rareItemtounit":{"dataType":"unit"},"isUnpickable?":{"default":false,"dataType":"boolean"},"rareRandomize":{"default":true,"dataType":"boolean"},"RareItemChance":{"default":10,"dataType":"number"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"tXluD4ZF51":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemChance","dataType":"number","entity":"nidc3swP0c","key":"RareItemChance"}},"entity":{"function":"thisEntity"}},{"function":"getRandomNumberBetween","min":0,"max":99}],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"nidc3swP0c","key":"rareRandomize"}},"entity":{"function":"thisEntity"}},true]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemVariant","dataType":"itemType","entity":"W8SojbpByx","key":"RareItemVariant"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"entity":{"function":"thisEntity"}},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":false,"runMode":0}],"else":[],"runMode":0,"comment":"RareItemVariant"}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"tXluD4ZF51","order":1}},"streamMode":1,"id":"PBOMyFpPs8","projectileStreamMode":1,"showCDOverlay":false,"isBillboard":false,"canBeUsedBy":["human"],"opacity":1},"6T5fWSolir":{"confinedWithinMapBoundaries":false,"isUsedOnPickup":false,"description":"Pill allows you to lower your chance to become one of the first zombies!<br>\nYou can stack the effect up to 5 times!\n<br>\nThe immunity effect lasts only 1 round!","maxQuantity":10,"quantity":1,"bodies":{"selected":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"spriteOnly","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":32,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":20,"width":9,"friction":0,"z-index":{"layer":4,"depth":4}},"dropped":{"name":"dropped","type":"static","collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":32,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":3,"holdPosition":{"rotation":0,"y":33,"x":0},"height":20,"width":9,"friction":0,"z-index":{"layer":1,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"TpsmgGVfi5","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"TpsmgGVfi5","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"TpsmgGVfi5","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1588274229831_Red Pill.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{},"coin":0}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":60000,"canBePurchasedBy":["w1NiT3YV0e"],"name":"Pill","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"type":"weapon","isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0},"isGun":false,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["human"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":250,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":1,"dataType":"number"},"ShrekExchangeRate":{"default":30,"dataType":"number"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1589555031985_pill.png","controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":14,"delayBeforeUse":0,"cost":{"quantity":0},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"FQydTro7xQ":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"immunity","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},4],"then":[{"type":"setEntityAttribute","attribute":"immunity","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"immunity","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},1]},"runMode":0},{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"else":[],"runMode":0,"comment":"Set immunity += 1 until 5"}],"name":"UsePill","parent":null,"key":"FQydTro7xQ","order":0},"iXrywc3upl":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},30,{"function":"getItemQuantity","item":{"function":"thisEntity"}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":30,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"iXrywc3upl","order":2},"bwWCCIybUm":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"bwWCCIybUm","order":3}},"streamMode":1,"id":"6T5fWSolir","showCDOverlay":true,"isBillboard":false,"is3DObject":false,"threeD":{},"opacity":1,"itemTypes":{"6T5fWSolir":{"scripts":{"FQydTro7xQ":{"name":"UsePill"}}}},"damageHitBox":{"width":60,"offsetX":0,"offsetY":50}},"nidc3swP0c":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":1000,"description":"Use the Baseball Bat to move heavy objects!<br>\n- 10% chance to be rare!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":13,"height":44,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":90,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":45,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":55,"friction":1,"restitution":0.1,"shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":11,"height":40,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":-50,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699711308716_1654889281144_1644958112764_resim_2022-02-15_234832.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Baseball Bat","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":1,"dataType":"number"},"ShrekExchangeRate":{"default":15,"dataType":"number"},"RareItemVariant":{"default":"eQSGgauhnV","dataType":"itemType"},"rareItemtounit":{"dataType":"unit"},"isUnpickable?":{"default":false,"dataType":"boolean"},"rareRandomize":{"default":true,"dataType":"boolean"},"RareItemChance":{"default":10,"dataType":"number"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"VXR5XNNi1e":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemChance","dataType":"number","entity":"nidc3swP0c","key":"RareItemChance"}},"entity":{"function":"thisEntity"}},{"function":"getRandomNumberBetween","min":0,"max":99}],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"nidc3swP0c","key":"rareRandomize"}},"entity":{"function":"thisEntity"}},true]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemVariant","dataType":"itemType","entity":"W8SojbpByx","key":"RareItemVariant"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"entity":{"function":"thisEntity"}},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":false,"runMode":0}],"else":[],"runMode":0,"comment":"RareItemVariant"}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"VXR5XNNi1e","order":1}},"streamMode":1,"id":"nidc3swP0c","projectileStreamMode":1,"showCDOverlay":false,"isBillboard":false,"itemTypes":{"nidc3swP0c":{"scripts":{"QWxQTEQnJE":{"name":"created"}}}},"canBeUsedBy":["human"],"opacity":1},"d73qo6nov5":{"deployMethod":"applyForce","bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"hideIfUnaffordable":false,"inventoryImage":"","variables":{"isPickup?":{"default":false,"dataType":"boolean"}},"carriedBy":["human"],"cost":{"playerAttributes":{},"quantity":0},"autoUpdateQuantity":false,"maxQuantity":100,"quantity":20,"lifeSpan":40000,"particles":{"k4HSd1axqA":{"velocityVector":{"maxVector":{"y":1,"x":1},"minVector":{"y":-1,"x":-1},"baseVector":{"y":0,"x":0}},"mountPosition":{"y":50,"x":0},"deathOpacityBase":0.5,"quantityTimespan":70,"quantityBase":40,"lifeBase":50,"color":"#ffffff","name":"spark"}},"canBePurchasedBy":["w1NiT3YV0e"],"damage":{},"hits":[],"penetration":false,"bulletStartPosition":{"y":0,"x":0},"name":"Shotgun","handle":"potato_gun","texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","isStackable":false,"isPurchasable":true,"isGun":true,"type":"weapon","spawnChance":0.08,"ammoSize":10000,"ammo":10000,"ammoTotal":10000,"reloadRate":10,"recoilForce":16000,"fireRate":2000,"bulletType":"projectile","distanceStart":40,"bulletForce":30,"sound":{"nppwtuQaPz":{"name":"Fire","file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3"},"fire":"fireMinigun","reload":"reload","empty":"fireEmpty","zjlCUPiCk0":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3","name":"Out of ammo"},"GyCivqsuR8":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3","name":"Reload"}},"body":{"type":"dynamic","collidesWith":{"walls":true,"projectiles":true,"items":true,"units":true,"debris":true},"itemAnchor":{"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":40,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"layer":3,"depth":4},"fixedRotation":false,"name":"Potato Gun"},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"canBeUsedBy":["human"],"attributes":{},"animations":{"TpsmgGVfi5":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1703633078243_1699712565835_1683058494708_1593644646207_stick_(1).png","rowCount":1,"columnCount":1},"states":{"dropped":{"sound":{},"particles":{},"body":"dropped","animation":"TpsmgGVfi5","name":"dropped"},"unSelected":{"sound":{},"particles":{},"body":"unSelected","animation":"TpsmgGVfi5","name":"unselected"},"selected":{"sound":{},"particles":{},"body":"selected","animation":"TpsmgGVfi5","name":"selected"}},"bodies":{"dropped":{"type":"static","collidesWith":{"debris":false,"walls":true,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":45,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":44,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":3,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":3,"layer":1},"fixedRotation":false,"name":"dropped","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false},"selected":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0,"friction":0,"density":1,"isSensor":false}],"spriteScale":1,"allowSleep":true,"bullet":false,"type":"spriteOnly","collidesWith":{"debris":false,"walls":false,"projectiles":true,"items":true,"units":true},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":45,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":44,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":0,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":4,"layer":4},"fixedRotation":false,"name":"selected","isBillboard":false}},"description":"Use the Shotgun for running away and pushing objects!<br>\nCooldown 2 seconds.","removeWhenEmpty":false,"isUsedOnPickup":false,"confinedWithinMapBoundaries":false,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"scripts":{"B9G4BF0xzM":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"OnUse","parent":null,"key":"B9G4BF0xzM","order":0},"CNdqgOH7CL":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"CNdqgOH7CL","order":2}},"itemTypes":{"d73qo6nov5":{"scripts":{"pgMxCqWQHc":{"name":"when used"},"ES4alrw0zR":{"name":"use item"},"xNfXZrRatD":{"name":"used"},"B9G4BF0xzM":{"name":"OnUse"}}}},"projectileStreamMode":1,"ignoreServerStream":false,"projectileType":null,"streamMode":1,"id":"d73qo6nov5","showCDOverlay":true,"isBillboard":false,"opacity":1},"W8SojbpByx":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":40,"description":"The Drumstick is very thick!<br>\n- Increase gainz by 25%<br>\n- 5% chance to be rare!<br>\n- 0.2% chance to be ultra rare!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":19,"height":38,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":42,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":60,"friction":1,"restitution":0.025,"shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":16,"height":33,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":41,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1745750728829_drumnormhitbox.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Drumstick","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":4,"dataType":"number"},"ShrekExchangeRate":{"default":100,"dataType":"number"},"carriedUnit":{"dataType":"unit"},"RareItemVariant":{"default":"Ht5dDfEuGr","dataType":"itemType"},"rareItemtounit":{"dataType":"unit"},"isUnpickable?":{"default":false,"dataType":"boolean"},"RareItemChance":{"default":5,"dataType":"number"},"rareRandomize":{"default":true,"dataType":"boolean"},"UltraRareItemVariant":{"default":"xF5dQGsZnK","dataType":"itemType"},"UltraRareItemChance":{"default":0.2,"dataType":"number"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1738823260050_drumog.png","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"KXPsgdKIAm":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0.25,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemChance","dataType":"number","entity":"nidc3swP0c","key":"RareItemChance"}},"entity":{"function":"thisEntity"}},{"function":"getRandomNumberBetween","min":0,"max":99}],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"nidc3swP0c","key":"rareRandomize"}},"entity":{"function":"thisEntity"}},true]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemVariant","dataType":"itemType","entity":"W8SojbpByx","key":"RareItemVariant"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"entity":{"function":"thisEntity"}},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":false,"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"UltraRareItemChance","dataType":"number","entity":"W8SojbpByx","key":"UltraRareItemChance"}},"entity":{"function":"thisEntity"}},{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},100,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemChance","dataType":"number","entity":"potatoGun","key":"RareItemChance"}},"entity":{"function":"thisEntity"}}]},100]}]},100]},{"function":"getRandomNumberBetween","min":0,"max":9999}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"UltraRareItemVariant","dataType":"itemType","entity":"W8SojbpByx","key":"UltraRareItemVariant"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"entity":{"function":"thisEntity"}},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":false,"runMode":0}],"else":[],"runMode":0,"comment":"UltraRareItemVariant [0.0x% percent precision]\n*Relative to rare item chance too"}],"runMode":0,"comment":"RareItemVariant"}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"KXPsgdKIAm","order":1},"IVV9rItefz":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"IVV9rItefz","order":2}},"itemTypes":{"W8SojbpByx":{"scripts":{"kKWlJHGr7Q":{"name":"created"}}}},"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","bulletForce":0,"recoilForce":0,"projectileType":"","streamMode":1,"projectileStreamMode":1,"id":"W8SojbpByx","showCDOverlay":false,"isBillboard":false,"canBeUsedBy":["human"],"is3DObject":false,"opacity":1},"HoRkmdYOhT":{"confinedWithinMapBoundaries":true,"isUsedOnPickup":false,"description":"This Mystic Crystal has numberous of magic powers!<br>\n+50% speed<br>\n+35% Camera<br>\n- Increase gainz by 100%<br>\n- Blow up players around you [Cooldown 2 seconds]","maxQuantity":1,"quantity":1,"bodies":{"selected":{"fixtures":[{"isSensor":false,"shape":{"type":"circle"},"restitution":0.01,"friction":0.01,"density":15,"offset":{"y":0,"z":0},"size":{"width":15,"height":24}}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"dynamic","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":45},"unitAnchor":{"rotation":0,"y":0,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":24,"width":15,"friction":0,"z-index":{"layer":4,"depth":4},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","type":"dynamic","collidesWith":{"units":true,"items":false,"projectiles":false,"walls":true,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":0,"z":0,"rotation":0},"jointType":"weldJoint","rotationSpeed":1,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":24,"width":15,"friction":0,"z-index":{"layer":1,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":"0.01","shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":"","mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40}}},"states":{"selected":{"name":"selected","animation":"TpsmgGVfi5","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"TpsmgGVfi5","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"TpsmgGVfi5","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699712352769_1675381750437_gq3fqwetqwg_(1).png"},"animations":{"TpsmgGVfi5":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":null,"canBePurchasedBy":["w1NiT3YV0e"],"name":"Mystic Crystal","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"type":"weapon","isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0},"isGun":false,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["human"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":2000,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":null,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":false,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":14,"delayBeforeUse":0,"cost":{"quantity":0},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"Pog4KAb7DM":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"spawnItem","itemType":"0E6RSmObuc","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0}],"name":"On Use","parent":null,"key":"Pog4KAb7DM","order":0},"CZx5Mlqxp7":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0.5,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":280,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":1,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},"textB":{"function":"concat","textA":" has found the ","textB":{"function":"getItemTypeName","itemType":{"function":"getItemTypeOfItem","entity":{"function":"thisEntity"}}}}},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"CZx5Mlqxp7","order":1},"F4KhDfAr10":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"F4KhDfAr10","order":3}},"streamMode":1,"id":"HoRkmdYOhT","saveBandwidth":true,"showCDOverlay":true,"isBillboard":false,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"nftMinting":false,"opacity":1,"shadow":false,"itemTypes":{"HoRkmdYOhT":{"scripts":{"sY7IGnvZlb":{"name":"OnDropped"}}}}},"zwAoerFxEw":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Shoots powerful baked potatoes for 20 points each and also moves heavy objects!","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":6},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":42,"width":11,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":45,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"type":"dynamic","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":150,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":42,"width":11,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699712261298_1654889704587_1631639273751_1625688626864_rtenemy_(1).png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":28,"distanceStart":40,"bulletType":"projectile","fireRate":850,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Hot Potato Gun ","bulletStartPosition":{"x":0,"y":0},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":null,"maxQuantity":null,"autoUpdateQuantity":false,"cost":{"playerAttributes":{"points":20}},"carriedBy":["human"],"variables":{"isRare?":{"default":true,"dataType":"boolean"},"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"jIyYO8e2XY","removeWhenEmpty":false,"isUsedOnPickup":false,"confinedWithinMapBoundaries":false,"projectileStreamMode":1,"saveBandwidth":true,"scripts":{"jC3MRZqywE":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"jC3MRZqywE","order":1}},"streamMode":1,"id":"zwAoerFxEw","showCDOverlay":true,"isBillboard":false,"opacity":1},"Ht5dDfEuGr":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":1000,"description":"Extra thick and valuable drumstick!<br>\n- Increase gainz by 75%<br>","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":6},"typeWhenDrop":"dynamic","type":"dynamic","width":42,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":46,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":60,"friction":"0.25","restitution":"0.1","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":33,"height":33,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":43,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1738910510323_golddrumog.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Golden Drumstick","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isRare?":{"default":true,"dataType":"boolean"},"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1738823239117_golddrumog.png","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"DgxfFvUqNE":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0.75,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"DgxfFvUqNE","order":1},"CN3qIHSsr1":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"CN3qIHSsr1","order":2}},"streamMode":1,"id":"Ht5dDfEuGr","showCDOverlay":false,"isBillboard":false,"is3DObject":false,"canBeUsedBy":["human"],"opacity":1},"g48QWebjK3":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":1000,"description":"This Swordfish does everything a regular Swordfish does, but way better!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":5},"typeWhenDrop":"dynamic","type":"dynamic","width":35,"height":64,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":56,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":60,"friction":"0.25","restitution":"0.025","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":35,"height":64,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":55,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1703633163681_rare_swordfish.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Rare Swordfish","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isRare?":{"default":true,"dataType":"boolean"},"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"projectileStreamMode":1,"scripts":{"vgpXyIqOuP":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"vgpXyIqOuP","order":1}},"streamMode":1,"id":"g48QWebjK3","showCDOverlay":false,"isBillboard":false,"canBeUsedBy":["human"],"opacity":1},"ZD6XzgYzi5":{"delayBeforeUse":0,"bulletStartPosition":{"rotation":0,"y":0,"x":0},"frames":{},"name":"Mod Hammer","handle":"","attributes":{},"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699712190735_1654889489214_1642357157310_qwe.png","rowCount":1,"columnCount":1},"inventoryImage":null,"isStackable":false,"isPurchasable":true,"canBePurchasedBy":[],"isGun":false,"bulletDestroyedOnCollisionWithWall/unitType":"raycast","type":"weapon","hits":[],"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"bodies":{"selected":{"name":"selected","type":"dynamic","width":30,"height":60,"z-index":{"layer":4,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"angularDamping":0,"linearDamping":0,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":90,"friction":"0.5","restitution":"0.1","shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":55},"bullet":false,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","type":"dynamic","width":40,"height":80,"z-index":{"layer":1,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":53},"bullet":false,"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"hideIfUnaffordable":false,"projectileType":"","quantity":null,"maxQuantity":null,"description":null,"reloadRate":2800,"recoilForce":0,"fireRate":500,"bulletDestroyedOnCollisionWithWall/unitForce":14,"knockbackForce":0,"effects":{"use":{"projectileType":"","sound":{},"animation":"use","tween":"none","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"penetration":false,"destroyTimer":30000,"particles":{},"damage":{"unitAttributes":{"health":10}},"sound":{},"canBeUsedBy":["human"],"isUsedOnPickup":false,"removeWhenEmpty":false,"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"cost":{"quantity":0},"buffTypes":[],"carriedBy":["human"],"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"damageHitBox":{"width":60,"height":30,"offsetX":0,"offsetY":50},"damageDelay":0,"projectileStreamMode":1,"lifeSpan":60000,"ignoreServerStream":false,"confinedWithinMapBoundaries":false,"scripts":{"yAzaNBJ845":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},false],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},false]],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"yAzaNBJ845","order":2},"7C4XLMufFC":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"7C4XLMufFC","order":1}},"saveBandwidth":true,"itemTypes":{"ZD6XzgYzi5":{"scripts":{"EgreG6uwEE":{"name":"every second"}}}},"streamMode":1,"id":"ZD6XzgYzi5","showCDOverlay":false,"isBillboard":false,"opacity":1},"m3xUP8Xx3R":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"The shrek is angry!<br>\nCosts 20 points each ammo to knockback with the bouncy power of the fard","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":42,"width":15,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":45,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"type":"dynamic","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":115,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":42,"width":15,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1676081547022_fart_gun.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":32,"distanceStart":40,"bulletType":"projectile","fireRate":600,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Fart Gun","bulletStartPosition":{"x":0,"y":45},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":null,"maxQuantity":null,"autoUpdateQuantity":false,"cost":{"playerAttributes":{"points":20}},"carriedBy":["human"],"variables":{"isRare?":{"default":true,"dataType":"boolean"},"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"UJvgK0SDdJ","projectileStreamMode":1,"removeWhenEmpty":false,"isUsedOnPickup":false,"ignoreServerStream":false,"saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"PKtXjiwv7Q":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"PKtXjiwv7Q","order":1}},"itemTypes":{"m3xUP8Xx3R":{"scripts":{"iJG1WNrXpe":{"name":"item used"}}}},"streamMode":1,"id":"m3xUP8Xx3R","showCDOverlay":true,"isBillboard":false,"opacity":1},"BKZQ7EL3J5":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":50,"description":"The zombie apocalypse's best friend! <br />\n+20% speed!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":43,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":45,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":60,"friction":1.1,"restitution":0.25,"shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{"width":12,"height":43}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":12,"height":43,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699711765829_crowbar_(3).png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Crowbar","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":1,"dataType":"number"},"ShrekExchangeRate":{"default":12,"dataType":"number"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":null,"deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"0QflRoQxb7":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0.2,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"0QflRoQxb7","order":1},"XKfDZP8QFA":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"XKfDZP8QFA","order":2}},"type":"unusable","streamMode":1,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","projectileType":"QeSNRZnEBi","bulletForce":14,"recoilForce":0,"id":"BKZQ7EL3J5","projectileStreamMode":1,"showCDOverlay":false,"isBillboard":false,"canBeUsedBy":["human"],"opacity":1},"9jYPyEYzU4":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"VwG3OhwMO5","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":500,"description":"Boom! 1 use, 1 big explosion! Use this item to troll or to evade zombies!<br>\nCooldown 10 seconds.","maxQuantity":5,"quantity":1,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":5},"typeWhenDrop":"dynamic","type":"spriteOnly","width":9,"height":40,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":43,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":5,"friction":1,"restitution":"0.01","shape":{"type":"rectangle"}}],"affectedByGravity":false},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":9,"height":40,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":43,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1644421328885_dynamite.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Dynamite","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":1,"dataType":"number"},"ShrekExchangeRate":{"default":20,"dataType":"number"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"projectileStreamMode":1,"bulletType":"projectile","projectileType":"","bulletForce":0,"recoilForce":0,"scripts":{"vc2Qe0iFH9":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"width":256,"height":256}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":20000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":60000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":{"function":"calculate","items":[{"operator":"*"},2.5,{"function":"calculate","items":[{"operator":"*"},{"function":"entityHeight","entity":{"function":"selectedUnit"}},{"function":"entityWidth","entity":{"function":"selectedUnit"}}]}]},"type":"applyForceOnEntityAngle","runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"runMode":0}],"runMode":0},{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"createProjectileAtPosition","projectileType":"VwG3OhwMO5","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"force":0,"angle":0},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"else":[],"runMode":0}],"name":"When this item is used","parent":null,"key":"vc2Qe0iFH9","order":-1},"D2lhjTyztf":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},20,{"function":"getItemQuantity","item":{"function":"thisEntity"}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":20,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"D2lhjTyztf","order":1},"rLvUUhhtw2":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"rLvUUhhtw2","order":3}},"ignoreServerStream":false,"id":"9jYPyEYzU4","streamMode":1,"showCDOverlay":false,"isBillboard":false,"canBeUsedBy":["human"],"opacity":1},"7PnVjGFlfv":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"VwG3OhwMO5","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":500,"description":"The Stacked Dynamite is complete obliteration!","maxQuantity":5,"quantity":1,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":6},"typeWhenDrop":"dynamic","type":"spriteOnly","width":27,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":5,"friction":1,"restitution":"0.01","shape":{"type":"rectangle"}}],"affectedByGravity":false},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":27,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1644421424880_stacked_dynamite.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Stacked Dynamite","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":5,"dataType":"number"},"ShrekExchangeRate":{"default":200,"dataType":"number"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"projectileStreamMode":1,"bulletType":"projectile","projectileType":"","bulletForce":0,"recoilForce":0,"canBeUsedBy":["human"],"ignoreServerStream":false,"scripts":{"X870J3kr2u":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"width":256,"height":256}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":30000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":100000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":{"function":"calculate","items":[{"operator":"*"},11.25,{"function":"calculate","items":[{"operator":"*"},{"function":"entityHeight","entity":{"function":"selectedUnit"}},{"function":"entityWidth","entity":{"function":"selectedUnit"}}]}]},"type":"applyForceOnEntityAngle","runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"runMode":0}],"runMode":0},{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"createProjectileAtPosition","projectileType":"VwG3OhwMO5","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"force":0,"angle":0},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"else":[],"runMode":0}],"name":"When this item is used","parent":null,"key":"X870J3kr2u","order":-1},"1co6h5bxUL":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},10,{"function":"getItemQuantity","item":{"function":"thisEntity"}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":10,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"1co6h5bxUL","order":3},"3dmrMyRiYW":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"3dmrMyRiYW","order":3}},"streamMode":1,"id":"7PnVjGFlfv","showCDOverlay":false,"isBillboard":false,"opacity":1},"ko65kAGsPq":{"confinedWithinMapBoundaries":false,"isUsedOnPickup":false,"description":null,"maxQuantity":1,"quantity":1,"bodies":{"selected":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"spriteOnly","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":0,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":50,"width":50,"friction":0,"z-index":{"layer":3,"depth":4},"isBillboard":false},"dropped":{"name":"dropped","type":"static","collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":0,"x":0},"jointType":"none","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":50,"width":50,"friction":0,"z-index":{"layer":2,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"circle"},"isSensor":true,"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"TpsmgGVfi5","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"TpsmgGVfi5","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"TpsmgGVfi5","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1688661228913_New_Piskel-1.png_-_2020-02-13T184316.446.png"},"animations":{"TpsmgGVfi5":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{"immunity":100},"playerAttribute":{}}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":24000,"canBePurchasedBy":["w1NiT3YV0e"],"name":"Free Point Item","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0,"UhbITAv1Qq":{"name":"collidable","type":"dynamic","width":40,"height":40,"z-index":{"layer":3,"depth":3,"offset":0},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"rotate":{"x":0,"y":0,"z":0},"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0}}},"isGun":true,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["YeSdVwoKp5"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":1000,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["YeSdVwoKp5"],"variables":{"BonusFlatScore":{"default":1000,"dataType":"number"},"FunctionCounter":{"default":0,"dataType":"number"},"shrekified?":{"default":false,"dataType":"boolean"}},"inventoryImage":null,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":false,"backpackAllowed":false,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":14,"delayBeforeUse":0,"cost":{},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"SpEFkhKRNK":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1]},"runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":">=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"shrekified?","dataType":"boolean","entity":"zwAoerFxEw","key":"shrekified?"}},"entity":{"function":"thisEntity"}},false]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"shrekified?","dataType":"boolean","entity":"zwAoerFxEw","key":"shrekified?"}},"value":true,"runMode":0},{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0}],"name":"When this entity touches unit","parent":null,"key":"SpEFkhKRNK","order":1},"OISPzv46vg":{"triggers":[{"type":"initEntityDestroy"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}},{"function":"getMax","num1":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},"num2":1}]}},"runMode":0},{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"]],"then":[{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"selectedUnit"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"selectedUnit"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}]},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"selectedUnit"},"text":{"function":"concat","textA":"+","textB":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}}},"color":"#44ff6a","runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"name":"OnDestroy","parent":null,"key":"OISPzv46vg","order":2}},"type":"unusable","itemTypes":{"ko65kAGsPq":{"scripts":{"LiRNwPqIqV":{"name":"emit particles"},"KwIwbG9jCz":{"name":"Created"},"PMRPFGKeFo":{"name":"Created"}}}},"streamMode":1,"id":"ko65kAGsPq","showCDOverlay":false,"isBillboard":false,"opacity":1},"dUlUsudomI":{"controls":{"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"permittedInventorySlots":[],"undroppable":false,"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"frames":{},"bulletStartPosition":{"rotation":0,"y":0,"x":0},"name":"Dark Shield","handle":"","attributes":{},"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isExtraLife?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"},"invincibilityItemEffect":{"default":"OBm1HBuWAl","dataType":"itemType"},"isUnpickable?":{"default":false,"dataType":"boolean"}},"price":{"playerAttributes":{},"requiredItemTypes":{}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699711882095_1690564113547_spritesheet_(1)_2.png","rowCount":1,"columnCount":2},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1654896988164_1654885102990_shield_(1)-1_(1)_(1)_(1).png","isStackable":false,"isPurchasable":false,"canBePurchasedBy":[],"isGun":false,"bulletDestroyedOnCollisionWithWall/unitType":"raycast","type":"unusable","hits":[],"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"animations":{"default":{"name":"default","frames":[2],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0}},"bodies":{"selected":{"name":"selected","type":"dynamic","width":80,"height":80,"z-index":{"layer":4,"depth":4},"fixedRotation":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"jointType":"none","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":0},"bullet":false,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0}},"dropped":{"bullet":false,"name":"dropped","type":"dynamic","width":35,"height":35,"z-index":{"layer":1,"depth":2},"fixedRotation":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"none","unitAnchor":{"x":0,"y":56},"itemAnchor":{"x":0,"y":58},"affectedByGravity":false}},"hideIfUnaffordable":true,"projectileType":"","quantity":null,"maxQuantity":null,"description":"From the darkest of realms to the palm of your hand -- if you get hit by a zombie, you gain an extra life and 5 seconds of immunity and speed!","reloadRate":2800,"recoilForce":0,"fireRate":70,"bulletDestroyedOnCollisionWithWall/unitForce":14,"knockbackForce":0,"effects":{"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}},"destroy":{"animation":"","sound":{}},"create":{"animation":"","sound":{}},"use":{"tween":"","animation":"","sound":{}}},"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"penetration":false,"destroyTimer":100000,"particles":{},"damage":2,"sound":{},"canBeUsedBy":["human"],"isUsedOnPickup":false,"removeWhenEmpty":true,"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{},"coin":0},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false},"isConsumedImmediately":false},"cost":{},"buffTypes":[],"carriedBy":["human"],"lifeSpan":300000,"confinedWithinMapBoundaries":false,"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"jJ3HghhTf2":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},"textB":{"function":"concat","textA":" has found the ","textB":{"function":"getItemTypeName","itemType":{"function":"getItemTypeOfItem","entity":{"function":"thisEntity"}}}}},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."},{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default","runMode":0}],"name":"OnPickup","parent":null,"key":"jJ3HghhTf2","order":0},"hiu0sDL3sE":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"hiu0sDL3sE","order":2}},"streamMode":1,"id":"dUlUsudomI","showCDOverlay":false,"isBillboard":false,"itemTypes":{"dUlUsudomI":{"scripts":{"6H28nBxCG9":{"name":"change particle type"},"jJ3HghhTf2":{"name":"ItemFound"}}}},"opacity":1},"QzsEYxw8Fe":{"controls":{"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"permittedInventorySlots":[],"undroppable":false,"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"frames":{},"bulletStartPosition":{"rotation":0,"y":0,"x":0},"name":"Wings","handle":"","attributes":{},"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isRare?":{"default":true,"dataType":"boolean"},"isExtraLife?":{"default":true,"dataType":"boolean"},"invincibilityItemEffect":{"default":"Et4kssMFKb","dataType":"itemType"},"isUnpickable?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"price":{"playerAttributes":{},"requiredItemTypes":{}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699713068626_wings_small.png","rowCount":1,"columnCount":4},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1693084455901_wings_inventory_sprite_2.png","isStackable":false,"isPurchasable":false,"canBePurchasedBy":[],"isGun":false,"bulletDestroyedOnCollisionWithWall/unitType":"raycast","hits":[],"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"animations":{"default":{"name":"default","frames":[2],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[4],"framesPerSecond":0,"loopCount":0},"fD6vK3Jt07":{"name":"flying","frames":[3,2,1,2],"framesPerSecond":10,"loopCount":""}},"bodies":{"selected":{"name":"selected","type":"dynamic","width":150,"height":150,"z-index":{"layer":4,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true,"offset":{"x":0,"y":0},"size":{"width":150,"height":150}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":0},"bullet":false,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"isBillboard":false,"globalSpace":false,"mountTarget":""},"dropped":{"bullet":false,"name":"dropped","type":"dynamic","width":35,"height":35,"z-index":{"layer":1,"depth":2},"fixedRotation":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"none","unitAnchor":{"x":0,"y":56},"itemAnchor":{"x":0,"y":58},"affectedByGravity":false},"MTo2rh9Gud":{"name":"Flying","type":"dynamic","width":225,"height":225,"z-index":{"layer":5,"depth":8},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"rotation":0},"itemAnchor":{"x":0,"y":0}}},"hideIfUnaffordable":true,"projectileType":"","quantity":null,"maxQuantity":null,"description":"If you get hit by a zombie, you get an extra life and gain 6 seconds of immunity, speed and flight!","reloadRate":2800,"recoilForce":0,"fireRate":70,"bulletDestroyedOnCollisionWithWall/unitForce":14,"knockbackForce":0,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"penetration":false,"destroyTimer":100000,"particles":{},"damage":{},"sound":{},"canBeUsedBy":["human"],"isUsedOnPickup":false,"removeWhenEmpty":true,"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{},"coin":0},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false},"isConsumedImmediately":false},"cost":{},"buffTypes":[],"carriedBy":["human"],"lifeSpan":300000,"confinedWithinMapBoundaries":false,"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"8NHvbN49MQ":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},"textB":{"function":"concat","textA":" has found the ","textB":{"function":"getItemTypeName","itemType":{"function":"getItemTypeOfItem","entity":{"function":"thisEntity"}}}}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."},{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default","runMode":0}],"name":"OnPickup","parent":null,"key":"8NHvbN49MQ","order":3},"CZVVOldnCa":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"CZVVOldnCa","order":3}},"streamMode":1,"type":"unusable","delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"id":"QzsEYxw8Fe","saveBandwidth":true,"showCDOverlay":false,"isBillboard":false,"opacity":1,"itemTypes":{"QzsEYxw8Fe":{"scripts":{"k7GvlTHSHh":{"name":"On created"},"BGPBXyNliP":{"name":"On Pickup"}}}}},"Et4kssMFKb":{"controls":{"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"permittedInventorySlots":[],"undroppable":true,"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"frames":{},"bulletStartPosition":{"rotation":0,"y":0,"x":0},"name":"Wings Flying","handle":"","attributes":{},"variables":{"armourSafe":{"default":6,"dataType":"number"},"isInvincibility?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"},"isPickup?":{"default":true,"dataType":"boolean"}},"price":{"playerAttributes":{},"requiredItemTypes":{}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699713083123_wings_small.png","rowCount":1,"columnCount":4},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1693084455901_wings_inventory_sprite_2.png","isStackable":false,"isPurchasable":false,"canBePurchasedBy":[],"isGun":false,"bulletDestroyedOnCollisionWithWall/unitType":"raycast","hits":[],"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"animations":{"default":{"name":"default","frames":[1,2,3,2],"loopCount":null,"framesPerSecond":10},"dropped":{"name":"dropped","frames":[4],"framesPerSecond":0,"loopCount":0}},"bodies":{"selected":{"name":"selected","type":"dynamic","width":225,"height":225,"z-index":{"layer":5,"depth":9},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":0},"bullet":false,"affectedByGravity":false},"dropped":{"bullet":false,"name":"dropped","type":"dynamic","width":35,"height":35,"z-index":{"layer":1,"depth":2},"fixedRotation":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"none","unitAnchor":{"x":0,"y":56},"itemAnchor":{"x":0,"y":58},"affectedByGravity":false}},"hideIfUnaffordable":true,"projectileType":"","quantity":null,"maxQuantity":null,"description":"If you get hit by a zombie, you get an extra life and gain 6 seconds of immunity, speed and flight!","reloadRate":2800,"recoilForce":0,"fireRate":70,"bulletDestroyedOnCollisionWithWall/unitForce":14,"knockbackForce":0,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"penetration":false,"destroyTimer":100000,"particles":{},"damage":{},"sound":{},"canBeUsedBy":[],"isUsedOnPickup":false,"removeWhenEmpty":true,"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{},"coin":0},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false},"isConsumedImmediately":false},"cost":{},"buffTypes":[],"carriedBy":["human"],"lifeSpan":300000,"confinedWithinMapBoundaries":false,"projectileStreamMode":"0","ignoreServerStream":false,"scripts":{"0WHE7XnMRT":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default","runMode":0}],"name":"On created item","parent":null,"key":"0WHE7XnMRT","order":2},"IpN6qDyYsJ":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"armourSafe","dataType":"number","entity":"Et4kssMFKb","key":"armourSafe"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"createFloatingText","text":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"armourSafe","dataType":"number","entity":"Et4kssMFKb","key":"armourSafe"}},"entity":{"function":"thisEntity"}},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"color":"yellow","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"armourSafe","dataType":"number","entity":"Et4kssMFKb","key":"armourSafe"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"armourSafe","dataType":"number","entity":"Et4kssMFKb","key":"armourSafe"}},"entity":{"function":"thisEntity"}},1]},"runMode":0},{"type":"setTimeOut","duration":1000,"actions":[{"type":"runScript","scriptName":"IpN6qDyYsJ","isEntityScript":true,"runMode":0}],"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"type":"setEntityState","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"state":"default","runMode":0},{"type":"setFadingTextOfUnit","text":"Invincibility expired!","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"color":"yellow","runMode":0},{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"runMode":0}],"name":"Create expire period text","parent":null,"key":"IpN6qDyYsJ","order":3},"Yl44YAGrRr":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":1,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":150,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"type":"setEntityState","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"state":"MWWnM0tnIb","runMode":0},{"type":"runScript","scriptName":"IpN6qDyYsJ","isEntityScript":true,"runMode":0}],"name":"OnPickup","parent":null,"key":"Yl44YAGrRr","order":3}},"streamMode":1,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"type":"weapon","id":"Et4kssMFKb","saveBandwidth":true,"showCDOverlay":false},"FRA8xRxrDG":{"delayBeforeUse":0,"bulletStartPosition":{"rotation":0,"y":45,"x":0},"name":"Kick Wand","handle":"","attributes":{},"variables":{"isPickup?":{"default":true,"dataType":"boolean"}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1697599455927_1x1-00000000.png","rowCount":1,"columnCount":1},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1689685504483_7d7beed3587ee5de918361162fc9f2ac.png","isStackable":false,"isPurchasable":true,"canBePurchasedBy":[],"isGun":true,"bulletDestroyedOnCollisionWithWall/unitType":"projectile","type":"weapon","hits":[],"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0}},"bodies":{"selected":{"name":"selected","type":"spriteOnly","width":11,"height":50,"z-index":{"layer":3,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":30},"itemAnchor":{"x":0,"y":58}},"dropped":{"bullet":false,"name":"dropped","type":"dynamic","width":11,"height":80,"z-index":{"layer":1,"depth":2},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":76},"itemAnchor":{"x":0,"y":58}}},"hideIfUnaffordable":false,"projectileType":"constantSpeed +DestroyedOnCollisionWithWall/unit","quantity":1,"maxQuantity":1,"description":"Kick guest users","reloadRate":2800,"recoilForce":0,"fireRate":200,"bulletDestroyedOnCollisionWithWall/unitForce":20,"knockbackForce":0,"effects":{"use":{"projectileType":"","sound":{},"animation":"use","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"sound":{},"animation":""},"empty":{"sound":{},"animation":""}},"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":-5,"y":-12,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"penetration":false,"destroyTimer":100000,"particles":{},"damage":{"unitAttributes":{}},"sound":{},"canBeUsedBy":["human","YeSdVwoKp5"],"isUsedOnPickup":false,"removeWhenEmpty":false,"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"cost":{"quantity":0},"buffTypes":[],"carriedBy":["human","YeSdVwoKp5"],"frames":{},"bulletType":"projectile","bulletForce":22,"bulletDistance":1300,"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"deployMethod":"setVelocity","projectileStreamMode":1,"lifeSpan":0,"ignoreServerStream":false,"confinedWithinMapBoundaries":false,"scripts":{"OLrgm4XxiH":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}}},"y":{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}}},"width":15,"height":15}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPlayerLoggedIn","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},false],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"kicked ","textB":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"selectedUnit"}}}},"player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}},{"type":"kickPlayer","entity":{"function":"getOwner","entity":{"function":"selectedUnit"}},"message":"You were kicked due to anti-bot."}],"else":[]}]}],"else":[{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"runMode":0}],"name":"Kick wand","parent":null,"key":"OLrgm4XxiH","order":-1},"4wnYI3I1YC":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}},false],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}},false]],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"else":[],"runMode":0}],"name":"OnPickup","parent":null,"key":"4wnYI3I1YC","order":2}},"defaultProjectile":{"inventoryImage":"https://cache.modd.io/asset/spriteImage/1594326998539_1.png","name":"Constant Speed","attributes":{},"variables":{},"states":{"zTzPFYOZkc":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"bodies":{"default":{"bullet":true,"name":"default","type":"dynamic","width":10,"height":24,"z-index":{"layer":3,"depth":1},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":0,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0}}},"destroyTimer":1500,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1594326948666_1.png"},"lifeSpan":1500,"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"destroyOnContactWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true}},"streamMode":1,"showCDOverlay":false,"id":"FRA8xRxrDG"},"Z6cZdmeRd8":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Throw grenades at zombies to blast them away!","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":32,"width":32,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":39,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":false,"debris":false},"type":"spriteOnly","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":10,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"}}],"affectedByGravity":false},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":32,"width":32,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":39,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1771208716978_1688678004708_grenade.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"none","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":30,"distanceStart":40,"bulletType":"projectile","fireRate":500,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Grenade","bulletStartPosition":{"x":0,"y":50},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":4,"maxQuantity":20,"autoUpdateQuantity":false,"cost":{"playerAttributes":{},"quantity":0},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":1,"dataType":"number"},"ShrekExchangeRate":{"default":50,"dataType":"number"}},"inventoryImage":"","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"vPFTSAhKNW","projectileStreamMode":1,"removeWhenEmpty":false,"isUsedOnPickup":false,"ignoreServerStream":false,"saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"ycNvP07BHi":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},50,{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},4]}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":50,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"ycNvP07BHi","order":2},"Vb6EADCQ93":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"OnUse","parent":null,"key":"Vb6EADCQ93","order":1},"BaQyTPxoew":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"BaQyTPxoew","order":3}},"itemTypes":{"m3xUP8Xx3R":{"scripts":{"iJG1WNrXpe":{"name":"item used"}}},"Z6cZdmeRd8":{"scripts":{"Vb6EADCQ93":{"name":"OnUse"}}}},"type":"weapon","streamMode":1,"id":"Z6cZdmeRd8","showCDOverlay":true,"isBillboard":false,"opacity":1,"is3DObject":false},"OX7kaD3N28":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"poke","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":500,"description":"Rare spear is stronger! Great for juking, but can be a bit tricky to master","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":5},"typeWhenDrop":"dynamic","type":"dynamic","width":16,"height":181,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":-15,"y":54,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":true,"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0}},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":16,"height":181,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":49,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1616388200491_ancient_spear.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Rare Ancient Spear","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isRare?":{"default":true,"dataType":"boolean"},"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","projectileType":"01wjEcGht2","bulletForce":0,"recoilForce":0,"projectileStreamMode":1,"scripts":{"SBFnuyignr":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"SBFnuyignr","order":1}},"streamMode":1,"id":"OX7kaD3N28","showCDOverlay":true,"isBillboard":false,"canBeUsedBy":["human"],"opacity":1},"oI7IYepEHl":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"poke","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":500,"description":"The spear pushes back zombies! Great for juking, but can be a bit tricky to master<br />\n• 5% chance to be rare","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":3,"depth":6},"typeWhenDrop":"dynamic","type":"dynamic","width":11,"height":125,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":-15,"y":54,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":true,"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"}}],"affectedByGravity":false},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":11,"height":125,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":49,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1613869727734_spear.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Spear","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"ShrekItemGrade":{"default":3,"dataType":"number"},"ShrekExchangeRate":{"default":100,"dataType":"number"},"isPickup?":{"default":false,"dataType":"boolean"},"RareItemVariant":{"default":"OX7kaD3N28","dataType":"itemType"},"rareItemtounit":{"dataType":"unit"},"isUnpickable?":{"default":false,"dataType":"boolean"},"rareRandomize":{"default":true,"dataType":"boolean"},"RareItemChance":{"default":5,"dataType":"number"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","projectileType":"KiWktxP8aX","bulletForce":0,"recoilForce":0,"projectileStreamMode":"0","scripts":{"0eXYg0dMF6":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemChance","dataType":"number","entity":"nidc3swP0c","key":"RareItemChance"}},"entity":{"function":"thisEntity"}},{"function":"getRandomNumberBetween","min":0,"max":99}],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"nidc3swP0c","key":"rareRandomize"}},"entity":{"function":"thisEntity"}},true]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemVariant","dataType":"itemType","entity":"W8SojbpByx","key":"RareItemVariant"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"entity":{"function":"thisEntity"}},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":false,"runMode":0}],"else":[],"runMode":0,"comment":"RareItemVariant"}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"0eXYg0dMF6","order":1}},"streamMode":1,"id":"oI7IYepEHl","showCDOverlay":true,"isBillboard":false},"U57uEKv8ko":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Pull your love closer to you. For everyone you love you get points according to your performance 🏹❤️<br>\n- 5% chance to be rare!","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":5},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":45,"width":90,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":false},"type":"spriteOnly","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":true,"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"}}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"depth":0},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":80,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":42,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":2,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1644669689057_resim_2022-02-12_154127.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"},"use":{"loopCount":0,"framesPerSecond":0,"frames":[2],"name":"use"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"use","tween":"none","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":30,"distanceStart":40,"bulletType":"projectile","fireRate":1000,"recoilForce":100,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Cupid's Bow","bulletStartPosition":{"x":0,"y":15},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":null,"maxQuantity":null,"autoUpdateQuantity":false,"cost":{"playerAttributes":{"points":25}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":4,"dataType":"number"},"ShrekExchangeRate":{"default":400,"dataType":"number"},"RareItemVariant":{"default":"aNMjJKOcmQ","dataType":"itemType"},"rareRandomize":{"default":true,"dataType":"boolean"},"RareItemChance":{"default":5,"dataType":"number"},"isUnpickable?":{"default":false,"dataType":"boolean"},"rareItemtounit":{"dataType":"unit"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1644669811296_resim_2022-02-12_154329.png","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"aWjzeTwyac","removeWhenEmpty":false,"isUsedOnPickup":false,"confinedWithinMapBoundaries":false,"projectileStreamMode":1,"saveBandwidth":true,"frames":{},"ignoreServerStream":false,"scripts":{"siBmwV6E98":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"use"},{"type":"setTimeOut","duration":2000,"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]}],"name":"item used","parent":null,"key":"siBmwV6E98","order":-1},"FUDIJSNxGb":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemChance","dataType":"number","entity":"nidc3swP0c","key":"RareItemChance"}},"entity":{"function":"thisEntity"}},{"function":"getRandomNumberBetween","min":0,"max":99}],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"nidc3swP0c","key":"rareRandomize"}},"entity":{"function":"thisEntity"}},true]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RareItemVariant","dataType":"itemType","entity":"W8SojbpByx","key":"RareItemVariant"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareItemtounit","dataType":"unit","entity":"W8SojbpByx","key":"rareItemtounit"}},"entity":{"function":"thisEntity"}},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":false,"runMode":0}],"else":[],"runMode":0,"comment":"RareItemVariant"}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"FUDIJSNxGb","order":2}},"id":"U57uEKv8ko","isBillboard":false,"streamMode":1,"showCDOverlay":true,"opacity":1},"eQSGgauhnV":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":1000,"description":"Dark katana for the knight!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":16,"height":50,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":48,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":80,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":11,"height":40,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":43,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1709865022487_Dark_Katana.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Katana","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isRare?":{"default":true,"dataType":"boolean"},"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"14kD5BmlKR":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"14kD5BmlKR","order":1}},"streamMode":1,"id":"eQSGgauhnV","projectileStreamMode":1,"showCDOverlay":false,"isBillboard":false,"canBeUsedBy":["human"],"opacity":1},"Vsq7KR0ugI":{"animations":{"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0},"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"use":{"loopCount":1,"framesPerSecond":20,"frames":[1,2,3,1],"name":"use"}},"attributes":{},"bodies":{"selected":{"name":"selected","type":"dynamic","width":58,"height":58,"z-index":{"layer":3,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":60,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{"width":58,"height":58}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":78},"isBillboard":false,"depth":0,"bullet":false,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","type":"dynamic","width":58,"height":58,"z-index":{"layer":2,"depth":2},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":true,"debris":false},"angularDamping":6,"linearDamping":6,"rotationSpeed":6,"spriteScale":1,"fixtures":[{"density":1,"friction":1,"restitution":1,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":0},"bullet":false,"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""}},"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":14,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitType":"raycast","bulletStartPosition":{"rotation":0,"y":0,"x":0},"canBePurchasedBy":[],"canBeUsedBy":["human"],"carriedBy":["human"],"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1719109175486_resim_2024-06-23_051935543.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"cost":{"quantity":null},"damage":{"unitAttributes":{}},"damageDelay":0,"damageHitBox":{"width":60,"height":30,"offsetX":0,"offsetY":50},"delayBeforeUse":0,"description":"Go brrrrrrrrrrrrrrrrrrrrrrrrrr","destroyTimer":30000,"effects":{"use":{"projectileType":"","sound":{},"animation":"default","tween":"wobble","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"fireRate":50,"frames":{},"handle":"","hideIfUnaffordable":false,"hits":[],"ignoreServerStream":false,"inventoryImage":null,"is3DObject":false,"isGun":true,"isPurchasable":true,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":null,"maxQuantity":null,"name":"Lawn Mower","particles":{},"penetration":false,"projectileStreamMode":1,"projectileType":"","quantity":null,"recoilForce":0,"reloadRate":2800,"removeWhenEmpty":false,"sound":{},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"streamMode":1,"type":"weapon","variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isRare?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"scripts":{"gzCZj5nvir":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"applyForceOnEntityAngle","force":1000,"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},"runMode":0}],"name":"UseEntity","parent":null,"key":"gzCZj5nvir","order":-1},"P47rVncf0h":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"value":0,"runMode":0},{"type":"setEntityAttribute","attribute":"speed","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"value":0,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"P47rVncf0h","order":3},"Ob9iqRFMj3":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"value":5.6,"disabled":false,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"DropEntity","parent":null,"key":"Ob9iqRFMj3","order":3}},"bulletForce":0,"bulletType":"projectile","deployMethod":"applyForce","id":"Vsq7KR0ugI","opacity":1,"saveBandwidth":true,"showCDOverlay":false},"9w6WpNtbMG":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":1000,"description":"Smaller than the regular Crowbar, but provides +35% speed!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":3,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":13,"height":47,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":47,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":20,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"}}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":10,"height":35,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":43,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1693081180609_crowbar_(1)-1.png.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Mystic Crowbar","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isRare?":{"default":true,"dataType":"boolean"},"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":null,"deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"ChPGvTylGh":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0.35,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"ChPGvTylGh","order":1},"3m7SdTuWHO":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"3m7SdTuWHO","order":2}},"streamMode":1,"type":"weapon","id":"9w6WpNtbMG","projectileStreamMode":1,"showCDOverlay":false,"canBeUsedBy":["human"],"opacity":1},"7n2xQC30K4":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Each dart slows down zombies for a short time.","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":3,"depth":4},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":32,"width":"5.5","rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":36,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"type":"spriteOnly","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"}}],"affectedByGravity":false},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":32,"width":"5.5","rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":36,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1615231267739_dart.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"none","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":37,"distanceStart":40,"bulletType":"projectile","fireRate":2500,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Blowdart","bulletStartPosition":{"x":0,"y":35},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":null,"maxQuantity":null,"autoUpdateQuantity":false,"cost":{"playerAttributes":{"points":25},"unitAttributes":{}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"}},"inventoryImage":"","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"untradable":false,"canMerge":true,"backpackAllowed":true,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"NdlCD2IJws","removeWhenEmpty":false,"isUsedOnPickup":false,"confinedWithinMapBoundaries":true,"projectileStreamMode":1,"scripts":{},"id":"7n2xQC30K4","streamMode":1,"opacity":1,"showCDOverlay":false},"FakbevHIL3":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"none","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":2500,"description":"The taser gun can temporarily stun zombies, but it has a relatively long cooldown. Can also move objects.","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":3,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":13,"height":25,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":36,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":5,"friction":1,"restitution":"0.01","shape":{"type":"rectangle"}}],"affectedByGravity":false},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":10,"height":24,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":36,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1619987111540_Taser.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Taser Gun","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"randomized":{"default":true,"dataType":"boolean"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":true,"delayBeforeUse":0,"damageHitBox":{"width":40,"offsetX":0,"offsetY":15},"scripts":{},"id":"FakbevHIL3","opacity":1,"projectileStreamMode":"0","showCDOverlay":false,"streamMode":1},"qivW93U4XC":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"untradable":false,"canMerge":true,"backpackAllowed":true,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":1000,"description":"The dev drumstick is very very thick and originally used by developer!<br>\n- Increase gainz by 50%","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":3,"depth":10},"typeWhenDrop":"dynamic","type":"dynamic","width":84,"height":67,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":60,"z":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":40,"friction":1,"restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":84,"height":76,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":50,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1601088489830_124142142.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Dev Drumstick","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isRare?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":true,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"projectileStreamMode":1,"scripts":{"p2YuJLdzto":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0.5,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"p2YuJLdzto","order":1},"P5pz8SQACb":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"P5pz8SQACb","order":2}},"id":"qivW93U4XC","opacity":1,"showCDOverlay":false,"streamMode":1,"canBeUsedBy":["human"]},"NUQnpXAIsR":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"confinedWithinMapBoundaries":true,"saveBandwidth":true,"isUsedOnPickup":false,"removeWhenEmpty":false,"hideIfUnaffordable":false,"inventoryImage":"","variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":1,"dataType":"number"},"ShrekExchangeRate":{"default":50,"dataType":"number"}},"carriedBy":["human"],"cost":{"playerAttributes":{},"quantity":0},"autoUpdateQuantity":false,"maxQuantity":1000,"quantity":100,"lifeSpan":60000,"particles":{"k4HSd1axqA":{"velocityVector":{"maxVector":{"y":1,"x":1},"minVector":{"y":-1,"x":-1},"baseVector":{"y":0,"x":0}},"mountPosition":{"y":50,"x":0},"deathOpacityBase":0.5,"quantityTimespan":70,"quantityBase":40,"lifeBase":50,"color":"#ffffff","name":"spark"}},"canBePurchasedBy":["w1NiT3YV0e"],"damage":{},"hits":[],"penetration":false,"bulletStartPosition":{"y":0,"x":0},"name":"Glock","handle":"potato_gun","texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","isStackable":false,"isPurchasable":true,"isGun":true,"type":"weapon","spawnChance":0.08,"ammoSize":10000,"ammo":10000,"ammoTotal":10000,"reloadRate":10,"recoilForce":0,"fireRate":350,"bulletType":"projectile","distanceStart":40,"bulletForce":24,"projectileType":"lpUqGiiq1R","sound":{"nppwtuQaPz":{"name":"Fire","file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3"},"fire":"fireMinigun","reload":"reload","empty":"fireEmpty","zjlCUPiCk0":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3","name":"Out of ammo"},"GyCivqsuR8":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3","name":"Reload"}},"body":{"type":"dynamic","collidesWith":{"walls":true,"projectiles":true,"items":true,"units":true,"debris":true},"itemAnchor":{"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":40,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"layer":3,"depth":4},"fixedRotation":false,"name":"Potato Gun"},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"canBeUsedBy":["human"],"attributes":{},"animations":{"TpsmgGVfi5":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"cellSheet":{"url":"https://modd.s3.amazonaws.com/asset/spriteImage/1581180072352_glock.png","rowCount":1,"columnCount":1},"states":{"dropped":{"sound":{},"particles":{},"body":"dropped","animation":"TpsmgGVfi5","name":"dropped"},"unSelected":{"sound":{},"particles":{},"body":"unSelected","animation":"TpsmgGVfi5","name":"unselected"},"selected":{"sound":{},"particles":{},"body":"selected","animation":"TpsmgGVfi5","name":"selected"}},"bodies":{"dropped":{"type":"static","collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":true},"itemAnchor":{"y":0,"x":0},"unitAnchor":{"rotation":0,"y":27,"x":0},"jointType":"none","rotationSpeed":3,"width":6,"height":24,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":1,"layer":1},"fixedRotation":false,"name":"dropped","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}]},"unSelected":{"type":"none","collidesWith":{"debris":false,"walls":true,"projectiles":true,"items":true,"units":true},"itemAnchor":{"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":40,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":3,"layer":3},"fixedRotation":false,"name":"unselected"},"selected":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0,"friction":0,"density":1,"isSensor":false}],"spriteScale":1,"allowSleep":true,"bullet":false,"type":"spriteOnly","collidesWith":{"debris":false,"walls":false,"projectiles":true,"items":true,"units":true},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":30,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":9,"height":36,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":0,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":5,"layer":3},"fixedRotation":false,"name":"selected"}},"description":"Very useful in a zombie apocalypse!","deployMethod":"setVelocity","controls":{"permittedInventorySlots":[],"undroppable":false,"canMerge":true,"backpackAllowed":true,"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileStreamMode":1,"delayBeforeUse":0,"scripts":{"uvd2d5Z9Ou":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},50,{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},100]}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":50,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"uvd2d5Z9Ou","order":1},"Z7SoVX0VZ9":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"OnUse","parent":null,"key":"Z7SoVX0VZ9","order":2},"bXFlP7dnUN":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"bXFlP7dnUN","order":3}},"id":"NUQnpXAIsR","opacity":1,"showCDOverlay":false,"streamMode":1},"s1L3qvKP3E":{"animations":{"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0},"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{},"bodies":{"selected":{"name":"selected","type":"spriteOnly","width":36,"height":36,"z-index":{"layer":3,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":39},"itemAnchor":{"x":0,"y":""},"isBillboard":false},"dropped":{"name":"dropped","type":"dynamic","width":36,"height":36,"z-index":{"layer":2,"depth":2},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":true,"debris":false,"sensors":true},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":1,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{"width":"","height":""}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":0},"bullet":false,"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""}},"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":14,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitType":"raycast","bulletStartPosition":{"rotation":0,"y":0,"x":0},"canBePurchasedBy":[],"canBeUsedBy":["human"],"carriedBy":["human"],"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1732027812155_resim_2024-11-19_175011222.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"cost":{"quantity":0},"damage":{"unitAttributes":{}},"damageDelay":0,"damageHitBox":{"width":60,"height":30,"offsetX":0,"offsetY":50},"delayBeforeUse":0,"description":"Use it to control your toy cars!<br>\nLeft click to choose special round [Only if you survived the apocalypse] !!","destroyTimer":30000,"effects":{"use":{"projectileType":"","sound":{},"animation":"none","tween":"none","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"fireRate":500,"frames":{},"handle":"","hideIfUnaffordable":false,"hits":[],"ignoreServerStream":false,"inventoryImage":"https://cache.modd.io/asset/spriteImage/1732027796032_resim_2024-11-19_174955154.png","is3DObject":false,"isGun":false,"isPurchasable":true,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":null,"maxQuantity":null,"name":"Remote Controller","particles":{},"penetration":false,"projectileStreamMode":1,"projectileType":"","quantity":null,"recoilForce":0,"reloadRate":2800,"removeWhenEmpty":false,"sound":{},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"streamMode":1,"type":"weapon","variables":{"isPickup?":{"default":false,"dataType":"boolean"},"FunctionCounter":{"default":0,"dataType":"number"},"isSurvived?":{"default":false,"dataType":"boolean"},"ShrekExchangeRate":{"default":1,"dataType":"number"},"ShrekItemGrade":{"default":4,"dataType":"number"}},"scripts":{"NsVXezyQBP":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getVariable","variableName":"toyCarController"},{"function":"undefinedValue"}],"then":[{"type":"setVariable","value":{"function":"undefinedValue"},"variableName":"toyCarController","runMode":0},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"aYgDlbafe5"},"actions":[{"type":"playEntityAnimation","entity":{"function":"selectedUnit"},"animation":"default","runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"aYgDlbafe5"},"actions":[{"type":"playEntityAnimation","entity":{"function":"selectedUnit"},"animation":"default","runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"runMode":0}],"name":"Dropped","parent":null,"key":"NsVXezyQBP","order":1},"rZRY3lAJej":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"variableName":"toyCarController","runMode":0},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"aYgDlbafe5"},"actions":[{"type":"playEntityAnimation","entity":{"function":"selectedUnit"},"animation":"use","runMode":0},{"type":"runEntityScript","entity":{"function":"selectedUnit"},"scriptName":"jKzrMwxNbB","isEntityScript":true,"entityType":"unitTypes","entityKey":"aYgDlbafe5","runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"name":"UseScript","parent":null,"key":"rZRY3lAJej","order":8},"DQXWq4F1Fp":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1]},6],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":0,"runMode":0}],"runMode":0},{"type":"runEntityScript","entity":{"function":"thisEntity"},"scriptName":"x1VPMaCm2I","isEntityScript":true,"entityType":"itemTypes","entityKey":"s1L3qvKP3E","runMode":0}],"name":"Special round counter","parent":null,"key":"DQXWq4F1Fp","order":3},"x1VPMaCm2I":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"sendChatMessageToPlayer","message":"Next special round : None","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1],"then":[{"type":"sendChatMessageToPlayer","message":"Next special round : Zombie Party","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},2],"then":[{"type":"sendChatMessageToPlayer","message":"Next special round : Crazy Debris","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},3],"then":[{"type":"sendChatMessageToPlayer","message":"Next special round : Juke-Only","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},4],"then":[{"type":"sendChatMessageToPlayer","message":"Next special round : Extra Items","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},5],"then":[{"type":"sendChatMessageToPlayer","message":"Next special round : Double Gainz","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},6],"then":[{"type":"sendChatMessageToPlayer","message":"Next special round : Zombie Apocalypse","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0}],"name":"Display special round chat message","parent":null,"key":"x1VPMaCm2I","order":4},"yk6msMMuVs":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"s1L3qvKP3E","key":"isSurvived?"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"s1L3qvKP3E","key":"isSurvived?"}},"value":false,"runMode":0},{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":">=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1],[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},6]],"then":[{"type":"sendChatMessage","message":"Special round chosen by Remote Controller effect !","runMode":0}],"else":[{"type":"sendChatMessage","message":"No special round chosen by Remote Controller effect !","runMode":0}],"runMode":0},{"type":"setVariable","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},"variableName":"specialRoundNum","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":0,"runMode":0}],"else":[],"runMode":0}],"name":"Choose special round","parent":null,"key":"yk6msMMuVs","order":7},"lnDocTL5Yw":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"human","key":"isSurvived?"}},"player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"s1L3qvKP3E","key":"isSurvived?"}},"value":true,"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"s1L3qvKP3E","key":"isSurvived?"}},"value":false,"runMode":0}],"runMode":0}],"name":"SetSurvivingState","parent":null,"key":"lnDocTL5Yw","order":5},"aO7FJiHAvc":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"variableName":"toyCarController","runMode":0},{"type":"sendChatMessageToPlayer","message":"Left-Click to change special round.","player":{"function":"getOwner","entity":{"function":"getVariable","variableName":"toyCarController"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"human","key":"isSurvived?"}},"player":{"function":"getOwner","entity":{"function":"getVariable","variableName":"toyCarController"}}},true],"then":[{"type":"sendChatMessageToPlayer","message":"Special round will be chosen on the next round.","player":{"function":"getOwner","entity":{"function":"getVariable","variableName":"toyCarController"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Survive as a human to fully utilize the effect of Remote controller!","player":{"function":"getOwner","entity":{"function":"getVariable","variableName":"toyCarController"}},"runMode":0}],"runMode":0},{"type":"runEntityScript","entity":{"function":"thisEntity"},"scriptName":"x1VPMaCm2I","runMode":0,"isEntityScript":true,"entityType":"itemTypes","entityKey":"s1L3qvKP3E"},{"type":"runEntityScript","entity":{"function":"thisEntity"},"scriptName":"lnDocTL5Yw","runMode":0,"isEntityScript":true,"entityType":"itemTypes","entityKey":"s1L3qvKP3E"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"aYgDlbafe5"},"actions":[{"type":"playEntityAnimation","entity":{"function":"selectedUnit"},"animation":"use","runMode":0},{"type":"runEntityScript","entity":{"function":"selectedUnit"},"scriptName":"jKzrMwxNbB","isEntityScript":true,"entityType":"unitTypes","entityKey":"aYgDlbafe5","runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"aO7FJiHAvc","order":6}},"opacity":1,"showCDOverlay":true,"id":"s1L3qvKP3E","itemTypes":{"s1L3qvKP3E":{"scripts":{"DQXWq4F1Fp":{"name":"Special round counter"}}}},"bulletForce":14,"bulletType":"projectile","deployMethod":"setVelocity","nftMinting":false,"shadow":false},"PnfbtGyEy9":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0,"playerAttributes":{}},"fireRate":10000,"description":"Left click to summon a Blood Box.<br>\nCooldown 10 seconds.","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":43,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":47,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":60,"friction":1.1,"restitution":0.25,"shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{"width":12,"height":43}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":12,"height":43,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1728609794225_blood_staff.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Blood Staff","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isRare?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":null,"deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"8UNuLF7XdP":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":0,"max":2},0],"then":[{"type":"createUnitAtPosition","unitType":"ERWwLHCFWg","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"distance":25,"angle":{"function":"entityFacingAngle","entity":{"function":"thisEntity"}}},"angle":{"function":"entityFacingAngle","entity":{"function":"thisEntity"}},"runMode":0,"disabled":false}],"else":[{"type":"createUnitAtPosition","unitType":"8rjVe1Ly5l","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"distance":25,"angle":{"function":"entityFacingAngle","entity":{"function":"thisEntity"}}},"angle":{"function":"entityFacingAngle","entity":{"function":"thisEntity"}},"runMode":0,"disabled":false}],"runMode":0}],"name":"OnUsed","parent":null,"key":"8UNuLF7XdP","order":0},"XH1WeFaRe2":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"XH1WeFaRe2","order":1}},"type":"weapon","streamMode":1,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","projectileType":null,"bulletForce":14,"recoilForce":0,"id":"PnfbtGyEy9","projectileStreamMode":1,"showCDOverlay":true,"isBillboard":false,"is3DObject":false,"canBeUsedBy":["human"],"opacity":1,"itemTypes":{"PnfbtGyEy9":{"scripts":{"8UNuLF7XdP":{"name":"OnUsed"},"XH1WeFaRe2":{"name":"OnPickup"}}}}},"oQOSkx7Oe6":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"untradable":false,"canMerge":true,"backpackAllowed":true,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":500,"description":"Useful item. Left click while holding to ride (yes, ride!! - left click again to re-equip as normal)<br>\nWhile riding<br>\n+50% speed<br>\n+12.5% Field of view.","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":3,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":61,"height":61,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":"1.3","fixtures":[{"isSensor":false,"density":25,"friction":"0.1","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{"width":16,"height":44}}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":61,"height":61,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":49,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":"1.3","fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true,"offset":{"x":0,"y":0},"size":{"width":16,"height":44}}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""},"RxYB3HIwOK":{"name":"activated","type":"dynamic","width":61,"height":61,"z-index":{"layer":2,"depth":3},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":false,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":"1.3","fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"rotation":180},"itemAnchor":{"x":0,"y":0},"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}},"dBoqKf1dwc":{"name":"activated","animation":"default","body":"RxYB3HIwOK","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1761497587011_broom.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Broom","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isRare?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":true,"scripts":{"cVrpw1Fahz":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"thisEntity"}},"selected"],"then":[{"type":"setEntityState","entity":{"function":"thisEntity"},"state":"dBoqKf1dwc","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0.5,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":100,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"thisEntity"}},"dBoqKf1dwc"],"then":[{"type":"setEntityState","entity":{"function":"thisEntity"},"state":"selected","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"then":true,"else":true}}],"name":"used","parent":null,"key":"cVrpw1Fahz","order":0},"ZwaU6Oy1JI":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"ZwaU6Oy1JI","order":2},"xngkmWR8sz":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"xngkmWR8sz","order":3}},"id":"oQOSkx7Oe6","streamMode":1,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"delayBeforeUse":0,"itemTypes":{"oQOSkx7Oe6":{"scripts":{"cVrpw1Fahz":{"name":"used"}}}},"canBeUsedBy":["human"],"opacity":1,"projectileStreamMode":1,"showCDOverlay":false,"is3DObject":false},"QZadOkit0E":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Came from a mysterious purple castle... now it's yours to use! Shoots lightweight arrows at a quick speed, and can push objects.","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":35,"width":35,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":42,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"type":"spriteOnly","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":30,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":35,"width":35,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1722220816082_crossbow.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":30,"distanceStart":40,"bulletType":"projectile","fireRate":400,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Crossbow","bulletStartPosition":{"x":0,"y":5},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":75,"maxQuantity":600,"autoUpdateQuantity":false,"cost":{"playerAttributes":{},"quantity":0},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":2,"dataType":"number"},"ShrekExchangeRate":{"default":30,"dataType":"number"}},"inventoryImage":"","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"YcBGuNirYa","projectileStreamMode":1,"removeWhenEmpty":false,"isUsedOnPickup":false,"ignoreServerStream":false,"saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"k86PpkZgh4":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},30,{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},75]}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":30,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"k86PpkZgh4","order":2},"fGdnToRRYX":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"OnUse","parent":null,"key":"fGdnToRRYX","order":1},"iayRnnqzRG":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"iayRnnqzRG","order":3}},"itemTypes":{"m3xUP8Xx3R":{"scripts":{"iJG1WNrXpe":{"name":"item used"}}}},"streamMode":1,"id":"QZadOkit0E","showCDOverlay":true,"isBillboard":false,"is3DObject":false,"opacity":1,"nftMinting":false,"shadow":false},"OBm1HBuWAl":{"controls":{"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"permittedInventorySlots":[],"undroppable":true,"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"frames":{},"bulletStartPosition":{"rotation":0,"y":0,"x":0},"name":"Dark Shield (On use)","handle":"","attributes":{},"variables":{"armourSafe":{"default":5,"dataType":"number"},"isPickup?":{"default":true,"dataType":"boolean"},"isInvincibility?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"price":{"playerAttributes":{},"requiredItemTypes":{}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1734538651527_usingshield_-_Copy.png","rowCount":1,"columnCount":1},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1734537243511_usingshield.png","isStackable":false,"isPurchasable":false,"canBePurchasedBy":[],"isGun":false,"bulletDestroyedOnCollisionWithWall/unitType":"raycast","type":"unusable","hits":[],"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0}},"bodies":{"selected":{"name":"selected","type":"spriteOnly","width":105,"height":105,"z-index":{"layer":4,"depth":4},"fixedRotation":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":70,"friction":0.01,"restitution":0.01,"shape":{"type":"circle"},"isSensor":true,"offset":{"x":0,"y":0},"size":{}}],"jointType":"none","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":0},"bullet":false,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":"","size":{"width":40,"height":40,"depth":40}},"dropped":{"bullet":false,"name":"dropped","type":"dynamic","width":35,"height":35,"z-index":{"layer":1,"depth":2},"fixedRotation":true,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"none","unitAnchor":{"x":0,"y":56},"itemAnchor":{"x":0,"y":58},"affectedByGravity":false}},"hideIfUnaffordable":true,"projectileType":"","quantity":null,"maxQuantity":null,"description":"From the darkest of realms to the palm of your hand -- if you get hit by a zombie, you gain an extra life and 5 seconds of immunity and speed!","reloadRate":2800,"recoilForce":0,"fireRate":70,"bulletDestroyedOnCollisionWithWall/unitForce":14,"knockbackForce":0,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"penetration":false,"destroyTimer":100000,"particles":{},"damage":2,"sound":{},"canBeUsedBy":["human"],"isUsedOnPickup":false,"removeWhenEmpty":true,"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{},"coin":0},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false},"isConsumedImmediately":false},"cost":{},"buffTypes":[],"carriedBy":["human"],"lifeSpan":300000,"confinedWithinMapBoundaries":false,"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"FZ07APRyn1":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"armourSafe","dataType":"number","entity":"Et4kssMFKb","key":"armourSafe"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"createFloatingText","text":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"armourSafe","dataType":"number","entity":"Et4kssMFKb","key":"armourSafe"}},"entity":{"function":"thisEntity"}},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"color":"yellow","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"armourSafe","dataType":"number","entity":"Et4kssMFKb","key":"armourSafe"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"armourSafe","dataType":"number","entity":"Et4kssMFKb","key":"armourSafe"}},"entity":{"function":"thisEntity"}},1]},"runMode":0},{"type":"setTimeOut","duration":1000,"actions":[{"type":"runScript","scriptName":"FZ07APRyn1","isEntityScript":true,"runMode":0}],"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setFadingTextOfUnit","text":"Invincibility expired!","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"color":"yellow","runMode":0},{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"runMode":0}],"name":"Create expire period text","parent":null,"key":"FZ07APRyn1","order":1},"3dLV2UvEsM":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":1,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"runScript","scriptName":"FZ07APRyn1","isEntityScript":true,"runMode":0}],"name":"OnPickup","parent":null,"key":"3dLV2UvEsM","order":2}},"streamMode":1,"id":"OBm1HBuWAl","showCDOverlay":false,"isBillboard":false,"itemTypes":{"dUlUsudomI":{"scripts":{"6H28nBxCG9":{"name":"change particle type"}}}},"is3DObject":false,"opacity":1,"nftMinting":false,"shadow":false},"a7ixKqRxFW":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":1000,"description":"Better than nothin'","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":27,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":35,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":48,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":12,"height":27,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":47,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1588259311826_Small Stick Tree Branch.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Stick","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":1,"dataType":"number"},"ShrekExchangeRate":{"default":30,"dataType":"number"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1588879714036_test.png","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"R74VKf8rEd":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"R74VKf8rEd","order":1}},"streamMode":1,"id":"a7ixKqRxFW","projectileStreamMode":1,"showCDOverlay":false,"isBillboard":false,"canBeUsedBy":["human"],"is3DObject":false,"threeD":{},"opacity":1},"AqvB0z1niq":{"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0}},"attributes":{},"bodies":{"selected":{"name":"selected","type":"dynamic","width":60,"height":62,"z-index":{"layer":3,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false,"sensors":true},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":30},"itemAnchor":{"x":0,"y":58},"isBillboard":false,"depth":0,"bullet":false,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0}},"dropped":{"bullet":false,"name":"dropped","type":"dynamic","width":60,"height":62,"z-index":{"layer":2,"depth":2},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":76},"itemAnchor":{"x":0,"y":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":20,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":-5,"y":-12,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitType":"projectile","bulletDistance":1300,"bulletForce":22,"bulletStartPosition":{"rotation":0,"y":45,"x":0},"bulletType":"projectile","canBePurchasedBy":[],"canBeUsedBy":["human"],"carriedBy":["human"],"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1745422789527_image_2025-04-23_183947427.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"cost":{"quantity":0},"damage":{"unitAttributes":{"health":10}},"defaultProjectile":{"inventoryImage":"https://cache.modd.io/asset/spriteImage/1594326998539_1.png","name":"Constant Speed","attributes":{},"variables":{},"states":{"zTzPFYOZkc":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"bodies":{"default":{"bullet":true,"name":"default","type":"dynamic","width":10,"height":24,"z-index":{"layer":3,"depth":1},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":0,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0}}},"destroyTimer":1500,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1594326948666_1.png"},"lifeSpan":1500,"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"destroyOnContactWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true}},"delayBeforeUse":0,"deployMethod":"setVelocity","description":"","destroyTimer":100000,"effects":{"use":{"projectileType":"","sound":{},"animation":"use","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"sound":{},"animation":""},"empty":{"sound":{},"animation":""}},"fireRate":400,"frames":{},"handle":"","hideIfUnaffordable":false,"hits":[],"ignoreServerStream":false,"inventoryImage":null,"is3DObject":false,"isGun":true,"isPurchasable":true,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":null,"maxQuantity":10000,"name":"SLAP","particles":{},"penetration":false,"projectileStreamMode":1,"projectileType":"constantSpeed +DestroyedOnCollisionWithWall/unit","quantity":1000,"recoilForce":0,"reloadRate":2800,"removeWhenEmpty":false,"sound":{},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"streamMode":1,"type":"weapon","variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isRare?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"scripts":{"uIzFdCEd0D":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"actions":[{"type":"playSoundAtPosition","sound":"HIkoRc1n8l","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],"then":[{"type":"applyForceOnEntityAngle","force":10000,"entity":{"function":"selectedUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"],"then":[{"type":"applyForceOnEntityAngle","force":32500,"entity":{"function":"selectedUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"type":"applyForceOnEntityAngle","force":32500,"entity":{"function":"selectedUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"positionB":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":false}},{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0,"isExpanded":{"self":false}}],"name":"OnUse","parent":null,"key":"uIzFdCEd0D","order":2},"m3L0dvGjXu":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"m3L0dvGjXu","order":3}},"id":"AqvB0z1niq","opacity":1,"saveBandwidth":true,"showCDOverlay":true},"yrQEo9Lyzn":{"confinedWithinMapBoundaries":false,"isUsedOnPickup":false,"description":null,"maxQuantity":1,"quantity":1,"bodies":{"selected":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"spriteOnly","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":0,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":75,"width":75,"friction":0,"z-index":{"layer":3,"depth":4},"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"depth":0,"size":{"width":40,"height":40,"depth":40}},"dropped":{"name":"dropped","type":"static","collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":0,"x":0},"jointType":"none","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":75,"width":75,"friction":0,"z-index":{"layer":2,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"circle"},"isSensor":true,"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"TpsmgGVfi5","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"TpsmgGVfi5","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"TpsmgGVfi5","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1750672778329_freepointitem.png"},"animations":{"TpsmgGVfi5":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{"immunity":100},"playerAttribute":{}}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":24000,"canBePurchasedBy":["w1NiT3YV0e"],"name":"Big Point Item","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0,"UhbITAv1Qq":{"name":"collidable","type":"dynamic","width":40,"height":40,"z-index":{"layer":3,"depth":3,"offset":0},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"rotate":{"x":0,"y":0,"z":0},"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0}}},"isGun":true,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["YeSdVwoKp5"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":1000,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["YeSdVwoKp5"],"variables":{"BonusFlatScore":{"default":5000,"dataType":"number","key":"BonusFlatScore","defaultKey":"BonusFlatScore"},"FunctionCounter":{"default":0,"dataType":"number"},"shrekified?":{"default":false,"dataType":"boolean"}},"inventoryImage":null,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":false,"backpackAllowed":false,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":14,"delayBeforeUse":0,"cost":{},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"SpEFkhKRNK":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"},"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]},"entity":{"function":"thisEntity","vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]},"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]},0],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity","vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"},{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"},{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"},{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1]},"runMode":0,"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"},{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"else":[],"runMode":0,"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"},{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"runMode":0,"isExpanded":{"self":true},"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"},{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":">=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"shrekified?","dataType":"boolean","entity":"zwAoerFxEw","key":"shrekified?"}},"entity":{"function":"thisEntity"}},false]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"shrekified?","dataType":"boolean","entity":"zwAoerFxEw","key":"shrekified?"}},"value":true,"runMode":0,"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]},{"type":"destroyEntity","entity":{"function":"thisEntity","vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]},"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]}],"else":[],"runMode":0,"isExpanded":{"self":true},"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]}],"else":[],"runMode":0,"vars":[{"id":"getLastTouchedUnit","source":"trigger"},{"id":"getTriggeringUnit","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]}],"name":"When this entity touches unit","parent":null,"key":"SpEFkhKRNK","order":1},"OISPzv46vg":{"triggers":[{"type":"initEntityDestroy"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}},{"function":"getMax","num1":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},"num2":1}]}},"runMode":0},{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"]],"then":[{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"selectedUnit"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"selectedUnit"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}]},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"selectedUnit"},"text":{"function":"concat","textA":"+","textB":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}}},"color":"#44ff6a","runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"name":"OnDestroy","parent":null,"key":"OISPzv46vg","order":2}},"type":"unusable","itemTypes":{"ko65kAGsPq":{"scripts":{"LiRNwPqIqV":{"name":"emit particles"},"KwIwbG9jCz":{"name":"Created"},"PMRPFGKeFo":{"name":"Created"}}}},"streamMode":1,"id":"yrQEo9Lyzn","showCDOverlay":false,"isBillboard":false,"opacity":1,"is3DObject":false},"Z4vVSxpakD":{"confinedWithinMapBoundaries":false,"isUsedOnPickup":false,"description":"Consume to get 1-10 modd coins.<br>\nBraains.io discord server booster get +1 Coin.","maxQuantity":1,"quantity":1,"bodies":{"selected":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"spriteOnly","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":32,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":20,"width":20,"friction":0,"z-index":{"layer":4,"depth":4}},"dropped":{"name":"dropped","type":"static","collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":32,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":3,"holdPosition":{"rotation":0,"y":33,"x":0},"height":20,"width":20,"friction":0,"z-index":{"layer":1,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"TpsmgGVfi5","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"TpsmgGVfi5","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"TpsmgGVfi5","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1588267122134_Golden Money Coin.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{},"coin":0}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":60000,"canBePurchasedBy":["w1NiT3YV0e"],"name":"Modd-coin","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"type":"weapon","isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0},"isGun":false,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["human"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":250,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean","key":"isPickup?","defaultKey":"isPickup?"},"BonusFlatScore":{"default":1,"dataType":"number"}},"inventoryImage":null,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":14,"delayBeforeUse":0,"cost":{"quantity":0},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"FQydTro7xQ":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPlayerLoggedIn","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}},1]},"runMode":0}],"else":[],"runMode":0,"comment":"Give +1 coin to server booster."},{"type":"sendCoinsToPlayer2","coins":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}},"player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0,"comment":"Send coin to player."},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}},"textB":" modd coins has been sent to you."},"player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0,"disabled":false},{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"You need to log-in the game to get modd-coins.","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0,"disabled":false}],"runMode":0}],"name":"UseCoin","parent":null,"key":"FQydTro7xQ","order":0},"1I59uO19sL":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"value":{"function":"calculate","items":[{"operator":"+"},1,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},10,{"function":"getExponent","base":{"function":"calculate","items":[{"operator":"*"},0.01,{"function":"calculate","items":[{"operator":"+"},101,{"function":"getRandomNumberBetween","min":1,"max":600}]}]},"power":-2}]}}]},"runMode":0,"comment":"Set given coin amount."}],"name":"OnCreated","parent":null,"key":"1I59uO19sL","order":2},"xiSH33Ab7c":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"xiSH33Ab7c","order":3}},"streamMode":1,"id":"Z4vVSxpakD","showCDOverlay":true,"isBillboard":false,"is3DObject":false,"threeD":{},"opacity":1,"itemTypes":{"6T5fWSolir":{"scripts":{"FQydTro7xQ":{"name":"UsePill"}}},"Z4vVSxpakD":{"scripts":{"FQydTro7xQ":{"name":"UseCoin"},"1I59uO19sL":{"name":"OnCreated"}}}},"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"nftMinting":false,"shadow":false},"g2XpxVVdEp":{"confinedWithinMapBoundaries":false,"isUsedOnPickup":false,"description":"Feel the power of the TONIC zombie!<br><br>\nOn pre-outbreak [Before 10s left] : Disguise you as an human and transform you to TONIC zombie soon!<br><br>\nOn pre-outbreak [After 10s left] : Transform you to sick with the fast movement speed, and guaranteed to be TONIC zombie!<br><br>\nOn outbreak period : Transform you to TONIC zombie INSTANTLY!<br><br>\n*This item RESET YOUR SCORE when the item is in effect!!","maxQuantity":1,"quantity":1,"bodies":{"selected":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"spriteOnly","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":36,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":30,"width":14,"friction":0,"z-index":{"layer":4,"depth":4},"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"depth":0},"dropped":{"name":"dropped","type":"static","collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":36,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":3,"holdPosition":{"rotation":0,"y":33,"x":0},"height":30,"width":14,"friction":0,"z-index":{"layer":1,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"TpsmgGVfi5","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"TpsmgGVfi5","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"TpsmgGVfi5","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1761400925991_zombie_tonic.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{},"coin":0}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":60000,"canBePurchasedBy":["w1NiT3YV0e"],"name":"Tonic zombie potion","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"type":"weapon","isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0},"isGun":false,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["human"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":250,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":5,"dataType":"number"},"ShrekExchangeRate":{"default":200,"dataType":"number"},"randomized":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit","key":"carriedUnit","defaultKey":"carriedUnit"}},"inventoryImage":null,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":14,"delayBeforeUse":0,"cost":{"quantity":0},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"FQydTro7xQ":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},0],[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"timeLeft"},11]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"isGoingToMutated?","dataType":"boolean","entity":"human","key":"isGoingToMutated?"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},false],"then":[{"type":"sendChatMessageToPlayer","message":"Power of TONIC zombie will be in effect soon !!","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"isGoingToMutated?","dataType":"boolean","entity":"human","key":"isGoingToMutated?"}},"value":true,"runMode":0},{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"sendChatMessageToPlayer","message":"The TONIC potion is already in effect!","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"runMode":0}],"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},0],[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"timeLeft"},11]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Feel the POWER of the TONIC zombie NOW !!","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"runMode":0},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"value":500,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"type":"changeUnitType","unitType":"sick","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"value":4,"runMode":0},{"type":"assignPlayerType","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"playerType":"zombie","runMode":0},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"isMutated?","dataType":"boolean","entity":"sick","key":"isMutated?"}},"value":true,"runMode":0},{"type":"dropAllItems","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"You are a zombie now! If you're stuck, press [Z] to teleport to spawn position","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"runMode":0},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"value":500,"runMode":0},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"type":"changeUnitType","unitType":"0oDaWUo6j6","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"value":6.9,"runMode":0},{"type":"assignPlayerType","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"playerType":"zombie","runMode":0},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"mutatedCount"},1]},"variableName":"mutatedCount"},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"number":2.8,"comment":"","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"human","key":"killStreakTimer"}},"value":0,"runMode":0},{"type":"dropAllItems","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"sendChatMessageToPlayer","message":"You can use this item only on outbreak, or pre-outbreak period!","player":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"runMode":0}],"runMode":0,"comment":"state = outbreak","isExpanded":{"then":true,"else":true}}],"runMode":0,"comment":"state = pre-outbreak","isExpanded":{"then":true}}],"runMode":0,"comment":"state = pre-outbreak","isExpanded":{"then":true}}],"name":"UseItem","parent":null,"key":"FQydTro7xQ","order":0},"iXrywc3upl":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},30,{"function":"getItemQuantity","item":{"function":"thisEntity"}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":30,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"iXrywc3upl","order":3},"LeMXbML5KG":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"LeMXbML5KG","order":3}},"streamMode":1,"id":"g2XpxVVdEp","showCDOverlay":true,"isBillboard":false,"is3DObject":false,"threeD":{},"opacity":1,"itemTypes":{"6T5fWSolir":{"scripts":{"FQydTro7xQ":{"name":"UsePill"}}},"g2XpxVVdEp":{"scripts":{"4FhGKiWDfu":{"name":"Reduce item"},"FQydTro7xQ":{"name":"UseItem"}}}},"damageHitBox":{"width":60,"offsetX":0,"offsetY":50}},"kr6NTk9wSo":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":40,"description":"Ghost Drumstick is SCARY and increases your gains by 75%!<br>","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":20,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":46,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":60,"friction":0.25,"restitution":0.1,"shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":"","size":{"width":40,"height":40,"depth":40}},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":17,"height":36,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":41,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1761714229753_drum.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Ghost Drumstick","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":4,"dataType":"number"},"ShrekExchangeRate":{"default":50,"dataType":"number"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1761714242820_drum.png","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"uvgULbOqR5":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"uvgULbOqR5","order":2},"Lc7khhl6KZ":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0.75,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"Lc7khhl6KZ","order":1}},"itemTypes":{"W8SojbpByx":{"scripts":{"kKWlJHGr7Q":{"name":"created"}}}},"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","bulletForce":0,"recoilForce":0,"projectileType":"","streamMode":1,"projectileStreamMode":"0","id":"kr6NTk9wSo","showCDOverlay":false,"isBillboard":false,"is3DObject":false,"canBeUsedBy":["human"]},"dZiBrGMVbr":{"deployMethod":"applyForce","bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"hideIfUnaffordable":false,"inventoryImage":"","variables":{"isPickup?":{"default":false,"dataType":"boolean"}},"carriedBy":["human"],"cost":{"playerAttributes":{},"quantity":0},"autoUpdateQuantity":false,"maxQuantity":100,"quantity":50,"lifeSpan":40000,"particles":{"k4HSd1axqA":{"velocityVector":{"maxVector":{"y":1,"x":1},"minVector":{"y":-1,"x":-1},"baseVector":{"y":0,"x":0}},"mountPosition":{"y":50,"x":0},"deathOpacityBase":0.5,"quantityTimespan":70,"quantityBase":40,"lifeBase":50,"color":"#ffffff","name":"spark"}},"canBePurchasedBy":["w1NiT3YV0e"],"damage":{},"hits":[],"penetration":false,"bulletStartPosition":{"y":0,"x":0},"name":"Old shotgun","handle":"potato_gun","texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","isStackable":false,"isPurchasable":true,"isGun":true,"type":"weapon","spawnChance":0.08,"ammoSize":10000,"ammo":10000,"ammoTotal":10000,"reloadRate":10,"recoilForce":20000,"fireRate":1500,"bulletType":"projectile","distanceStart":40,"bulletForce":30,"sound":{"nppwtuQaPz":{"name":"Fire","file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3"},"fire":"fireMinigun","reload":"reload","empty":"fireEmpty","zjlCUPiCk0":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3","name":"Out of ammo"},"GyCivqsuR8":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3","name":"Reload"}},"body":{"type":"dynamic","collidesWith":{"walls":true,"projectiles":true,"items":true,"units":true,"debris":true},"itemAnchor":{"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":40,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"layer":3,"depth":4},"fixedRotation":false,"name":"Potato Gun"},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"canBeUsedBy":["human"],"attributes":{},"animations":{"TpsmgGVfi5":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1728605514374_Prototype_Shotgun_Lighter.png","rowCount":1,"columnCount":1},"states":{"dropped":{"sound":{},"particles":{},"body":"dropped","animation":"TpsmgGVfi5","name":"dropped"},"unSelected":{"sound":{},"particles":{},"body":"unSelected","animation":"TpsmgGVfi5","name":"unselected"},"selected":{"sound":{},"particles":{},"body":"selected","animation":"TpsmgGVfi5","name":"selected"}},"bodies":{"dropped":{"type":"static","collidesWith":{"debris":false,"walls":true,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":45,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":44,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":3,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":3,"layer":1},"fixedRotation":false,"name":"dropped","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false},"selected":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0,"friction":0,"density":1,"isSensor":false}],"spriteScale":1,"allowSleep":true,"bullet":false,"type":"spriteOnly","collidesWith":{"debris":false,"walls":false,"projectiles":true,"items":true,"units":true},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":45,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":44,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":0,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":4,"layer":4},"fixedRotation":false,"name":"selected","isBillboard":false}},"description":"Use old ancient overpowered shotgun for running away and pushing objects!<br>\nCooldown 1.5 seconds.","removeWhenEmpty":false,"isUsedOnPickup":false,"confinedWithinMapBoundaries":false,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"scripts":{"MERFjKQTAz":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"OnUse","parent":null,"key":"MERFjKQTAz","order":1},"XDglmWKarb":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"XDglmWKarb","order":2}},"itemTypes":{"d73qo6nov5":{"scripts":{"pgMxCqWQHc":{"name":"when used"},"ES4alrw0zR":{"name":"use item"},"xNfXZrRatD":{"name":"used"}}}},"projectileStreamMode":"0","ignoreServerStream":false,"projectileType":null,"streamMode":1,"id":"dZiBrGMVbr","showCDOverlay":true,"isBillboard":false,"is3DObject":false},"wc3VOrFj3i":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":50,"description":"This crowbar is SCARY! <br />\n+35% speed!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":13,"height":47,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":47,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":20,"friction":0.25,"restitution":0.01,"shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{"width":"","height":""}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":12,"height":43,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1728604749242_halloween_crowbar.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Spooky crowbar","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":3,"dataType":"number"},"ShrekExchangeRate":{"default":75,"dataType":"number"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":null,"deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"g1xAWavwEs":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0.35,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0}],"name":"OnPickup","parent":null,"key":"g1xAWavwEs","order":1},"AEIXTCQqnu":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"AEIXTCQqnu","order":2},"55Z3F6o4Mx":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"55Z3F6o4Mx","order":3}},"type":"unusable","streamMode":1,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","projectileType":"QeSNRZnEBi","bulletForce":14,"recoilForce":0,"id":"wc3VOrFj3i","projectileStreamMode":"0","showCDOverlay":false,"isBillboard":false,"is3DObject":false,"canBeUsedBy":["human"]},"f9tu1nfLoh":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"This spooky crossbow shoots arrows at a quick speed, and can push objects.","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":35,"width":35,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":42,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"type":"dynamic","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":30,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":35,"width":35,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1728604728961_1654892079184_1652794004912_DarkCrossbow_(1)_(1)-1.png_(1)_(1)_(1).png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":40,"distanceStart":40,"bulletType":"projectile","fireRate":550,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Spooky crossbow","bulletStartPosition":{"x":0,"y":25},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":75,"maxQuantity":1000,"autoUpdateQuantity":false,"cost":{"playerAttributes":{},"quantity":0},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":2,"dataType":"number"},"ShrekExchangeRate":{"default":20,"dataType":"number"}},"inventoryImage":"","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"YcBGuNirYa","projectileStreamMode":"0","removeWhenEmpty":false,"isUsedOnPickup":false,"ignoreServerStream":false,"saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"wZAq0OwG8J":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"OnUse","parent":null,"key":"wZAq0OwG8J","order":1},"5nZ1Db5ISo":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},20,{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},75]}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":20,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"5nZ1Db5ISo","order":2},"HVaRUnm0JE":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"HVaRUnm0JE","order":3}},"itemTypes":{"m3xUP8Xx3R":{"scripts":{"iJG1WNrXpe":{"name":"item used"}}}},"streamMode":1,"id":"f9tu1nfLoh","showCDOverlay":true,"isBillboard":false,"is3DObject":false,"nftMinting":false,"opacity":1,"shadow":false},"EabNufYfRC":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"poke","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":300,"description":"Bone pike is stronger! Great for juking, but can be a bit tricky to master.","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":5},"typeWhenDrop":"dynamic","type":"dynamic","width":60,"height":181,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":-15,"y":54,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":true,"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"globalSpace":false},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":60,"height":181,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":49,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1728604874425_bone_pike.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Bone Pike","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isRare?":{"default":true,"dataType":"boolean"},"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","projectileType":"01wjEcGht2","bulletForce":0,"recoilForce":0,"projectileStreamMode":"0","scripts":{"BEu7uRM3ui":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"BEu7uRM3ui","order":1}},"streamMode":1,"id":"EabNufYfRC","showCDOverlay":true,"isBillboard":false,"is3DObject":false},"ZIKfFlRvs4":{"confinedWithinMapBoundaries":false,"isUsedOnPickup":false,"description":null,"maxQuantity":1,"quantity":1,"bodies":{"selected":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"spriteOnly","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":32,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":25,"width":25,"friction":0,"z-index":{"layer":3,"depth":4},"isBillboard":false,"globalSpace":false},"dropped":{"name":"dropped","type":"dynamic","collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":32,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":25,"width":25,"friction":0,"z-index":{"layer":2,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"circle"},"isSensor":true,"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"globalSpace":false},"UhbITAv1Qq":{"name":"collidable","type":"dynamic","width":50,"height":50,"z-index":{"layer":2,"depth":3,"offset":0},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":3,"spriteScale":1,"rotate":{"x":0,"y":0,"z":0},"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"circle"},"isSensor":true,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0}}},"states":{"selected":{"name":"selected","animation":"TpsmgGVfi5","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"TpsmgGVfi5","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"TpsmgGVfi5","body":"dropped","particles":{},"sound":{}},"0PKIyEEGdC":{"name":"uncollidable","animation":"TpsmgGVfi5","body":"UhbITAv1Qq","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1728597425354_1697296970204_candy2.png"},"animations":{"TpsmgGVfi5":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{"immunity":100},"playerAttribute":{}}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":null,"canBePurchasedBy":["w1NiT3YV0e"],"name":"Candy","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0,"UhbITAv1Qq":{"name":"collidable","type":"dynamic","width":40,"height":40,"z-index":{"layer":3,"depth":3,"offset":0},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"rotate":{"x":0,"y":0,"z":0},"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0}}},"isGun":true,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["YeSdVwoKp5"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":1000,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["YeSdVwoKp5"],"variables":{"BonusFlatScore":{"default":500,"dataType":"number"},"FunctionCounter":{"default":0,"dataType":"number"},"shrekified?":{"default":false,"dataType":"boolean"}},"inventoryImage":null,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":14,"delayBeforeUse":0,"cost":{},"projectileStreamMode":"0","ignoreServerStream":false,"scripts":{"e4BXaaO2pl":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1]},"runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":">=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"shrekified?","dataType":"boolean","entity":"zwAoerFxEw","key":"shrekified?"}},"entity":{"function":"thisEntity"}},false]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"shrekified?","dataType":"boolean","entity":"zwAoerFxEw","key":"shrekified?"}},"value":true,"runMode":0},{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0}],"name":"When this entity touches unit","parent":null,"key":"e4BXaaO2pl","order":1},"456ds0DfjT":{"triggers":[{"type":"initEntityDestroy"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}},{"function":"getMax","num1":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},"num2":1}]}},"runMode":0},{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"]],"then":[{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"selectedUnit"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"selectedUnit"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}]},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"selectedUnit"},"text":{"function":"concat","textA":"+","textB":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}}},"color":"#44ff6a","runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"name":"OnDestroy","parent":null,"key":"456ds0DfjT","order":3}},"type":"unusable","itemTypes":{"ko65kAGsPq":{"scripts":{"LiRNwPqIqV":{"name":"emit particles"},"KwIwbG9jCz":{"name":"Created"},"PMRPFGKeFo":{"name":"Created"}}},"ZIKfFlRvs4":{"scripts":{"mgBkJ9Drvo":{"name":"OnCreate"}}}},"streamMode":1,"id":"ZIKfFlRvs4","showCDOverlay":false,"isBillboard":false,"is3DObject":false,"nftMinting":false,"opacity":1,"shadow":false},"hI12cyhOl0":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Shoots BIG SCARY potatoes for 20 points each and also moves heavy objects!","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":6},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":42,"width":11,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":45,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"type":"dynamic","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":150,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":42,"width":11,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1728605164490_Hot_Potatoe_Gun_Halloween_Reskin.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":28,"distanceStart":40,"bulletType":"projectile","fireRate":850,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Spooky Potato Gun","bulletStartPosition":{"x":0,"y":0},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":null,"maxQuantity":null,"autoUpdateQuantity":false,"cost":{"playerAttributes":{"points":20}},"carriedBy":["human"],"variables":{"ShrekItemGrade":{"default":5,"dataType":"number"},"ShrekExchangeRate":{"default":75,"dataType":"number"},"isPickup?":{"default":false,"dataType":"boolean"}},"inventoryImage":"","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"jIyYO8e2XY","removeWhenEmpty":false,"isUsedOnPickup":false,"confinedWithinMapBoundaries":false,"projectileStreamMode":0,"saveBandwidth":true,"scripts":{"t1305yn33U":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"t1305yn33U","order":1}},"streamMode":1,"id":"hI12cyhOl0","showCDOverlay":true,"isBillboard":false,"is3DObject":false},"Ff9XI5Sg1c":{"confinedWithinMapBoundaries":true,"isUsedOnPickup":false,"description":"This SCARY Crystal has some mystery powers!<br>\n+50% speed<br>\n+35% Camera<br>\n+100% score gainz<br>\nBlow up players around you [Cooldown : 2 seconds]","maxQuantity":1,"quantity":1,"bodies":{"selected":{"fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":15,"offset":{"y":0,"z":0},"size":{"width":0,"height":0}}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"dynamic","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":45},"unitAnchor":{"rotation":0,"y":0,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":24,"width":15,"friction":0,"z-index":{"layer":4,"depth":4},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"globalSpace":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"mountTarget":"","size":{"width":40,"height":40,"depth":40}},"dropped":{"name":"dropped","type":"dynamic","collidesWith":{"units":true,"items":false,"projectiles":false,"walls":true,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":35,"x":0},"jointType":"weldJoint","rotationSpeed":1,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":24,"width":15,"friction":0,"z-index":{"layer":1,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":"0.01","shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"TpsmgGVfi5","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"TpsmgGVfi5","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"TpsmgGVfi5","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1761462311986_spooky.png"},"animations":{"TpsmgGVfi5":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":null,"canBePurchasedBy":["w1NiT3YV0e"],"name":"Spooky Crystal","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"type":"weapon","isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0},"isGun":false,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["human"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":2000,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":null,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":false,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":0,"delayBeforeUse":0,"cost":{"quantity":0},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"hWR5p3Hl2h":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"spawnItem","itemType":"0E6RSmObuc","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0}],"name":"On Use","parent":null,"key":"hWR5p3Hl2h","order":2},"nDP2Pb0i0j":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0.5,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":280,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":1,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"nDP2Pb0i0j","order":2},"oEEzTiE4UX":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},50000]},0.005]}}]},"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}]}]},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"oEEzTiE4UX","order":3}},"streamMode":1,"id":"Ff9XI5Sg1c","saveBandwidth":true,"showCDOverlay":true,"isBillboard":false,"is3DObject":false,"nftMinting":false,"opacity":1,"shadow":false,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"raycastCollidesWith":null},"cAa37MC5GW":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":1000,"description":"Even objects scare this item!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":23,"height":48,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":50,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":60,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":23,"height":48,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":47,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1728605716921_Sem_titulo.png"},"animations":{"default":{"framesPerSecond":0,"frames":[1],"name":"default","loopCount":0}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Bone fish","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":3,"dataType":"number"},"ShrekExchangeRate":{"default":100,"dataType":"number"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"Tq1SDZ8oc9":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"Tq1SDZ8oc9","order":1}},"streamMode":1,"id":"cAa37MC5GW","projectileStreamMode":"0","showCDOverlay":false,"isBillboard":false,"is3DObject":false},"4RNAmFWfy2":{"delayBeforeUse":0,"bulletStartPosition":{"rotation":0,"y":0,"x":0},"frames":{},"name":"Spooky Mod Hammer","handle":"","attributes":{},"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1728605056935_imageedit_5_8069557541.png","rowCount":1,"columnCount":1},"inventoryImage":null,"isStackable":false,"isPurchasable":true,"canBePurchasedBy":[],"isGun":false,"bulletDestroyedOnCollisionWithWall/unitType":"raycast","type":"weapon","hits":[],"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"bodies":{"selected":{"name":"selected","type":"dynamic","width":30,"height":60,"z-index":{"layer":4,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"angularDamping":0,"linearDamping":0,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":90,"friction":"0.5","restitution":"0.1","shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":55},"bullet":false,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","type":"dynamic","width":28,"height":60,"z-index":{"layer":1,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0},"itemAnchor":{"x":0,"y":53},"bullet":false,"affectedByGravity":false}},"hideIfUnaffordable":false,"projectileType":"","quantity":null,"maxQuantity":null,"description":null,"reloadRate":2800,"recoilForce":0,"fireRate":500,"bulletDestroyedOnCollisionWithWall/unitForce":14,"knockbackForce":0,"effects":{"use":{"projectileType":"","sound":{},"animation":"use","tween":"none","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"penetration":false,"destroyTimer":30000,"particles":{},"damage":{"unitAttributes":{"health":10}},"sound":{},"canBeUsedBy":["human"],"isUsedOnPickup":false,"removeWhenEmpty":false,"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"cost":{"quantity":0},"buffTypes":[],"carriedBy":["human"],"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"damageHitBox":{"width":60,"height":30,"offsetX":0,"offsetY":50},"damageDelay":0,"projectileStreamMode":"0","lifeSpan":0,"ignoreServerStream":false,"confinedWithinMapBoundaries":false,"scripts":{"xLdD8I5Y5J":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"xLdD8I5Y5J","order":1},"GPvjnugaRP":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},false],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},false]],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"else":[],"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"GPvjnugaRP","order":2}},"saveBandwidth":true,"itemTypes":{"ZD6XzgYzi5":{"scripts":{"EgreG6uwEE":{"name":"every second"}}}},"streamMode":1,"id":"4RNAmFWfy2","showCDOverlay":false,"isBillboard":false,"is3DObject":false},"PyrFdp103w":{"confinedWithinMapBoundaries":false,"isUsedOnPickup":false,"description":"This magic cloak has the great magical power !<br>\nLeft click to be intangible, which lasts a short time !<br>\nCooldown 10 seconds.","maxQuantity":null,"quantity":null,"bodies":{"selected":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"dynamic","collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":32,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":50,"width":50,"friction":0,"z-index":{"layer":4,"depth":4},"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"isBillboard":false,"globalSpace":false,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"mountTarget":""},"dropped":{"name":"dropped","type":"static","collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":32,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":3,"holdPosition":{"rotation":0,"y":33,"x":0},"height":50,"width":50,"friction":0,"z-index":{"layer":1,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""},"9fZZVm1eC1":{"name":"Cloak","type":"dynamic","size":{"width":40,"height":40,"depth":40},"allowSleep":true,"bullet":false,"z-index":{"layer":1,"depth":3,"offset":0},"fixedRotation":false,"fixed":{"rx":false,"ry":false,"rz":false},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"z":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"rotationSpeed":3,"angularDamping":1,"linearDamping":5,"spriteScale":1,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"props":false,"sensors":true},"fixtures":[{"overrideMass":false,"density":1,"mass":0,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0,"z":0}}],"isBillboard":false,"globalSpace":false,"mountTarget":"","mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"width":150,"height":150}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"default","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}},"wbR6N60FhN":{"name":"Cloak","animation":"gck7kItjPT","body":"9fZZVm1eC1","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1761642295049_Invisibility_Cloak.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"gck7kItjPT":{"name":"Cloak","frames":[],"framesPerSecond":0,"threeAnimationKey":"","loopCount":0,"animationDuration":"","forceCompleteAnimation":false}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{},"coin":0}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":60000,"canBePurchasedBy":["w1NiT3YV0e"],"name":"The magic cloak","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"type":"weapon","isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0},"isGun":false,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["human"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":10000,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"},"isRare?":{"default":true,"dataType":"boolean"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1761644087975_Invisibility_Cloak.png","controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":14,"delayBeforeUse":0,"cost":{"quantity":0},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"FQydTro7xQ":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityState","entity":{"function":"thisEntity"},"state":"wbR6N60FhN","runMode":0},{"type":"setEntityState","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"state":"oMUJugtfHX","runMode":0},{"type":"setTimeOut","duration":2000,"actions":[{"type":"setEntityState","entity":{"function":"thisEntity"},"state":"selected","runMode":0},{"type":"setEntityState","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"state":"default","runMode":0}],"runMode":0}],"name":"UseItem","parent":null,"key":"FQydTro7xQ","order":0},"iXrywc3upl":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityState","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"state":"default","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"iXrywc3upl","order":3},"dcNRbYTSCe":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"dcNRbYTSCe","order":2}},"streamMode":1,"id":"PyrFdp103w","showCDOverlay":true,"isBillboard":false,"is3DObject":false,"threeD":{},"opacity":1,"itemTypes":{"6T5fWSolir":{"scripts":{"FQydTro7xQ":{"name":"UsePill"}}},"PyrFdp103w":{"scripts":{"dcNRbYTSCe":{"name":"OnPickup"}}}},"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"nftMinting":false,"shadow":false},"aCCoh2lFbC":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":null,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":1000,"description":"Shine bright and multi-colored! Can be dropped as a debris, but beware, it can be stolen by other players when dropped!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":3,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":58,"height":58,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":36,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":125,"friction":1,"restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":4,"depth":6},"typeWhenDrop":"dynamic","type":"dynamic","width":58,"height":58,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":45,"z":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false,"props":true},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":125,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"suJy6sfV7i","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":5,"rowCount":2,"url":"https://cache.modd.io/asset/spriteImage/1608106627372_lights1.png"},"animations":{"default":{"framesPerSecond":2,"loopCount":null,"frames":[1,2,3,4,5],"name":"default"},"suJy6sfV7i":{"name":"picked up","frames":[6,7,8,9,10],"framesPerSecond":2,"loopCount":""}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Light","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":3,"dataType":"number"},"ShrekExchangeRate":{"default":75,"dataType":"number"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1608194638987_unknown_(37).png","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":true,"scripts":{"FVtTfYI4pi":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default","runMode":0}],"name":"On Dropped","parent":null,"key":"FVtTfYI4pi","order":0},"6hmviaXArH":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"suJy6sfV7i","runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"On Pickup","parent":null,"key":"6hmviaXArH","order":1}},"id":"aCCoh2lFbC","streamMode":1,"nftMinting":false,"opacity":1,"projectileStreamMode":"0","shadow":false,"showCDOverlay":false,"itemTypes":{"aCCoh2lFbC":{"scripts":{"FVtTfYI4pi":{"name":"On Dropped"},"6hmviaXArH":{"name":"On Pickup"}}}},"damageHitBox":{"width":60,"offsetX":0,"offsetY":50}},"kuwo9soxTb":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"untradable":false,"canMerge":true,"backpackAllowed":true,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":1000,"description":"The moderators went crazy during the new year party! Their hammers are everywhere!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":5},"typeWhenDrop":"dynamic","type":"dynamic","width":96,"height":144,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":96,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":"7.5","friction":1,"restitution":"0.025","shape":{"type":"rectangle"}}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":96,"height":144,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":966,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1640882547922_big_hammer.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"New Year Hammer","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isRare?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"projectileStreamMode":"0","id":"kuwo9soxTb","streamMode":1,"scripts":{"V2d3pxymwQ":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"V2d3pxymwQ","order":1}}},"RLrKyRnahl":{"deployMethod":"applyForce","bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"hideIfUnaffordable":false,"inventoryImage":"","variables":{"isPickup?":{"default":false,"dataType":"boolean"}},"carriedBy":["human"],"cost":{"playerAttributes":{},"quantity":0},"autoUpdateQuantity":false,"maxQuantity":100,"quantity":50,"lifeSpan":60000,"particles":{"k4HSd1axqA":{"velocityVector":{"maxVector":{"y":1,"x":1},"minVector":{"y":-1,"x":-1},"baseVector":{"y":0,"x":0}},"mountPosition":{"y":50,"x":0},"deathOpacityBase":0.5,"quantityTimespan":70,"quantityBase":40,"lifeBase":50,"color":"#ffffff","name":"spark"}},"canBePurchasedBy":["w1NiT3YV0e"],"damage":{},"hits":[],"penetration":false,"bulletStartPosition":{"y":0,"x":0},"name":"Holiday Shotgun","handle":"potato_gun","texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","isStackable":false,"isPurchasable":true,"isGun":true,"type":"weapon","spawnChance":0.08,"ammoSize":10000,"ammo":10000,"ammoTotal":10000,"reloadRate":10,"recoilForce":20000,"fireRate":1500,"bulletType":"projectile","distanceStart":40,"bulletForce":35,"projectileType":"njPe0CmY5c","sound":{"nppwtuQaPz":{"name":"Fire","file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3"},"fire":"fireMinigun","reload":"reload","empty":"fireEmpty","zjlCUPiCk0":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3","name":"Out of ammo"},"GyCivqsuR8":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3","name":"Reload"}},"body":{"type":"dynamic","collidesWith":{"walls":true,"projectiles":true,"items":true,"units":true,"debris":true},"itemAnchor":{"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":40,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"layer":3,"depth":4},"fixedRotation":false,"name":"Potato Gun"},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"canBeUsedBy":["human"],"attributes":{},"animations":{"TpsmgGVfi5":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1608449134346_unknown_(38).png","rowCount":1,"columnCount":1},"states":{"dropped":{"sound":{},"particles":{},"body":"dropped","animation":"TpsmgGVfi5","name":"dropped"},"unSelected":{"sound":{},"particles":{},"body":"unSelected","animation":"TpsmgGVfi5","name":"unselected"},"selected":{"sound":{},"particles":{},"body":"selected","animation":"TpsmgGVfi5","name":"selected"}},"bodies":{"dropped":{"type":"static","collidesWith":{"debris":false,"walls":true,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":50,"z":0,"rotation":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":55,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":3,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":2,"layer":1},"fixedRotation":false,"name":"dropped","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""},"selected":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0,"friction":0,"density":1,"isSensor":false}],"spriteScale":1,"allowSleep":true,"bullet":false,"type":"spriteOnly","collidesWith":{"debris":false,"walls":false,"projectiles":true,"items":true,"units":true},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":52,"z":0,"rotation":0},"jointType":"weldJoint","rotationSpeed":3,"width":12,"height":55,"holdPosition":{"rotation":0,"y":40,"x":0},"linearDamping":0,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"friction":0,"typeWhenDrop":"dynamic","z-index":{"depth":7,"layer":4},"fixedRotation":false,"name":"selected","mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"isBillboard":false,"globalSpace":false}},"description":"This decked out shotgun has extra strength... straight from Santa's workshop!<br>\nCooldown 1.5 seconds.","removeWhenEmpty":false,"isUsedOnPickup":false,"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"untradable":false,"canMerge":true,"backpackAllowed":true,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"scripts":{"pcR92s6QPj":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"OnUse","parent":null,"key":"pcR92s6QPj","order":1},"zxJWBJQPzP":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"zxJWBJQPzP","order":2}},"id":"RLrKyRnahl","streamMode":1,"nftMinting":false,"opacity":1,"projectileStreamMode":"0","shadow":false,"showCDOverlay":true},"fjTVEaTI6W":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Throw shiny ornaments to knock back zombies! Costy projectiles, but effective!<br>\n- Cost 100 score per ornament.","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":6},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":30,"width":30,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":32,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":false},"type":"spriteOnly","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"}}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"isBillboard":false,"globalSpace":false},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":30,"width":30,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":42,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":2,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1671119521304_resim_2022-12-15_185218208.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"swingCCW","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":53,"distanceStart":40,"bulletType":"projectile","fireRate":1750,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Explosive Ornament","bulletStartPosition":{"x":0,"y":25},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":66000,"quantity":null,"maxQuantity":null,"autoUpdateQuantity":false,"cost":{"playerAttributes":{"points":100}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":5,"dataType":"number"},"ShrekExchangeRate":{"default":75,"dataType":"number"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1671119360155_resim_2022-12-15_184937087.png","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"removeWhenEmpty":true,"isUsedOnPickup":false,"confinedWithinMapBoundaries":false,"projectileStreamMode":0,"saveBandwidth":true,"ignoreServerStream":false,"scripts":{"nz1iwGkvnQ":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity","vars":[{"id":"getTriggeringUnit","source":"trigger"},{"id":"getTriggeringItem","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]},"animation":"use","vars":[{"id":"getTriggeringUnit","source":"trigger"},{"id":"getTriggeringItem","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]},{"type":"setTimeOut","duration":2400,"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity","vars":[{"id":"getTriggeringUnit","source":"trigger"},{"id":"getTriggeringItem","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]},"animation":"default","vars":[{"id":"getTriggeringUnit","source":"trigger"},{"id":"getTriggeringItem","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]}],"vars":[{"id":"getTriggeringUnit","source":"trigger"},{"id":"getTriggeringItem","source":"trigger"},{"source":"entityScript","id":"thisEntity"}]}],"name":"OnUse","parent":null,"key":"nz1iwGkvnQ","order":-1},"UnNbagIkeg":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"UnNbagIkeg","order":2}},"projectileType":"eSi0HbdUVa","id":"fjTVEaTI6W","nftMinting":false,"opacity":1,"shadow":false,"showCDOverlay":true,"streamMode":1},"O71kePDy7h":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"empty":{"animation":"","sound":{},"particles":{}},"reload":{"animation":"","sound":{},"particles":{}},"use":{"animation":"","sound":{},"particles":{}},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"cost":{"quantity":0},"fireRate":1000,"description":"Use the Baseball Bat to move heavy objects!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":13,"height":44,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":90,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":45,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":false,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":55,"friction":1,"restitution":0.1,"shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":11,"height":40,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":-50,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1766168231641_2025_12_19_0m4_Kleki.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Festive Baseball Bat","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":1,"dataType":"number"},"ShrekExchangeRate":{"default":15,"dataType":"number"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"K8nhQxKq9z":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"K8nhQxKq9z","order":1}},"streamMode":1,"id":"O71kePDy7h","projectileStreamMode":1,"showCDOverlay":false,"isBillboard":false,"itemTypes":{"nidc3swP0c":{"scripts":{"QWxQTEQnJE":{"name":"created"}}}},"canBeUsedBy":["human"],"opacity":1,"is3DObject":false},"zJdbYbM7i2":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Shoots powerful potatoes for 25 points each and also moves heavy objects!","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":14,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":43,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":false},"type":"dynamic","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":120,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":""},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":14,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1765587988802_1734810140821_1670855203215_resim_2022-12-12_172657008.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":28,"distanceStart":40,"bulletType":"projectile","fireRate":1500,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Holiday Potato Gun  ","bulletStartPosition":{"x":0,"y":0},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":null,"maxQuantity":null,"autoUpdateQuantity":false,"cost":{"playerAttributes":{"points":25}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":5,"dataType":"number"},"ShrekExchangeRate":{"default":75,"dataType":"number"}},"inventoryImage":"","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"potato","scripts":{"1GnSiPa40h":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"1GnSiPa40h","order":1}},"itemTypes":{"potatoGun":{"scripts":{"RKFI3UKlmy":{"name":"crazy"}}}},"projectileStreamMode":1,"removeWhenEmpty":false,"isUsedOnPickup":false,"ignoreServerStream":false,"saveBandwidth":true,"confinedWithinMapBoundaries":false,"streamMode":1,"id":"zJdbYbM7i2","showCDOverlay":true,"isBillboard":false,"opacity":1,"is3DObject":false,"threeD":{}},"rglf09CYPa":{"scripts":{"2eeTvmvM74":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setFadingTextOfUnit","unit":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"text":{"function":"concat","textA":"+","textB":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}}},"color":"yellow","runMode":0},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}]},"runMode":0}],"name":"use effect","parent":null,"key":"2eeTvmvM74","order":-1},"mXwxoRoP4q":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"mXwxoRoP4q","order":2}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{},"bodies":{"selected":{"name":"selected","type":"spriteOnly","width":28,"height":28,"z-index":{"layer":4,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":30},"itemAnchor":{"x":0,"y":20},"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"isBillboard":false,"globalSpace":false},"dropped":{"bullet":false,"name":"dropped","type":"dynamic","width":24,"height":24,"z-index":{"layer":1,"depth":2},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"none","unitAnchor":{"x":0,"y":56},"itemAnchor":{"x":0,"y":58},"affectedByGravity":false}},"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false},"isConsumedImmediately":false},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":14,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitType":"raycast","bulletStartPosition":{"rotation":0,"y":0,"x":0},"canBePurchasedBy":[],"canBeUsedBy":["human"],"carriedBy":["human"],"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1671898106531_NewPiskel-1.png-2019-08-11T134737.111_(1)-1.png_(4).png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"permittedInventorySlots":[],"undroppable":false,"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"cost":{"playerAttributes":{}},"damage":{},"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"delayBeforeUse":0,"description":"Eat this spicy mint for a free 500 points!","destroyTimer":100000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"fireRate":500,"frames":{},"handle":"","hideIfUnaffordable":true,"hits":[],"isGun":false,"isPurchasable":false,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":300000,"maxQuantity":100,"name":"Peppermint","particles":{},"penetration":false,"price":{"playerAttributes":{},"requiredItemTypes":{}},"projectileStreamMode":"0","projectileType":"","quantity":1,"recoilForce":0,"reloadRate":2800,"removeWhenEmpty":true,"sound":{},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"type":"weapon","variables":{"BonusFlatScore":{"default":500,"dataType":"number"},"ShrekItemGrade":{"default":1,"dataType":"number"},"ShrekExchangeRate":{"default":30,"dataType":"number"},"isPickup?":{"default":false,"dataType":"boolean"}},"inventoryImage":"","ignoreServerStream":false,"id":"rglf09CYPa","streamMode":1},"0E6RSmObuc":{"confinedWithinMapBoundaries":false,"isUsedOnPickup":false,"description":null,"maxQuantity":1,"quantity":1,"bodies":{"selected":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"name":"selected","type":"spriteOnly","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":0,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":448,"width":448,"friction":0,"z-index":{"layer":3,"depth":4},"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false},"dropped":{"name":"dropped","type":"static","collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":0,"x":0},"jointType":"none","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":448,"width":448,"friction":0,"z-index":{"layer":2,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"circle"},"isSensor":true,"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"TpsmgGVfi5","body":"selected","particles":{},"sound":{}},"unSelected":{"name":"unselected","animation":"TpsmgGVfi5","body":"unSelected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"TpsmgGVfi5","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1768554783778_384x384_Transprent.png"},"animations":{"TpsmgGVfi5":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"sound":{},"animation":""},"reload":{"sound":{},"animation":""}},"bonus":{"isConsumedImmediately":false,"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{"immunity":100},"playerAttribute":{}}},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"removeWhenEmpty":true,"lifeSpan":24000,"canBePurchasedBy":["w1NiT3YV0e"],"name":"Zombie Detector","handle":"pill","texture":"https://modd.s3.amazonaws.com/asset/spriteImage/1516617820395_pill.png","isStackable":false,"isPurchasable":true,"isConsumedImmediately":false,"consumeBonus":{"unitAttributeBonus":{},"playerAttributeBonus":{},"attributes":{"K2mih60v2P":70,"36S6GnLWqK":70}},"body":{"name":"Pill","type":"dynamic","collidesWith":{"item":false,"unit":false,"walls":false,"projectiles":false,"items":false,"units":false},"itemAnchor":{"x":0,"y":0},"unitAnchor":{"rotation":0,"y":20,"x":0},"jointType":"weldJoint","rotationSpeed":3,"carriedBy":["human"],"isFlying":false,"isTangible":true,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"rotation":0,"y":33,"x":0},"height":40,"width":20,"friction":0,"UhbITAv1Qq":{"name":"collidable","type":"dynamic","width":40,"height":40,"z-index":{"layer":3,"depth":3,"offset":0},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"rotate":{"x":0,"y":0,"z":0},"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0}}},"isGun":true,"spawnChance":0.2,"sound":{"fire":null},"canBeUsedBy":["YeSdVwoKp5"],"bulletType":"raycast","ammoSize":1,"ammo":1,"ammoTotal":1,"reloadRate":2800,"recoilForce":0,"fireRate":1000,"knockbackForce":0,"bulletDistance":1300,"penetration":false,"attributes":{},"carriedBy":["YeSdVwoKp5"],"variables":{},"inventoryImage":null,"controls":{"permittedInventorySlots":[],"undroppable":false,"mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"canMerge":false,"backpackAllowed":false,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"projectileType":"","bulletForce":14,"delayBeforeUse":0,"cost":{},"projectileStreamMode":1,"ignoreServerStream":false,"scripts":{"SpEFkhKRNK":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"],"then":[{"type":"applyForceOnEntityAngle","force":{"function":"calculate","items":[{"operator":"-"},27500,{"function":"calculate","items":[{"operator":"*"},60,{"function":"distanceBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}}}]}]},"entity":{"function":"selectedUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"selectedUnit"},{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}}],"then":[{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":"!=","operandType":"itemType"},{"function":"getItemTypeOfItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"selectedUnit"}}},"HoRkmdYOhT"],[{"operator":"!=","operandType":"itemType"},{"function":"getItemTypeOfItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"selectedUnit"}}},"Ff9XI5Sg1c"]],"then":[{"type":"applyForceOnEntityAngle","force":{"function":"calculate","items":[{"operator":"-"},9250,{"function":"calculate","items":[{"operator":"*"},20,{"function":"distanceBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}}}]}]},"entity":{"function":"selectedUnit"},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"createProjectileAtPosition","projectileType":"T7fRmWAGQB","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"force":0,"angle":0,"runMode":0},{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"name":"When this entity created","parent":null,"key":"SpEFkhKRNK","order":2}},"type":"unusable","itemTypes":{"ko65kAGsPq":{"scripts":{"LiRNwPqIqV":{"name":"emit particles"},"KwIwbG9jCz":{"name":"Created"},"PMRPFGKeFo":{"name":"Created"}}},"0E6RSmObuc":{"scripts":{"SpEFkhKRNK":{"name":"When this entity created"},"MHhrjcIrRl":{"name":"OnDestroy"}}}},"streamMode":1,"id":"0E6RSmObuc","showCDOverlay":false,"isBillboard":false,"opacity":1,"is3DObject":false},"nl7XMFfFN8":{"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":""}},"attributes":{},"bodies":{"selected":{"name":"selected","type":"spriteOnly","width":40,"height":35,"z-index":{"layer":3,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":30},"itemAnchor":{"x":0,"y":3},"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"depth":0},"dropped":{"bullet":false,"name":"dropped","type":"dynamic","width":40,"height":30,"z-index":{"layer":2,"depth":2},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":76},"itemAnchor":{"x":0,"y":3},"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""}},"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":20,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":-5,"y":-12,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitType":"projectile","bulletDistance":1300,"bulletForce":20,"bulletStartPosition":{"rotation":0,"y":45,"x":0},"bulletType":"projectile","canBePurchasedBy":[],"canBeUsedBy":["human"],"carriedBy":["human"],"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1767580942473_New_Piskel-1.png_(6).png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"cost":{"quantity":0},"damage":{"unitAttributes":{}},"defaultProjectile":{"inventoryImage":"https://cache.modd.io/asset/spriteImage/1594326998539_1.png","name":"Constant Speed","attributes":{},"variables":{},"states":{"zTzPFYOZkc":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"bodies":{"default":{"bullet":true,"name":"default","type":"dynamic","width":10,"height":24,"z-index":{"layer":3,"depth":1},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":false},"angularDamping":1,"linearDamping":0,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":true}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0}}},"destroyTimer":1500,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1594326948666_1.png"},"lifeSpan":1500,"effects":{"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"destroyOnContactWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true}},"delayBeforeUse":5,"deployMethod":"setVelocity","description":"A range weapon that Launches boxes.","destroyTimer":100000,"effects":{"use":{"projectileType":"","sound":{},"animation":"use","tween":"recoil","runScript":""},"create":{"sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"sound":{},"animation":""},"empty":{"sound":{},"animation":""}},"fireRate":1750,"frames":{},"handle":"","hideIfUnaffordable":false,"hits":[],"ignoreServerStream":false,"inventoryImage":"https://cache.modd.io/asset/spriteImage/1767580977290_New_Piskel-1.png_(6).png","is3DObject":false,"isGun":true,"isPurchasable":true,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":null,"maxQuantity":1000,"name":"Slingshot","particles":{},"penetration":false,"projectileStreamMode":1,"projectileType":"QpkR3AZvqF","quantity":100,"recoilForce":5,"reloadRate":2800,"removeWhenEmpty":false,"sound":{},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}}},"streamMode":1,"type":"weapon","variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":2,"dataType":"number"},"ShrekExchangeRate":{"default":25,"dataType":"number"}},"nftMinting":false,"opacity":1,"shadow":false,"showCDOverlay":true,"scripts":{"yUrDQvma8S":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"OnUse","parent":null,"key":"yUrDQvma8S","order":2},"oGZjTstNa2":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},25,{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},100]}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":25,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"oGZjTstNa2","order":3},"CghpwixR1f":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"CghpwixR1f","order":3}},"itemTypes":{"nl7XMFfFN8":{"scripts":{"ZuklDlRXuZ":{"name":"sound"},"80T2rW0KfX":{"name":"on create"}}}},"id":"nl7XMFfFN8"},"4D2dXENCn6":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"VwG3OhwMO5","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":5000,"description":"This ball of explosives seemingly never goes away. Use it to it's fullest potential- it's infinite.<br>\nCooldown 5 seconds.","maxQuantity":1,"quantity":1,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":6},"typeWhenDrop":"dynamic","type":"spriteOnly","width":54,"height":54,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":5,"friction":1,"restitution":"0.01","shape":{"type":"rectangle"}}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"isBillboard":false,"globalSpace":false},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":54,"height":54,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1769356770057_1644612800249_fat_dynamite.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Infinite Dynamite","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isRare?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"projectileStreamMode":1,"bulletType":"projectile","projectileType":"","bulletForce":0,"recoilForce":0,"canBeUsedBy":["human"],"ignoreServerStream":false,"scripts":{"X870J3kr2u":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},128]},"width":256,"height":256}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"human"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":30000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"zombie"],"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":100000,"type":"applyForceOnEntityAngle","runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"then":[{"angle":{"function":"angleBetweenPositions","positionA":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"positionB":{"unit":{"function":"selectedUnit"},"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},"entity":{"function":"selectedUnit"},"force":{"function":"calculate","items":[{"operator":"*"},11.25,{"function":"calculate","items":[{"operator":"*"},{"function":"entityHeight","entity":{"function":"selectedUnit"}},{"function":"entityWidth","entity":{"function":"selectedUnit"}}]}]},"type":"applyForceOnEntityAngle","runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"runMode":0}],"runMode":0},{"type":"createProjectileAtPosition","projectileType":"VwG3OhwMO5","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"force":0,"angle":0}],"else":[],"runMode":0}],"name":"When this item is used","parent":null,"key":"X870J3kr2u","order":-1},"7ADsykR9Y8":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"7ADsykR9Y8","order":3}},"streamMode":1,"id":"4D2dXENCn6","showCDOverlay":false,"isBillboard":false,"opacity":1,"is3DObject":false,"nftMinting":false,"shadow":false},"Bfo7rjMh9q":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":40,"description":"Hold the Love Stick to show that you're ready to give love!<br>\n- Increase gainz by 50%!","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":15,"height":46,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":46,"z":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":60,"friction":0.52,"restitution":0.025,"shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":"","size":{"width":40,"height":40,"depth":40}},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":41,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1769355212063_2026_01_25_0hj_Kleki.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Love Stick","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"hasBonus?":{"default":true,"dataType":"boolean"},"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":4,"dataType":"number"},"ShrekExchangeRate":{"default":75,"dataType":"number"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1769355212063_2026_01_25_0hj_Kleki.png","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"xGP2N15bMo":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0.5,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"xGP2N15bMo","order":2},"RICiSrEyYt":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"RICiSrEyYt","order":2}},"itemTypes":{"W8SojbpByx":{"scripts":{"kKWlJHGr7Q":{"name":"created"}}}},"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","bulletForce":0,"recoilForce":0,"projectileType":"","streamMode":1,"projectileStreamMode":1,"id":"Bfo7rjMh9q","showCDOverlay":false,"isBillboard":false,"canBeUsedBy":["human"],"is3DObject":false,"opacity":1},"b5cIzRMo5i":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":40,"description":"The true love stick from old fart QiNG-AGAR!<br>\n- Increase gainz by 100%<br>","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","type":"dynamic","width":25,"height":100,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":75,"z":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":40,"friction":0.1,"restitution":0.025,"shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":"","size":{"width":40,"height":40,"depth":40}},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","type":"static","width":25,"height":100,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"z":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1769355212063_2026_01_25_0hj_Kleki.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"unusable","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"QiNG's Love Stick","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"},"isRare?":{"default":true,"dataType":"boolean"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1769355212063_2026_01_25_0hj_Kleki.png","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":false,"scripts":{"TsTnhAbEXK":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":1,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"TsTnhAbEXK","order":2},"dBWKchHp9e":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"dBWKchHp9e","order":3}},"itemTypes":{"W8SojbpByx":{"scripts":{"kKWlJHGr7Q":{"name":"created"}}}},"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"bulletType":"projectile","bulletForce":0,"recoilForce":0,"projectileType":"","streamMode":1,"projectileStreamMode":1,"id":"b5cIzRMo5i","showCDOverlay":false,"isBillboard":false,"canBeUsedBy":["human"],"is3DObject":false,"opacity":1,"nftMinting":false,"shadow":false},"xF5dQGsZnK":{"controls":{"undroppable":false,"permittedInventorySlots":[],"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"untradable":false,"canMerge":true,"backpackAllowed":true,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"hideIfUnaffordable":false,"isUsedOnPickup":false,"removeWhenEmpty":false,"lifeSpan":60000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"cost":{"quantity":0},"fireRate":20000,"description":"Personally blessed by Shrek!</br>\n- Increase gainz by 25%<br>\n- Click to teleport within 8 tiles radius. [Cooldown : 20 seconds]","maxQuantity":null,"quantity":null,"bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":1},"typeWhenDrop":"dynamic","type":"dynamic","width":84,"height":67,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":0,"angularDamping":0,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":60,"z":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":false,"debris":true},"friction":0,"bullet":true,"allowSleep":false,"spriteScale":1,"fixtures":[{"isSensor":false,"density":40,"friction":1,"restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"globalSpace":false,"mountTarget":""},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","type":"static","width":84,"height":67,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":1,"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"z":0,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"friction":0,"bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":0,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1769713452713_2026_01_29_0ne_Kleki.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{},"damage":{},"hits":[],"bulletStartPosition":{"y":0,"x":0},"buffTypes":["height","stunChance","slowChance","movementSpeed","immunity","maxStamina"],"body":{"name":"Baseball Bat","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","type":"dynamic","width":12,"height":42,"holdPosition":{"x":0,"y":33,"rotation":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":true,"isFlying":false,"carriedBy":["human","PhuHFB46b2"],"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":30,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"friction":0},"sound":{"fire":null},"spawnChance":0.07,"type":"weapon","isGun":false,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/baseball_bat.png","handle":"baseballBat","name":"Shrek's Drumstick","canBePurchasedBy":["human"],"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"randomized":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"},"isRare?":{"default":true,"dataType":"boolean"}},"inventoryImage":"","deployMethod":"setVelocity","saveBandwidth":true,"confinedWithinMapBoundaries":true,"delayBeforeUse":0,"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"projectileStreamMode":1,"scripts":{"TLJohOzn84":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDropped","parent":null,"key":"TLJohOzn84","order":2},"sWQrINpxE8":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0.25,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Ogre Item!","color":"#44ff6a","runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"sWQrINpxE8","order":2},"UQmpRA1jOQ":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"distanceBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"positionB":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},512],"then":[{"type":"teleportEntity","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},"runMode":0}],"else":[{"type":"teleportEntity","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"position":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"distance":-512,"angle":{"function":"angleBetweenPositions","positionA":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},"positionB":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}}},"runMode":0,"disabled":false}],"runMode":0,"disabled":false},{"type":"setFadingTextOfUnit","text":"shrek is love... shrek is life...","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"color":"#44ff6a","runMode":0}],"name":"OnUse","parent":null,"key":"UQmpRA1jOQ","order":3}},"id":"xF5dQGsZnK","opacity":1,"showCDOverlay":true,"streamMode":1,"canBeUsedBy":["human"],"is3DObject":false,"nftMinting":false,"shadow":false,"itemTypes":{"xF5dQGsZnK":{"scripts":{"UQmpRA1jOQ":{"name":"OnUse"}}}}},"DiitAFmQ31":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"A throwing stone you can use to your advantage!","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":4},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":21,"width":22,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":32,"z":0,"rotation":90},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"dynamic","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":false,"density":120,"friction":"0.25","restitution":"0.01","shape":{"type":"rectangle"},"offset":{"x":0,"y":0},"size":{}}],"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"globalSpace":false,"mountTarget":"","size":{"width":40,"height":40,"depth":40}},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":27,"width":28,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1588198294006_Stone Rock.png","rowCount":1,"columnCount":1},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"swingCW","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":28,"distanceStart":40,"bulletType":"projectile","fireRate":600,"recoilForce":0,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Stone","bulletStartPosition":{"x":0,"y":0},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":10,"maxQuantity":100,"autoUpdateQuantity":false,"cost":{"playerAttributes":{},"quantity":0},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":2,"dataType":"number"},"ShrekExchangeRate":{"default":50,"dataType":"number"}},"inventoryImage":null,"hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"Coy6Qe9uwP","scripts":{"tpLSuXP1Bd":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"updateItemQuantity","entity":{"function":"thisEntity"},"quantity":{"function":"calculate","items":[{"operator":"-"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1]},"disabled":false},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},0],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[],"runMode":0}],"name":"OnUse","parent":null,"key":"tpLSuXP1Bd","order":1},"3INveUGooC":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"3INveUGooC","order":3},"qd7vKZb2BH":{"triggers":[{"type":"thisItemIsDropped"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":{"function":"calculate","items":[{"operator":"/"},50,{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getItemQuantity","item":{"function":"thisEntity"}},10]}}]},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"potatoGun","key":"ShrekExchangeRate"}},"value":50,"runMode":0}],"runMode":0}],"name":"OnDropped","parent":null,"key":"qd7vKZb2BH","order":2}},"itemTypes":{"potatoGun":{"scripts":{"RKFI3UKlmy":{"name":"crazy"}}},"DiitAFmQ31":{"scripts":{"4Oo0s64spD":{"name":"on use"}}}},"projectileStreamMode":1,"removeWhenEmpty":false,"isUsedOnPickup":false,"ignoreServerStream":false,"saveBandwidth":true,"confinedWithinMapBoundaries":false,"streamMode":1,"id":"DiitAFmQ31","showCDOverlay":true,"isBillboard":false,"opacity":1,"is3DObject":false,"threeD":{},"nftMinting":false,"shadow":false},"iyejlTmBFc":{"scripts":{"2eeTvmvM74":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":{"function":"concat","textA":"+","textB":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}}},"color":"pink","runMode":0},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"BonusFlatScore","dataType":"number","entity":"ko65kAGsPq","key":"BonusFlatScore"}},"entity":{"function":"thisEntity"}}]},"runMode":0},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":100},100],"then":[{"type":"spawnItem","itemType":"Bfo7rjMh9q","position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"love item!","color":"pink","runMode":0}],"else":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"W8SojbpByx","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"else":[{"type":"setFadingTextOfUnit","unit":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"text":"you can't use your own gift! greedy...","color":"red","runMode":0}],"runMode":0}],"name":"OnUse","parent":null,"key":"2eeTvmvM74","order":-1},"QMkKFUfjzD":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"QMkKFUfjzD","order":2}},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{},"bodies":{"selected":{"name":"selected","type":"spriteOnly","width":38,"height":38,"z-index":{"layer":4,"depth":4},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":30},"itemAnchor":{"x":0,"y":20},"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"isBillboard":false,"globalSpace":false},"dropped":{"bullet":false,"name":"dropped","type":"dynamic","width":34,"height":34,"z-index":{"layer":1,"depth":2},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":true,"debris":false,"props":true},"angularDamping":1,"linearDamping":1,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"none","unitAnchor":{"x":0,"y":56},"itemAnchor":{"x":0,"y":58},"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"mountTarget":""}},"bonus":{"consume":{"playerAttribute":{},"unitAttribute":{}},"passive":{"playerAttribute":{},"unitAttribute":{},"isDisabledInBackpack":false},"isConsumedImmediately":false},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":14,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"x":0,"y":0,"rotation":0},"bulletDestroyedOnCollisionWithWall/unitType":"raycast","bulletStartPosition":{"rotation":0,"y":0,"x":0},"canBePurchasedBy":[],"canBeUsedBy":["human"],"carriedBy":["human"],"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1769315404783_2026_01_24_134_Kleki.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"permittedInventorySlots":[],"undroppable":false,"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"cost":{"playerAttributes":{},"quantity":0},"damage":{},"damageHitBox":{"width":60,"offsetX":0,"offsetY":50},"delayBeforeUse":0,"description":"Give the gift of 500 points to someone special! If they're lucky, they may get an item too!","destroyTimer":100000,"effects":{"use":{"projectileType":"","sound":{},"animation":"","tween":"recoil","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"reload":{"animation":"","sound":{}},"empty":{"animation":"","sound":{}}},"fireRate":500,"frames":{},"handle":"","hideIfUnaffordable":true,"hits":[],"isGun":false,"isPurchasable":false,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":300000,"maxQuantity":100,"name":"Box of Chocolates","particles":{},"penetration":false,"price":{"playerAttributes":{},"requiredItemTypes":{}},"projectileStreamMode":"0","projectileType":"","quantity":1,"recoilForce":0,"reloadRate":2800,"removeWhenEmpty":true,"sound":{},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"type":"weapon","variables":{"BonusFlatScore":{"default":500,"dataType":"number"},"ShrekItemGrade":{"default":4,"dataType":"number"},"ShrekExchangeRate":{"default":500,"dataType":"number"},"isPickup?":{"default":false,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"","ignoreServerStream":false,"id":"iyejlTmBFc","streamMode":1,"is3DObject":false},"aNMjJKOcmQ":{"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"deployMethod":"setVelocity","description":"Pull love even closer- and those you don't have feelings for away! You'll get even more points for your performance. 🏹❤️","bodies":{"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":4,"depth":5},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":0,"holdPosition":{"x":0,"y":40,"rotation":0},"height":45,"width":90,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":44,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":true,"items":true,"projectiles":false,"walls":true,"debris":false},"type":"spriteOnly","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"isSensor":true,"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"}}],"affectedByGravity":false,"mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"isBillboard":false,"globalSpace":false,"depth":0},"dropped":{"fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"allowSleep":true,"bullet":false,"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":2},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":80,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":42,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"type":"static","affectedByGravity":false}},"states":{"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"unselected":{"name":"unselected","animation":"default","body":"unselected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"default","body":"dropped","particles":{},"sound":{}}},"cellSheet":{"columnCount":2,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1769725189953_2026_01_29_0su_Kleki.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"},"use":{"loopCount":0,"framesPerSecond":0,"frames":[2],"name":"use"}},"attributes":{},"canBeUsedBy":["human"],"effects":{"use":{"projectileType":"","sound":{},"animation":"use","tween":"none","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""},"empty":{"animation":"","sound":{}},"reload":{"animation":"","sound":{}}},"buffTypes":["bulletForce","reloadRate","fireRate","ammoSize","ammoTotal","movementSpeed","maxStamina"],"body":{"name":"Potato Gun","fixedRotation":false,"z-index":{"depth":4,"layer":3},"typeWhenDrop":"dynamic","friction":0,"carriedBy":["human","PhuHFB46b2"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":40,"rotation":0},"height":40,"width":12,"rotationSpeed":3,"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0},"collidesWith":{"debris":true,"units":true,"items":true,"projectiles":true,"walls":true},"type":"dynamic"},"sound":{"GyCivqsuR8":{"name":"Reload","file":"https://modd.s3.amazonaws.com/asset/sound/1517544292301_reload.mp3"},"zjlCUPiCk0":{"name":"Out of ammo","file":"https://modd.s3.amazonaws.com/asset/sound/1517544320311_fire_empty.mp3"},"empty":"fireEmpty","reload":"reload","fire":"fireMinigun","nppwtuQaPz":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517544024385_fire_rifle.mp3","name":"Fire"}},"bulletForce":30,"distanceStart":40,"bulletType":"projectile","fireRate":600,"recoilForce":100,"reloadRate":10,"ammoTotal":10000,"ammo":10000,"ammoSize":10000,"spawnChance":0.08,"type":"weapon","isGun":true,"isPurchasable":true,"isStackable":false,"texture":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/potato_gun.png","handle":"potatoGun","name":"Rare Cupid Bow","bulletStartPosition":{"x":0,"y":15},"penetration":false,"hits":[],"damage":{},"canBePurchasedBy":["human"],"particles":{"k4HSd1axqA":{"name":"spark","color":"#ffffff","lifeBase":50,"quantityBase":40,"quantityTimespan":70,"deathOpacityBase":0.5,"mountPosition":{"x":0,"y":50},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"lifeSpan":60000,"quantity":null,"maxQuantity":null,"autoUpdateQuantity":false,"cost":{"playerAttributes":{"points":25}},"carriedBy":["human"],"variables":{"isPickup?":{"default":false,"dataType":"boolean"},"isRare?":{"default":true,"dataType":"boolean"},"carriedUnit":{"dataType":"unit"}},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1769725175608_2026_01_29_0sk_Kleki.png","hideIfUnaffordable":false,"controls":{"mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"designatedInventorySlot":"","undroppable":false,"permittedInventorySlots":[],"canMerge":true,"backpackAllowed":true,"untradable":false,"equipRequirement":{"unitAttributes":{},"playerAttributes":{}}},"delayBeforeUse":0,"projectileType":"DH9lWjOs1n","removeWhenEmpty":false,"isUsedOnPickup":false,"confinedWithinMapBoundaries":false,"projectileStreamMode":1,"saveBandwidth":true,"frames":{},"ignoreServerStream":false,"scripts":{"szhVPSUgML":{"triggers":[{"type":"itemIsUsed"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"use"},{"type":"setTimeOut","duration":400,"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}],"runMode":0}],"name":"OnUse","parent":null,"key":"szhVPSUgML","order":1},"XWbcrpq0tZ":{"triggers":[{"type":"thisItemIsPickedUp"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"value":{"function":"getOwnerOfItem","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}},"text":"Rare Item","color":"yellow","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","comment":"","runMode":0},{"type":"setVariable","value":2,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}}},2],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"carriedUnit","dataType":"unit","entity":"human","key":"carriedUnit"}},"entity":{"function":"thisEntity"}}},"variableName":"tempPlayer","runMode":0},{"type":"setVariable","value":4,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"mission 2 rares in a row","isExpanded":{"self":true},"runMode":0}],"comment":"mission first to get rare","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Pickup Indicator."}],"name":"OnPickup","parent":null,"key":"XWbcrpq0tZ","order":2}},"id":"aNMjJKOcmQ","isBillboard":false,"streamMode":1,"showCDOverlay":true,"opacity":1,"nftMinting":false,"shadow":false,"is3DObject":false}},"music":{},"sound":{"HIkoRc1n8l":{"name":"","file":"https://cache.modd.io/asset/sound/1745423012337_hard-slap-46388.mp3","volume":100},"RvyvdbD2qq":{"name":"","file":"https://cache.modd.io/asset/sound/1767581937106_rubber-band-2-447370.mp3","volume":100}},"scripts":{"playerLeaves":{"order":3,"key":"playerLeaves","parent":null,"name":"Player leaves","actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getTriggeringPlayer"}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getTriggeringPlayer"}},true]],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"staffplayer"},1]},"variableName":"staffplayer","runMode":0}],"else":[],"runMode":0,"disabled":false,"isExpanded":{"self":false}},{"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getTriggeringPlayer"}},"human"],"then":[{"entity":{"function":"selectedUnit"},"type":"dropAllItems"}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getTriggeringPlayer"}},"zombie"],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"0oDaWUo6j6"],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"mutatedCount"},1]},"variableName":"mutatedCount","runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"then":true,"else":true,"self":false}},{"entity":{"function":"selectedUnit"},"type":"destroyEntity"}],"unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getTriggeringPlayer"}},"type":"forAllUnits","comment":"","runMode":0,"isExpanded":{"self":false}}],"conditions":[{"operandType":"boolean","operator":"=="},true,true],"triggers":[{"type":"playerLeavesGame"}]},"gameOver":{"order":3,"parent":"ZZxBdBSpaT","key":"gameOver","actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getVariable","variableName":"state","vars":[]},2],"then":[{"value":{"function":"getVariable","variableName":"@timeGameover","vars":[]},"variableName":"timeLeft","type":"setVariable","vars":[]},{"value":2,"variableName":"state","type":"setVariable","runMode":0,"comment":"state = gameover","vars":[]},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},2],[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#LastSurvivorEvent"},false]],"then":[{"type":"setVariable","value":{"function":"getMin","num1":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"*"},25,{"function":"getVariable","variableName":"finishedAds"}]},{"function":"getVariable","variableName":"playerCount"}],"vars":[]},"vars":[]},"num2":25,"vars":[]},"variableName":"rewardFactor","runMode":0,"comment":"SetRewardFactor which increase reward when people watch ads.","vars":[]},{"type":"setVariable","value":0,"variableName":"finishedAds","runMode":0,"comment":"Reset watch ads var.","vars":[]},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}},1],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"total rounds played","runMode":0,"vars":[]},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"getNumberOfPlayersOfPlayerType","playerType":"human"}],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"total humans survived","vars":[]},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"calculate","items":[{"operator":"+"},{"function":"getNumberOfPlayersOfPlayerType","playerType":"human"},{"function":"getNumberOfPlayersOfPlayerType","playerType":"zombie"}]}],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"total people in round","vars":[]},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType","vars":[]},"Zombie Party"],"then":[{"type":"setVariable","value":{"function":"updateStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"getNumberOfPlayersOfPlayerType","playerType":"human"}],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"total humans survived in normal round type other than mutation round","vars":[]},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"getVariable","variableName":"mutatedCount"}],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"total mutated zombie in normal round type other than mutation round","vars":[]},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"calculate","items":[{"operator":"+"},{"function":"getNumberOfPlayersOfPlayerType","playerType":"human"},{"function":"getNumberOfPlayersOfPlayerType","playerType":"zombie"}]}],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"total people in normal round type other than mutation round","vars":[]},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}},1],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"# of rounds excluded of zombie mutation round","vars":[]}],"else":[],"isExpanded":{"self":false},"runMode":0,"vars":[]},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType","vars":[]},"none"],"then":[{"type":"setVariable","value":{"function":"updateStringArrayElement","number":9,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":9,"string":{"function":"getVariable","variableName":"winrateVars"}}},1],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"# of special round count","vars":[]}],"else":[],"isExpanded":{"self":false},"runMode":0,"vars":[]}],"else":[],"comment":"Collect stats if player count >= 2","runMode":0,"isExpanded":{"then":true,"self":false},"vars":[]},{"then":[{"type":"updateUiTextForTimeForPlayer","target":"center-lg","value":"<span class=\"text-danger\">Zombies Win!!!</span>","player":{"function":"undefinedValue","vars":[]},"time":10000,"vars":[]},{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},2],[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#LastSurvivorEvent"},false]],"then":[{"type":"setVariable","value":{"function":"updateStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"winrateVars"}}},1],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"zombie win count","vars":[]}],"else":[],"runMode":0,"vars":[]}],"else":[{"type":"updateUiTextForTimeForPlayer","target":"center-lg","value":"Survivors Win!!!","player":{"function":"undefinedValue","vars":[]},"time":10000,"runMode":0,"vars":[]},{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},2],[{"operandType":"boolean","operator":"=="},"#LastSurvivorEvent",false]],"then":[{"type":"setVariable","value":{"function":"updateStringArrayElement","number":1,"string":{"function":"getVariable","variableName":"winrateVars","vars":[]},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"+"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getVariable","variableName":"winrateVars"}}},1],"vars":[]},"vars":[]},"vars":[]},"variableName":"winrateVars","comment":"human win count","runMode":0,"vars":[]}],"else":[],"runMode":0,"vars":[]}],"conditions":[{"operandType":"number","operator":"<="},{"variableName":"humanCount","function":"getVariable","vars":[]},0],"type":"condition","runMode":0,"isExpanded":{"self":false,"then":true,"else":true},"vars":[]},{"type":"forAllPlayers","playerGroup":{"function":"playersOfPlayerType","playerType":"human","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"humanCount","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},1],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},3],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},30],"then":[{"disabled":false,"type":"setPlayerAttribute","attribute":"points","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"items":[{"operator":"*"},{"variableName":"@humanWinBonusMultiplier","function":"getVariable"},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"playerCount"},{"function":"getVariable","variableName":"humanCount"}]}],"function":"calculate"}],"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[{"disabled":false,"type":"setPlayerAttribute","attribute":"points","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@humanWinBonusMultiplier"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},{"function":"getExponent","base":{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"playerCount"},30]},"power":2}]}]},{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@humanWinBonusMultiplier"},{"function":"getVariable","variableName":"playerCount"}]},{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"*"},{"function":"getExponent","base":{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"playerCount"},30]},"power":2},{"function":"getVariable","variableName":"playerCount"}]},{"function":"getVariable","variableName":"@humanWinBonusMultiplier"}]}]},{"function":"getExponent","base":{"function":"getMax","num1":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},60000,{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}}]},60000]},"num2":0},"power":2}]}]},{"function":"getVariable","variableName":"humanCount"}]}],"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"runMode":0,"comment":"Human win bonus.","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"human","key":"isSurvived?"}},"value":true,"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getVariable","variableName":"toyCarController","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"then":[{"type":"runEntityScript","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getVariable","variableName":"toyCarController","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"scriptName":"lnDocTL5Yw","runMode":0,"isEntityScript":true,"entityType":"itemTypes","entityKey":"s1L3qvKP3E","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"sendChatMessageToPlayer","message":"Special round will be chosen on the next round.","player":{"function":"getOwner","entity":{"function":"getVariable","variableName":"toyCarController","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"comment":"Check if someone holding Remote controller, then change state of controller automatically.","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"isExpanded":{"self":true},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},false],"then":[{"type":"playAdForPlayer","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"disabled":false,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},3],"then":[{"type":"setFadingTextOfUnit","text":"Blessed!","unit":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"color":"aqua","runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"finishedAds"},1],"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"variableName":"finishedAds","runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},1000],"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"sendChatMessageToPlayer","message":"Booster reward given !","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"comment":"Don't show advertisements to people who boost the braains.io discord server","runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"runMode":0,"isExpanded":{"self":false,"actions":true},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"forAllPlayers","playerGroup":{"function":"playersOfPlayerType","playerType":"zombie","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"actions":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"human","key":"isSurvived?"}},"value":false,"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"zombieKing"],[{"operandType":"and","operator":"AND"},[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"0oDaWUo6j6"],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isRedMutatedZombie?","dataType":"boolean","entity":"0oDaWUo6j6","key":"isRedMutatedZombie?"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},true]]],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},1],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},3],"then":[{"disabled":false,"type":"setPlayerAttribute","attribute":"points","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@zombieKingBonus"},{"function":"getVariable","variableName":"zombieCount"}]},{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"zombieCount"},{"function":"getVariable","variableName":"playerCount"}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"zombieCount"},{"function":"getVariable","variableName":"playerCount"}]}]}]}],"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},false],"then":[{"type":"playAdForPlayer","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"disabled":false,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},3],"then":[{"type":"setFadingTextOfUnit","text":"Blessed!","unit":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"color":"aqua","runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"finishedAds"},1],"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"variableName":"finishedAds","runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},1000],"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"sendChatMessageToPlayer","message":"Booster reward given !","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"comment":"Don't show advertisements to people who boost the braains.io discord server","runMode":0,"isExpanded":{"self":false},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"runMode":0,"isExpanded":{"self":false,"actions":true},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"serverLifespan","vars":[]},0],"then":[{"type":"setTimeOut","duration":2500,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},50000],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"allMissionsStatus","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"available"],"then":[{"type":"setVariable","value":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"variableName":"tempPlayer","comment":"","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"setVariable","value":0,"variableName":"tempNumberMission","runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"runScript","scriptName":"iIndVfe8Py","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"isExpanded":{"self":true},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"@isScoreCounted","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"function":"getPlayerAttribute","attribute":"EAs4aT4ZuS","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"then":[{"type":"setPlayerAttribute","attribute":"EAs4aT4ZuS","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"value":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"isExpanded":{"self":true},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"kickPlayer","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"message":"Server is closed! Please join the other servers to play.","runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"runMode":0,"isExpanded":{"self":true,"actions":true},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"runMode":0,"vars":[]},{"type":"setTimeOut","duration":10000,"actions":[{"type":"endGame","runMode":0,"vars":[]}],"runMode":0,"vars":[]}],"else":[{"type":"setVariable","value":false,"variableName":"#FirstRound","runMode":0,"vars":[]}],"runMode":0,"isExpanded":{"self":false},"comment":"This should run when the game in Gameover state from second round on.","vars":[]}],"else":[],"runMode":0,"isExpanded":{"then":true},"comment":"If state not equal gameover","vars":[]}],"conditions":[{"operandType":"string","operator":"!="},{"variableName":"state","function":"getVariable"},"gameover"],"triggers":[],"name":"Game over"},"makeHumansSick":{"order":1,"parent":"ZZxBdBSpaT","key":"makeHumansSick","actions":[{"unitGroup":{"function":"allUnitsOfUnitType","unitType":"human","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"isGoingToMutated?","dataType":"boolean","entity":"human","key":"isGoingToMutated?"},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"player":{"function":"getOwner","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"isGoingToMutated?","dataType":"boolean","entity":"human","key":"isGoingToMutated?"}},"value":false,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"hideUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"dropAllItems","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"value":500,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"changeUnitType","unitType":"sick","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"value":4,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"assignPlayerType","entity":{"function":"getOwner","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"playerType":"zombie","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"isMutated?","dataType":"boolean","entity":"sick","key":"isMutated?"}},"value":true,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"else":[],"runMode":0,"comment":"100% chance for tonic potion to choose you as a zombie.","isExpanded":{"self":true},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"type":"forAllUnits","isExpanded":{"self":false},"runMode":0,"comment":"Tonicpotion Handler","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setVariable","value":0,"variableName":"mutatedCount","comment":"Mutated count.","runMode":0,"vars":[]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"playerCount"},{"function":"getNumberOfPlayersOfPlayerType","playerType":"zombie"}]},{"function":"getVariable","variableName":"@outbreakRatio"}],"vars":[]},"runMode":0,"variableName":"ExpectedSickCount","vars":[]},{"type":"setVariable","value":0,"variableName":"decidezombieSickCount","comment":"Currently sicked players.","runMode":0,"vars":[]},{"value":0,"variableName":"AlphazombsImmunityDecider","type":"setVariable","runMode":0,"comment":"If immunity (0-5) + afkvalue (0-6) + Natural immunity (0-inf) lesser or equal this value, make them red zombie.","vars":[]},{"type":"while","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"ExpectedSickCount"},{"function":"getVariable","variableName":"decidezombieSickCount"}],"actions":[{"type":"setVariable","value":false,"variableName":"InfectedGate","runMode":0,"vars":[]},{"value":0,"variableName":"ChooseZombsRand","type":"setVariable","runMode":0,"comment":"VictimIndex Detector.","vars":[]},{"type":"while","conditions":[{"operator":"!=","operandType":"boolean"},{"function":"getVariable","variableName":"InfectedGate"},true],"actions":[{"value":{"max":{"items":["-",{"function":"getNumberOfUnitsOfUnitType","unitType":"human"},1],"function":"calculate","vars":[]},"min":0,"function":"getRandomNumberBetween","vars":[]},"variableName":"victimIndex","type":"setVariable","comment":"Choose assumption of infected human.","runMode":0,"vars":[]},{"unitGroup":{"function":"allUnitsOfUnitType","unitType":"human","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"ChooseZombsRand","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"function":"getVariable","variableName":"victimIndex","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"then":[{"else":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"AlphazombsImmunityDecider"},1],"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"variableName":"AlphazombsImmunityDecider","runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"value":0,"variableName":"ChooseZombsRand","type":"setVariable","runMode":0,"comment":"VictimIndex Detector.","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"break","disabled":false,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"then":[{"type":"hideUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"dropAllItems","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"changeUnitType","unitType":"sick","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"value":0.75,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"assignPlayerType","entity":{"function":"getOwner","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"playerType":"zombie","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"isMutated?","dataType":"boolean","entity":"sick","key":"isMutated?"}},"value":false,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Zombie Party"],[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},11]],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"isMutated?","dataType":"boolean","entity":"sick","key":"isMutated?"}},"value":true,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":0,"max":{"function":"calculate","items":[{"operator":"+"},{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},{"function":"getVariable","variableName":"playerCount"}]},100]},0.062]}},1],"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},0],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"isMutated?","dataType":"boolean","entity":"sick","key":"isMutated?"}},"value":true,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"else":[],"comment":"Mutated zombs chance decided by fibonacci mimic chance.","runMode":0,"disabled":false,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"isExpanded":{"self":true},"comment":"If it's \"Zombie Party\" special round or number of players <= 10, guaruntee the chance for sick to mutate.","runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"decidezombieSickCount"},1],"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"variableName":"decidezombieSickCount","comment":"","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setVariable","value":true,"variableName":"InfectedGate","runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"break","disabled":false,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"AlphazombsImmunityDecider","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"immunity","entity":{"function":"selectedUnit"}},100]},{"function":"calculate","items":[{"operator":"+"},{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getMax","num1":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"num2":0},{"function":"calculate","items":[{"operator":"*"},0.004,{"function":"getVariable","variableName":"naturalImmunityMultiplier"}]}]}},{"function":"calculate","items":[{"operator":"*"},200,{"function":"getMax","num1":{"function":"calculate","items":[{"operator":"-"},3,{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"getOwner","entity":{"function":"selectedUnit"}}}]},"num2":0}]}]}],"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"type":"condition","isExpanded":{"self":true,"then":true,"else":true},"runMode":0,"comment":"This is how we choose sick zombs, the choosing, immunity, natural immunity and afkkicktimer matter","disabled":false,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"else":[{"value":{"items":["+",{"function":"getVariable","variableName":"ChooseZombsRand"},1],"function":"calculate","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"variableName":"ChooseZombsRand","type":"setVariable","runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"runMode":0,"comment":"If random number equal that value, we decide by immunity, afk value and natural immunity.","isExpanded":{"self":true},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"type":"forAllUnits","isExpanded":{"self":true},"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"runMode":0,"isExpanded":{"actions":true,"self":true},"vars":[]}],"isExpanded":{"self":false,"actions":true},"comment":"New sick script.","runMode":0,"vars":[]}],"conditions":[],"triggers":[],"name":"Make humans sick"},"outbreak":{"order":2,"parent":"ZZxBdBSpaT","key":"outbreak","actions":[{"value":1,"variableName":"state","type":"setVariable","comment":"state = postoutbreak","runMode":0,"vars":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnits","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"sick"],"then":[{"type":"dropAllItems","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isMutated?","dataType":"boolean","entity":"sick","key":"isMutated?"},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},true],"then":[{"entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"type":"changeUnitType","unitType":"0oDaWUo6j6","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"value":6.9,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"isRedMutatedZombie?","dataType":"boolean","entity":"0oDaWUo6j6","key":"isRedMutatedZombie?"}},"value":true,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"mutatedCount"},1],"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"variableName":"mutatedCount","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"else":[{"entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"type":"changeUnitType","unitType":"zombieKing","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"value":6.7,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"disabled":false,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"number":2.8,"comment":"","runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":0,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"human","key":"killStreakTimer"}},"value":0,"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"sendChatMessageToPlayer","message":"You are a zombie now! If you're stuck, press [Z] to teleport to spawn position","player":{"function":"getOwner","entity":{"function":"selectedUnit","vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]}],"runMode":0,"isExpanded":{"self":false},"vars":[{"id":"selectedUnit","source":"forAllUnits"},{"id":"getSelectedUnit","source":"forAllUnits"}]},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType","vars":[]},"Juke-Only"],"then":[{"value":{"function":"calculate","items":[{"operator":"-"},100,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getNumberOfPlayersOfPlayerType","playerType":"human"},{"function":"getNumberOfPlayersOfPlayerType","playerType":"zombie"}]},0.66]}}],"vars":[]},"variableName":"timeLeft","type":"setVariable","comment":"","runMode":0,"vars":[]}],"else":[{"value":{"function":"getVariable","variableName":"@timePostoutbreak","vars":[]},"variableName":"timeLeft","type":"setVariable","vars":[]}],"runMode":0,"isExpanded":{"self":false},"vars":[]}],"conditions":[],"triggers":[],"name":"outbreak"},"everySecond":{"name":"Every second","triggers":[{"type":"secondTick"}],"conditions":[],"actions":[{"comment":"","variableName":"humanCount","value":{"playerType":"human","function":"getNumberOfPlayersOfPlayerType"},"type":"setVariable"},{"comment":"","variableName":"zombieCount","value":{"function":"getNumberOfPlayersOfPlayerType","playerType":"zombie"},"type":"setVariable"},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"humanCount"},{"function":"getVariable","variableName":"zombieCount"}]},"variableName":"playerCount","runMode":0},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getVariable","variableName":"serverLifespan"},0],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"serverLifespan"},1]},"variableName":"serverLifespan","comment":""}],"else":[{"type":"setVariable","value":0,"variableName":"serverLifespan","comment":"","runMode":0}],"runMode":0,"isExpanded":{"self":false}},{"else":[{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"serverLifespan"},13650],[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},0]],"then":[{"type":"endGame","runMode":0}],"else":[{"disabled":false,"type":"updateUiTextForEveryone","target":"top","value":"Waiting for players.","runMode":0},{"disabled":false,"type":"updateUiTextForEveryone","target":"scoreboard","value":{"function":"concat","textA":{"function":"getVariable","variableName":"humanCount"},"textB":{"function":"concat","textA":{"function":"concat","textA":" Survivors<br/> <span class='text-danger'> ","textB":{"function":"getVariable","variableName":"zombieCount"}},"textB":" Zombies</span>"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true},"comment":"Refresh server, if player empty after empty server run for 1 hour."}],"then":[{"type":"setVariable","variableName":"timeLeft","value":{"function":"calculate","items":["-",{"function":"getVariable","variableName":"timeLeft"},1]},"disabled":false},{"comment":"In preoutbreak - if 10 seconds are left before the outbreak, make people sick","disabled":false,"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"state"},0],"then":[{"type":"setVariable","variableName":"timerMessage","value":{"function":"concat","textA":"Outbreak happening in ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"timeLeft"},"textB":" seconds"}},"comment":""},{"type":"setVariable","variableName":"zombieTimerMessage","value":{"function":"concat","textA":"Outbreak happening in ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"timeLeft"},"textB":" seconds"}},"comment":"","runMode":0},{"type":"setVariable","variableName":"spectatorTimerMessage","value":{"function":"concat","textA":"Outbreak happening in ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"timeLeft"},"textB":" seconds"}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"timeLeft"},{"function":"getVariable","variableName":"@timeSick"}],"then":[{"type":"runScript","scriptName":"makeHumansSick"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"comment":"if state = postoutbreak","else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},2],"then":[{"type":"setVariable","variableName":"timerMessage","value":{"function":"concat","textA":"Game restarting in ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"timeLeft"},"textB":" seconds"}},"comment":""},{"type":"setVariable","variableName":"zombieTimerMessage","value":{"function":"concat","textA":"Game restarting in ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"timeLeft"},"textB":" seconds"}},"comment":""},{"type":"setVariable","variableName":"spectatorTimerMessage","value":{"function":"concat","textA":"Game restarting in ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"timeLeft"},"textB":" seconds"}},"comment":"","runMode":0}],"else":[],"runMode":0,"comment":"state = gameover"}],"then":[{"type":"setVariable","variableName":"timerMessage","value":{"function":"concat","textA":"Stay alive for ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"timeLeft"},"textB":" seconds"}},"comment":"","runMode":0},{"type":"setVariable","variableName":"zombieTimerMessage","value":{"function":"concat","textA":"Infect all humans in  ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"timeLeft"},"textB":" seconds"}},"comment":"","runMode":0},{"comment":"","value":{"textB":{"textB":" seconds","textA":{"variableName":"timeLeft","function":"getVariable"},"function":"concat"},"textA":"Humans must survive for ","function":"concat"},"variableName":"spectatorTimerMessage","type":"setVariable","runMode":0},{"type":"condition","conditions":[{"operator":"OR","operandType":"or"},[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"humanCount"},0],[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"zombieCount"},0]],"then":[{"type":"runScript","scriptName":"gameOver","isEntityScript":false}],"else":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"actualgainz"},{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"*"},{"function":"getMax","num1":36,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"playerCount"},6]},{"function":"getVariable","variableName":"inActivePlayers"}]}},{"function":"getMax","num1":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"zombieCount"},{"function":"getVariable","variableName":"inActivePlayers"}]},"num2":1}]},{"function":"getVariable","variableName":"humanCount"}]}]},"variableName":"@ScoreGainz","runMode":0,"comment":"Set score gainz variable. <3"},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"humanCount"},1],[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"topSurvivorsDone"},false]],"then":[{"type":"setVariable","value":true,"variableName":"topSurvivorsDone","runMode":0},{"type":"forAllPlayers","playerGroup":{"function":"playersOfPlayerType","playerType":"human"},"actions":[{"type":"updateUiTextForTimeForPlayer","target":"center-lg","value":"<br><br><br><br>You are the last survivor!","player":{"function":"selectedPlayer"},"time":3000,"runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":1,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"selectedPlayer"},"variableName":"tempPlayer","comment":""},{"type":"setVariable","value":1,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#LastSurvivorEvent"},true],"then":[{"type":"setPlayerAttribute","attribute":"points","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","_returnType":"number","attribute":"points","entity":{"function":"selectedPlayer","_returnType":"player"}},{"function":"mathRound","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"timeLeft"},{"function":"getVariable","variableName":"actualgainz"}]},{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"player":{"function":"selectedPlayer"}},1]}]}}]},"entity":{"function":"selectedPlayer"},"runMode":0},{"type":"createDynamicFloatingText","text":{"function":"concat","textA":"+","textB":{"function":"numberToString","value":{"function":"mathRound","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"timeLeft"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@ScoreGainz"},{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"player":{"function":"selectedPlayer"}},1]}]}]}}}},"position":{"function":"getEntityPosition","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"color":"#44ff6a","duration":1300,"runMode":0},{"type":"runScript","scriptName":"gameOver","isEntityScript":false},{"type":"repeat","count":10,"actions":[{"type":"createUnitAtPosition","unitType":{"function":"getRandomUnitTypeFromUnitTypeGroup","unitTypeGroup":{"function":"getVariable","variableName":"ZombieApocalypseDBPool"}},"entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getEntityPosition","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"angle":{"function":"getRandomNumberBetween","min":0,"max":360},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"comment":"LastSurvivor Event","isExpanded":{"self":true},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true},"comment":"Last survivor handler"}],"comment":"if there are no humans or zombies left, end the round","runMode":0,"isExpanded":{"else":true,"self":true}}],"conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},1],"type":"condition","runMode":0,"isExpanded":{"self":true,"then":true,"else":true}}],"isExpanded":{"self":false,"else":true},"runMode":0},{"type":"forAllPlayers","playerGroup":{"function":"playersOfPlayerType","playerType":"human"},"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},1],"then":[{"type":"setPlayerAttribute","attribute":"points","value":{"function":"calculate","items":["+",{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@ScoreGainz"},{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"player":{"function":"selectedPlayer"}},1]}]}]},"entity":{"function":"selectedPlayer"},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true},"comment":"if state = postoutbreak"},{"scale":{"items":["+",1,{"items":[{"operator":"*"},{"entity":{"function":"selectedPlayer"},"attribute":"points","function":"getPlayerAttribute"},0.0001],"function":"calculate"}],"function":"calculate"},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"type":"changeScaleOfEntitySprite","runMode":0},{"type":"setPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"selectedPlayer"},"value":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},0.0000333]}]},"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"selectedPlayer"},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"selectedPlayer"}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"selectedPlayer"}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}}},50000]},0.005]}}]},"runMode":0,"disabled":false},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"selectedPlayer"}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"selectedPlayer"}}]}]},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"updateUiTextForPlayer","target":"top","value":{"function":"getVariable","variableName":"timerMessage"},"entity":{"function":"selectedPlayer"},"runMode":0,"disabled":false},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},49999],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"selectedPlayer"},"variableName":"tempPlayer","comment":""},{"type":"setVariable","value":0,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"@isScoreCounted"},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"function":"getPlayerAttribute","attribute":"EAs4aT4ZuS","entity":{"function":"selectedPlayer"}}],"then":[{"type":"setPlayerAttribute","attribute":"EAs4aT4ZuS","entity":{"function":"selectedPlayer"},"value":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true}}],"else":[],"isExpanded":{"self":false,"then":true},"runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"forAllPlayers","playerGroup":{"function":"playersOfPlayerType","playerType":"zombie"},"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},1],"then":[{"entity":{"function":"selectedPlayer"},"value":{"items":[{"operator":"*"},{"entity":{"function":"selectedPlayer"},"attribute":"points","function":"getPlayerAttribute"},{"variableName":"@zombieDecay","function":"getVariable"}],"function":"calculate"},"attribute":"points","type":"setPlayerAttribute","runMode":0},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"selectedPlayer"}},0],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"zombie","key":"killStreakTimer"}},"player":{"function":"selectedPlayer"}},0],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":0,"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"zombie","key":"killStreakTimer"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"zombie","key":"killStreakTimer"}},"player":{"function":"selectedPlayer"}},1]}}],"runMode":0}],"else":[],"comment":"if kill streak timer runs out, set kill streak to 0","isExpanded":{"self":true},"runMode":0},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"player":{"function":"selectedPlayer"}},0],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"player":{"function":"selectedPlayer"}},1]},"runMode":0}],"else":[],"comment":"Reduce cooldown,","isExpanded":{"self":true},"runMode":0},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"player":{"function":"selectedPlayer"}},0],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"player":{"function":"selectedPlayer"}},1]},"runMode":0}],"else":[],"comment":"Reduce cooldown,","isExpanded":{"self":true},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true},"comment":"if state = postoutbreak"},{"scale":{"items":["+",1,{"items":[{"operator":"*"},{"entity":{"function":"selectedPlayer"},"attribute":"points","function":"getPlayerAttribute"},0.0001],"function":"calculate"}],"function":"calculate"},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"type":"changeScaleOfEntitySprite","runMode":0},{"type":"setPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"selectedPlayer"},"value":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},0.0000333]}]},"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"selectedPlayer"},"zoom":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},800,{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"player":{"function":"selectedPlayer"}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"selectedPlayer"}}]}]},{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getMin","num1":130000,"num2":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}}},50000]},0.005]}}]},"runMode":0,"disabled":false},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"selectedPlayer"}}]},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"updateUiTextForPlayer","target":"top","value":{"function":"getVariable","variableName":"zombieTimerMessage"},"entity":{"function":"selectedPlayer"},"runMode":0,"disabled":false},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},49999],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"selectedPlayer"},"variableName":"tempPlayer","comment":""},{"type":"setVariable","value":0,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"@isScoreCounted"},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"function":"getPlayerAttribute","attribute":"EAs4aT4ZuS","entity":{"function":"selectedPlayer"}}],"then":[{"type":"setPlayerAttribute","attribute":"EAs4aT4ZuS","entity":{"function":"selectedPlayer"},"value":{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true}}],"else":[],"isExpanded":{"self":true,"then":false},"runMode":0}],"runMode":0,"isExpanded":{"self":false}},{"type":"forAllPlayers","playerGroup":{"function":"playersOfPlayerType","playerType":"M9xalZXJ3i"},"actions":[{"type":"updateUiTextForPlayer","target":"top","value":{"function":"getVariable","variableName":"spectatorTimerMessage"},"entity":{"function":"selectedPlayer"},"runMode":0}],"runMode":0,"isExpanded":{"self":false},"disabled":false},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"none"],"then":[{"disabled":false,"type":"updateUiTextForEveryone","target":"scoreboard","value":{"function":"concat","textA":{"function":"getVariable","variableName":"humanCount"},"textB":{"function":"concat","textA":{"function":"concat","textA":" Survivors<br/> <span class='text-danger'> ","textB":{"function":"getVariable","variableName":"zombieCount"}},"textB":" Zombies</span>"}},"runMode":0}],"else":[{"disabled":false,"type":"updateUiTextForEveryone","target":"scoreboard","value":{"function":"concat","textA":{"function":"concat","textA":{"function":"concat","textA":"Round Type : ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"roundType"},"textB":"<br>"}},"textB":{"function":"getVariable","variableName":"humanCount"}},"textB":{"function":"concat","textA":{"function":"concat","textA":" Survivors<br/> <span class='text-danger'> ","textB":{"function":"getVariable","variableName":"zombieCount"}},"textB":" Zombies</span>"}},"runMode":0}],"comment":"update the scoreboard ui","runMode":0,"isExpanded":{"self":false}},{"comment":"","type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"timeLeft"},0],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"state"},0],"then":[{"type":"runScript","scriptName":"outbreak"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"state"},1],"then":[{"type":"runScript","scriptName":"gameOver"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"state"},2],"then":[{"type":"runScript","scriptName":"reset"},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"setVariable","variableName":"timeLeft","value":50,"comment":"","runMode":0}],"else":[{"type":"setVariable","variableName":"timeLeft","value":{"function":"calculate","items":[{"operator":"+"},60,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},0.8,{"function":"getVariable","variableName":"playerCount"}]}}]},"comment":"","runMode":0}],"comment":"if the round is juke-only, give less preparation time","runMode":0}],"else":[],"comment":"start the new round","runMode":0}],"comment":"end the round","runMode":0}],"comment":"start the outbreak","runMode":0}],"else":[],"isExpanded":{"self":false,"then":true},"runMode":0}],"conditions":[{"operandType":"number","operator":">"},{"function":"getVariable","variableName":"playerCount"},1],"type":"condition","comment":"Update game logic, if we have at least 2 players.","disabled":false,"runMode":0,"isExpanded":{"self":false,"then":true,"else":false}}],"key":"everySecond","parent":"ZZxBdBSpaT","order":0},"reset":{"name":"Reset","triggers":[],"conditions":[],"actions":[{"comment":"State = pre-outbreak","type":"setVariable","variableName":"state","value":0,"runMode":0},{"type":"setVariable","value":"none","variableName":"roundType","comment":"init to none"},{"type":"setVariable","value":0,"variableName":"specialRoundNum","comment":"","runMode":0},{"type":"forAllUnits","actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"@"},false],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"},"runMode":0}],"else":[],"runMode":0}],"else":[{"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"#MissionValidity"},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"rounds survived in a row","dataType":"number","entity":"human","key":"rounds survived in a row"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rounds survived in a row","dataType":"number","entity":"human","key":"rounds survived in a row"}},"player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},1]}},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"rounds survived in a row","dataType":"number","entity":"human","key":"rounds survived in a row"}},"player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},8],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variableName":"tempPlayer"},{"type":"setVariable","value":5,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py","isEntityScript":false}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0}],"else":[],"isExpanded":{"then":true,"self":false},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"human","key":"isSurvived?"}},"value":false,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"isBlessed?","dataType":"boolean","entity":"human","key":"isBlessed?"}},"value":false},{"value":0,"entity":{"function":"selectedUnit"},"attribute":"immunity","type":"setEntityAttribute","runMode":0,"disabled":false},{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"selectedUnit"},{"function":"getVariable","variableName":"toyCarController"}],"then":[{"position":{"region":{"function":"getVariable","variableName":"spawn2"},"function":"getRandomPositionInRegion"},"entity":{"function":"selectedUnit"},"type":"moveEntity","runMode":0}],"else":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"calculate","items":[{"operator":"+"},1,{"function":"getMin","num1":4,"num2":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.1]}}}]}},"variableName":"tempNumber","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumber"},1],"then":[{"position":{"region":{"function":"getVariable","variableName":"spawn"},"function":"getRandomPositionInRegion"},"entity":{"function":"selectedUnit"},"type":"moveEntity","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumber"},2],"then":[{"position":{"region":{"function":"getVariable","variableName":"spawn2"},"function":"getRandomPositionInRegion"},"entity":{"function":"selectedUnit"},"type":"moveEntity","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumber"},3],"then":[{"position":{"region":{"function":"getVariable","variableName":"spawn3"},"function":"getRandomPositionInRegion"},"entity":{"function":"selectedUnit"},"type":"moveEntity","runMode":0}],"else":[{"position":{"region":{"function":"getVariable","variableName":"spawn4"},"function":"getRandomPositionInRegion"},"entity":{"function":"selectedUnit"},"type":"moveEntity","runMode":0}],"runMode":0,"disabled":false}],"runMode":0,"disabled":false}],"runMode":0,"disabled":false}],"runMode":0}],"then":[{"else":[],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"human","key":"isSurvived?"}},"value":false,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"isBlessed?","dataType":"boolean","entity":"human","key":"isBlessed?"}},"value":false},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"human","key":"killStreakTimer"}},"value":0,"runMode":0},{"type":"changeUnitType","unitType":"human","entity":{"function":"selectedUnit"}},{"entity":{"entity":{"function":"selectedUnit"},"function":"getOwner"},"playerType":"human","type":"assignPlayerType"},{"value":0,"entity":{"function":"selectedUnit"},"attribute":"immunity","type":"setEntityAttribute"},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"number":3,"comment":"","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"selectedUnit"},"value":5.6,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"rounds survived in a row","dataType":"number","entity":"human","key":"rounds survived in a row"}},"value":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"rare items in a row","dataType":"number","entity":"human","key":"rare items in a row"}},"value":0},{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"calculate","items":[{"operator":"+"},1,{"function":"getMin","num1":4,"num2":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.1]}}}]}},"variableName":"tempNumber","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumber"},1],"then":[{"position":{"region":{"function":"getVariable","variableName":"spawn"},"function":"getRandomPositionInRegion"},"entity":{"function":"selectedUnit"},"type":"moveEntity","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumber"},2],"then":[{"position":{"region":{"function":"getVariable","variableName":"spawn2"},"function":"getRandomPositionInRegion"},"entity":{"function":"selectedUnit"},"type":"moveEntity","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumber"},3],"then":[{"position":{"region":{"function":"getVariable","variableName":"spawn3"},"function":"getRandomPositionInRegion"},"entity":{"function":"selectedUnit"},"type":"moveEntity","runMode":0}],"else":[{"position":{"region":{"function":"getVariable","variableName":"spawn4"},"function":"getRandomPositionInRegion"},"entity":{"function":"selectedUnit"},"type":"moveEntity","runMode":0}],"runMode":0,"disabled":false}],"runMode":0,"disabled":false}],"runMode":0,"disabled":false}],"conditions":[{"operandType":"unitType","operator":"!="},{"entity":{"function":"selectedUnit"},"function":"getUnitTypeOfUnit"},"YeSdVwoKp5"],"type":"condition","runMode":0,"isExpanded":{"then":true,"self":true},"comment":"Re-setup unit again."}],"conditions":[{"operandType":"unitType","operator":"!="},{"entity":{"function":"selectedUnit"},"function":"getUnitTypeOfUnit"},"human"],"type":"condition","runMode":0,"isExpanded":{"self":true,"then":true,"else":true}}],"runMode":0,"isExpanded":{"self":true,"then":true},"comment":"Destroy all non-humans."}],"unitGroup":{"function":"allUnits"},"isExpanded":{"self":false,"actions":true},"runMode":0},{"playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"OR","operandType":"or"},[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},30],[{"operandType":"boolean","operator":"=="},{"function":"isBotPlayer","player":{"function":"selectedPlayer"}},true]],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"selectedPlayer"}},3],"then":[{"entity":{"function":"selectedPlayer"},"value":{"items":["+",{"entity":{"function":"selectedPlayer"},"attribute":"points","function":"getPlayerAttribute"},500],"function":"calculate"},"attribute":"points","type":"setPlayerAttribute","comment":""}],"else":[],"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"selectedPlayer"}},3],"then":[{"entity":{"function":"selectedPlayer"},"value":{"items":["+",{"entity":{"function":"selectedPlayer"},"attribute":"points","function":"getPlayerAttribute"},{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},16.66,{"function":"getVariable","variableName":"playerCount"}]},{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getExponent","base":{"function":"calculate","items":[{"operator":"/"},{"function":"getMax","num1":{"function":"calculate","items":[{"operator":"-"},60000,{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}}]},"num2":0},60000]},"power":2},{"function":"calculate","items":[{"operator":"-"},7500,{"function":"calculate","items":[{"operator":"*"},250,{"function":"getVariable","variableName":"playerCount"}]}]}]}}]}],"function":"calculate"},"attribute":"points","type":"setPlayerAttribute","comment":"The more of your score, the lesser score you are given <3","runMode":0}],"else":[],"runMode":0}],"runMode":0,"comment":"Give score for each rounds. <3","isExpanded":{"self":true}}],"type":"forAllPlayers","runMode":0,"isExpanded":{"self":false}},{"type":"forAllItems","actions":[{"entity":{"function":"selectedItem"},"type":"destroyEntity"}],"itemGroup":{"function":"allItemsDroppedOnGround"},"isExpanded":{"self":false}},{"type":"setVariable","value":0.15,"variableName":"@outbreakRatio","comment":""},{"type":"setVariable","value":2,"variableName":"@gainsMultiplier","comment":"","runMode":0},{"type":"setVariable","value":-1,"variableName":"blessedCountdown","comment":"","runMode":0,"disabled":true},{"type":"setVariable","value":0,"variableName":"blessedProgress","runMode":0,"disabled":true},{"type":"setVariable","value":{"function":"currentTimeStamp"},"variableName":"blessedTime","runMode":0,"disabled":true},{"type":"setVariable","value":0,"variableName":"blessedDeltaTime","runMode":0,"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},0.995,{"function":"getMin","num1":0.005,"num2":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"*"},0.00000555,{"function":"calculate","items":[{"operator":"*"},{"function":"getMax","num1":{"function":"getVariable","variableName":"playerCount"},"num2":0},{"function":"getMax","num1":{"function":"getVariable","variableName":"playerCount"},"num2":0}]}]},"precision":4}}]},"variableName":"@zombieDecay","runMode":0,"comment":"0-30 players = slower decay rate for zombie. (decay up to 50% slower when lesser players) <3"},{"type":"setVariable","value":{"function":"getMin","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},{"function":"getVariable","variableName":"playerCount"}]}]}},"variableName":"naturalImmunityMultiplier","comment":"*Every 250 scores, you get natural immunity by 1 point, this value multiply effect.\n*This lower the pill effectivity.\n*Lower this effect parabolically when server player is lower than 31 players.","runMode":0},{"type":"setVariable","value":false,"variableName":"topSurvivorsDone","runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"#eventtype"},"none"],[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"#eventrounds"},1]],"then":[{"type":"sendChatMessage","message":{"function":"concat","textA":"Event : ","textB":{"function":"getVariable","variableName":"#eventtype"}}},{"type":"sendChatMessage","message":{"function":"concat","textA":"Rounds remaining : ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"#eventrounds"}}}},{"type":"setVariable","value":{"function":"getVariable","variableName":"#eventtype"},"variableName":"roundType","comment":""},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"#eventrounds"},1]},"variableName":"#eventrounds","comment":""},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Randomize"],"then":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":6},"variableName":"specialRoundNum","comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},1],"then":[{"type":"setVariable","value":"Zombie Party","variableName":"roundType"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},2],"then":[{"type":"setVariable","value":"Crazy Debris","variableName":"roundType","comment":"","disabled":false}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},3],"then":[{"type":"setVariable","value":"Juke-Only","variableName":"roundType","comment":""}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},4],"then":[{"type":"setVariable","value":"Extra Items","variableName":"roundType","comment":""}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},5],"then":[{"type":"setVariable","value":"Double Gainz","variableName":"roundType","comment":""}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},6],"then":[{"type":"setVariable","value":"Zombie Apocalypse","variableName":"roundType","comment":"","runMode":0}],"else":[],"disabled":false,"runMode":0}],"disabled":false,"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true}},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"#eventrounds"},0],"then":[{"type":"sendChatMessage","message":"Event will be ended in this round, and game will operate normally after this."},{"type":"setVariable","value":"none","comment":"","variableName":"#eventtype"},{"type":"setVariable","value":0,"variableName":"#eventrounds","comment":""}],"else":[],"isExpanded":{"self":true}}],"else":[{"type":"setVariable","value":"none","comment":"","variableName":"#eventtype"},{"type":"setVariable","value":0,"variableName":"#eventrounds","comment":""},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"none"],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getVariable","variableName":"toyCarController"},{"function":"undefinedValue"}],"then":[{"type":"runEntityScript","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getVariable","variableName":"toyCarController"}},"scriptName":"yk6msMMuVs","isEntityScript":true,"entityType":"itemTypes","entityKey":"s1L3qvKP3E","runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":20},1],"then":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":6},"variableName":"specialRoundNum","comment":"","runMode":0}],"else":[],"disabled":false,"isExpanded":{"self":true,"then":true},"runMode":0,"comment":"Choose special round manually"}],"runMode":0,"comment":"Choose Special round by Remote Controller","isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},1],"then":[{"type":"setVariable","value":"Zombie Party","variableName":"roundType"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},2],"then":[{"type":"setVariable","value":"Crazy Debris","variableName":"roundType","comment":"","disabled":false}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},3],"then":[{"type":"setVariable","value":"Juke-Only","variableName":"roundType","comment":""}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},4],"then":[{"type":"setVariable","value":"Extra Items","variableName":"roundType","comment":""}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},5],"then":[{"type":"setVariable","value":"Double Gainz","variableName":"roundType","comment":""}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"specialRoundNum"},6],"then":[{"type":"setVariable","value":"Zombie Apocalypse","variableName":"roundType","comment":"","runMode":0}],"else":[],"disabled":false,"runMode":0}],"disabled":false,"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"self":false},"comment":"Event special rounds."},{"type":"setTimeOut","duration":250,"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Double Gainz"],"then":[{"type":"sendChatMessage","message":"Double Gainz: Humans will receive 2x gains during outbreak."},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@gainsMultiplier"},2]},"variableName":"@gainsMultiplier"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@gainsMultiplier"},1.5]},"variableName":"@gainsMultiplier","runMode":0},{"type":"sendChatMessage","message":"Juke-Only: All objects are gone, only option is to juke."}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Crazy Debris"],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@gainsMultiplier"},1.2]},"variableName":"@gainsMultiplier","runMode":0},{"type":"sendChatMessage","message":"Crazy Debris: The size and types of debris have been randomized!"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Zombie Party"],"then":[{"type":"sendChatMessage","message":"Zombie Party: Zombie pathogen has been evolved on this round! Watch out!","runMode":0},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@gainsMultiplier"},1.2]},"variableName":"@gainsMultiplier","runMode":0},{"type":"setVariable","value":0.33,"variableName":"@outbreakRatio","comment":"","runMode":0},{"type":"setVariable","value":0.995,"variableName":"@zombieDecay","comment":""}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Extra Items"],"then":[{"type":"sendChatMessage","message":"Extra Items: Exclusive items are in the shop!"},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@gainsMultiplier"},1.2]},"variableName":"@gainsMultiplier","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Zombie Mutation"],"then":[{"type":"sendChatMessage","message":"Zombie Mutation: Watch out for the mutated zombies!"},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@gainsMultiplier"},1.2]},"variableName":"@gainsMultiplier","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Zombie Apocalypse"],"then":[{"type":"sendChatMessage","message":"Zombie Apocalypse: Humans are eradicating! Use the limited resources to survive this apocalypse, only the strongest will survive!","runMode":0},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@gainsMultiplier"},1.2]},"variableName":"@gainsMultiplier","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Gazillionx Gains"],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@gainsMultiplier"},{"function":"calculate","items":[{"operator":"*"},{"function":"getExponent","base":{"function":"getRandomNumberBetween","min":14,"max":100},"power":2},0.01]}]},"variableName":"@gainsMultiplier","runMode":0},{"type":"sendChatMessage","message":{"function":"concat","textA":"Gazillionx Gains: This will be chaotic! Humans will receive ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getVariable","variableName":"@gainsMultiplier"}},"textB":"x gains during outbreak."}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"then":false,"else":false,"self":true}},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@gainsMultiplier"},0.5]},"variableName":"actualgainz","runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#LastSurvivorEvent"},true],"then":[{"type":"sendChatMessage","message":"Last survivor event : Last survivor will get additional score reward !","runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType"},"none"],"then":[{"type":"updateUiTextForTimeForPlayer","target":"center-lg","value":{"function":"concat","textA":{"function":"getVariable","variableName":"specialroundtext"},"textB":{"function":"getVariable","variableName":"roundType"}},"player":{"function":"undefinedValue"},"time":10000}],"else":[],"isExpanded":{"self":false},"runMode":0},{"type":"runScript","scriptName":"initialize","isEntityScript":false}],"key":"reset","parent":"ZZxBdBSpaT","order":4,"isExpanded":{"actions":false}},"9O1qXYEBxo":{"key":"9O1qXYEBxo","folderName":"Methods","parent":null,"order":9,"expanded":true},"SJJn6k2qqW":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":false,"variableName":"mysticCrystalExists","comment":"","vars":[]},{"type":"setVariable","value":false,"variableName":"lawnmowerExists","comment":"","runMode":0,"vars":[]},{"type":"setVariable","value":false,"variableName":"RemoteExists","runMode":0,"vars":[]},{"type":"forAllItems","itemGroup":{"function":"allItems","vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},"actions":[{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"selectedItem","vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},"vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},"s1L3qvKP3E"],"then":[{"type":"setVariable","value":true,"variableName":"RemoteExists","comment":"","runMode":0,"vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"selectedItem","vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},"vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},"HoRkmdYOhT"],"then":[{"type":"setVariable","value":true,"variableName":"mysticCrystalExists","comment":"","vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]}],"else":[],"vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"selectedItem","vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},"vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},"Vsq7KR0ugI"],"then":[{"type":"setVariable","value":true,"variableName":"lawnmowerExists","comment":"","runMode":0,"vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]}],"runMode":0,"isExpanded":{"self":false},"vars":[{"id":"selectedItem","source":"forAllItems"},{"id":"getSelectedItem","source":"forAllItems"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"mysticCrystalExists","vars":[]},false],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount","vars":[]},25],"then":[{"type":"spawnItem","itemType":"HoRkmdYOhT","position":{"function":"getRandomPositionInRegion","region":{"function":"getEntireMapRegion","vars":[]},"vars":[]},"runMode":0,"vars":[]},{"type":"sendChatMessage","message":"The mystic crystal has spawned!","runMode":0,"vars":[]}],"else":[],"runMode":0,"vars":[]}],"else":[],"runMode":0,"isExpanded":{"self":false},"vars":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"lawnmowerExists","vars":[]},false],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount","vars":[]},25],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":0,"max":750,"vars":[]},{"function":"getVariable","variableName":"playerCount","vars":[]}],"then":[{"type":"spawnItem","itemType":"Vsq7KR0ugI","position":{"function":"xyCoordinate","x":1964,"y":1134,"vars":[]},"runMode":0,"actionId":"3ce29ce9","vars":[]},{"type":"rotateEntityToRadiansLT","entity":{"function":"getLastCreatedItem","vars":[]},"radians":20,"runMode":0,"vars":[]},{"type":"sendChatMessage","message":"The lawnmower has spawned!","runMode":0,"vars":[]}],"else":[],"runMode":0,"vars":[]}],"else":[],"runMode":0,"vars":[]}],"else":[],"runMode":0,"isExpanded":{"self":false},"vars":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"RemoteExists","vars":[]},false],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":0,"max":50,"vars":[]},{"function":"getVariable","variableName":"playerCount","vars":[]}],"then":[{"type":"spawnItem","itemType":"s1L3qvKP3E","position":{"function":"xyCoordinate","x":1165,"y":2650,"vars":[]},"runMode":0,"actionId":"3ce29ce9","vars":[]},{"type":"sendChatMessage","message":"The remote controller has spawned!","runMode":0,"vars":[]}],"else":[],"runMode":0,"vars":[]}],"else":[],"runMode":0,"isExpanded":{"self":false},"vars":[]}],"name":"Init rare items","parent":"9O1qXYEBxo","key":"SJJn6k2qqW","order":1},"9dbID6Dj6P":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"wallsCreated","vars":[]},false],"then":[{"type":"createUnitAtPosition","unitType":"VNcMwKfVqv","entity":{"function":"getVariable","variableName":"ai","vars":[]},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"*"},{"function":"getMapWidth"},0.5],"vars":[]},"y":-32,"vars":[]},"angle":0,"comment":"top","runMode":0,"vars":[]},{"type":"createUnitAtPosition","unitType":"VNcMwKfVqv","entity":{"function":"getVariable","variableName":"ai","vars":[]},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"*"},{"function":"getMapWidth"},0.5],"vars":[]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getMapHeight"},32],"vars":[]},"vars":[]},"angle":0,"comment":"bottom","runMode":0,"vars":[]},{"type":"createUnitAtPosition","unitType":"jv5Gx97I36","entity":{"function":"getVariable","variableName":"ai","vars":[]},"position":{"function":"xyCoordinate","x":-32,"y":{"function":"calculate","items":[{"operator":"*"},{"function":"getMapHeight"},0.5],"vars":[]},"vars":[]},"angle":0,"comment":"left","runMode":0,"vars":[]},{"type":"createUnitAtPosition","unitType":"jv5Gx97I36","entity":{"function":"getVariable","variableName":"ai","vars":[]},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getMapWidth"},32],"vars":[]},"y":{"function":"calculate","items":[{"operator":"*"},{"function":"getMapHeight"},0.5],"vars":[]},"vars":[]},"angle":0,"comment":"right","runMode":0,"vars":[]},{"type":"createUnitAtPosition","unitType":"2IuOQwfWrJ","entity":{"function":"getVariable","variableName":"ai","vars":[]},"position":{"function":"centerOfRegion","region":{"function":"getVariable","variableName":"spawn","vars":[]},"vars":[]},"angle":0,"runMode":0,"actionId":"363a90f4","vars":[]},{"type":"setVariable","value":0,"variableName":"i","vars":[]},{"type":"while","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"i"},{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"allMissionsStatus"}},4]}],"actions":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":0,"max":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"allMissionsStatus"}},1],"vars":[]},"vars":[]},"variableName":"j","vars":[]},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"j","vars":[]},"string":{"function":"getVariable","variableName":"allMissionsStatus","vars":[]},"vars":[]},"unavailable"],"then":[{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"getVariable","variableName":"j","vars":[]},"string":{"function":"getVariable","variableName":"allMissionsStatus","vars":[]},"value":"unavailable","vars":[]},"variableName":"allMissionsStatus","vars":[]},{"type":"increaseVariableByNumber","variable":"i","number":1,"vars":[]}],"else":[{"type":"continue","vars":[]}],"isExpanded":{"self":true},"vars":[]}],"runMode":0,"isExpanded":{"self":false},"vars":[]},{"type":"setVariable","value":"<p style=\"text-align:center\"><span style=\"font-size:22px\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\"><img alt=\"\" src=\"https://cache.modd.io/asset/spriteImage/1681405242689_resim_2023-04-13_200041195.png\" style=\"height: 38px; width: 30px; margin-left: 2px; margin-right: 2px;\">&nbsp;</span></strong></span><span style=\"font-size:26px\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\">Missions</span></strong></span><span style=\"font-size:22px\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\">&nbsp;<img alt=\"\" src=\"https://cache.modd.io/asset/spriteImage/1681405242689_resim_2023-04-13_200041195.png\" style=\"height: 38px; width: 30px; margin-left: 2px; margin-right: 2px;\"></span></strong></span></p>\n\n<hr>\n<p style=\"text-align:center\">NOTE: You must be <strong>logged in&nbsp;</strong>and Missions can only be completed if there are <strong>25 or more non-guest users in the server!</strong></p>\n\n<p style=\"text-align: center;\">&nbsp;</p>\n","variableName":"missionTextDescription","comment":"","runMode":0,"vars":[]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"allMissionsStatus"}},1],"vars":[]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i","vars":[]},"string":{"function":"getVariable","variableName":"allMissionsStatus","vars":[]},"vars":[]},"unavailable"],"then":[{"type":"setVariable","value":{"function":"concat","textA":{"function":"concat","textA":{"function":"getVariable","variableName":"missionTextDescription","vars":[]},"textB":"<img style=\"height:16px; width:16px\" src=\"https://cache.modd.io/asset/spriteImage/1681405365130_resim_2023-04-13_200244551.png\" alt=\"\">","vars":[]},"textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i","vars":[]},"string":{"function":"getVariable","variableName":"allMissionsNames","vars":[]},"vars":[]},"textB":{"function":"concat","textA":": ","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i","vars":[]},"string":{"function":"getVariable","variableName":"allMissionsStatus","vars":[]},"vars":[]},"textB":"<br>","vars":[]},"vars":[]},"vars":[]},"vars":[]},"variableName":"missionTextDescription","comment":"","runMode":0,"vars":[]}],"else":[],"runMode":0,"vars":[]}],"isExpanded":{"self":false},"runMode":0,"vars":[]},{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"missionTextDescription","vars":[]},"textB":"<p style=\"text-align: center;\"><img src=\"https://cache.modd.io/asset/spriteImage/1681405447024_resim_2023-04-13_200406183.png\" style=\"width: 300px; height: 289px;\"></p>","vars":[]},"variableName":"missionTextDescription","comment":"","runMode":0,"vars":[]},{"type":"setVariable","value":true,"variableName":"wallsCreated","comment":"","vars":[]}],"else":[],"disabled":false,"comment":"reinforce walls","runMode":0,"isExpanded":{"then":true},"vars":[]}],"name":"Server begins","parent":"9O1qXYEBxo","key":"9dbID6Dj6P","order":0},"rtpKFG5JBw":{"triggers":[{"type":"playerCustomInput"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"commandHistory"},"textB":{"function":"concat","textA":"<br>","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getTriggeringPlayer"}},"textB":{"function":"concat","textA":" (","textB":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getTriggeringPlayer"}},"textB":{"function":"concat","textA":") ran: ","textB":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":0,"toIndex":200}}}}}}},"variableName":"commandHistory"},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getTriggeringPlayer"}},true],[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Head Moderator","player":{"function":"getTriggeringPlayer"}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getTriggeringPlayer"}},true]]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"#"},true],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"selectedPlayer"}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"selectedPlayer"}},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getTriggeringPlayer"}},true],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"[Dev] ","textB":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getTriggeringPlayer"}},"textB":{"function":"concat","textA":": ","textB":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":2,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}}}},"player":{"function":"selectedPlayer"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getTriggeringPlayer"}},true],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"[Mod] ","textB":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getTriggeringPlayer"}},"textB":{"function":"concat","textA":": ","textB":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":2,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}}}},"player":{"function":"selectedPlayer"},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"actions":true,"self":false}},{"type":"return","runMode":0}],"else":[],"isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/viewcmdlogs"},true],"then":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"getVariable","variableName":"commandHistory"},"player":{"function":"getTriggeringPlayer"}},{"type":"return","runMode":0}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/sp"},true],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"undefinedValue"},"comment":""},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":4,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}},"patternString":{"function":"getPlayerName","entity":{"function":"selectedPlayer"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"selectedPlayer"},"comment":""}],"else":[]}],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected player doesn't exist","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getPlayerName","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}}},"player":{"function":"getTriggeringPlayer"}}],"isExpanded":{"self":false}},{"type":"return","runMode":0}],"else":[],"isExpanded":{"self":false,"then":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/swm"},true],"then":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":"<p style=\"text-align:center\" class=\"text-danger\">You have been warned by a moderator: </p> ","textB":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":7,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected player doesn't exist","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully warned ","textB":{"function":"getPlayerName","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}}},"player":{"function":"getTriggeringPlayer"}}]},{"type":"return","runMode":0}],"else":[],"disabled":false,"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/viewlogs"},true],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}},9],"then":[{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected player doesn't exist","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":"<p style=\"text-align:center\" class=\"text-danger\">Selected player's chat history: </p> ","textB":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"chatHistory","dataType":"string","entity":"human","key":"chatHistory"}},"player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}}},"player":{"function":"getTriggeringPlayer"}}]}],"else":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":12,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}},{"function":"getPlayerName","entity":{"function":"selectedPlayer"}}],"then":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":"<p style=\"text-align:center\" class=\"text-danger\">Selected player's chat history: </p> ","textB":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"chatHistory","dataType":"string","entity":"human","key":"chatHistory"}},"player":{"function":"selectedPlayer"}}},"player":{"function":"getTriggeringPlayer"}}],"else":[]}]}]},{"type":"return","runMode":0}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/watch"},true],"then":[{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getTriggeringPlayer"},"value":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"isSurvived?","dataType":"boolean","entity":"human","key":"isSurvived?"}},"value":false,"runMode":0},{"type":"condition","conditions":[{"operator":"!=","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getTriggeringPlayer"}},"M9xalZXJ3i"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getTriggeringPlayer"}},"actions":[{"type":"dropAllItems","entity":{"function":"selectedUnit"}},{"type":"playerCameraSetZoom","player":{"function":"getTriggeringPlayer"},"zoom":1200,"runMode":0},{"type":"assignPlayerType","entity":{"function":"getTriggeringPlayer"},"playerType":"M9xalZXJ3i"},{"type":"changeUnitType","entity":{"function":"selectedUnit"},"unitType":"YeSdVwoKp5"},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"selectedUnit"},"value":5.6,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},5.6,3]},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"attribute":"speed","type":"setEntityAttribute","runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0}],"runMode":0}],"else":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getTriggeringPlayer"}},"actions":[{"type":"moveEntity","entity":{"function":"selectedUnit"},"position":{"function":"centerOfRegion","region":{"function":"getVariable","variableName":"spawn"}}},{"type":"playerCameraSetZoom","player":{"function":"getTriggeringPlayer"},"zoom":{"function":"calculate","items":[{"operator":"+"},800,{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"player":{"function":"getTriggeringPlayer"}}]},"runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},1],"then":[{"type":"assignPlayerType","entity":{"function":"getTriggeringPlayer"},"playerType":"zombie"},{"type":"changeUnitType","entity":{"function":"selectedUnit"},"unitType":"zombie"},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"number":2.8,"comment":"","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"selectedUnit"},"value":6.5,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},6.5,1]},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"attribute":"speed","type":"setEntityAttribute","runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"value":4,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0}],"else":[{"type":"assignPlayerType","entity":{"function":"getTriggeringPlayer"},"playerType":"human"},{"type":"changeUnitType","entity":{"function":"selectedUnit"},"unitType":"human"},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"selectedUnit"}},"number":3,"comment":"","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"selectedUnit"},"value":5.6,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},5.6,1]},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"attribute":"speed","type":"setEntityAttribute","runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0}],"isExpanded":{"then":true,"else":true},"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"sendChatMessageToPlayer","message":"- Successfully toggled spectator mode","player":{"function":"getTriggeringPlayer"}},{"type":"return","runMode":0}],"else":[],"isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/reveal"},true],"then":[{"type":"setVariable","value":"--------------------","variableName":"@staffOnIncognito","comment":""},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"selectedPlayer"}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Braainstuber","player":{"function":"selectedPlayer"}},true]],"then":[{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"@staffOnIncognito"},"textB":{"function":"concat","textA":"<br>","textB":{"function":"concat","textA":"Username: ","textB":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"selectedPlayer"}},"textB":{"function":"concat","textA":"<br>","textB":{"function":"concat","textA":"Nickname: ","textB":{"function":"getPlayerName","entity":{"function":"selectedPlayer"}}}}}}}},"variableName":"@staffOnIncognito","comment":""}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"self":false}},{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":"<p style=\"text-align:center\" class=\"text-danger\">Staff in-game: </p>","textB":{"function":"getVariable","variableName":"@staffOnIncognito"}},"player":{"function":"getTriggeringPlayer"}},{"type":"return","runMode":0}],"else":[],"isExpanded":{"self":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/nick "},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}},20],"then":[{"type":"sendChatMessageToPlayer","message":"Max name length : 14 characters.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[{"type":"setPlayerName","player":{"function":"getTriggeringPlayer"},"name":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":6,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Username changed successfully!","player":{"function":"getTriggeringPlayer"},"runMode":0}],"runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"set custom nick [self]","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Head Moderator","player":{"function":"getTriggeringPlayer"}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getTriggeringPlayer"}},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/selectnick "},true],"then":[{"type":"setPlayerName","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"name":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":12,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}},"runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"set custom nick on other players","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/resetcmdlogs"},true],"then":[{"type":"setVariable","value":"","variableName":"commandHistory","comment":""},{"type":"sendChatMessageToPlayer","message":"Reset command history successfully.","player":{"function":"getTriggeringPlayer"}},{"type":"return","runMode":0}],"else":[],"comment":"Reset logs","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/resetwin"},true],"then":[{"type":"setVariable","value":"[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]","variableName":"winrateVars","comment":""},{"type":"sendChatMessageToPlayer","message":"Reset winrate record successful.","player":{"function":"getTriggeringPlayer"}},{"type":"return","runMode":0}],"else":[],"comment":"Reset winrate logs.","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/shout "},true],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"updateUiTextForTimeForPlayer","target":"center-lg","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":7,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}},"player":{"function":"selectedPlayer"},"time":7500}]},{"type":"return","runMode":0}],"else":[],"runOnClient":false,"comment":"display custom center text","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/zombie party"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringIsANumber","string":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":14,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":14,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":"Zombie Party","variableName":"#eventtype","comment":"","disabled":false},{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":14,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#eventrounds","comment":""},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of rounds.","player":{"function":"getTriggeringPlayer"}}]}],"else":[{"type":"setVariable","value":"Zombie Party","variableName":"#eventtype","comment":"","disabled":false},{"type":"setVariable","value":1,"variableName":"#eventrounds","comment":"","disabled":false},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"isExpanded":{"self":true}},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/double gainz"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringIsANumber","string":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":14,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":14,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":"Double Gainz","variableName":"#eventtype","comment":"","disabled":false},{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":14,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#eventrounds","comment":""},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of rounds.","player":{"function":"getTriggeringPlayer"}}]}],"else":[{"type":"setVariable","value":"Double Gainz","variableName":"#eventtype","comment":"","disabled":false},{"type":"setVariable","value":1,"variableName":"#eventrounds","comment":"","disabled":false},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"isExpanded":{"self":true}},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/crazy debris"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringIsANumber","string":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":14,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":14,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":"Crazy Debris","variableName":"#eventtype","comment":"","disabled":false},{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":14,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#eventrounds","comment":""},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of rounds.","player":{"function":"getTriggeringPlayer"}}]}],"else":[{"type":"setVariable","value":"Crazy Debris","variableName":"#eventtype","comment":"","disabled":false},{"type":"setVariable","value":1,"variableName":"#eventrounds","comment":"","disabled":false},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"isExpanded":{"self":true}},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/juke-only"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringIsANumber","string":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":11,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":11,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":"Juke-Only","variableName":"#eventtype","comment":"","disabled":false,"runMode":0},{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":11,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#eventrounds","comment":""},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of rounds.","player":{"function":"getTriggeringPlayer"}}],"runMode":0}],"else":[{"type":"setVariable","value":"Juke-Only","variableName":"#eventtype","comment":"","disabled":false,"runMode":0},{"type":"setVariable","value":1,"variableName":"#eventrounds","comment":"","disabled":false},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"isExpanded":{"self":true},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/extra items"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringIsANumber","string":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":13,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":13,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":"Extra Items","variableName":"#eventtype","comment":"","disabled":false},{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":13,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#eventrounds","comment":""},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of rounds.","player":{"function":"getTriggeringPlayer"}}]}],"else":[{"type":"setVariable","value":"Extra Items","variableName":"#eventtype","comment":"","disabled":false},{"type":"setVariable","value":1,"variableName":"#eventrounds","comment":"","disabled":false},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"isExpanded":{"self":true}},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/randomspecialrounds"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringIsANumber","string":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":21,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":21,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":"Randomize","variableName":"#eventtype","comment":"","disabled":false,"runMode":0},{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":21,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#eventrounds","comment":"","runMode":0},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of rounds.","player":{"function":"getTriggeringPlayer"}}],"runMode":0}],"else":[{"type":"setVariable","value":"Randomize","variableName":"#eventtype","comment":"","disabled":false,"runMode":0},{"type":"setVariable","value":1,"variableName":"#eventrounds","comment":"","disabled":false},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"isExpanded":{"self":true},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/zombie apocalypse"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringIsANumber","string":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":19,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":19,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":"Zombie Apocalypse","variableName":"#eventtype","comment":"","disabled":false,"runMode":0},{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":19,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#eventrounds","comment":"","runMode":0},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of rounds.","player":{"function":"getTriggeringPlayer"}}],"runMode":0}],"else":[{"type":"setVariable","value":"Zombie Apocalypse","variableName":"#eventtype","comment":"","disabled":false,"runMode":0},{"type":"setVariable","value":1,"variableName":"#eventrounds","comment":"","disabled":false},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"isExpanded":{"self":true},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0}],"isExpanded":{"then":true},"runMode":0}],"isExpanded":{"then":true},"runMode":0}],"disabled":false,"comment":"set special round type.","isExpanded":{"self":false,"then":true,"else":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/lastsurvivorevent on"},true],"then":[{"type":"setVariable","value":true,"variableName":"#LastSurvivorEvent","comment":"","runMode":0},{"type":"sendChatMessage","message":"Last survivor of this event will get additional reward !","runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/lastsurvivorevent off"},true],"then":[{"type":"setVariable","value":false,"variableName":"#LastSurvivorEvent","comment":"","runMode":0},{"type":"sendChatMessage","message":"Last survivor event has been ended !","runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"LastSurvivor Event off","isExpanded":{"self":true},"runMode":0}],"comment":"LastSurvivor Event","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/resetspecialround"},true],"then":[{"type":"setVariable","value":0,"comment":"","variableName":"#eventrounds"},{"type":"setVariable","value":"none","comment":"","variableName":"#eventtype"},{"type":"sendChatMessage","message":"Event ended normally by developers, you can continue normal gameplay next round."},{"type":"return","runMode":0}],"else":[],"runOnClient":false,"comment":"Force end special rounds. <3","isExpanded":{"self":false,"then":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/save off"},true],"then":[{"type":"setVariable","value":true,"variableName":"adminAbusin","comment":"","runMode":0},{"type":"setVariable","value":false,"variableName":"@isScoreCounted","runMode":0},{"type":"setVariable","value":false,"variableName":"#MissionValidity","runMode":0},{"type":"sendChatMessage","message":"Highscore saving disabled in server. ","runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/save on"},true],"then":[{"type":"setVariable","value":false,"variableName":"adminAbusin","comment":"","runMode":0},{"type":"setVariable","value":false,"variableName":"@isScoreCounted","runMode":0},{"type":"setVariable","value":5,"variableName":"@scorevalidcounter","runMode":0},{"type":"setVariable","value":false,"variableName":"#MissionValidity","runMode":0},{"type":"sendChatMessage","message":"Highscore saving will be enabled in 5 rounds.","runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"SavemodeON","isExpanded":{"self":true},"runMode":0}],"comment":"SaveOff","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/checksave"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"adminAbusin"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Highscore saving state is disabled.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Highscore saving state is enabled.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"CheckSaveState","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/setzoom"},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getTriggeringPlayer"}},"M9xalZXJ3i"],"then":[{"type":"playerCameraSetZoom","player":{"function":"getTriggeringPlayer"},"zoom":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":9,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Zoom has been set to ","textB":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":9,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"You need to be spectator to set the zoom value.","player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"runMode":0}],"else":[],"comment":"Set Zoom","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getTriggeringPlayer"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/setmyscore"},true],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":12,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":12,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#ScoreVarHandler","comment":"","runMode":0},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getTriggeringPlayer"},"value":{"function":"getVariable","variableName":"#ScoreVarHandler"},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"concat","textA":"Setted your score to : ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"#ScoreVarHandler"}}},"textB":" successfully!"},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of score.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"runMode":0,"isExpanded":{"then":true,"self":true}},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/setscore"},true],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":10,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":10,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#ScoreVarHandler","comment":"","runMode":0},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"},"value":{"function":"getVariable","variableName":"#ScoreVarHandler"},"runMode":0}],"isExpanded":{"actions":true},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"concat","textA":"Setted all players score to : ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"#ScoreVarHandler"}}},"textB":" successfully!"},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of score.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"runMode":0,"isExpanded":{"then":true,"self":true}},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/addscore"},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":10,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":10,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#ScoreVarHandler","comment":"","runMode":0},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"function":"getVariable","variableName":"#ScoreVarHandler"}]},"runMode":0}],"isExpanded":{"actions":true},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"concat","textA":"Added ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"#ScoreVarHandler"}}},"textB":" score successfully!"},"player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of score.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/deductscore"},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":13,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":13,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#ScoreVarHandler","comment":"","runMode":0},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"function":"getVariable","variableName":"#ScoreVarHandler"}]},0],"then":[{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"},"value":0,"runMode":0}],"else":[{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"function":"getVariable","variableName":"#ScoreVarHandler"}]},"runMode":0}],"runMode":0}],"isExpanded":{"actions":true},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"concat","textA":"Deducted ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"#ScoreVarHandler"}}},"textB":" score successfully!"},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of score.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"runMode":0}],"else":[],"comment":"Deduct all players score.","isExpanded":{"self":true},"runMode":0}],"comment":"Add all players score.","isExpanded":{"self":true},"runMode":0}],"comment":"Set all players score.","isExpanded":{"self":true,"then":true},"runMode":0,"disabled":false}],"comment":"Set your score.","isExpanded":{"self":false,"then":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/shrekscore"},true],"then":[{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":12,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"shrekScore"},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Shrek score has ben set to ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"shrekScore"}}},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/shrekthreshold"},true],"then":[{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":16,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"shrekScoreThreshold","runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Shrek score threshold has ben set to ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"shrekScoreThreshold"}}},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/shrekoverride on"},true],"then":[{"type":"setVariable","value":true,"variableName":"shrekscoreOverride","runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Shrek override has been set to : ","textB":"true"},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/shrekoverride off"},true],"then":[{"type":"setVariable","value":false,"variableName":"shrekscoreOverride","runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Shrek override has been set to : ","textB":"false"},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[],"isExpanded":{"self":true},"comment":"Set shrek score, use with caution it can crash server.","runMode":0}],"isExpanded":{"self":true},"comment":"Set shrek score, use with caution it can crash server.","runMode":0}],"isExpanded":{"self":true},"comment":"Set shrek score, use with caution it can crash server.","runMode":0}],"isExpanded":{"self":false},"comment":"Set shrek score, use with caution it can crash server.","runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/setroundtimer"},true],"then":[{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":15,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"timeLeft","comment":""},{"type":"sendChatMessageToPlayer","message":"Timer adjusted successfully.","player":{"function":"getTriggeringPlayer"}},{"type":"return","runMode":0}],"else":[],"isExpanded":{"self":false},"comment":"Set round timer on current state."},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/payout"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringIsANumber","string":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":8,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},true],"then":[{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":8,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"tempNumber","comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},{"function":"undefinedValue"}],"then":[{"type":"sendCoinsToPlayer2","coins":{"function":"getVariable","variableName":"tempNumber"},"player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getVariable","variableName":"tempNumber"},"textB":{"function":"concat","textA":" moddcoins have been given to ","textB":{"function":"getPlayerName","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}}}},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getVariable","variableName":"tempNumber"},"textB":" moddcoins have been given to you, please check your inventory."},"player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Please select player before giving modd coin.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Please input the right amount of coin.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"isExpanded":{"self":false},"runMode":0,"comment":"Normal payout"},{"type":"return","runMode":0}],"else":[],"disabled":false,"comment":"payout moddcoin for testing purpose","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/cleardroppeditems"},true],"then":[{"type":"forAllItems","itemGroup":{"function":"allItemsDroppedOnGround"},"actions":[{"type":"destroyEntity","entity":{"function":"selectedItem"},"runMode":0}],"runMode":0},{"type":"sendChatMessageToPlayer","message":"Destroy all dropped items successfully.","player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[],"disabled":false,"comment":"clear dropped items","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/setgainz"},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":10,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0.5]},"variableName":"actualgainz","comment":"","runMode":0},{"type":"sendChatMessage","message":{"function":"concat","textA":"Gainz has been adjusted to ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"actualgainz"},2]}},"textB":"x"}},"runMode":0},{"type":"return","runMode":0}],"else":[],"isExpanded":{"self":false},"comment":"Set Gainz","runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/item"},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"human"},"actions":[{"type":"forAllItemTypes","itemTypeGroup":{"function":"allItemTypesInGame"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":6,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}},"patternString":{"function":"getItemTypeName","itemType":{"function":"selectedItemType"}}},true],"then":[{"type":"spawnItem","itemType":{"function":"selectedItemType"},"position":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Item : ","textB":{"function":"concat","textA":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":6,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}},"textB":" has been given to all players."}},"player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0,"comment":"Give items to all players","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/firerate"},true],"then":[{"type":"setItemFireRate","number":20,"item":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Sucessfully changed firerate. ","player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"Allow item to have a fast fire rate.","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/clearhelditems"},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"human"],"then":[{"type":"destroyEntity","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"selectedUnit"}},"runMode":0}],"else":[],"runMode":0}],"runMode":0},{"type":"return","runMode":0},{"type":"sendChatMessageToPlayer","message":"Clear all held item by players successfully.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[],"comment":"Destroy held items by humans, ideally to end events where players are given OP items.","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/revokeitem"},true],"then":[{"type":"destroyEntity","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Revoke selected player's item successfully.","player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"^, but for selected player.","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/swapteam"},true],"then":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"human"],"then":[{"type":"dropAllItems","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"runMode":0},{"type":"changeUnitType","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"unitType":"zombie","runMode":0},{"type":"assignPlayerType","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"playerType":"zombie","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"value":6.5,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getTriggeringPlayer"}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getTriggeringPlayer"}}]}]},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getTriggeringPlayer"},"number":2.8,"comment":"","runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"value":4,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0},{"type":"sendChatMessageToPlayer","message":"Your team has been swapped to Zombie.","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Changed selected player team to zombie successfully.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"zombie"],"then":[{"type":"changeUnitType","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"unitType":"human","runMode":0},{"type":"assignPlayerType","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"playerType":"human","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"value":5.6,"runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"UvOpuABaRI","entity":{"function":"getTriggeringPlayer"}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"player":{"function":"getTriggeringPlayer"}}]}]},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"attribute":"speed","type":"setEntityAttribute","disabled":false,"runMode":0},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getTriggeringPlayer"},"number":3,"comment":"","runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0},{"type":"sendChatMessageToPlayer","message":"Your team has been swapped to Human.","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Changed selected player team to human successfully.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[],"runMode":0}],"runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"switch team of selected player.","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/quantity"},true],"then":[{"type":"updateItemQuantity","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"quantity":99999990,"runMode":0},{"type":"sendChatMessageToPlayer","message":"Sucessfully changed quantity. ","player":{"function":"getTriggeringPlayer"},"runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"Allow item to have a bigger quantity.","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/boxify"},true],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}}},"human"],"then":[{"type":"dropAllItems","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"runMode":0},{"type":"changeUnitType","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"unitType":"29hfBRwRqd","runMode":0},{"type":"assignPlayerType","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"playerType":"M9xalZXJ3i","runMode":0},{"type":"sendChatMessageToPlayer","message":"You are now a box.","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Sucessfully changed selected player to a box.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}}},"29hfBRwRqd"],"then":[{"type":"changeUnitType","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"unitType":"human","runMode":0},{"type":"assignPlayerType","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"playerType":"human","runMode":0},{"type":"sendChatMessageToPlayer","message":"You are now a Human.","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Sucessfully changed selected player to a human.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[],"runMode":0}],"runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"turn selected player into a box.","isExpanded":{"self":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/bedify"},true],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}}},"human"],"then":[{"type":"dropAllItems","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"runMode":0},{"type":"changeUnitType","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"unitType":"z2c5zFXYnO","runMode":0},{"type":"assignPlayerType","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"playerType":"M9xalZXJ3i","runMode":0},{"type":"sendChatMessageToPlayer","message":"You are now a bed.","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Sucessfully changed selected player to a bed.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}}},"z2c5zFXYnO"],"then":[{"type":"changeUnitType","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}}},"unitType":"human","runMode":0},{"type":"assignPlayerType","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"playerType":"human","runMode":0},{"type":"sendChatMessageToPlayer","message":"You are now a Human.","player":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Sucessfully changed selected player to a human.","player":{"function":"getTriggeringPlayer"},"runMode":0}],"else":[],"runMode":0}],"runMode":0},{"type":"return","runMode":0}],"else":[],"comment":"turn selected player into a bed.","isExpanded":{"self":false,"then":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"patternString":"/gazillion"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringIsANumber","string":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":11,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":11,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},0],"then":[{"type":"setVariable","value":"Gazillionx Gains","variableName":"#eventtype","comment":"","disabled":false,"runMode":0},{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}},"fromIndex":11,"toIndex":{"function":"getLengthOfString","string":{"function":"playerCustomInput","player":{"function":"getTriggeringPlayer"}}}}},"variableName":"#eventrounds","comment":"","runMode":0},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"sendChatMessageToPlayer","message":"Please enter valid number of rounds.","player":{"function":"getTriggeringPlayer"}}],"runMode":0}],"else":[{"type":"setVariable","value":"Gazillionx Gains","variableName":"#eventtype","comment":"","disabled":false,"runMode":0},{"type":"setVariable","value":1,"variableName":"#eventrounds","comment":"","disabled":false},{"type":"sendChatMessageToPlayer","message":"Special rounds have been set successfully.","player":{"function":"getTriggeringPlayer"}}],"isExpanded":{"self":true},"runMode":0},{"type":"return","runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":false},"comment":"Gazillion special round"}],"else":[],"comment":"developer commands","isExpanded":{"self":true},"runMode":0}],"else":[],"comment":"Head Moderator commands","isExpanded":{"self":true},"runMode":0}],"else":[],"comment":"Moderator commands","isExpanded":{"self":true},"runMode":0}],"name":"Custom input modal","parent":null,"key":"rtpKFG5JBw","order":4},"iIndVfe8Py":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"comment","comment":"see allmissionskey for the order of missions","vars":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#MissionValidity","vars":[]},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPlayerLoggedIn","player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},true],"then":[{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"getVariable","variableName":"tempNumberMission","vars":[]},"string":{"function":"getVariable","variableName":"allMissionsStatus","vars":[]},"value":{"function":"concat","textA":"completed by ","textB":{"function":"concat","textA":{"function":"getPlayerUsername","player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" ✔️","vars":[]},"vars":[]},"vars":[]},"variableName":"allMissionsStatus","comment":"","runMode":0,"vars":[]},{"type":"setVariable","value":"<p style=\"text-align:center\"><span style=\"font-size:22px\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\"><img alt=\"\" src=\"https://cache.modd.io/asset/spriteImage/1681405242689_resim_2023-04-13_200041195.png\" style=\"height: 38px; width: 30px; margin-left: 2px; margin-right: 2px;\">&nbsp;</span></strong></span><span style=\"font-size:26px\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\">Missions</span></strong></span><span style=\"font-size:22px\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\">&nbsp;<img alt=\"\" src=\"https://cache.modd.io/asset/spriteImage/1681405242689_resim_2023-04-13_200041195.png\" style=\"height: 38px; width: 30px; margin-left: 2px; margin-right: 2px;\"></span></strong></span></p>\n\n<hr>\n<p style=\"text-align:center\">NOTE: You must be <strong>logged in&nbsp;</strong>and Missions can only be completed if there are <strong>25 or more non-guest users in the server!</strong></p>\n\n<p style=\"text-align: center;\">&nbsp;</p>\n","variableName":"missionTextDescription","comment":"","runMode":0,"vars":[]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"allMissionsStatus"}},1],"vars":[]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i","vars":[]},"string":{"function":"getVariable","variableName":"allMissionsStatus","vars":[]},"vars":[]},"unavailable"],"then":[{"type":"setVariable","value":{"function":"concat","textA":{"function":"concat","textA":{"function":"getVariable","variableName":"missionTextDescription","vars":[]},"textB":"<img style=\"height:16px; width:16px\" src=\"https://cache.modd.io/asset/spriteImage/1681405365130_resim_2023-04-13_200244551.png\" alt=\"\">","vars":[]},"textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i","vars":[]},"string":{"function":"getVariable","variableName":"allMissionsNames","vars":[]},"vars":[]},"textB":{"function":"concat","textA":": ","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i","vars":[]},"string":{"function":"getVariable","variableName":"allMissionsStatus","vars":[]},"vars":[]},"textB":"<br>","vars":[]},"vars":[]},"vars":[]},"vars":[]},"variableName":"missionTextDescription","comment":"","runMode":0,"vars":[]}],"else":[],"runMode":0,"vars":[]}],"isExpanded":{"self":false},"runMode":0,"vars":[]},{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"missionTextDescription","vars":[]},"textB":"<p style=\"text-align: center;\"><img src=\"https://cache.modd.io/asset/spriteImage/1681405447024_resim_2023-04-13_200406183.png\" style=\"width: 300px; height: 289px;\"></p>","vars":[]},"variableName":"missionTextDescription","comment":"","runMode":0,"vars":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumberMission","vars":[]},0],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},true],"then":[{"type":"sendCoinsToPlayer2","coins":30,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[30 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First Player to get 50k\"","vars":[]},"vars":[]},"runMode":0,"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" earned an extra 50% coins for boosting the discord server!","vars":[]},"vars":[]}],"else":[{"type":"sendCoinsToPlayer2","coins":20,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[20 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First Player to get 50k\"","vars":[]},"vars":[]},"runMode":0,"vars":[]}],"comment":"give +50% coins to people who boost the braains.io discord server","runMode":0,"vars":[]},{"type":"return","vars":[]}],"else":[],"isExpanded":{"self":false},"runMode":0,"comment":"50k score","vars":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumberMission","vars":[]},1],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},true],"then":[{"type":"sendCoinsToPlayer2","coins":30,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[30 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First Player to be the Last Survivor\"","vars":[]},"vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" earned an extra 50% coins for boosting the discord server!","vars":[]},"vars":[]}],"else":[{"type":"sendCoinsToPlayer2","coins":20,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[20 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First Player to be the Last Survivor\"","vars":[]},"vars":[]},"vars":[]}],"comment":"give +50% coins to people who boost the braains.io discord server","vars":[]},{"type":"return","vars":[]}],"else":[],"isExpanded":{"self":false},"runMode":0,"comment":"Last survivor","vars":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumberMission","vars":[]},2],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},true],"then":[{"type":"sendCoinsToPlayer2","coins":7.5,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[7.5 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First Player to Obtain a Rare Item\"","vars":[]},"vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" earned an extra 50% coins for boosting the discord server!","vars":[]},"vars":[]}],"else":[{"type":"sendCoinsToPlayer2","coins":5,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[5 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First Player to Obtain a Rare Item\"","vars":[]},"vars":[]},"vars":[]}],"comment":"give +50% coins to people who boost the braains.io discord server","vars":[]},{"type":"return","vars":[]}],"else":[],"isExpanded":{"self":false},"comment":"First to get rare items","runMode":0,"vars":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumberMission","vars":[]},3],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},true],"then":[{"type":"sendCoinsToPlayer2","coins":7.5,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[7.5 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First Player to Kill a Player Holding a Mystic Crystal\"","vars":[]},"vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" earned an extra 50% coins for boosting the discord server!","vars":[]},"vars":[]}],"else":[{"type":"sendCoinsToPlayer2","coins":5,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[5 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First Player to Kill a Player Holding a Mystic Crystal\"","vars":[]},"vars":[]},"vars":[]}],"comment":"give +50% coins to people who boost the braains.io discord server","vars":[]},{"type":"return","vars":[]}],"else":[],"isExpanded":{"self":false,"then":true},"comment":"First to kill crystal","runMode":0,"vars":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumberMission","vars":[]},4],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},true],"then":[{"type":"sendCoinsToPlayer2","coins":30,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[30 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First player to obtain 2 rare items in a single round\"","vars":[]},"vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" earned an extra 50% coins for boosting the discord server!","vars":[]},"vars":[]}],"else":[{"type":"sendCoinsToPlayer2","coins":20,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[20 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First player to obtain 2 rare items in a single round\"","vars":[]},"vars":[]},"vars":[]}],"comment":"give +50% coins to people who boost the braains.io discord server","vars":[]},{"type":"return","vars":[]}],"else":[],"isExpanded":{"self":false},"runMode":0,"comment":"First to get 2 rare items","vars":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumberMission","vars":[]},5],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},true],"then":[{"type":"sendCoinsToPlayer2","coins":30,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[30 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First player to survive 8 rounds in a row\"","vars":[]},"vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" earned an extra 50% coins for boosting the discord server!","vars":[]},"vars":[]}],"else":[{"type":"sendCoinsToPlayer2","coins":20,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[20 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First player to survive 8 rounds in a row\"","vars":[]},"vars":[]},"vars":[]}],"comment":"give +50% coins to people who boost the braains.io discord server","vars":[]},{"type":"return","vars":[]}],"else":[],"isExpanded":{"self":false},"comment":"First to survive 8 rounds","runMode":0,"vars":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNumberMission","vars":[]},6],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Server Booster","player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},true],"then":[{"type":"sendCoinsToPlayer2","coins":30,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[30 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First player to reach a kill streak of 6\"","vars":[]},"vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" earned an extra 50% coins for boosting the discord server!","vars":[]},"vars":[]}],"else":[{"type":"sendCoinsToPlayer2","coins":20,"player":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"[20 Coins] awarded to ","textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getVariable","variableName":"tempPlayer","vars":[]},"vars":[]},"textB":" for completing the mission: \"First player to reach a kill streak of 6\"","vars":[]},"vars":[]},"vars":[]}],"comment":"give +50% coins to people who boost the braains.io discord server","vars":[]},{"type":"return","vars":[]}],"else":[],"isExpanded":{"self":false},"comment":"First to get 6 killstreak","runMode":0,"vars":[]}],"else":[],"isExpanded":{"self":true},"runMode":0,"vars":[]}],"else":[],"runMode":0,"vars":[]}],"name":"Give mission reward","parent":"9O1qXYEBxo","key":"iIndVfe8Py","order":3},"kva1XO2mLj":{"triggers":[{"type":"coinSendFailureDueToDailyLimit"},{"type":"coinSendFailureDueToInsufficientCoins"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"sendChatMessageToPlayer","message":"Giving coins failed because game owner does not have enough coins or the daily transfer limit was reached.","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"},{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"},{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"sendChatMessageToPlayer","message":"Please report the issue to us on the Braains discord server: https://discord.gg/dPvp5vNMmG","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"},{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"},{"id":"getTriggeringPlayer","source":"trigger"}]}],"name":"Coin given debug","parent":null,"key":"kva1XO2mLj","order":6},"ZZxBdBSpaT":{"key":"ZZxBdBSpaT","folderName":"Round Scripts","parent":null,"order":8,"expanded":true},"2EbK50UMvj":{"triggers":[{"type":"sendCoinsSuccess"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"sendChatMessageToPlayer","message":"ModdCoins have been given successfully!","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"disabled":true,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"sendChatMessageToPlayer","message":"If this does not appear, please contact us on Discord","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"name":"Coins given successfully","parent":null,"key":"2EbK50UMvj","order":7},"LVLbUvKVqp":{"key":"LVLbUvKVqp","folderName":"Others","parent":null,"order":10,"expanded":true},"initialize":{"order":0,"key":"initialize","parent":null,"name":"Initialize","actions":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"runScript","scriptName":"SJJn6k2qqW","comment":""}],"isExpanded":{"self":false},"comment":"Init Rare Item logic","runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"adminAbusin"},false],[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#FirstRound"},false]],"then":[{"type":"setVariable","value":0,"variableName":"inActivePlayers","runMode":0,"comment":"Add active player count validity"},{"type":"setVariable","value":0,"variableName":"inActiveLoginUserCount","runMode":0,"comment":"Add active player count validity"},{"type":"setVariable","value":0,"variableName":"#NonGuestUserCount","runMode":0,"comment":"Add mission validity check."},{"type":"forAllPlayers","playerGroup":{"function":"playersOfPlayerType","playerType":"zombie"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPlayerLoggedIn","player":{"function":"selectedPlayer"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"#NonGuestUserCount"},1]},"variableName":"#NonGuestUserCount","runMode":0},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"selectedPlayer"}},3],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"inActiveLoginUserCount"},1]},"variableName":"inActiveLoginUserCount","runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"selectedPlayer"}},3],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"inActivePlayers"},1]},"variableName":"inActivePlayers","runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"self":false,"actions":true}},{"type":"forAllPlayers","playerGroup":{"function":"playersOfPlayerType","playerType":"human"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPlayerLoggedIn","player":{"function":"selectedPlayer"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"#NonGuestUserCount"},1]},"variableName":"#NonGuestUserCount","runMode":0},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"selectedPlayer"}},3],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"inActiveLoginUserCount"},1]},"variableName":"inActiveLoginUserCount","runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"selectedPlayer"}},3],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"inActivePlayers"},1]},"variableName":"inActivePlayers","runMode":0}],"else":[],"runMode":0}],"runMode":0,"isExpanded":{"self":false}},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"calculate","items":[{"operator":"%"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}},10]},"string":{"function":"getVariable","variableName":"10AveragePlayersVars"},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"playerCount"},{"function":"getVariable","variableName":"inActivePlayers"}]}}},"variableName":"10AveragePlayersVars","runMode":0,"comment":"Set number of average players."},{"type":"setVariable","value":0,"variableName":"i","runMode":0},{"type":"setVariable","value":0,"variableName":"j","runMode":0},{"type":"setVariable","value":0,"variableName":"tempNumber","runMode":0},{"type":"repeat","count":10,"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"10AveragePlayersVars"}}},0],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNumber"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"10AveragePlayersVars"}}}]},"variableName":"tempNumber","runMode":0},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"j"},1]},"variableName":"j","runMode":0}],"else":[],"runMode":0,"comment":"Check average players on existed rounds."},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},1]},"variableName":"i","runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getVariable","variableName":"j"},0],"then":[{"type":"setVariable","value":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"tempNumber"},{"function":"getVariable","variableName":"j"}]},"precision":1},"variableName":"10AveragePlayers","runMode":0}],"else":[{"type":"setVariable","value":0,"variableName":"10AveragePlayers","runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"inActivePlayers"},{"function":"getVariable","variableName":"playerCount"}]},0.25],"then":[{"type":"setVariable","value":false,"variableName":"@isScoreCounted","runMode":0},{"type":"setVariable","value":5,"variableName":"@scorevalidcounter","runMode":0},{"type":"setVariable","value":true,"variableName":"scoreAfkFlag","runMode":0}],"else":[{"type":"setVariable","value":false,"variableName":"scoreAfkFlag","runMode":0},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"10AveragePlayers"},25],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"@scorevalidcounter"},1]},0],"then":[{"type":"setVariable","value":true,"variableName":"@isScoreCounted","runMode":0,"disabled":false},{"type":"setVariable","value":0,"variableName":"@scorevalidcounter","runMode":0}],"else":[{"type":"setVariable","value":false,"variableName":"@isScoreCounted","runMode":0},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"@scorevalidcounter"},1]},"variableName":"@scorevalidcounter","runMode":0}],"runMode":0}],"else":[{"type":"setVariable","value":false,"variableName":"@isScoreCounted","runMode":0},{"type":"setVariable","value":5,"variableName":"@scorevalidcounter","runMode":0}],"isExpanded":{"self":true,"then":true,"else":true},"runMode":0,"comment":"Score Valid counter."}],"runMode":0,"isExpanded":{"then":true}},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"inActiveLoginUserCount"},{"function":"getVariable","variableName":"#NonGuestUserCount"}]},0.25],"then":[{"type":"setVariable","value":true,"variableName":"missionAfkFlag","runMode":0},{"type":"setVariable","value":false,"variableName":"#MissionValidity","runMode":0}],"else":[{"type":"setVariable","value":false,"variableName":"missionAfkFlag","runMode":0},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"#NonGuestUserCount"},{"function":"getVariable","variableName":"inActiveLoginUserCount"}]},25],"then":[{"type":"setVariable","value":true,"variableName":"#MissionValidity","runMode":0}],"else":[{"type":"setVariable","value":false,"variableName":"#MissionValidity","runMode":0}],"runMode":0,"isExpanded":{"self":true},"comment":"Mission valid counter."}],"runMode":0,"comment":"Missions validity"}],"else":[{"type":"setVariable","value":5,"variableName":"@scorevalidcounter","runMode":0},{"type":"setVariable","value":false,"variableName":"@isScoreCounted","runMode":0},{"type":"setVariable","value":false,"variableName":"#MissionValidity","runMode":0}],"runMode":0,"comment":"Do counting logic when server is in normal state.","isExpanded":{"self":false,"then":true}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isBotPlayer","player":{"function":"selectedPlayer"}},false],"then":[{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},"Vsq7KR0ugI"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"selectedPlayer"}},0],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPlayerLoggedIn","player":{"function":"selectedPlayer"}},false],"then":[{"type":"kickPlayer","entity":{"function":"selectedPlayer"},"message":"You were kicked for being idle! To avoid this, please create modd.io account.","disabled":false},{"type":"openDialogueForPlayer","dialogue":"X8RaUwuzvf","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"selectedPlayer"}},false],[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"selectedPlayer"}},false],[{"operator":">=","operandType":"number"},{"function":"getPlayerCount"},42]]],"then":[{"type":"kickPlayer","entity":{"function":"selectedPlayer"},"message":"You were kicked for being idle in full server, to let other players join game.","disabled":false,"runMode":0},{"type":"openDialogueForPlayer","dialogue":"R7uNyOXmE9","player":{"function":"selectedPlayer"},"runMode":0}],"else":[],"disabled":false,"comment":"Check if server have at least 42 players, and they didn't move for 2 rounds, then kick them.","runMode":0}],"disabled":false,"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"selectedPlayer"}},1]},"runMode":0}],"comment":"kick guest accounts after not moving for 2 rounds. <3","isExpanded":{"self":true},"runMode":0}],"comment":"If players equip the lawn, ignore the kick script and set attribute afk to 3","runMode":0,"isExpanded":{"self":true,"else":true,"then":true}},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"numberOfInvitesByPlayer","player":{"function":"selectedPlayer"}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"registeredInvities","dataType":"number","entity":"human","key":"registeredInvities"}},"player":{"function":"selectedPlayer"}}],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"registeredInvities","dataType":"number","entity":"human","key":"registeredInvities"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"registeredInvities","dataType":"number","entity":"human","key":"registeredInvities"}},"player":{"function":"selectedPlayer"}},1]}},{"type":"setPlayerAttribute","attribute":"points","value":{"function":"calculate","items":["+",{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer"}},{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getExponent","base":{"function":"calculate","items":[{"operator":"/"},1,{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"registeredInvities","dataType":"number","entity":"human","key":"registeredInvities"}},"player":{"function":"selectedPlayer"}}]},"power":0.4},1300]},50]}]},"entity":{"function":"selectedPlayer"}},{"type":"sendChatMessageToPlayer","message":"Thanks for inviting your friends! Bonus points added to your score.","player":{"function":"selectedPlayer"}}],"else":[],"disabled":false,"isExpanded":{"self":true},"comment":"Invite script.","runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true}}],"isExpanded":{"self":false,"actions":true},"runMode":0,"comment":"Afk script and invite script."},{"type":"runScript","scriptName":"9dbID6Dj6P","comment":"Initate one time script when server opened.","disabled":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.125]}},"actions":[{"type":"createUnitAtPosition","unitType":"aYgDlbafe5","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1329,"y":2596},"angle":0,"runMode":0,"actionId":"3b6f590f"}],"runMode":0},{"type":"createUnitAtPosition","unitType":"jqadJhnMzn","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1250,"y":2074},"angle":0,"runMode":0,"actionId":"231829da"},{"type":"createUnitAtPosition","unitType":"x9ga5Ck8R1","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1150,"y":2074},"angle":0,"runMode":0,"actionId":"2cc2e6ec"},{"type":"createUnitAtPosition","unitType":"Qc3SIDxQVW","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1150,"y":2074},"angle":0,"runMode":0,"actionId":"35551af7","comment":"Shopkeeper spawn"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":2},1],"then":[{"type":"repeat","count":100,"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":2},1],"then":[{"type":"createUnitAtPosition","unitType":"8rjVe1Ly5l","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getRandomPositionInRegion","region":{"function":"getEntireMapRegion"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":3.14},"runMode":0,"disabled":false}],"else":[{"type":"createUnitAtPosition","unitType":"ERWwLHCFWg","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getRandomPositionInRegion","region":{"function":"getEntireMapRegion"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":3.14},"runMode":0,"disabled":false}],"runMode":0}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}},{"type":"return"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Zombie Apocalypse"],"then":[{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.125]}},"actions":[{"type":"createUnitAtPosition","unitType":"aYgDlbafe5","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1329,"y":2596},"angle":0,"runMode":0,"actionId":"3b6f590f"}],"runMode":0},{"type":"createUnitAtPosition","unitType":"jqadJhnMzn","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1250,"y":2074},"angle":0,"runMode":0,"actionId":"2a32b7fd"},{"type":"createUnitAtPosition","unitType":"x9ga5Ck8R1","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getRandomPositionInRegion","region":{"function":"getEntireMapRegion"}},"angle":0,"runMode":0},{"type":"createUnitAtPosition","unitType":"Qc3SIDxQVW","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1150,"y":2074},"angle":0,"runMode":0,"actionId":"392046ab","comment":"Shopkeeper spawn"},{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.33]}},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"getRandomUnitTypeFromUnitTypeGroup","unitTypeGroup":{"function":"getVariable","variableName":"ZombieApocalypseDBPool"}},"entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getRandomPositionInRegion","region":{"function":"getVariable","variableName":"ZombieApoDebrisSpawn"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":360},"runMode":0}],"runMode":0},{"type":"return"}],"else":[],"isExpanded":{"self":true},"runMode":0,"comment":"Zombie Apocalypse round type"}],"isExpanded":{"self":false,"then":true,"else":true},"runMode":0,"comment":"Special rounds config."},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},5],"then":[{"type":"createUnitAtPosition","unitType":"aYgDlbafe5","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1329,"y":2596},"angle":0,"runMode":0,"actionId":"20cf399d"},{"type":"createUnitAtPosition","unitType":"EqSYv0SPOw","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":664,"y":436},"angle":1.57,"runMode":0,"actionId":"34a9d50e"},{"type":"createUnitAtPosition","unitType":"pidFSD3UGm","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1971,"y":1517},"angle":0,"runMode":0,"actionId":"3f7aa95d"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},10],"then":[{"type":"createUnitAtPosition","unitType":"UNt1XIGGLN","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1117,"y":3135},"angle":0,"runMode":0,"actionId":"27f266f8"},{"type":"createUnitAtPosition","unitType":"aj3m9Ndol9","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":486,"y":866},"angle":0,"runMode":0,"actionId":"3cc8ccf6"},{"type":"createUnitAtPosition","unitType":"iUM1f0LSjz","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1361,"y":2773},"angle":0,"runMode":0,"actionId":"2f80ecbd"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},15],"then":[{"type":"createUnitAtPosition","unitType":"tdsyBTcddN","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1476,"y":3216},"angle":0,"runMode":0,"actionId":"2997c0d1"},{"type":"createUnitAtPosition","unitType":"ibeMPh9ph9","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1738,"y":1294},"angle":0,"runMode":0,"actionId":"39950dae"},{"type":"createUnitAtPosition","unitType":"ifytvLoTQe","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":661,"y":607},"angle":0,"runMode":0,"actionId":"2adeede7"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},20],"then":[{"type":"createUnitAtPosition","unitType":"VNXie3v1Va","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1159,"y":2657},"angle":0,"runMode":0,"actionId":"2ab2e712"},{"type":"createUnitAtPosition","unitType":"GGsbG6YegP","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1240,"y":1342},"angle":0,"runMode":0,"actionId":"30623739"},{"type":"createUnitAtPosition","unitType":"aYgDlbafe5","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1329,"y":2596},"angle":0,"runMode":0,"actionId":"25c2d31a"},{"type":"createUnitAtPosition","unitType":"ifytvLoTQe","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1926,"y":2563},"angle":0,"runMode":0,"actionId":"29d721f7"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},25],"then":[{"type":"createUnitAtPosition","unitType":"tdsyBTcddN","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1078,"y":1146},"angle":0,"runMode":0,"actionId":"2abfe460"},{"type":"createUnitAtPosition","unitType":"iUM1f0LSjz","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1361,"y":2773},"angle":0,"runMode":0,"actionId":"2a0c8d0c"},{"type":"createUnitAtPosition","unitType":"4Jb9mSFEnw","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":445,"y":1048},"angle":0,"runMode":0,"actionId":"2e385dd8"},{"type":"createUnitAtPosition","unitType":"aj3m9Ndol9","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1669,"y":1187},"angle":0,"runMode":0,"actionId":"2f38b334"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},30],"then":[{"type":"createUnitAtPosition","unitType":"ibeMPh9ph9","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1254,"y":3203},"angle":0,"runMode":0,"actionId":"2fbe094b"},{"type":"createUnitAtPosition","unitType":"aYgDlbafe5","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1329,"y":2596},"angle":0,"runMode":0,"actionId":"2aa4a2d9"},{"type":"createUnitAtPosition","unitType":"ifytvLoTQe","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":994,"y":2774},"angle":0,"runMode":0,"actionId":"30fd58eb"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":0,"max":1},0],"then":[{"type":"createUnitAtPosition","unitType":"Mw10zNvHyn","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1802,"y":510},"angle":0,"runMode":0,"actionId":"40e7ad38"}],"else":[{"type":"createUnitAtPosition","unitType":"FP2UYEWMEg","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1802,"y":510},"angle":0,"runMode":0,"actionId":"28c455c7"}],"runMode":0},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},35],"then":[{"type":"createUnitAtPosition","unitType":"rzfnZMante","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1240,"y":1342},"angle":0,"runMode":0,"actionId":"21817f06"},{"type":"createUnitAtPosition","unitType":"hVUbSMbweH","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1514,"y":3075},"angle":0,"runMode":0,"actionId":"39bba788"},{"type":"createUnitAtPosition","unitType":"ifytvLoTQe","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":945,"y":3103},"angle":0,"runMode":0,"actionId":"236e2416"},{"type":"createUnitAtPosition","unitType":"ifytvLoTQe","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1956,"y":1311},"angle":0,"runMode":0,"actionId":"29ab8b33"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},40],"then":[{"type":"createUnitAtPosition","unitType":"Bz0sn6Lr2P","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1305,"y":2006},"angle":0,"runMode":0,"actionId":"3c94d1c5"},{"type":"createUnitAtPosition","unitType":"aYgDlbafe5","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1329,"y":2596},"angle":0,"runMode":0,"actionId":"49aa9a3c"},{"type":"createUnitAtPosition","unitType":"Cwxk5cAWoc","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1427,"y":2429},"angle":0,"runMode":0,"actionId":"363eb060"},{"type":"createUnitAtPosition","unitType":"Wt4QbzBSX3","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1176,"y":2616},"angle":0,"runMode":0,"actionId":"2b0b738b"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},45],"then":[{"type":"createUnitAtPosition","unitType":"aj3m9Ndol9","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":449,"y":2760},"angle":0,"runMode":0,"actionId":"28bc3c91"},{"type":"createUnitAtPosition","unitType":"r236N2dMT8","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":809,"y":3221},"angle":0,"runMode":0,"actionId":"323c72b4"},{"type":"createUnitAtPosition","unitType":"aYgDlbafe5","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1329,"y":2596},"angle":0,"runMode":0,"actionId":"26fcbcd9"},{"type":"createUnitAtPosition","unitType":"ifytvLoTQe","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":969,"y":577},"angle":0,"runMode":0,"actionId":"358fe314"},{"type":"createUnitAtPosition","unitType":"Wt4QbzBSX3","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1038,"y":877},"angle":0,"runMode":0,"actionId":"3304da89"}],"else":[],"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true},"comment":""}],"else":[],"runMode":0,"comment":"Debris dynamic balance","isExpanded":{"self":false}},{"type":"createUnitAtPosition","unitType":"bFJ5AYBzS2","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1495,"y":1762},"angle":0,"runMode":0,"actionId":"36468343"},{"type":"createUnitAtPosition","unitType":"iUM1f0LSjz","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1800,"y":2565},"angle":0,"runMode":0,"actionId":"27a202f4"},{"type":"createUnitAtPosition","unitType":"pidFSD3UGm","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":595,"y":2530},"angle":0,"runMode":0,"actionId":"2398fbd0"},{"type":"createUnitAtPosition","unitType":"ifytvLoTQe","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":262,"y":440},"angle":0,"runMode":0,"actionId":"30d301ff"},{"type":"createUnitAtPosition","unitType":"UV0TG3LUmW","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1354,"y":700},"angle":0,"runMode":0,"actionId":"210eb373"},{"type":"createUnitAtPosition","unitType":"ifytvLoTQe","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":374,"y":908},"angle":0,"runMode":0,"actionId":"35b6ce44"},{"type":"createUnitAtPosition","unitType":"ifytvLoTQe","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1544,"y":1700},"angle":0,"runMode":0,"actionId":"29cd8b87"},{"type":"createUnitAtPosition","unitType":"VuEqdaWrK6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1960,"y":482},"angle":0,"runMode":0,"actionId":"41b69482"},{"type":"createUnitAtPosition","unitType":"VuEqdaWrK6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1751,"y":389},"angle":0,"runMode":0,"actionId":"31bd45ac"},{"type":"createUnitAtPosition","unitType":"VuEqdaWrK6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1811,"y":688},"angle":0,"runMode":0,"actionId":"3263e02d"},{"type":"createUnitAtPosition","unitType":"8uw3kT4jGn","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":845,"y":2654},"angle":0,"runMode":0,"actionId":"3c0fffb9"},{"type":"createUnitAtPosition","unitType":"8uw3kT4jGn","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":442,"y":1362},"angle":0,"runMode":0,"actionId":"2d6562d5"},{"type":"createUnitAtPosition","unitType":"cWbU4TEd6z","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1233,"y":1681},"angle":0,"runMode":0,"actionId":"3a0502e8"},{"type":"createUnitAtPosition","unitType":"Qt6O5vQ73S","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1007,"y":3221},"angle":0,"runMode":0,"actionId":"31e574a3"},{"type":"createUnitAtPosition","unitType":"VuEqdaWrK6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":320,"y":1297},"angle":0,"runMode":0,"actionId":"3712a4d0"},{"type":"createUnitAtPosition","unitType":"ZfLHg1Eobv","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":302,"y":1603},"angle":0,"runMode":0,"actionId":"249e1dff"},{"type":"createUnitAtPosition","unitType":"Qt6O5vQ73S","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":302,"y":1524},"angle":0,"runMode":0,"actionId":"2f5c5c1d"},{"type":"createUnitAtPosition","unitType":"pBQNswWWlN","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1072,"y":1657},"angle":0,"runMode":0,"actionId":"2b46c2cc"},{"type":"createUnitAtPosition","unitType":"eOlHd4YgnY","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1184,"y":720},"angle":0,"runMode":0,"actionId":"2439ff3f"},{"type":"createUnitAtPosition","unitType":"ZfLHg1Eobv","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":922,"y":3220},"angle":0,"runMode":0,"actionId":"3b768877"},{"type":"createUnitAtPosition","unitType":"qZX0VcYjwq","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1610,"y":765},"angle":0,"runMode":0,"actionId":"2d38e1c4"},{"type":"createUnitAtPosition","unitType":"8jLpAyS8V6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":106,"y":3567},"angle":0,"runMode":0,"actionId":"2d9e2e41"},{"type":"createUnitAtPosition","unitType":"qZX0VcYjwq","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1610,"y":765},"angle":0,"runMode":0,"actionId":"28a322dd"},{"type":"createUnitAtPosition","unitType":"2VcqTujggv","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1946,"y":385},"angle":0,"runMode":0,"actionId":"30a74907"},{"type":"createUnitAtPosition","unitType":"2VcqTujggv","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":630,"y":1198},"angle":0,"runMode":0,"actionId":"1d777d09"},{"type":"createUnitAtPosition","unitType":"2VcqTujggv","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1835,"y":1499},"angle":0,"runMode":0,"actionId":"43d161bd"},{"type":"createUnitAtPosition","unitType":"2VcqTujggv","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":886,"y":2918},"angle":0,"runMode":0,"actionId":"2e3f5cd2"},{"type":"createUnitAtPosition","unitType":"lNYum73d8J","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1125,"y":1000},"angle":0,"runMode":0,"actionId":"15545aa1"},{"type":"createUnitAtPosition","unitType":"50i0ayiUUP","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1415,"y":2689},"angle":0,"runMode":0,"actionId":"1d030d05"},{"type":"createUnitAtPosition","unitType":"jAaa0d8bpB","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":461,"y":1237},"angle":0,"runMode":0,"actionId":"2b279fac"},{"type":"createUnitAtPosition","unitType":"zg0q9XdijH","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":538,"y":2813},"angle":0,"runMode":0,"actionId":"2bd43959"},{"type":"createUnitAtPosition","unitType":"zg0q9XdijH","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1240,"y":1605},"angle":0,"runMode":0,"actionId":"37d01041"},{"type":"createUnitAtPosition","unitType":"4nOXRbzNP7","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1529,"y":869},"angle":0,"runMode":0,"actionId":"2b3d3ac9"},{"type":"createUnitAtPosition","unitType":"8uw3kT4jGn","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1351,"y":260},"angle":0,"runMode":0,"actionId":"28b5bc05"},{"type":"createUnitAtPosition","unitType":"50i0ayiUUP","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1614,"y":463},"angle":0,"runMode":0,"actionId":"3037a942"},{"type":"createUnitAtPosition","unitType":"2VcqTujggv","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1624,"y":2908},"angle":0,"runMode":0,"actionId":"1dd25948"},{"type":"createUnitAtPosition","unitType":"8uw3kT4jGn","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1303,"y":3049},"angle":0,"runMode":0,"actionId":"239ae182"},{"type":"createUnitAtPosition","unitType":"aYgDlbafe5","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1329,"y":2596},"angle":0,"runMode":0,"actionId":"38bd5f4b"},{"type":"createUnitAtPosition","unitType":"zg0q9XdijH","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":533,"y":1057},"angle":0,"runMode":0,"actionId":"R4JFHWkKjs"},{"type":"createUnitAtPosition","unitType":"UV0TG3LUmW","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1269,"y":325},"angle":0,"runMode":0,"actionId":"335cc5d2"},{"type":"createUnitAtPosition","unitType":"8uw3kT4jGn","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1136,"y":2771},"angle":0,"runMode":0,"actionId":"224a9405"},{"type":"createUnitAtPosition","unitType":"zg0q9XdijH","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1942,"y":2651},"angle":0,"runMode":0,"actionId":"210161d5"},{"type":"createUnitAtPosition","unitType":"zg0q9XdijH","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1461,"y":3227},"angle":0,"runMode":0,"actionId":"38c79ec6"},{"type":"createUnitAtPosition","unitType":"zg0q9XdijH","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":939,"y":3043},"angle":0,"runMode":0,"actionId":"3016646a"},{"type":"createUnitAtPosition","unitType":"UV0TG3LUmW","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1075,"y":642},"angle":0,"runMode":0,"actionId":"2f2d3ea5"},{"type":"createUnitAtPosition","unitType":"qZX0VcYjwq","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":613,"y":3174},"angle":0,"runMode":0,"actionId":"1d5c41ba"},{"type":"createUnitAtPosition","unitType":"zg0q9XdijH","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1133,"y":3046},"angle":0,"runMode":0,"actionId":"225f7baa"},{"type":"setVariable","value":false,"variableName":"isToiletBroken","comment":""},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Crazy Debris"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"ai"}},"actions":[{"then":[{"type":"createUnitAtPosition","unitType":{"function":"getRandomUnitTypeFromUnitTypeGroup","unitTypeGroup":{"function":"getVariable","variableName":"Objects"}},"entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":360}},{"type":"destroyEntity","entity":{"function":"selectedUnit"},"runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"@"},false],"type":"condition","runMode":0}],"isExpanded":{"self":true},"runMode":0},{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.125]}},"actions":[{"type":"createUnitAtPosition","unitType":"aYgDlbafe5","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1329,"y":2596},"angle":0,"runMode":0,"actionId":"3b6f590f"}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":false,"else":true}},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType"},"Zombie Apocalypse"]],"then":[{"type":"createUnitAtPosition","unitType":"Qc3SIDxQVW","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1150,"y":2074},"angle":0,"runMode":0,"actionId":"2246b014","comment":"Shopkeeper spawn"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},30],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"TimerUntilAirdrop"},0],"then":[{"type":"createUnitAtPosition","unitType":"jqadJhnMzn","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"xyCoordinate","x":1250,"y":2074},"angle":0,"runMode":0,"actionId":"121af947"},{"type":"setVariable","value":1000,"variableName":"TimerUntilAirdrop","runMode":0},{"type":"sendChatMessage","message":"The airdrop has been dropped!","runMode":0}],"else":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"TimerUntilAirdrop"},{"function":"getVariable","variableName":"playerCount"}]},"variableName":"TimerUntilAirdrop","comment":"","disabled":false,"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":false},"runMode":0,"comment":"Drop airdrop on designated rounds.","disabled":false},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":{"function":"calculate","items":[{"operator":"-"},20,{"function":"calculate","items":[{"operator":"*"},0.2,{"function":"getMin","num1":50,"num2":{"function":"getVariable","variableName":"playerCount"}}]}]}},1],"then":[{"type":"createUnitAtPosition","unitType":"x9ga5Ck8R1","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getRandomPositionInRegion","region":{"function":"getEntireMapRegion"}},"angle":0,"runMode":0},{"type":"sendChatMessage","message":"The wizard has arrived! Press [B] at wizard to buy special items!","runMode":0}],"else":[],"runMode":0,"comment":"Wizard spawn","isExpanded":{"self":false},"disabled":false}],"else":[],"runMode":0,"comment":"If round type is not that, try spawn wizard.","isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getVariable","variableName":"toyCarController"},{"function":"undefinedValue"}],"then":[{"type":"runEntityScript","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getVariable","variableName":"toyCarController"}},"scriptName":"rZRY3lAJej","isEntityScript":true,"entityType":"itemTypes","entityKey":"s1L3qvKP3E","runMode":0}],"else":[],"runMode":0,"comment":"Unit Management.","isExpanded":{"self":false}}],"triggers":[{"type":"gameStart"}],"isProtected":true,"isExpanded":{"actions":false}},"pa54ySSC5B":{"triggers":[{"type":"htmlUiClick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"patternString":"emote-picker-","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"emote-picker-1"],"then":[{"type":"setFadingTextOfUnit","text":"Grr!","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"white","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"emote-picker-3"],"then":[{"type":"setFadingTextOfUnit","text":"Stop!","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"white","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"emote-picker-2"],"then":[{"type":"setFadingTextOfUnit","text":"Boohoo","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"white","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"emote-picker-4"],"then":[{"type":"setFadingTextOfUnit","text":"Sorry!","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"white","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"emote-picker-5"],"then":[{"type":"setFadingTextOfUnit","text":"Haha","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"white","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"emote-picker-6"],"then":[{"type":"setFadingTextOfUnit","text":"Push!","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"white","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"emote-picker-7"],"then":[{"type":"setFadingTextOfUnit","text":"Help!","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"white","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"emote-picker-8"],"then":[{"type":"setFadingTextOfUnit","text":"<3","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"white","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"emote-picker-9"],"then":[{"type":"setFadingTextOfUnit","text":"I'm muted :(","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"white","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[],"runMode":0,"isExpanded":{"self":true},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"name":"on ui click","parent":"9O1qXYEBxo","key":"pa54ySSC5B","order":4},"0oa1sIpZ9i":{"triggers":[{"type":"gameStart"},{"type":"serverShuttingDown"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"discordSendMsg","vars":[]},"  "],"then":[{"type":"setVariable","value":{"function":"emptyObject","vars":[]},"variableName":"logSender","disabled":false,"runMode":0,"comment":"","vars":[]},{"type":"addStringElement","key":"content","value":{"function":"getVariable","variableName":"discordSendMsg","vars":[]},"object":{"function":"getVariable","variableName":"logSender","vars":[]},"runMode":0,"vars":[]},{"type":"addObjectElement","key":"allowed_mentions","value":{"function":"stringToObject","string":"{\"parse\":[]}","vars":[]},"object":{"function":"getVariable","variableName":"logSender","vars":[]},"runMode":0,"vars":[]},{"type":"sendSecurePostRequest","apiCredentials":"discord","data":{"function":"getVariable","variableName":"logSender","vars":[]},"varName":"","onSuccess":[],"onFailure":[],"disabled":false,"runMode":0,"vars":[]}],"else":[],"runMode":0,"vars":[]},{"type":"setVariable","value":"  ","variableName":"logSender","vars":[]},{"type":"setVariable","value":"  ","variableName":"discordSendMsg","vars":[]},{"type":"setTimeOut","duration":15000,"actions":[{"type":"runScript","scriptName":"0oa1sIpZ9i","isEntityScript":false,"runMode":0,"vars":[]}],"runMode":0,"vars":[]}],"name":"message sender","parent":"LVLbUvKVqp","key":"0oa1sIpZ9i","order":0},"iKfe4we2bm":{"triggers":[{"type":"gameStart"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":1,"variableName":"i","runMode":0,"disabled":true,"vars":[]},{"type":"repeat","count":45,"actions":[{"type":"addBotPlayer","name":{"function":"concat","textA":"Bot","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"i","vars":[]},"vars":[]},"vars":[]},"disabled":false,"runMode":0,"vars":[]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},1],"vars":[]},"variableName":"i","runMode":0,"vars":[]}],"runMode":0,"disabled":true,"vars":[]},{"type":"addBotPlayer","name":"Botis🤖","disabled":true,"vars":[]},{"type":"addBotPlayer","name":"Bothan🤖","disabled":true,"vars":[]},{"type":"addBotPlayer","name":"Botson🤖","disabled":true,"vars":[]},{"type":"setTimeOut","duration":2000,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"botPlayers","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"actions":[{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"value":{"function":"getRandomNumberBetween","min":1110,"max":5000,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"setEntityAttribute","attribute":"immunity","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"value":{"function":"getRandomNumberBetween","min":1,"max":5,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":0,"max":1,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},0],"then":[{"type":"giveNewItemToUnit","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"DecentItems","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"unit":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"else":[],"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"radius":15000,"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},{"type":"enableAI","unit":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer","vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]},"runMode":0,"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"runMode":0,"disabled":false,"isExpanded":{"self":true},"vars":[{"id":"selectedPlayer","source":"forAllPlayers"},{"id":"getSelectedPlayer","source":"forAllPlayers"}]}],"runMode":0,"disabled":true,"comment":"Do not remove delay !!","vars":[]}],"name":"[DISABLED] Add bots to unpopulated servers","parent":"9O1qXYEBxo","key":"iKfe4we2bm","order":5},"lBignVIR18":{"triggers":[{"type":"adPlayCompleted"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},2],"then":[{"type":"setFadingTextOfUnit","text":"Blessed!","unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"color":"aqua","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},0],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"finishedAds"},1],"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"variableName":"finishedAds","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getTriggeringPlayer"}},1000],"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AdsReward","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"position":{"function":"getEntityPosition","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"sendChatMessageToPlayer","message":"Additional ads reward given !","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"finishedAds"},1],"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"variableName":"finishedAds","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"setPlayerAttribute","attribute":"points","entity":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getTriggeringPlayer"}},1000],"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"sendChatMessageToPlayer","message":"Ads reward given !","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"comment":"If long ads, give more items.","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"name":"WatchAds","parent":null,"key":"lBignVIR18","order":11},"fBeFDlEp11":{"triggers":[{"type":"playerSendsChatMessage"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"human"],"then":[{"type":"runEntityScript","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"scriptName":"DtDrTomb7h","isEntityScript":true,"entityType":"unitTypes","entityKey":"human","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"zombie"],"then":[{"type":"runEntityScript","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"scriptName":"jCJuSicZik","isEntityScript":true,"entityType":"unitTypes","entityKey":"zombie","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"zombieKing"],"then":[{"type":"runEntityScript","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"scriptName":"WBZVV9kCfW","isEntityScript":true,"entityType":"unitTypes","entityKey":"zombieKing","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"0oDaWUo6j6"],"then":[{"type":"runEntityScript","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"scriptName":"cdCAXIq5Nu","isEntityScript":true,"entityType":"unitTypes","entityKey":"0oDaWUo6j6","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"YeSdVwoKp5"],"then":[{"type":"runEntityScript","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"scriptName":"K4XKWHyMYD","isEntityScript":true,"entityType":"unitTypes","entityKey":"YeSdVwoKp5","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"sick"],"then":[{"type":"runEntityScript","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"scriptName":"VM0u6s0vyK","isEntityScript":true,"entityType":"unitTypes","entityKey":"sick","runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"runMode":0,"isExpanded":{"self":false},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"chatHistory","dataType":"string","entity":"human","key":"chatHistory"}},"value":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"chatHistory","dataType":"string","entity":"human","key":"chatHistory"}},"player":{"function":"getTriggeringPlayer"}},"textB":{"function":"concat","textA":"<br>","textB":{"function":"concat","textA":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getTriggeringPlayer"}},"textB":": "},"textB":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}}}}},"comment":"","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"calculate","items":[{"operator":"+"},{"function":"getLengthOfString","string":{"function":"getVariable","variableName":"discordSendMsg"}},{"function":"calculate","items":[{"operator":"+"},{"function":"getLengthOfString","string":{"function":"getPlayerUsername","player":{"function":"getTriggeringPlayer"}}},{"function":"getLengthOfString","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}}}]}],"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},1900],"then":[{"type":"setVariable","value":{"function":"emptyObject","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"variableName":"logSender","disabled":false,"runMode":0,"comment":"","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"addStringElement","key":"content","value":{"function":"getVariable","variableName":"discordSendMsg","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"object":{"function":"getVariable","variableName":"logSender","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"addObjectElement","key":"allowed_mentions","value":{"function":"stringToObject","string":"{\"parse\":[]}","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"object":{"function":"getVariable","variableName":"logSender","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"sendSecurePostRequest","apiCredentials":"discord","data":{"function":"getVariable","variableName":"logSender","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"varName":"","onSuccess":[],"onFailure":[],"disabled":false,"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"setVariable","value":"  ","variableName":"logSender","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"setVariable","value":"  ","variableName":"discordSendMsg","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"else":[],"runMode":0,"comment":"","isExpanded":{"self":false},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"discordSendMsg","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"textB":{"function":"concat","textA":{"function":"concat","textA":"```","textB":{"function":"concat","textA":{"function":"getTimeString","seconds":{"function":"calculate","items":[{"operator":"%"},{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"currentTimeStamp"},0.001]}},86400],"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"textB":" - ","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"textB":{"function":"concat","textA":{"function":"getPlayerUsername","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"textB":{"function":"concat","textA":": ","textB":{"function":"concat","textA":{"function":"replaceValuesInString","matchString":"```","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"newString":"","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"textB":"```","vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]},"variableName":"discordSendMsg","comment":"","disabled":false,"runMode":0,"vars":[{"id":"getTriggeringPlayer","source":"trigger"}]}],"name":"SendChatMSG","parent":null,"key":"fBeFDlEp11","order":5},"zfYqLeZOqr":{"triggers":[{"type":"playerJoinsGame"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":">=","operandType":"number"},{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerCount"},{"function":"getVariable","variableName":"staffplayer"}]},51],[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getTriggeringPlayer"}},false],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getTriggeringPlayer"}},false]]],"then":[{"type":"kickPlayer","entity":{"function":"getTriggeringPlayer"},"message":"Server is full! 2 remaining player slots reserved for mods/admin.","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},1],"then":[{"type":"createUnitAtPosition","unitType":"zombie","entity":{"function":"getTriggeringPlayer"},"position":{"function":"centerOfRegion","region":{"function":"getVariable","variableName":"spawn"}},"angle":0,"runMode":0},{"type":"playerCameraTrackUnit","player":{"function":"getTriggeringPlayer"},"unit":{"function":"getLastCreatedUnit"}},{"type":"assignPlayerType","entity":{"function":"getTriggeringPlayer"},"playerType":"zombie"},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"getLastCreatedUnit"}},"number":2.8,"comment":"","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getLastCreatedUnit"},"value":6.5,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"value":4,"runMode":0}],"else":[{"type":"createUnitAtPosition","unitType":"human","entity":{"function":"getTriggeringPlayer"},"position":{"function":"centerOfRegion","region":{"function":"getVariable","variableName":"spawn"}},"angle":0,"runMode":0},{"type":"playerCameraTrackUnit","player":{"function":"getTriggeringPlayer"},"unit":{"function":"getLastCreatedUnit"}},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"getLastCreatedUnit"}},"number":3,"comment":"","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getLastCreatedUnit"},"value":5.6,"runMode":0},{"type":"assignPlayerType","entity":{"function":"getTriggeringPlayer"},"playerType":"human"}],"disabled":false,"isExpanded":{"self":false},"runMode":0,"comment":"If state = postoutbreak"},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getTriggeringPlayer"}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getTriggeringPlayer"}},true]],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"staffplayer"},1]},"variableName":"staffplayer","runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"value":{"function":"getPlayerUsername","player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"setPlayerName","player":{"function":"getTriggeringPlayer"},"name":{"function":"concat","textA":"user","textB":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":100,"max":1100}}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":true,"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","_returnType":"boolean","name":"Braainstuber","player":{"function":"getTriggeringPlayer","_returnType":"player"}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"value":{"function":"getPlayerUsername","player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"setPlayerName","player":{"function":"getTriggeringPlayer"},"name":{"function":"concat","textA":"user","textB":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":100,"max":1100}}},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":true,"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","_returnType":"boolean","name":"Server Booster","player":{"function":"getTriggeringPlayer","_returnType":"player"}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"getLastCreatedUnit"},"name":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getTriggeringPlayer"}},"textB":" 💎"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","_returnType":"boolean","name":"Artists","player":{"function":"getTriggeringPlayer","_returnType":"player"}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"getLastCreatedUnit"},"name":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getTriggeringPlayer"}},"textB":" 🖌️"},"runMode":0}],"else":[],"disabled":false,"comment":"apply Booster badge","isExpanded":{"self":true},"runMode":0}],"disabled":false,"comment":"apply Booster badge","isExpanded":{"self":true},"runMode":0}],"disabled":false,"comment":"apply youtuber badge","isExpanded":{"self":true},"runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"isPlayerOnMobile","player":{"function":"getTriggeringPlayer"}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoomMobile","dataType":"number","entity":"human","key":"BonusZoomMobile"}},"value":200,"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":false}},{"type":"showUiTextForPlayer","target":"top","entity":{"function":"getTriggeringPlayer"}},{"type":"setUnitNameLabelColorForPlayer","unit":{"function":"getLastCreatedUnit"},"color":"#91EE04","player":{"function":"getTriggeringPlayer"},"runMode":0}],"runMode":0,"isExpanded":{"self":true,"else":true},"disabled":false,"comment":"Determine whether to kick or keep."}],"name":"Player joins","parent":null,"key":"zfYqLeZOqr","order":1}},"unitTypes":{"sick":{"defaultItems":[],"backpackSize":0,"controls":{"abilities":{"movementWheel":{"mobilePosition":{"x":106,"y":141}},"lookWheel":{"mobilePosition":{"x":335,"y":140}},"m":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"KYL7UHOoyd","cost":{},"event":"startCasting","abilityId":"efk4lpqO8f"}},"h":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"jsFzgLk8gR","cost":{},"event":"startCasting","abilityId":"openHelp"}},"w":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"a":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"s":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"d":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"up":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"down":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"left":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"right":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"button3":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yeNiXqBMMz","cost":{},"event":"startCasting","abilityId":"LBkapGWsoG"}},"y":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"WWliSMbp7f","cost":{},"event":"startCasting","abilityId":"kQnDP4CAXI"}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"IPQoUkUi5T","cost":{},"event":"startCasting","abilityId":"5yNnUfOksW"}},"i":{"keyUp":{"scriptName":"w8cRrHle6B","cost":{},"event":"stopCasting","abilityId":"4hY2mGkVPy"},"keyDown":{"scriptName":"rWARHWnwfY","cost":{},"event":"startCasting","abilityId":"4hY2mGkVPy"}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{"5yNnUfOksW":{"name":"Command","eventScripts":{"startCasting":"b3CWiE266s","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"4hY2mGkVPy":{"name":"Emote","eventScripts":{"startCasting":"Pzd7IKwTpG","stopCasting":"djJnjg3LGJ"},"castDuration":"","cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"kQnDP4CAXI":{"name":"Incognito","eventScripts":{"startCasting":"YxBmXgSYZA","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"czZ4hSycF5":{"name":"ResetAFK","eventScripts":{"startCasting":"cAXJ21Eai5","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"LBkapGWsoG":{"name":"SelectUnit","eventScripts":{"startCasting":"r4gfQjOElT","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"efk4lpqO8f":{"name":"Mission","eventScripts":{"startCasting":"ycqCKEiM4X","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"openHelp":{"name":"Help","scriptName":"gQ7diAr0Em","cost":{},"streamMode":1,"eventScripts":{"startCasting":"ntDIb36lVk","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615653303_icons8-question-96.png"}},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"variables":{"isMutated?":{"default":false,"dataType":"boolean"}},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.2","friction":0.01,"density":20,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":true,"bullet":false,"fixedRotation":false,"z-index":{"depth":3,"layer":3},"height":40,"width":40,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"body":"default","name":"default","sound":{},"particles":{},"animation":"default"}},"particles":{"uEqQ4hrXbE":{"velocityVector":{"maxVector":{"y":0.3,"x":0.3},"minVector":{"y":-0.3,"x":-0.3},"baseVector":{"y":0,"x":0}},"mountPosition":{"y":0,"x":0},"deathOpacityBase":0,"quantityTimespan":300,"quantityBase":100,"lifeBase":300,"color":"#00bd1a","name":"zombie blood"}},"sound":{"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517554551027_zombie_growl1.mp3"},"tDiOsacZQ7":{"name":"Bullet hit","file":"https://modd.s3.amazonaws.com/asset/sound/1517558796613_bullet_hits_body2.mp3"}},"body":{"name":"Sick","fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"debris":3}},"spawnPosition":{"y":2000,"x":1500},"attributes":{"immunity":{"name":"Immunity","min":0,"max":"100","value":"0","regenerateSpeed":0,"isVisible":[],"color":"#2fccf7","keys":"immunity","displayValue":false,"origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}},"speed":{"displayValue":false,"name":"Speed","min":"0.75","max":"2.25","value":"0.75","regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#ffe922"}},"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":5,"price":{"playerAttributes":[]},"skin":"https://modd.s3.amazonaws.com/1500985036313_man_sick.png","canBuyItem":false,"handle":"sick","name":"Sick","inventorySlots":4,"inventorySize":0,"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1724087310917_resim_2024-08-19_200830475.png","rowCount":1,"columnCount":1},"inventoryImage":"","isUnTargetable":false,"confinedWithinMapBoundaries":true,"scripts":{"VM0u6s0vyK":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/s"},true],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Server closing down in ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#FirstRound"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score and missions will not be counted in first round!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Avg. 10 rounds player count : ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"10AveragePlayers"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Non-guest player count : ","textB":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"#NonGuestUserCount"},{"function":"getVariable","variableName":"inActiveLoginUserCount"}]}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"adminAbusin"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score will not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Missions are not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"scoreAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of people in the server to be active for score to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"@isScoreCounted"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score in this server is valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"10AveragePlayers"},30],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 30 average players for 5 rounds consecutively, for the score to be counted in leaderboard.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Need ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getVariable","variableName":"@scorevalidcounter"}},"textB":" more rounds for score to be validated."}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"isExpanded":{"self":true},"runMode":0,"comment":"Score Valid counter."}],"runMode":0,"isExpanded":{"else":true,"self":true},"comment":"Score Validity"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"missionAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of logged-in players to be active for missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"#MissionValidity"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Missions in this server are valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Need at least 20 non-guest players for those missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true},"comment":"Mission valid counter."}],"runMode":0,"comment":"Mission Validity","isExpanded":{"self":true}}],"runMode":0,"comment":"Filter valid score.","isExpanded":{"self":true,"else":true,"then":true}}],"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/winrate"},true],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Zombies have won ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"toFixed","value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]}},"precision":0}},"textB":"% of rounds!"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds have been played! An average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":2},"textB":{"function":"concat","textA":" (","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]},"precision":1},"textB":"% of server) humans won each round."}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":9,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds are special round types. ","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":" rounds are not \"Zombie Mutation\" round type."}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"In round type (excluded : zombie party), an average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" people have been played. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" humans survived. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" zombies with  ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":" mutated zombies."}}}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[],"isExpanded":{"then":true,"self":false,"else":true},"comment":"Winrate","runMode":0,"disabled":false}],"comment":"display server info","isExpanded":{"self":true,"else":false,"then":false},"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"toilet"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"broken"},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"thisEntity"}},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"qZX0VcYjwq"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"selectedUnit"},"entityType":"unitTypes"},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"isToiletBroken"},false],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"setFadingTextOfUnit","text":"TOILET BROKEN!","unit":{"function":"thisEntity"},"color":"brown","runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":2,"max":{"function":"calculate","items":[{"operator":"+"},3,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.25]}}]}},"actions":[{"type":"createUnitAtPosition","unitType":"8jLpAyS8V6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"bathroom"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":360},"runMode":0}],"runMode":0},{"type":"setVariable","value":true,"variableName":"isToiletBroken","comment":""},{"type":"return","runMode":0}],"else":[],"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Toilet is already broken! Please try again next round.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"runMode":0}],"else":[],"isExpanded":{"self":true},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":true},"runMode":0}],"else":[],"comment":"easteregg <3","isExpanded":{"self":false},"runMode":0}],"name":"Player sends chat message","parent":null,"key":"VM0u6s0vyK","order":0},"NQaw3yRJph":{"key":"NQaw3yRJph","folderName":"Keys","parent":null,"order":1,"expanded":true},"b3CWiE266s":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"showInputModalToPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"inputLabel":{"function":"getVariable","variableName":"customInputModalMessage"},"runMode":0}],"else":[],"runMode":0}],"name":"space - custom input modal","parent":"NQaw3yRJph","key":"b3CWiE266s","order":0},"Pzd7IKwTpG":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"i - emote","parent":"NQaw3yRJph","key":"Pzd7IKwTpG","order":1},"djJnjg3LGJ":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"hideUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"close emote","parent":"NQaw3yRJph","key":"djJnjg3LGJ","order":2},"YxBmXgSYZA":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Braainstuber","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔨"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔪"},"comment":"Apply mod badge","runMode":0}],"else":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" ⭐"},"comment":"Apply star badge","runMode":0}],"runMode":0,"comment":"apply dev badge"}],"runMode":0,"comment":"apply dev badge"}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":true,"runMode":0},{"type":"setPlayerName","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"name":{"function":"concat","textA":"user","textB":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":100,"max":1100}}},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"name":"y - toggle incognito mode","parent":"NQaw3yRJph","key":"YxBmXgSYZA","order":3},"cAXJ21Eai5":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0}],"name":"wasd - reset afk kick timer","parent":"NQaw3yRJph","key":"cAXJ21Eai5","order":4},"r4gfQjOElT":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"undefinedValue"},"comment":"","disabled":false,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"undefinedValue"},"comment":"","runMode":0,"disabled":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"width":8,"height":8}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"getOwner","entity":{"function":"selectedUnit"}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected player doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getPlayerName","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"selectedUnit"},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected unit doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Unit ID : ","textB":{"function":"getEntityId","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true},"disabled":false}],"else":[],"runMode":0}],"name":"start right click - select player/ability","parent":"NQaw3yRJph","key":"r4gfQjOElT","order":6},"ycqCKEiM4X":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"getVariable","variableName":"missionTextDescription"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"m - open missions panel","parent":"NQaw3yRJph","key":"ycqCKEiM4X","order":7},"ntDIb36lVk":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":{"function":"concat","textA":{"function":"concat","textA":"Time until server shuts down: ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"textB":"<br>Hello "},"textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":",<br>\n<br>\nWelcome to Braains.io! <br>\n[H] to open this again <br>\n<br>\nControls: <br>\n[WASD] or [Arrow Keys] to move<br>\n[Mouse] to rotate<br>\n[Left Click] to use item<br>\n[B] to buy item<br>\n[E] to pickup item on ground<br>\n[G] to drop item from your hotbar to the ground<br>\n[Z] to teleport to spawn (for zombies only, 60s cooldown)<br>\n[/tag tagname] to add tag (replace tagname with your tag) *Disabled for this time being<br>\n[/removetag] to remove your tag<br>\n[/s] to check server status<br>\n[/winrate] to check winrate data<br>\n<br>\nYou must be logged in to use the following features:<br>\n[ENTER] to open and send chat message<br>\n[M] to open the current server's missions (earn moddCoins!)\n<br><br>\nYou can register an account by click the top left 'MENU' button and clicking 'Login'.<br>\nNeed help? Click the Discord icon below the 'Play' button!<br>\nDisable Ads-Blocker for more reward at the end of the round!<br>\n<br>\nBadges (next to name): ⭐ = Verified Youtuber, 🔪 = Moderator, 🔨 = Developer, 🖌️= Artist\n<br><br>\nHave fun!<br>\n— Devs"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"h - help","parent":"NQaw3yRJph","key":"ntDIb36lVk","order":8}},"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","letGoDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false},"unitTypes":{"sick":{"scripts":{"T9GAhgiWnN":{"name":"press E"},"wGD2soiRiq":{"name":"Emit mutated particles"}}}},"streamMode":1,"id":"sick","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false},"zombie":{"backpackSize":0,"controls":{"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","abilities":{"z":{"keyDown":{"cost":{},"abilityId":"teleportZombieToSpawn","event":"startCasting","isEntityScript":true},"keyUp":{"cost":{},"scriptName":""},"mobilePosition":{"x":354,"y":218}},"movementWheel":{"mobilePosition":{"x":118,"y":139}},"lookWheel":{"mobilePosition":{"x":318,"y":141}},"y":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"WWliSMbp7f","cost":{},"event":"startCasting","abilityId":"kQnDP4CAXI"},"mobilePosition":{"x":262,"y":29}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"IPQoUkUi5T","cost":{},"event":"startCasting","abilityId":"5yNnUfOksW"},"mobilePosition":{"x":347,"y":29}},"button3":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yeNiXqBMMz","cost":{},"event":"startCasting","abilityId":"LBkapGWsoG"}},"w":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"a":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"s":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"d":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"up":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"left":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"down":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"right":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"m":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"KYL7UHOoyd","cost":{},"event":"startCasting","abilityId":"efk4lpqO8f"},"mobilePosition":{"x":305,"y":29}},"h":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"jsFzgLk8gR","cost":{},"event":"startCasting","abilityId":"openHelp"}},"i":{"keyUp":{"scriptName":"w8cRrHle6B","cost":{},"event":"stopCasting","abilityId":"4hY2mGkVPy"},"keyDown":{"cost":{},"scriptName":"rWARHWnwfY","event":"startCasting","abilityId":"4hY2mGkVPy"}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{"teleportZombieToSpawn":{"cost":{"unitAttributes":{}},"scriptName":"2QHXwLnfUm","name":"Teleport Zombie To Spawn","streamMode":1,"eventScripts":{"startCasting":"Q4E9pwAhdw","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615102917_icons8-portal-144.png","cooldown":null},"5yNnUfOksW":{"name":"Command","eventScripts":{"startCasting":"0xuIojgXB3","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"4hY2mGkVPy":{"name":"Emote","eventScripts":{"startCasting":"fskwGv0JAN","stopCasting":"x9fOoWbSTK"},"castDuration":"","cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"kQnDP4CAXI":{"name":"Incognito","eventScripts":{"startCasting":"862AVIYAle","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"czZ4hSycF5":{"name":"ResetAFK","eventScripts":{"startCasting":"2XwIy9X4Wg","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"LBkapGWsoG":{"name":"SelectUnit","eventScripts":{"startCasting":"BmJSxRymK4","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"openHelp":{"name":"Help","scriptName":"gQ7diAr0Em","cost":{},"streamMode":1,"eventScripts":{"startCasting":"2G7ddLOlmg","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615653303_icons8-question-96.png"},"efk4lpqO8f":{"name":"Mission","eventScripts":{"startCasting":"nns34FwfKx","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""}},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"inventoryImage":"","cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1737913774842_green_zombie.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"inventorySize":0,"name":"Zombie","handle":"zombie","canBuyItem":false,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/zombie.png","price":{"playerAttributes":[]},"baseSpeed":54,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"r":{"keyDown":"sqm3Jypsek","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"x":404,"y":170}},"movementWheel":{"mobilePosition":{"x":37,"y":169}},"z":{"keyUp":"","keyDown":"teleportZombieToSpawn"}},"attributes":{"speed":{"color":"#ffe922","showAsHUD":true,"isVisible":[],"regenerateSpeed":0,"value":6.5,"max":"19.5","min":"6.5","name":"Speed","displayValue":false,"origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}}},"spawnPosition":{"x":1500,"y":2000},"body":{"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}],"name":"Zombie"},"sound":{"tDiOsacZQ7":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517558822835_bullet_hits_body1.mp3","name":"Bullet hit"}},"particles":{"uEqQ4hrXbE":{"velocityVector":{"maxVector":{"y":0.3,"x":0.3},"minVector":{"y":-0.3,"x":-0.3},"baseVector":{"y":0,"x":0}},"mountPosition":{"y":0,"x":0},"deathOpacityBase":0,"quantityTimespan":300,"quantityBase":100,"lifeBase":300,"color":"#00bd1a","name":"zombie blood"}},"states":{"default":{"animation":"default","particles":{},"sound":{},"name":"default","body":"default"}},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.2,"friction":0.01,"density":15,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":false,"fixedRotation":false,"z-index":{"depth":5,"layer":4},"height":40,"width":40,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"invincibilityItem":{"dataType":"item"},"invincibilityItemEffect":{"dataType":"itemType"}},"defaultItems":[],"confinedWithinMapBoundaries":true,"ai":{"pathFindingMethod":"a*","idleBehaviour":"wander","sensorResponse":"fight","attackResponse":"none","maxTravelDistance":4300,"sensorRadius":1,"maxAttackRange":0,"enabled":false,"letGoDistance":2500},"scripts":{"1535xLPuSf":{"name":"Infect human","triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"string"},{"function":"getVariable","variableName":"state"},"postoutbreak"],"actions":[{"else":[],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},0],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},"human"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isExtraLife?","dataType":"boolean","entity":"dUlUsudomI","key":"isExtraLife?"}},"entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isInvincibility?","dataType":"boolean","entity":"Et4kssMFKb","key":"isInvincibility?"}},"entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"itemType"},{"function":"getItemTypeOfItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},"HoRkmdYOhT"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"thisEntity"}},"variableName":"tempPlayer","comment":""},{"type":"setVariable","value":3,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0},{"entity":{"function":"getLastTouchedUnit"},"type":"dropAllItems"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0},{"type":"changeUnitType","entity":{"function":"getLastTouchedUnit"},"unitType":"zombie","comment":"","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getLastTouchedUnit"},"value":6.5,"runMode":0},{"comment":"","entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"playerType":"zombie","type":"assignPlayerType"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"human","key":"killStreakTimer"}},"value":0,"runMode":0},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},3],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},0.65,{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}}]}},"runMode":0,"comment":"Get score when infect other humans [no streak added]"}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},750,{"function":"getMin","num1":3,"num2":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},1]}}]},{"function":"calculate","items":[{"operator":"+"},{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},0.65,{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}}]}},{"function":"calculate","items":[{"operator":"-"},2000,{"function":"calculate","items":[{"operator":"*"},50,{"function":"getMin","num1":40,"num2":{"function":"getVariable","variableName":"playerCount"}}]}]}]}]},"runMode":0,"comment":"Get score when infect other humans."},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},1]},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"zombie","key":"killStreakTimer"}},"value":{"function":"getMin","num1":8,"num2":{"function":"calculate","items":[{"operator":"+"},5,{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"human","key":"killStreakTimer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}]}},"comment":"","disabled":false,"runMode":0}],"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":"+","textB":{"function":"numberToString","value":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"color":"#44ff6a","runMode":0},{"comment":"","entity":{"entity":{"function":"thisEntity"},"function":"getOwner"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}]},"attribute":"points","type":"setPlayerAttribute","runMode":0},{"entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"value":{"items":[{"operator":"*"},{"entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"attribute":"points","function":"getPlayerAttribute"},0.35],"function":"calculate"},"attribute":"points","type":"setPlayerAttribute","comment":"","runMode":0},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"number":2.8,"comment":"","runMode":0},{"player":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"message":"You are a zombie now! If you're stuck, press [Z] to teleport to spawn position","type":"sendChatMessageToPlayer"},{"scale":{"items":["+",1,{"items":[{"operator":"*"},{"entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"attribute":"points","function":"getPlayerAttribute"},0.0001],"function":"calculate"}],"function":"calculate"},"entity":{"function":"getLastTouchedUnit"},"type":"changeScaleOfEntitySprite","runMode":0},{"scale":{"items":["+",1,{"items":[{"operator":"*"},{"entity":{"entity":{"function":"thisEntity"},"function":"getOwner"},"attribute":"points","function":"getPlayerAttribute"},0.0001],"function":"calculate"}],"function":"calculate"},"entity":{"function":"thisEntity"},"type":"changeScaleOfEntitySprite","runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getLastTouchedUnit"},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},0.0000333]}]}]},"entity":{"function":"getLastTouchedUnit"},"attribute":"speed","type":"setEntityAttribute","runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"thisEntity"},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},0.0000333]}]}]},"entity":{"function":"thisEntity"},"attribute":"speed","type":"setEntityAttribute","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":">="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},2],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":">="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},6],"then":[{"type":"setTimeOut","duration":600,"actions":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" kill streak!"},"color":"#dc3545","runMode":0}],"runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"thisEntity"}},"variableName":"tempPlayer","comment":""},{"type":"setVariable","value":6,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"setTimeOut","duration":600,"actions":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},2]},"string":{"function":"getVariable","variableName":"killStreakMessages"}}},"color":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},2]},"string":{"function":"getVariable","variableName":"killStreakMessages"}}},"runMode":0}],"runMode":0}],"runMode":0}],"else":[],"disabled":false,"runMode":0}],"else":[{"type":"return"}],"comment":"if the player has the dark shield immunity, they cannot get infected","runMode":0}],"else":[{"type":"comment","comment":"if the player has a dark shield or wings, give them an extra life"},{"type":"setFadingTextOfUnit","unit":{"function":"getLastTouchedUnit"},"text":"Extra Life!","color":"yellow"},{"type":"setEntityVariable","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItem","dataType":"item","entity":"zombie","key":"invincibilityItem"}},"value":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}},"position":{"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getLastTouchedUnit"},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItem","dataType":"item","entity":"zombie","key":"invincibilityItem"}},"entity":{"function":"thisEntity"}},"disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"value":{"function":"undefinedValue"},"runMode":0}],"comment":"if the player is holding a dark shield or wings, give them an extra life instead","runMode":0}],"else":[],"runMode":0}],"else":[],"comment":"zombies cannot infect humans immediately after joining or teleporting to spawn","runMode":0}],"conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},1],"type":"condition","runMode":0,"comment":"state = postoutbreak"}],"key":"1535xLPuSf","parent":null,"order":0},"YnK58YN6ZD":{"key":"YnK58YN6ZD","folderName":"Keys","parent":null,"order":2,"expanded":true},"jCJuSicZik":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/s"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#FirstRound"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score and missions will not be counted in first round!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Avg. 10 rounds player count : ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"10AveragePlayers"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Non-guest player count : ","textB":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"#NonGuestUserCount"},{"function":"getVariable","variableName":"inActiveLoginUserCount"}]}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"adminAbusin"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score will not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Missions are not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"scoreAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of people in the server to be active for score to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"@isScoreCounted"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score in this server is valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"10AveragePlayers"},25],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 average players for 5 rounds consecutively, for the score to be counted in leaderboard.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Need ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getVariable","variableName":"@scorevalidcounter"}},"textB":" more rounds for score to be validated."}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"isExpanded":{"self":true},"runMode":0,"comment":"Score Valid counter."}],"runMode":0,"isExpanded":{"else":true,"self":true},"comment":"Score Validity"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"missionAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of logged-in players to be active for missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"#MissionValidity"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Missions in this server are valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 non-guest players for those missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true},"comment":"Mission valid counter."}],"runMode":0,"comment":"Mission Validity","isExpanded":{"self":true}}],"runMode":0,"comment":"Filter valid score.","isExpanded":{"self":true,"else":true,"then":true}}],"runMode":0,"isExpanded":{"self":true}},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Server closing down in ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/winrate"},true],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Zombies have won ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"toFixed","value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]}},"precision":0}},"textB":"% of rounds!"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds have been played! An average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":2},"textB":{"function":"concat","textA":" (","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]},"precision":1},"textB":"% of server) humans won each round."}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":9,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds are special round types. ","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":" rounds are not \"Zombie Mutation\" round type."}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"In round type (excluded : zombie party), an average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" people have been played. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" humans survived. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" zombies with  ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":" mutated zombies."}}}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[],"isExpanded":{"then":false,"self":true,"else":true},"comment":"Winrate","runMode":0,"disabled":false}],"comment":"display server info","isExpanded":{"self":true,"else":true,"then":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"toilet"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"broken"},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"thisEntity"}},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"qZX0VcYjwq"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"selectedUnit"},"entityType":"unitTypes"},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"isToiletBroken"},false],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"setFadingTextOfUnit","text":"TOILET BROKEN!","unit":{"function":"thisEntity"},"color":"brown","runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":2,"max":{"function":"calculate","items":[{"operator":"+"},3,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.25]}}]}},"actions":[{"type":"createUnitAtPosition","unitType":"8jLpAyS8V6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"bathroom"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":360},"runMode":0}],"runMode":0},{"type":"setVariable","value":true,"variableName":"isToiletBroken","comment":""},{"type":"return","runMode":0}],"else":[],"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Toilet is already broken! Please try again next round.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"runMode":0}],"else":[],"isExpanded":{"self":true},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":true},"runMode":0}],"else":[],"comment":"easteregg <3","isExpanded":{"self":true},"runMode":0}],"name":"Player sends chat message","parent":null,"key":"jCJuSicZik","order":1},"0xuIojgXB3":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"showInputModalToPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"inputLabel":{"function":"getVariable","variableName":"customInputModalMessage"},"runMode":0}],"else":[],"runMode":0}],"name":"space - custom input modal","parent":"YnK58YN6ZD","key":"0xuIojgXB3","order":0},"Q4E9pwAhdw":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},0],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"value":4,"runMode":0},{"position":{"region":{"variableName":"spawn","function":"getVariable"},"function":"centerOfRegion"},"entity":{"function":"thisEntity"},"type":"moveEntity","comment":"","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"value":50,"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Wait ","textB":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" seconds to teleport to spawn position."}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"name":"z - teleport zombie","parent":"YnK58YN6ZD","key":"Q4E9pwAhdw","order":1},"fskwGv0JAN":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"i - emote","parent":"YnK58YN6ZD","key":"fskwGv0JAN","order":3},"x9fOoWbSTK":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"hideUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"close emote","parent":"YnK58YN6ZD","key":"x9fOoWbSTK","order":4},"862AVIYAle":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Braainstuber","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔨"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔪"},"comment":"Apply mod badge","runMode":0}],"else":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" ⭐"},"comment":"Apply star badge","runMode":0}],"runMode":0,"comment":"apply dev badge"}],"runMode":0,"comment":"apply dev badge"}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":true,"runMode":0},{"type":"setPlayerName","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"name":{"function":"concat","textA":"user","textB":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":100,"max":1100}}},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"name":"y - toggle incognito mode","parent":"YnK58YN6ZD","key":"862AVIYAle","order":5},"2XwIy9X4Wg":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0}],"name":"wasd - reset afk kick timer","parent":"YnK58YN6ZD","key":"2XwIy9X4Wg","order":6},"BmJSxRymK4":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"undefinedValue"},"comment":"","disabled":false,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"undefinedValue"},"comment":"","runMode":0,"disabled":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"width":8,"height":8}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"getOwner","entity":{"function":"selectedUnit"}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected player doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getPlayerName","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"selectedUnit"},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected unit doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Unit ID : ","textB":{"function":"getEntityId","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true},"disabled":false}],"else":[],"runMode":0}],"name":"start right click - select player/ability","parent":"YnK58YN6ZD","key":"BmJSxRymK4","order":7},"nns34FwfKx":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"getVariable","variableName":"missionTextDescription"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"m - open missions panel","parent":"YnK58YN6ZD","key":"nns34FwfKx","order":8},"2G7ddLOlmg":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":{"function":"concat","textA":{"function":"concat","textA":"Time until server shuts down: ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"textB":"<br>Hello "},"textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":",<br>\n<br>\nWelcome to Braains.io! <br>\n[H] to open this again <br>\n<br>\nControls: <br>\n[WASD] or [Arrow Keys] to move<br>\n[Mouse] to rotate<br>\n[Left Click] to use item<br>\n[B] to buy item<br>\n[E] to pickup item on ground<br>\n[G] to drop item from your hotbar to the ground<br>\n[Z] to teleport to spawn (for zombies only, 60s cooldown)<br>\n[/tag tagname] to add tag (replace tagname with your tag) *Disabled for this time being<br>\n[/removetag] to remove your tag<br>\n[/s] to check server status<br>\n[/winrate] to check winrate data<br>\n<br>\nYou must be logged in to use the following features:<br>\n[ENTER] to open and send chat message<br>\n[M] to open the current server's missions (earn moddCoins!)\n<br><br>\nYou can register an account by click the top left 'MENU' button and clicking 'Login'.<br>\nNeed help? Click the Discord icon below the 'Play' button!<br>\nDisable Ads-Blocker for more reward at the end of the round!<br>\n<br>\nBadges (next to name): ⭐ = Verified Youtuber, 🔪 = Moderator, 🔨 = Developer, 🖌️= Artist\n<br><br>\nHave fun!<br>\n— Devs"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"h - help","parent":"YnK58YN6ZD","key":"2G7ddLOlmg","order":9}},"isUnTargetable":false,"unitTypes":{"zombie":{"scripts":{"aKYwIKO0tu":{"name":"every second"},"ybYYDoE2cI":{"name":"test"},"kHwXxeBZ1j":{"name":"j - secret script"}}}},"streamMode":1,"id":"zombie","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false},"zombieKing":{"ai":{"enabled":false,"maxAttackRange":1,"sensorRadius":1,"maxTravelDistance":4300,"attackResponse":"fight","sensorResponse":"fight","idleBehaviour":"wander","pathFindingMethod":"a*","letGoDistance":4555},"defaultItems":[],"variables":{"invincibilityItem":{"dataType":"item"},"invincibilityItemEffect":{"dataType":"itemType"}},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.2,"friction":0.01,"density":22.5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":true,"bullet":false,"fixedRotation":false,"z-index":{"depth":5,"layer":4},"height":40,"width":40,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1737913796039_red_zombie.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"body":{"name":"Zombie King","fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true}},"spawnPosition":{"y":2000,"x":1500},"attributes":{"speed":{"name":"Speed","min":"6.7","max":"20.1","value":6.7,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#ffe922","displayValue":false,"origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}}},"abilities":{"movementWheel":{"mobilePosition":{"y":175,"x":35}},"lookWheel":{"mobilePosition":{"y":173,"x":404}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"r":{"keyUp":"","keyDown":"sqm3Jypsek"},"h":{"keyUp":"","keyDown":"openHelp"},"z":{"keyUp":"","keyDown":"teleportZombieToSpawn"}},"baseSpeed":62,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/zombie_king.png","canBuyItem":false,"handle":"zombieKing","name":"Zombie King","inventorySize":0,"sound":{"tDiOsacZQ7":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517558796613_bullet_hits_body2.mp3","name":"Bullet hit"}},"particles":{"uEqQ4hrXbE":{"velocityVector":{"maxVector":{"y":0.3,"x":0.3},"minVector":{"y":-0.3,"x":-0.3},"baseVector":{"y":0,"x":0}},"mountPosition":{"y":0,"x":0},"deathOpacityBase":0,"quantityTimespan":300,"quantityBase":100,"lifeBase":300,"color":"#00bd1a","name":"zombie blood"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"inventoryImage":"","controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"lookWheel":{"mobilePosition":{"x":328,"y":141}},"movementWheel":{"mobilePosition":{"x":111,"y":143}},"z":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"cost":{},"event":"startCasting","abilityId":"teleportZombieToSpawn"},"mobilePosition":{"x":375,"y":222}},"y":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"WWliSMbp7f","cost":{},"event":"startCasting","abilityId":"kQnDP4CAXI"},"mobilePosition":{"x":285,"y":29}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"IPQoUkUi5T","cost":{},"event":"startCasting","abilityId":"5yNnUfOksW"},"mobilePosition":{"x":368,"y":29}},"button3":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yeNiXqBMMz","cost":{},"event":"startCasting","abilityId":"LBkapGWsoG"}},"w":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"a":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"s":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"d":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"up":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"left":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"down":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"right":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"m":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"KYL7UHOoyd","cost":{},"event":"startCasting","abilityId":"efk4lpqO8f"},"mobilePosition":{"x":327,"y":29}},"i":{"keyUp":{"scriptName":"w8cRrHle6B","cost":{},"event":"stopCasting","abilityId":"4hY2mGkVPy"},"keyDown":{"cost":{},"scriptName":"rWARHWnwfY","event":"startCasting","abilityId":"4hY2mGkVPy"}},"h":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"jsFzgLk8gR","cost":{},"event":"startCasting","abilityId":"openHelp"}}},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{"teleportZombieToSpawn":{"cost":{"unitAttributes":{}},"scriptName":"2QHXwLnfUm","name":"Teleport Zombie To Spawn","streamMode":1,"eventScripts":{"startCasting":"iH6D5yDwq9","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615102917_icons8-portal-144.png","cooldown":null},"5yNnUfOksW":{"name":"Command","eventScripts":{"startCasting":"9m9OQ0ObJQ","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"4hY2mGkVPy":{"name":"Emote","eventScripts":{"startCasting":"s0tWgceU8K","stopCasting":"NE5Ws9vfs0"},"castDuration":"","cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"kQnDP4CAXI":{"name":"Incognito","eventScripts":{"startCasting":"5jyIkC1z4t","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"czZ4hSycF5":{"name":"ResetAFK","eventScripts":{"startCasting":"UvCdf4AFoO","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"LBkapGWsoG":{"name":"SelectUnit","eventScripts":{"startCasting":"UvCdf4AFoO","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"efk4lpqO8f":{"name":"Mission","eventScripts":{"startCasting":"Fw4iKR1Gqe","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"openHelp":{"name":"Help","scriptName":"gQ7diAr0Em","cost":{},"streamMode":1,"eventScripts":{"startCasting":"chv9TYuEBp","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615653303_icons8-question-96.png"}},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"backpackSize":0,"scripts":{"YnK58YN6ZD":{"key":"YnK58YN6ZD","folderName":"Keys","parent":null,"order":2,"expanded":true},"4ccFB1ktur":{"name":"Infect human","triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"string"},{"function":"getVariable","variableName":"state"},"postoutbreak"],"actions":[{"else":[],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},0],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},"human"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isExtraLife?","dataType":"boolean","entity":"dUlUsudomI","key":"isExtraLife?"}},"entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isInvincibility?","dataType":"boolean","entity":"Et4kssMFKb","key":"isInvincibility?"}},"entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"itemType"},{"function":"getItemTypeOfItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},"HoRkmdYOhT"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"thisEntity"}},"variableName":"tempPlayer","comment":""},{"type":"setVariable","value":3,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0},{"entity":{"function":"getLastTouchedUnit"},"type":"dropAllItems"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0},{"type":"changeUnitType","entity":{"function":"getLastTouchedUnit"},"unitType":"zombie","comment":"","runMode":0},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getLastTouchedUnit"},"value":6.5,"runMode":0},{"comment":"","entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"playerType":"zombie","type":"assignPlayerType"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"human","key":"killStreakTimer"}},"value":0,"runMode":0},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},3],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},0.65,{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}}]}},"runMode":0,"comment":"Get score when infect other humans [no streak added]"}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},900,{"function":"getMin","num1":3,"num2":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},1]}}]},{"function":"calculate","items":[{"operator":"+"},{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},0.65,{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}}]}},{"function":"calculate","items":[{"operator":"-"},2000,{"function":"calculate","items":[{"operator":"*"},50,{"function":"getMin","num1":40,"num2":{"function":"getVariable","variableName":"playerCount"}}]}]}]}]},"runMode":0,"comment":"Get score when infect other humans."},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},1]},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"zombie","key":"killStreakTimer"}},"value":{"function":"getMin","num1":8,"num2":{"function":"calculate","items":[{"operator":"+"},5,{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"human","key":"killStreakTimer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}]}},"comment":"","disabled":false,"runMode":0}],"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":"+","textB":{"function":"numberToString","value":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"color":"#44ff6a","runMode":0},{"comment":"","entity":{"entity":{"function":"thisEntity"},"function":"getOwner"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}]},"attribute":"points","type":"setPlayerAttribute","runMode":0},{"entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"value":{"items":[{"operator":"*"},{"entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"attribute":"points","function":"getPlayerAttribute"},0.35],"function":"calculate"},"attribute":"points","type":"setPlayerAttribute","comment":"","runMode":0},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"number":2.8,"comment":"","runMode":0},{"player":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"message":"You are a zombie now! If you're stuck, press [Z] to teleport to spawn position","type":"sendChatMessageToPlayer"},{"scale":{"items":["+",1,{"items":[{"operator":"*"},{"entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"attribute":"points","function":"getPlayerAttribute"},0.0001],"function":"calculate"}],"function":"calculate"},"entity":{"function":"getLastTouchedUnit"},"type":"changeScaleOfEntitySprite","runMode":0},{"scale":{"items":["+",1,{"items":[{"operator":"*"},{"entity":{"entity":{"function":"thisEntity"},"function":"getOwner"},"attribute":"points","function":"getPlayerAttribute"},0.0001],"function":"calculate"}],"function":"calculate"},"entity":{"function":"thisEntity"},"type":"changeScaleOfEntitySprite","runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getLastTouchedUnit"},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},0.0000333]}]}]},"entity":{"function":"getLastTouchedUnit"},"attribute":"speed","type":"setEntityAttribute","runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"thisEntity"},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},0.0000333]}]}]},"entity":{"function":"thisEntity"},"attribute":"speed","type":"setEntityAttribute","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":">="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},2],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":">="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},6],"then":[{"type":"setTimeOut","duration":600,"actions":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" kill streak!"},"color":"#dc3545","runMode":0}],"runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"thisEntity"}},"variableName":"tempPlayer","comment":""},{"type":"setVariable","value":6,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"setTimeOut","duration":600,"actions":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},2]},"string":{"function":"getVariable","variableName":"killStreakMessages"}}},"color":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},2]},"string":{"function":"getVariable","variableName":"killStreakMessages"}}},"runMode":0}],"runMode":0}],"runMode":0}],"else":[],"disabled":false,"runMode":0}],"else":[{"type":"return"}],"comment":"if the player has the dark shield immunity, they cannot get infected","runMode":0}],"else":[{"type":"comment","comment":"if the player has a dark shield or wings, give them an extra life"},{"type":"setFadingTextOfUnit","unit":{"function":"getLastTouchedUnit"},"text":"Extra Life!","color":"yellow"},{"type":"setEntityVariable","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItem","dataType":"item","entity":"zombie","key":"invincibilityItem"}},"value":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}},"position":{"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getLastTouchedUnit"},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItem","dataType":"item","entity":"zombie","key":"invincibilityItem"}},"entity":{"function":"thisEntity"}},"disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"value":{"function":"undefinedValue"},"runMode":0}],"comment":"if the player is holding a dark shield or wings, give them an extra life instead","runMode":0}],"else":[],"runMode":0}],"else":[],"comment":"zombies cannot infect humans immediately after joining or teleporting to spawn","runMode":0}],"conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},1],"type":"condition","runMode":0}],"key":"4ccFB1ktur","parent":null,"order":0},"WBZVV9kCfW":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/s"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#FirstRound"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score and missions will not be counted in first round!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Avg. 10 rounds player count : ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"10AveragePlayers"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Non-guest player count : ","textB":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"#NonGuestUserCount"},{"function":"getVariable","variableName":"inActiveLoginUserCount"}]}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"adminAbusin"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score will not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Missions are not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"scoreAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of people in the server to be active for score to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"@isScoreCounted"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score in this server is valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"10AveragePlayers"},25],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 average players for 5 rounds consecutively, for the score to be counted in leaderboard.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Need ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getVariable","variableName":"@scorevalidcounter"}},"textB":" more rounds for score to be validated."}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"isExpanded":{"self":true},"runMode":0,"comment":"Score Valid counter."}],"runMode":0,"isExpanded":{"else":true,"self":true},"comment":"Score Validity"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"missionAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of logged-in players to be active for missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"#MissionValidity"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Missions in this server are valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 non-guest players for those missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true},"comment":"Mission valid counter."}],"runMode":0,"comment":"Mission Validity","isExpanded":{"self":true}}],"runMode":0,"comment":"Filter valid score.","isExpanded":{"self":true,"else":true,"then":true}}],"runMode":0,"isExpanded":{"self":true}},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Server closing down in ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/winrate"},true],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Zombies have won ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"toFixed","value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]}},"precision":0}},"textB":"% of rounds!"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds have been played! An average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":2},"textB":{"function":"concat","textA":" (","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]},"precision":1},"textB":"% of server) humans won each round."}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":9,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds are special round types. ","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":" rounds are not \"Zombie Mutation\" round type."}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"In round type (excluded : zombie party), an average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" people have been played. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" humans survived. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" zombies with  ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":" mutated zombies."}}}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[],"isExpanded":{"then":true,"self":true,"else":true},"comment":"Winrate","runMode":0,"disabled":false}],"comment":"display server info","isExpanded":{"self":true,"else":true,"then":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"toilet"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"broken"},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"thisEntity"}},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"qZX0VcYjwq"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"selectedUnit"},"entityType":"unitTypes"},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"isToiletBroken"},false],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"setFadingTextOfUnit","text":"TOILET BROKEN!","unit":{"function":"thisEntity"},"color":"brown","runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":2,"max":{"function":"calculate","items":[{"operator":"+"},3,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.25]}}]}},"actions":[{"type":"createUnitAtPosition","unitType":"8jLpAyS8V6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"bathroom"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":360},"runMode":0}],"runMode":0},{"type":"setVariable","value":true,"variableName":"isToiletBroken","comment":""},{"type":"return","runMode":0}],"else":[],"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Toilet is already broken! Please try again next round.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"runMode":0}],"else":[],"isExpanded":{"self":true},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":true},"runMode":0}],"else":[],"comment":"easteregg <3","isExpanded":{"self":false},"runMode":0}],"name":"Player sends chat message","parent":null,"key":"WBZVV9kCfW","order":1},"9m9OQ0ObJQ":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"showInputModalToPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"inputLabel":{"function":"getVariable","variableName":"customInputModalMessage"},"runMode":0}],"else":[],"runMode":0}],"name":"space - custom input modal","parent":"YnK58YN6ZD","key":"9m9OQ0ObJQ","order":0},"iH6D5yDwq9":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},0],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"value":4,"runMode":0},{"position":{"region":{"variableName":"spawn","function":"getVariable"},"function":"centerOfRegion"},"entity":{"function":"thisEntity"},"type":"moveEntity","comment":"","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"value":50,"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Wait ","textB":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" seconds to teleport to spawn position."}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"name":"z - teleport zombie","parent":"YnK58YN6ZD","key":"iH6D5yDwq9","order":1},"s0tWgceU8K":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"i - emote","parent":"YnK58YN6ZD","key":"s0tWgceU8K","order":3},"NE5Ws9vfs0":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"hideUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"close emote","parent":"YnK58YN6ZD","key":"NE5Ws9vfs0","order":4},"5jyIkC1z4t":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Braainstuber","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔨"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔪"},"comment":"Apply mod badge","runMode":0}],"else":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" ⭐"},"comment":"Apply star badge","runMode":0}],"runMode":0,"comment":"apply dev badge"}],"runMode":0,"comment":"apply dev badge"}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":true,"runMode":0},{"type":"setPlayerName","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"name":{"function":"concat","textA":"user","textB":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":100,"max":1100}}},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"name":"y - toggle incognito mode","parent":"YnK58YN6ZD","key":"5jyIkC1z4t","order":5},"UvCdf4AFoO":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0}],"name":"wasd - reset afk kick timer","parent":"YnK58YN6ZD","key":"UvCdf4AFoO","order":6},"KjLF5TJmTU":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"undefinedValue"},"comment":"","disabled":false,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"undefinedValue"},"comment":"","runMode":0,"disabled":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"width":8,"height":8}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"getOwner","entity":{"function":"selectedUnit"}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected player doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getPlayerName","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"selectedUnit"},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected unit doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Unit ID : ","textB":{"function":"getEntityId","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true},"disabled":false}],"else":[],"runMode":0}],"name":"start right click - select player/ability","parent":"YnK58YN6ZD","key":"KjLF5TJmTU","order":7},"Fw4iKR1Gqe":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"getVariable","variableName":"missionTextDescription"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"m - open missions panel","parent":"YnK58YN6ZD","key":"Fw4iKR1Gqe","order":8},"chv9TYuEBp":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":{"function":"concat","textA":{"function":"concat","textA":"Time until server shuts down: ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"textB":"<br>Hello "},"textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":",<br>\n<br>\nWelcome to Braains.io! <br>\n[H] to open this again <br>\n<br>\nControls: <br>\n[WASD] or [Arrow Keys] to move<br>\n[Mouse] to rotate<br>\n[Left Click] to use item<br>\n[B] to buy item<br>\n[E] to pickup item on ground<br>\n[G] to drop item from your hotbar to the ground<br>\n[Z] to teleport to spawn (for zombies only, 60s cooldown)<br>\n[/tag tagname] to add tag (replace tagname with your tag) *Disabled for this time being<br>\n[/removetag] to remove your tag<br>\n[/s] to check server status<br>\n[/winrate] to check winrate data<br>\n<br>\nYou must be logged in to use the following features:<br>\n[ENTER] to open and send chat message<br>\n[M] to open the current server's missions (earn moddCoins!)\n<br><br>\nYou can register an account by click the top left 'MENU' button and clicking 'Login'.<br>\nNeed help? Click the Discord icon below the 'Play' button!<br>\nDisable Ads-Blocker for more reward at the end of the round!<br>\n<br>\nBadges (next to name): ⭐ = Verified Youtuber, 🔪 = Moderator, 🔨 = Developer, 🖌️= Artist\n<br><br>\nHave fun!<br>\n— Devs"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"h - help","parent":"YnK58YN6ZD","key":"chv9TYuEBp","order":9}},"confinedWithinMapBoundaries":true,"isUnTargetable":false,"streamMode":1,"id":"zombieKing","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false},"human":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"x":92,"y":135}},"lookWheel":{"mobilePosition":{"x":317,"y":137}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"cost":{},"abilityId":"shop","event":"startCasting"},"mobilePosition":{"x":421,"y":31}},"button1":{"keyUp":{"cost":{},"abilityId":"gsEqSjHCom","event":"stopCasting","isEntityScript":true},"keyDown":{"cost":{},"abilityId":"gsEqSjHCom","event":"startCasting","isEntityScript":true},"mobilePosition":{"x":367,"y":155}},"e":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"cost":{},"abilityId":"pickUp","event":"startCasting"},"mobilePosition":{"x":421,"y":158}},"g":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"cost":{},"abilityId":"drop","event":"startCasting","isEntityScript":true},"mobilePosition":{"x":420,"y":112}},"n":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"Rzv0WlFyVL","cost":{},"event":"startCasting","abilityId":"tuSl3R8eXX"},"mobilePosition":{"x":274,"y":32}},"y":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"WWliSMbp7f","cost":{},"event":"startCasting","abilityId":"kQnDP4CAXI"},"mobilePosition":{"x":233,"y":32}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"IPQoUkUi5T","cost":{},"event":"startCasting","abilityId":"5yNnUfOksW"},"mobilePosition":{"x":358,"y":31}},"w":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"a":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"s":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"d":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"up":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"left":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"down":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"right":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"button3":{"keyUp":{"scriptName":"VG8BaAFo4i","cost":{}},"keyDown":{"scriptName":"yeNiXqBMMz","cost":{},"event":"startCasting","abilityId":"LBkapGWsoG"}},"m":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"KYL7UHOoyd","cost":{},"event":"startCasting","abilityId":"efk4lpqO8f"},"mobilePosition":{"x":316,"y":32}},"h":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"cost":{},"scriptName":"jsFzgLk8gR","event":"startCasting","abilityId":"openHelp"}},"i":{"keyUp":{"scriptName":"w8cRrHle6B","cost":{},"event":"stopCasting","abilityId":"4hY2mGkVPy"},"keyDown":{"cost":{},"scriptName":"rWARHWnwfY","event":"startCasting","abilityId":"4hY2mGkVPy"}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{"shop":{"cost":{"cast":{}},"scriptName":"openShop","name":"Shop","streamMode":0,"eventScripts":{"startCasting":"ywEm1Bfq9Z","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615266796_icons8-shopping-cart-144.png"},"pickUp":{"cost":{},"scriptName":"gz8XL501mw","name":"Pick up","streamMode":1,"eventScripts":{"startCasting":"9imMfHtfqV","stopCasting":""},"castDuration":100,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615488795_icons8-take-96.png"},"drop":{"name":"Drop","scriptName":"YMkMZ064wI","cost":{"cast":{}},"streamMode":1,"eventScripts":{"startCasting":"I2qJ4IcIns","stopCasting":""},"castDuration":100,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615661147_icons8-breakable-96.png"},"gsEqSjHCom":{"name":"Shoot","eventScripts":{"startCasting":"YFeMQ20gBX","stopCasting":"DOrbWp0AGz"},"castDuration":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694696270514_icons8-crosshair-100.png","scriptName":"playerLeaves"},"tuSl3R8eXX":{"name":"ModShop","eventScripts":{"startCasting":"93XMs989IY","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"5yNnUfOksW":{"name":"Command","eventScripts":{"startCasting":"yUyydxtbaL","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"4hY2mGkVPy":{"name":"Emote","eventScripts":{"startCasting":"PlxsnJzEuo","stopCasting":"AOsEhMlsf2"},"castDuration":"","cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"kQnDP4CAXI":{"name":"Incognito","eventScripts":{"startCasting":"qGgrtyqGiI","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"czZ4hSycF5":{"name":"ResetAFK","eventScripts":{"startCasting":"HDVBQFaWey","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"LBkapGWsoG":{"name":"SelectUnit","eventScripts":{"startCasting":"lWAfZwA5Ov","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"efk4lpqO8f":{"name":"Mission","eventScripts":{"startCasting":"zgYnW97GX9","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"openHelp":{"name":"Help","scriptName":"gQ7diAr0Em","cost":{},"streamMode":1,"eventScripts":{"startCasting":"vTk9DbEjNQ","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615653303_icons8-question-96.png"}},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","animationStop":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","animationStop":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","animationStop":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","animationStop":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","animationStop":"","runScript":""}},"variables":{},"bodies":{"default":{"name":"default","type":"dynamic","width":40,"height":40,"z-index":{"layer":4,"depth":3},"fixedRotation":false,"bullet":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":1,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":6,"friction":0.01,"restitution":"0.01","shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false},"MTo2rh9Gud":{"name":"Flying","type":"dynamic","width":60,"height":60,"z-index":{"layer":5,"depth":8},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"size":{},"offset":{"x":0,"y":0}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":0,"rotation":0},"itemAnchor":{"x":0,"y":0}},"TWvkcg7Waa":{"name":"Ghost","type":"dynamic","size":{"width":40,"height":40,"depth":40},"allowSleep":true,"bullet":false,"z-index":{"layer":1,"depth":3,"offset":0},"fixedRotation":false,"fixed":{"rx":false,"ry":false,"rz":false},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"rotationSpeed":3,"angularDamping":1,"linearDamping":5,"spriteScale":1,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"props":false,"sensors":false},"fixtures":[{"overrideMass":false,"density":1,"mass":0,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"size":{},"offset":{"x":0,"y":0,"z":0}}],"isBillboard":false,"globalSpace":false,"mountTarget":"","mountOffset":{"x":0,"y":0,"z":0},"mountRotation":{"x":0,"y":0,"z":0},"width":0,"height":0}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1588201026472_Human Man Person.png","rowCount":1,"columnCount":1},"inventorySize":1,"name":"Human","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{"speed":{"displayValue":false,"color":"#ffe922","showAsHUD":true,"isVisible":[],"regenerateSpeed":0,"value":"5.6","max":"16.8","min":"5.6","name":"Speed"},"immunity":{"displayValue":true,"keys":"immunity","color":"#2fccf7","isVisible":[],"regenerateSpeed":0,"value":"0","max":5,"min":0,"name":"Immunity","origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}}},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}],"eyP2yO9Kd0":{"name":"test","type":"dynamic","width":40,"height":40,"z-index":{"layer":3,"depth":3},"fixedRotation":false,"bullet":false,"affectedByGravity":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":3,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0}}},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"},"MWWnM0tnIb":{"name":"flying","animation":"default","body":"MTo2rh9Gud","particles":{},"sound":{}},"oMUJugtfHX":{"name":"Ghost","animation":"default","body":"TWvkcg7Waa","particles":{},"sound":{}}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"a*","idleBehaviour":"wander","sensorResponse":"flee","attackResponse":"none","maxTravelDistance":1333,"sensorRadius":1,"maxAttackRange":400,"enabled":false,"letGoDistance":400},"scripts":{"DOrbWp0AGz":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"stopUsingItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"thisEntity","vars":[]},"vars":[]},"hasFixedCSP":null,"runOnClient":true,"vars":[]}],"name":"stop using item","parent":"YnK58YN6ZD","key":"DOrbWp0AGz","order":1},"YFeMQ20gBX":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"startUsingItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"thisEntity"}},"hasFixedCSP":null,"runOnClient":true}],"name":"start using item","parent":"YnK58YN6ZD","key":"YFeMQ20gBX","order":0},"YnK58YN6ZD":{"key":"YnK58YN6ZD","folderName":"abilities","parent":null,"order":0,"expanded":true},"ywEm1Bfq9Z":{"order":4,"key":"ywEm1Bfq9Z","parent":"YnK58YN6ZD","name":"b - open shop","actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"x9ga5Ck8R1"},"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"distanceBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}}},192],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"player":{"entity":{"function":"thisEntity"},"function":"getOwner"},"shop":"tsUn1ozVOE","type":"openShopForPlayer","comment":"opens the shop for the player","disabled":false,"runMode":0}],"else":[{"player":{"entity":{"function":"thisEntity"},"function":"getOwner"},"shop":"FWljND3E6h","type":"openShopForPlayer","comment":"opens the shop for the player","disabled":false,"runMode":0}],"comment":"If the round type is Extra Items, open the Juke-Only shop, otherwise, open the normal shop.","runMode":0,"disabled":false},{"type":"return","runMode":0}],"else":[],"runMode":0}],"runMode":0},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Extra Items"],"then":[{"player":{"entity":{"function":"thisEntity"},"function":"getOwner"},"shop":"kxyl5lsoVw","type":"openShopForPlayer","comment":"opens the shop for the player","disabled":false,"runOnClient":false}],"else":[{"player":{"entity":{"function":"thisEntity"},"function":"getOwner"},"shop":"humansShop","type":"openShopForPlayer","comment":"opens the shop for the player","disabled":false,"runOnClient":false}],"comment":"If the round type is Extra Items, open the extra items shop, otherwise, open the normal shop.","runMode":0}],"conditions":[{"operandType":"boolean","operator":"=="},true,true],"triggers":[]},"9imMfHtfqV":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllEntities","entityGroup":{"function":"entitiesInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isOpenable?","dataType":"boolean","key":"isOpenable?"}},"entity":{"function":"getSelectedEntity"}},true]],"then":[{"type":"repeat","count":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"DropItem","dataType":"number","entity":"ifytvLoTQe","key":"DropItem"}},"entity":{"function":"getSelectedEntity"}}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"spawnUnderDebris"}},"position":{"function":"getRandomPositionInRegion","region":{"function":"entityBounds","entity":{"function":"getSelectedEntity"}}},"runMode":0}],"runMode":0,"isExpanded":{"self":false},"comment":"Hidden Items"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"adminAbusin"},false],"then":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"#NonGuestUserCount"},20],[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":100},{"function":"getVariable","variableName":"rewardFactor"}]],"then":[{"type":"spawnItem","itemType":"Z4vVSxpakD","position":{"function":"getEntityPosition","entity":{"function":"getSelectedEntity"}},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true},"comment":"Give modd coin instead of normal item.\nGive more when more players play.\n[Up to 25% spawn rate without ads, 50% spawn rate with ads]\nElse spawn normal items instead.","disabled":false}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},20],[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":100},{"function":"getVariable","variableName":"rewardFactor"}]],"then":[{"type":"repeat","count":{"function":"getRandomNumberBetween","min":1,"max":2},"actions":[{"type":"spawnItem","itemType":"Z4vVSxpakD","position":{"function":"getEntityPosition","entity":{"function":"getSelectedEntity"}},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true},"comment":"Give modd coin instead of normal item.\nGive more when more players play.\n[Up to 25% spawn rate without ads, 50% spawn rate with ads]\nElse spawn normal items instead.","disabled":false}],"runMode":0,"isExpanded":{"self":false},"comment":"Modd-Coin spawn"},{"type":"destroyEntity","entity":{"function":"getSelectedEntity"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getEntityType","entity":{"function":"getSelectedEntity"}},"item"],"then":[{"type":"makeUnitPickupItem","unit":{"function":"thisEntity"},"item":{"function":"getSelectedEntity"}}],"else":[]}],"runMode":0}],"runMode":0}],"name":"pick up item","parent":"YnK58YN6ZD","key":"9imMfHtfqV","order":2},"I2qJ4IcIns":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"dropItemAtPosition","item":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"thisEntity"}},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}}],"name":"drop item","parent":"YnK58YN6ZD","key":"I2qJ4IcIns","order":3,"isExpanded":{"actions":false}},"DtDrTomb7h":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/s"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#FirstRound"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score and missions will not be counted in first round!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Avg. 10 rounds player count : ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"10AveragePlayers"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Non-guest player count : ","textB":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"#NonGuestUserCount"},{"function":"getVariable","variableName":"inActiveLoginUserCount"}]}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"adminAbusin"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score will not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Missions are not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"scoreAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of people in the server to be active for score to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"@isScoreCounted"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score in this server is valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"10AveragePlayers"},25],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 average players for 5 rounds consecutively, for the score to be counted in leaderboard.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Need ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getVariable","variableName":"@scorevalidcounter"}},"textB":" more rounds for score to be validated."}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"isExpanded":{"self":true},"runMode":0,"comment":"Score Valid counter."}],"runMode":0,"isExpanded":{"else":true,"self":true},"comment":"Score Validity"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"missionAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of logged-in players to be active for missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"#MissionValidity"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Missions in this server are valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 non-guest players for those missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true},"comment":"Mission valid counter."}],"runMode":0,"comment":"Mission Validity","isExpanded":{"self":true}}],"runMode":0,"comment":"Filter valid score.","isExpanded":{"self":true,"else":true,"then":true}}],"runMode":0,"isExpanded":{"self":true}},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Server closing down in ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/winrate"},true],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Zombies have won ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"toFixed","value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]}},"precision":0}},"textB":"% of rounds!"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds have been played! An average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":2},"textB":{"function":"concat","textA":" (","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]},"precision":1},"textB":"% of server) humans won each round."}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":9,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds are special round types. ","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":" rounds are not \"Zombie Mutation\" round type."}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"In round type (excluded : zombie party), an average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" people have been played. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" humans survived. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" zombies with  ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":" mutated zombies."}}}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[],"isExpanded":{"then":true,"self":true,"else":true},"comment":"Winrate","runMode":0,"disabled":false}],"comment":"display server info","isExpanded":{"self":true,"else":true,"then":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"toilet"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"broken"},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"thisEntity"}},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"qZX0VcYjwq"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"selectedUnit"},"entityType":"unitTypes"},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"isToiletBroken"},false],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"setFadingTextOfUnit","text":"TOILET BROKEN!","unit":{"function":"thisEntity"},"color":"brown","runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":2,"max":{"function":"calculate","items":[{"operator":"+"},3,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.25]}}]}},"actions":[{"type":"createUnitAtPosition","unitType":"8jLpAyS8V6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"bathroom"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":360},"runMode":0}],"runMode":0},{"type":"setVariable","value":true,"variableName":"isToiletBroken","comment":""},{"type":"return","runMode":0}],"else":[],"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Toilet is already broken! Please try again next round.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"runMode":0}],"else":[],"isExpanded":{"self":true},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":true},"runMode":0}],"else":[],"comment":"easteregg <3","isExpanded":{"self":true},"runMode":0}],"name":"Player sends chat message","parent":null,"key":"DtDrTomb7h","order":1},"93XMs989IY":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"openShopForPlayer","shop":"LLPRcmAWJO","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"openShopForPlayer","shop":"G8cuF6k2zK","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"polipinu"],"then":[{"type":"openShopForPlayer","shop":"jmVD4csnrz","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0}],"name":"n - open mod's shop","parent":"YnK58YN6ZD","key":"93XMs989IY","order":5},"yUyydxtbaL":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"showInputModalToPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"inputLabel":{"function":"getVariable","variableName":"customInputModalMessage"},"runMode":0}],"else":[],"runMode":0}],"name":"space - custom input modal","parent":"YnK58YN6ZD","key":"yUyydxtbaL","order":6,"isExpanded":{"actions":false}},"PlxsnJzEuo":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"i - emote","parent":"YnK58YN6ZD","key":"PlxsnJzEuo","order":7},"AOsEhMlsf2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"hideUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"close emote","parent":"YnK58YN6ZD","key":"AOsEhMlsf2","order":8},"qGgrtyqGiI":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Braainstuber","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔨"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔪"},"comment":"Apply mod badge","runMode":0}],"else":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" ⭐"},"comment":"Apply star badge","runMode":0}],"runMode":0,"comment":"apply dev badge"}],"runMode":0,"comment":"apply dev badge"}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":true,"runMode":0},{"type":"setPlayerName","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"name":{"function":"concat","textA":"user","textB":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":100,"max":1100}}},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"name":"y - toggle incognito mode","parent":"YnK58YN6ZD","key":"qGgrtyqGiI","order":9},"HDVBQFaWey":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0}],"name":"wasd - reset afk kick timer","parent":"YnK58YN6ZD","key":"HDVBQFaWey","order":11},"lWAfZwA5Ov":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"undefinedValue"},"comment":"","disabled":false,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"undefinedValue"},"comment":"","runMode":0,"disabled":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"width":8,"height":8}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"getOwner","entity":{"function":"selectedUnit"}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected player doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getPlayerName","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"selectedUnit"},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected unit doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Unit ID : ","textB":{"function":"getEntityId","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true},"disabled":false}],"else":[],"runMode":0}],"name":"start right click - select player/ability","parent":"YnK58YN6ZD","key":"lWAfZwA5Ov","order":12},"zgYnW97GX9":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"getVariable","variableName":"missionTextDescription"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"m - open missions panel","parent":"YnK58YN6ZD","key":"zgYnW97GX9","order":13},"vTk9DbEjNQ":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":{"function":"concat","textA":{"function":"concat","textA":"Time until server shuts down: ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"textB":"<br>Hello "},"textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":",<br>\n<br>\nWelcome to Braains.io! <br>\n[H] to open this again <br>\n<br>\nControls: <br>\n[WASD] or [Arrow Keys] to move<br>\n[Mouse] to rotate<br>\n[Left Click] to use item<br>\n[B] to buy item<br>\n[E] to pickup item on ground<br>\n[G] to drop item from your hotbar to the ground<br>\n[Z] to teleport to spawn (for zombies only, 60s cooldown)<br>\n[/tag tagname] to add tag (replace tagname with your tag) *Disabled for this time being<br>\n[/removetag] to remove your tag<br>\n[/s] to check server status<br>\n[/winrate] to check winrate data<br>\n<br>\nYou must be logged in to use the following features:<br>\n[ENTER] to open and send chat message<br>\n[M] to open the current server's missions (earn moddCoins!)\n<br><br>\nYou can register an account by click the top left 'MENU' button and clicking 'Login'.<br>\nNeed help? Click the Discord icon below the 'Play' button!<br>\nDisable Ads-Blocker for more reward at the end of the round!<br>\n<br>\nBadges (next to name): ⭐ = Verified Youtuber, 🔪 = Moderator, 🔨 = Developer, 🖌️= Artist\n<br><br>\nHave fun!<br>\n— Devs"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"h - help","parent":"YnK58YN6ZD","key":"vTk9DbEjNQ","order":14}},"isUnTargetable":false,"unitTypes":{"human":{"scripts":{"Zi2QR3J14J":{"name":"every frame"},"xVAuYiC2Ng":{"name":"every frame"},"tx4FlI1Ggv":{"name":"every frame"},"Fj1ZY8rPZO":{"name":"every second"},"wK6HgoiZdM":{"name":"every"},"QO1A8iB4Kv":{"name":"every frame"},"CDQehk1kLU":{"name":"start right click - ability"},"X48tN8nklI":{"name":"x - spawn bot"},"GIOoMhjZMp":{"name":"Stop emitting lifeline particle"},"aLjoBABLIJ":{"name":"set up"},"CA9Qc6DsdB":{"name":"sec"},"tLaZw7ic4R":{"name":"J - megastar"}}}},"streamMode":1,"id":"human","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"visibilityMask":{"enabled":false,"range":1400},"opacity":1,"is3DObject":false,"threeD":{},"mountOffsets":{},"scaleLabelByDistance":{"max":1,"min":1,"maxDistance":0},"shadow":false},"ifytvLoTQe":{"ai":{"enabled":true,"maxAttackRange":0,"sensorRadius":0,"maxTravelDistance":40000,"attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"a*","letGoDistance":40000},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"displayValue":false,"color":"#ffe922","showAsHUD":true,"isVisible":[],"regenerateSpeed":0,"value":6,"max":6,"min":6,"name":"Speed","dataType":"","showWhen":"","decimalPlaces":0,"origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}}},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Small Box","inventorySize":0,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1588211847884_Wooden Box Crate.png"},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":20,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":56,"width":56,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false,"size":{"width":40,"height":40,"depth":40}}},"variables":{"DropItem":{"default":1,"dataType":"number"},"isOpenable?":{"default":true,"dataType":"boolean"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"ifytvLoTQe","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"unitTypes":{"ifytvLoTQe":{"scripts":{"c2nPR7r7Gv":{"name":"every sec"},"bTsySeSOZt":{"name":"move"},"FgyzocVCbh":{"name":"it"}}}},"is3DObject":false,"threeD":{}},"EqSYv0SPOw":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"name":"Speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":false}},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Yellow Car","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1703632664909_1699711095587_1654891701745_1593715718995_1_(1).png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.05","friction":0.025,"density":2.5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":237,"width":178,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":8,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"EqSYv0SPOw","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"UV0TG3LUmW":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Small Tree","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1703632619371_1699709308766_1654891368179_1593721315127_1.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":58,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"UV0TG3LUmW","isBillboard":false},"bFJ5AYBzS2":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"force","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":4,"dataType":"number"},"isOpenable?":{"default":true,"dataType":"boolean"}},"bodies":{"default":{"name":"default","type":"dynamic","width":120,"height":120,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":true},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":20,"friction":0.025,"restitution":0.1,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"size":{"width":40,"height":40,"depth":40}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1588211847884_Wooden Box Crate.png"},"inventorySize":0,"name":"Big Box","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"a*","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"id":"bFJ5AYBzS2","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"is3DObject":false,"threeD":{}},"VuEqdaWrK6":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":58,"height":58,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":0.025,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699709201889_1593721666176_1.png"},"inventorySize":0,"name":"Small Chair","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"VuEqdaWrK6","isBillboard":false},"8uw3kT4jGn":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":58,"height":58,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":0.025,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699709280673_1593721808239_1.png"},"inventorySize":0,"name":"Small Table","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"8uw3kT4jGn","isBillboard":false},"aj3m9Ndol9":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":2,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":121,"height":60,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":0.025,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1593721911575_1.png"},"inventorySize":1,"name":"TV","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"aj3m9Ndol9","isBillboard":false},"cWbU4TEd6z":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Sofa","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699709435483_1593722058259_1.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.025","friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":122,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":2,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"cWbU4TEd6z","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"Qt6O5vQ73S":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":58,"height":58,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":0.025,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699708161623_1654890767009_1597258636020_12414124.png"},"inventorySize":0,"name":"Furniture","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"unitTypes":{"Qt6O5vQ73S":{"scripts":{"nFjEvHOwhx":{"name":"cook krappy patties"}}}},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"Qt6O5vQ73S","isBillboard":false},"r236N2dMT8":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":118,"height":58,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":0.025,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1719119913888_resim_2024-06-23_081834356.png"},"inventorySize":0,"name":"Furniture 5","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"r236N2dMT8","isBillboard":false,"is3DObject":false},"4Jb9mSFEnw":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Bed","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699653198173_1654889864195_1593722553942_1.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.025","friction":0.025,"density":3,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":180,"width":120,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"4Jb9mSFEnw","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"isUnTargetable":false,"opacity":1,"visibilityMask":{"enabled":false,"range":700}},"Mw10zNvHyn":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Big Table","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699653288519_1654890012351_1593722827096_1.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":2,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":300,"width":160,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":8,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"Mw10zNvHyn","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"pBQNswWWlN":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Green Bed","inventorySize":2,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699708968413_1654890851143_1597257830905_12414124.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0,"friction":0.5,"density":3,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":180,"width":120,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":6,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"pBQNswWWlN","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"lNYum73d8J":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Couch","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699653440834_1654890523454_1597258035953_12414124.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":2,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":58,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"lNYum73d8J","isBillboard":false},"tdsyBTcddN":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":2,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":120,"height":60,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":"0.025","shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699709850916_1597455029206_32143232.png"},"inventorySize":0,"name":"Tank","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"tdsyBTcddN","isBillboard":false},"ZfLHg1Eobv":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Furniture 3","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699708209628_1654890809153_1597258696226_12414124.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":58,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"ZfLHg1Eobv","isBillboard":false},"eOlHd4YgnY":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Small Tree 2","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1703632645447_1699709339927_1654891390664_1597258981506_12414124.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":58,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"eOlHd4YgnY","isBillboard":false},"GGsbG6YegP":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":3,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":170,"height":58,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":0.025,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699653382977_1654890065086_1597259093558_12414124.png"},"inventorySize":0,"name":"Black Sofa","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"id":"GGsbG6YegP","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"hVUbSMbweH":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":3,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":170,"height":58,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":"0.025","shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699708989167_1654890871839_1597259502589_234234.png"},"inventorySize":0,"name":"Green Sofa","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"hVUbSMbweH","isBillboard":false},"wAamODVKfP":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":58,"height":58,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":0.025,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699709232274_1675043413005_small_chair_2.png"},"inventorySize":0,"name":"Small Chair 2","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"wAamODVKfP","isBillboard":false},"VNcMwKfVqv":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":false,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{},"bodies":{"default":{"name":"default","type":"static","width":2240,"height":64,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"bullet":false,"allowSleep":true,"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":2000,"friction":"0.1","restitution":"0.1","shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1681684818541_1675406726972_1675102480276_wall.png","rowCount":1,"columnCount":1},"inventorySize":0,"name":"@Wall","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{"speed":{"displayValue":false,"color":"#00fff0","showAsHUD":true,"isVisible":[],"regenerateSpeed":0,"value":0,"max":0,"min":0,"name":"Speed"}},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"isUnTargetable":false,"scripts":{},"streamMode":1,"id":"VNcMwKfVqv","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"visibilityMask":{"enabled":false,"range":700},"is3DObject":false},"Bz0sn6Lr2P":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Blue Truck","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1703632503297_1699653412808_1654891658707_1599178742712_u_see_this__shrek_(1).png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.025","friction":0.025,"density":3,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":2,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":310,"width":172,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":12,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"unitTypes":{"Bz0sn6Lr2P":{"scripts":{"ytlCZXjr0y":{"name":"every frame"},"l7FSRZBBZB":{"name":"every second"},"7e3GMHxeus":{"name":"okijuhergyhdfnjkl"},"dUIgL5oMC6":{"name":"frame"}}}},"isUnTargetable":false,"streamMode":1,"id":"Bz0sn6Lr2P","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"qZX0VcYjwq":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Toilet","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699710886928_1654891579077_1588257446158_Toilet_small.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":58,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":2,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"qZX0VcYjwq","isBillboard":false},"8jLpAyS8V6":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"a*","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Poop","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1675358234645_1654891191414_1600103148766_poop_(1)_(1).png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":1.75}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":58,"type":"dynamic","name":"default","depth":0,"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"cspMode":0,"absoluteRotation":false,"unitAbilities":{},"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"streamMode":1,"id":"8jLpAyS8V6"},"ibeMPh9ph9":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":null,"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Black Couch","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699653358416_1654890041972_1630773610013_jh.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":64,"width":64,"type":"dynamic","name":"default","affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"ibeMPh9ph9"},"YeSdVwoKp5":{"backpackSize":0,"defaultItem":[],"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"e":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"","cost":{},"event":"startCasting","abilityId":"pickUp","isEntityScript":true}},"g":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"","cost":{},"event":"startCasting","abilityId":"drop"}},"button1":{"keyUp":{"scriptName":"","cost":{},"event":"stopCasting","abilityId":"gsEqSjHCom","isEntityScript":true},"keyDown":{"scriptName":"","cost":{},"event":"startCasting","abilityId":"gsEqSjHCom","isEntityScript":true},"mobilePosition":{"x":369,"y":152}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"IPQoUkUi5T","cost":{},"event":"startCasting","abilityId":"5yNnUfOksW"},"mobilePosition":{"x":418,"y":37}},"y":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"WWliSMbp7f","cost":{},"event":"startCasting","abilityId":"kQnDP4CAXI"},"mobilePosition":{"x":332,"y":37}},"button3":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yeNiXqBMMz","cost":{},"event":"startCasting","abilityId":"LBkapGWsoG"}},"q":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"","cost":{},"event":"startCasting","abilityId":"8e9ShKFOmW","isEntityScript":true}},"n":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"Rzv0WlFyVL","cost":{},"event":"startCasting","abilityId":"tuSl3R8eXX"},"mobilePosition":{"x":374,"y":37}},"r":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"","cost":{},"event":"startCasting","abilityId":"VNlNVZcjjm","isEntityScript":true}},"m":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"KYL7UHOoyd","cost":{},"event":"startCasting","abilityId":"efk4lpqO8f"}},"h":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"jsFzgLk8gR","cost":{},"event":"startCasting","abilityId":"openHelp"}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","absoluteRotation":false,"clientPredictedMovement":true,"unitAbilities":{"tuSl3R8eXX":{"name":"ModShop","eventScripts":{"startCasting":"zeNNQfN0tw","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"gsEqSjHCom":{"name":"Shoot","eventScripts":{"startCasting":"YFeMQ20gBX","stopCasting":"DOrbWp0AGz"},"castDuration":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694696270514_icons8-crosshair-100.png","scriptName":"playerLeaves"},"5yNnUfOksW":{"name":"Command","eventScripts":{"startCasting":"gWQi0DueIk","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"kQnDP4CAXI":{"name":"Incognito","eventScripts":{"startCasting":"SVulRtB4ny","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"LBkapGWsoG":{"name":"SelectUnit","eventScripts":{"startCasting":"wrOaDLGXGZ","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"efk4lpqO8f":{"name":"Mission","eventScripts":{"startCasting":"NoAdzwfQ5X","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"openHelp":{"name":"Help","scriptName":"gQ7diAr0Em","cost":{},"streamMode":1,"eventScripts":{"startCasting":"J31aOze2HB","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615653303_icons8-question-96.png"},"pickUp":{"cost":{},"scriptName":"gz8XL501mw","name":"Pick up","streamMode":1,"eventScripts":{"startCasting":"w2VrnZHyom","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615488795_icons8-take-96.png"},"drop":{"name":"Drop","scriptName":"YMkMZ064wI","cost":{"cast":{}},"streamMode":1,"eventScripts":{"startCasting":"yP67J1MMRN","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615661147_icons8-breakable-96.png"},"8e9ShKFOmW":{"name":"CreateDebris","eventScripts":{"startCasting":"yvZa6BpD39","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"VNlNVZcjjm":{"name":"CreateItems","eventScripts":{"startCasting":"YaFVkkCL3u","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""}},"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"spriteScale":1,"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human-body"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":25,"max":25,"value":25,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true}},"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"keyUp":"stopUsingItem","keyDown":"startUsingItem","mobilePosition":{"x":326,"y":132}},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"x":366,"y":85}},"f":{"keyUp":"","keyDown":"pickUp"},"g":{"keyUp":"","keyDown":"drop","mobilePosition":{"x":365,"y":33}},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"x":419,"y":32}}},"baseSpeed":53,"price":{},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Spectator","inventorySize":1,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1675652781168_spectator.png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"dynamic","width":40,"height":40,"z-index":{"layer":3,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false}},"variables":{},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"confinedWithinMapBoundaries":true,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":false},"defaultItems":[],"scripts":{"YnK58YN6ZD":{"key":"YnK58YN6ZD","folderName":"abilities","parent":null,"order":-1,"expanded":true},"DOrbWp0AGz":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"stopUsingItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"thisEntity","vars":[]},"vars":[]},"hasFixedCSP":null,"runOnClient":true,"vars":[]}],"name":"stop using item","parent":"YnK58YN6ZD","key":"DOrbWp0AGz","order":1},"YFeMQ20gBX":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"startUsingItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"thisEntity","vars":[]},"vars":[]},"hasFixedCSP":null,"runOnClient":true,"vars":[]}],"name":"start using item","parent":"YnK58YN6ZD","key":"YFeMQ20gBX","order":0},"w2VrnZHyom":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllEntities","entityGroup":{"function":"entitiesInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity","vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]},"vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]},"vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getEntityType","entity":{"function":"getSelectedEntity","vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]},"vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]},"item"],"then":[{"type":"makeUnitPickupItem","unit":{"function":"thisEntity","vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]},"item":{"function":"getSelectedEntity","vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]},"vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]}],"else":[],"vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]}],"vars":[{"id":"selectedEntity","source":"forAllEntities"},{"id":"getSelectedEntity","source":"forAllEntities"}]}],"name":"pick up item","parent":"YnK58YN6ZD","key":"w2VrnZHyom","order":2},"yP67J1MMRN":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"dropItemAtPosition","item":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"thisEntity","vars":[]},"vars":[]},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity","vars":[]},"vars":[]},"vars":[]}],"name":"drop item","parent":"YnK58YN6ZD","key":"yP67J1MMRN","order":3},"yvZa6BpD39":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"createUnitAtPosition","unitType":{"function":"getRandomUnitTypeFromUnitTypeGroup","unitTypeGroup":{"function":"getVariable","variableName":"@RandomDebris"}},"entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"angle":0,"runMode":0}],"else":[],"runMode":0}],"name":"q - create debris","parent":"YnK58YN6ZD","key":"yvZa6BpD39","order":5},"YaFVkkCL3u":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"TestItem"}},"position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"getTriggeringUnit"}}},"runMode":0},{"type":"updateItemQuantity","entity":{"function":"getLastCreatedItem"},"quantity":1,"runMode":0,"disabled":true}],"else":[],"runMode":0}],"name":"r - create items","parent":"YnK58YN6ZD","key":"YaFVkkCL3u","order":6},"K4XKWHyMYD":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/s"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#FirstRound"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score and missions will not be counted in first round!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Avg. 10 rounds player count : ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"10AveragePlayers"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Non-guest player count : ","textB":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"#NonGuestUserCount"},{"function":"getVariable","variableName":"inActiveLoginUserCount"}]}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"adminAbusin"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score will not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Missions are not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"scoreAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of people in the server to be active for score to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"@isScoreCounted"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score in this server is valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"10AveragePlayers"},25],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 average players for 5 rounds consecutively, for the score to be counted in leaderboard.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Need ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getVariable","variableName":"@scorevalidcounter"}},"textB":" more rounds for score to be validated."}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"isExpanded":{"self":true},"runMode":0,"comment":"Score Valid counter."}],"runMode":0,"isExpanded":{"else":true,"self":true},"comment":"Score Validity"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"missionAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of logged-in players to be active for missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"#MissionValidity"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Missions in this server are valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 non-guest players for those missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true},"comment":"Mission valid counter."}],"runMode":0,"comment":"Mission Validity","isExpanded":{"self":true}}],"runMode":0,"comment":"Filter valid score.","isExpanded":{"self":true,"else":true,"then":true}}],"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Server closing down in ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/winrate"},true],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Zombies have won ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"toFixed","value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]}},"precision":0}},"textB":"% of rounds!"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds have been played! An average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":2},"textB":{"function":"concat","textA":" (","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]},"precision":1},"textB":"% of server) humans won each round."}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":9,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds are special round types. ","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":" rounds are not \"Zombie Mutation\" round type."}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"In round type (excluded : zombie party), an average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" people have been played. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" humans survived. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" zombies with  ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":" mutated zombies."}}}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[],"isExpanded":{"then":true,"self":true,"else":true},"comment":"Winrate","runMode":0,"disabled":false}],"comment":"display server info","isExpanded":{"self":true,"else":true,"then":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"toilet"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"broken"},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"thisEntity"}},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"qZX0VcYjwq"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"selectedUnit"},"entityType":"unitTypes"},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"isToiletBroken"},false],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"setFadingTextOfUnit","text":"TOILET BROKEN!","unit":{"function":"thisEntity"},"color":"brown","runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":2,"max":{"function":"calculate","items":[{"operator":"+"},3,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.25]}}]}},"actions":[{"type":"createUnitAtPosition","unitType":"8jLpAyS8V6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"bathroom"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":360},"runMode":0}],"runMode":0},{"type":"setVariable","value":true,"variableName":"isToiletBroken","comment":""},{"type":"return","runMode":0}],"else":[],"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Toilet is already broken! Please try again next round.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"runMode":0}],"else":[],"isExpanded":{"self":true},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":true},"runMode":0}],"else":[],"comment":"easteregg <3","isExpanded":{"self":true},"runMode":0}],"name":"Player sends chat message","parent":null,"key":"K4XKWHyMYD","order":2},"SVulRtB4ny":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Braainstuber","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔨"},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔪"},"comment":"Apply mod badge","runMode":0}],"else":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" ⭐"},"comment":"Apply star badge","runMode":0}],"runMode":0,"comment":"apply dev badge"}],"runMode":0,"comment":"apply dev badge"}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":true,"runMode":0},{"type":"setPlayerName","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"name":{"function":"concat","textA":"user","textB":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":100,"max":1100}}},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"name":"y - toggle incognito mode","parent":"YnK58YN6ZD","key":"SVulRtB4ny","order":7},"zeNNQfN0tw":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"openShopForPlayer","shop":"LLPRcmAWJO","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"openShopForPlayer","shop":"G8cuF6k2zK","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"name":"n - open mod's shop","parent":"YnK58YN6ZD","key":"zeNNQfN0tw","order":8},"gWQi0DueIk":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"showInputModalToPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"inputLabel":{"function":"getVariable","variableName":"customInputModalMessage"},"runMode":0}],"else":[],"runMode":0}],"name":"space - custom input modal","parent":"YnK58YN6ZD","key":"gWQi0DueIk","order":9,"isExpanded":{"actions":false}},"wrOaDLGXGZ":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"undefinedValue"},"comment":"","disabled":false,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"undefinedValue"},"comment":"","runMode":0,"disabled":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"width":8,"height":8}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"getOwner","entity":{"function":"selectedUnit"}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected player doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getPlayerName","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"selectedUnit"},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected unit doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Unit ID : ","textB":{"function":"getEntityId","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true},"disabled":false}],"else":[],"runMode":0}],"name":"start right click - select player/ability","parent":"YnK58YN6ZD","key":"wrOaDLGXGZ","order":10},"NoAdzwfQ5X":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"getVariable","variableName":"missionTextDescription"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"m - open missions panel","parent":"YnK58YN6ZD","key":"NoAdzwfQ5X","order":11},"J31aOze2HB":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":{"function":"concat","textA":{"function":"concat","textA":"Time until server shuts down: ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"textB":"<br>Hello "},"textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":",<br>\n<br>\nWelcome to Braains.io! <br>\n[H] to open this again <br>\n<br>\nControls: <br>\n[WASD] or [Arrow Keys] to move<br>\n[Mouse] to rotate<br>\n[Left Click] to use item<br>\n[B] to buy item<br>\n[E] to pickup item on ground<br>\n[G] to drop item from your hotbar to the ground<br>\n[Z] to teleport to spawn (for zombies only, 60s cooldown)<br>\n[/tag tagname] to add tag (replace tagname with your tag) *Disabled for this time being<br>\n[/removetag] to remove your tag<br>\n[/s] to check server status<br>\n[/winrate] to check winrate data<br>\n<br>\nYou must be logged in to use the following features:<br>\n[ENTER] to open and send chat message<br>\n[M] to open the current server's missions (earn moddCoins!)\n<br><br>\nYou can register an account by click the top left 'MENU' button and clicking 'Login'.<br>\nNeed help? Click the Discord icon below the 'Play' button!<br>\nDisable Ads-Blocker for more reward at the end of the round!<br>\n<br>\nBadges (next to name): ⭐ = Verified Youtuber, 🔪 = Moderator, 🔨 = Developer, 🖌️= Artist\n<br><br>\nHave fun!<br>\n— Devs"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"h - help","parent":"YnK58YN6ZD","key":"J31aOze2HB","order":12}},"isUnTargetable":false,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"YeSdVwoKp5","isBillboard":false,"streamMode":1,"unitTypes":{"YeSdVwoKp5":{"scripts":{"YaFVkkCL3u":{"name":"r - create items"}}}}},"2VcqTujggv":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":null,"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"House Plant","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1604052176980_tilesheet_(3).png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":57,"width":57,"type":"dynamic","name":"default","affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"2VcqTujggv","isBillboard":false},"Qc3SIDxQVW":{"ai":{"enabled":true,"maxAttackRange":400,"sensorRadius":126,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"wander","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"name":"Speed","min":6,"max":6,"value":6,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":false}},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Small Shopkeeper","inventorySize":0,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1738337741223_image_2025-01-31_183539475.png"},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"circle"},"restitution":"0.01","friction":0.01,"density":10,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":false,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":52,"width":52,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"FunctionCounter":{"default":0,"dataType":"number"},"FunctionCooldown":{"default":0,"dataType":"number"},"RandomNumber":{"default":0,"dataType":"number"},"ShrekScore":{"default":0,"dataType":"number"},"ShrekFrenzy?":{"default":false,"dataType":"boolean"},"SensorSize":{"default":154,"dataType":"number","streamMode":1},"ShrekScoreThreshold":{"default":5000,"dataType":"number","streamMode":1},"Scale":{"default":1,"dataType":"number","streamMode":1},"DropItem":{"default":8,"dataType":"number"}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{"LQMusQkeNl":{"triggers":[{"type":"secondTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":0,"runMode":0}],"name":"Ogre fading text","parent":null,"key":"LQMusQkeNl","order":-1},"tjJbJF6MPZ":{"triggers":[{"type":"itemEntersSensor"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},10],[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"getTriggeringItem"}},true],[{"operator":"!=","operandType":"boolean"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"entity":{"function":"getTriggeringItem"}},true]]],"then":[{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"getTriggeringItem"}},"dropped"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1]},"runMode":0},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},{"function":"undefinedValue"}],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},5],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},100]},"comment":"","runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"TrollItem (Rares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},25]},"comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":3},1],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"TrollItems (NoRares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"spawnItem","itemType":"ZIKfFlRvs4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},4],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},75]},"comment":"","runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"GainzItem (Rares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},15]},"comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":3},1],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"GainzItem (NoRares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"spawnItem","itemType":"ZIKfFlRvs4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},3],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},35]},"comment":"","runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"MeleeVariation (Rares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},15]},"comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":2},2],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"MeleeVariation (NoRares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"spawnItem","itemType":"ZIKfFlRvs4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},2],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},24]},"comment":"","runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"FieldOfView&RangedItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0},{"type":"spawnItem","itemType":"ko65kAGsPq","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},7]},"comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":2},2],"then":[{"type":"spawnItem","itemType":"ZIKfFlRvs4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"DecentItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},15]},"comment":"","runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"DecentItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},5]},"comment":"","runMode":0}],"runMode":0},{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"BKZQ7EL3J5"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":6},1],"then":[{"type":"spawnItem","itemType":"9w6WpNtbMG","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[],"runMode":0,"comment":"Worthless items [Tier1]"}],"disabled":false,"runMode":0,"comment":"Common Ranged Items [Tier2]"}],"disabled":false,"runMode":0,"comment":"Decent Tier Melee Items [Tier3]"}],"disabled":false,"runMode":0,"comment":"Gainz items [Tier4]","isExpanded":{"self":true}}],"disabled":false,"runMode":0,"isExpanded":{"self":true},"comment":"Troll items [Tier5]"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isRare?","dataType":"boolean","entity":"zwAoerFxEw","key":"isRare?"}},"entity":{"function":"getTriggeringItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":25},"comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"entity":{"function":"thisEntity"}},3],"then":[{"type":"spawnItem","itemType":"yrQEo9Lyzn","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"entity":{"function":"thisEntity"}},{"function":"calculate","items":[{"operator":"+"},8,{"function":"getMin","num1":4,"num2":{"function":"mathFloor","value":{"function":"getMax","num1":0,"num2":{"function":"squareRoot","number":{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},0.001]}}}}}]}],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},40]},"comment":"","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"d73qo6nov5"],[{"operandType":"or","operator":"OR"},[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"dZiBrGMVbr"],[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"RLrKyRnahl"]]],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":100},{"function":"getItemQuantity","item":{"function":"getTriggeringItem"}}],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"100ShotgunLoot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getItemQuantity","item":{"function":"getTriggeringItem"}},2]},0.5]}},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"calculate","items":[{"operator":"-"},24,{"function":"mathCeiling","_returnType":"number","value":{"function":"calculate","_returnType":"number","items":[{"operator":"*"},{"function":"getItemQuantity","_returnType":"number","item":{"function":"getTriggeringItem","_returnType":"item"}},0.1]}}]}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"entity":{"function":"thisEntity"}},5],"then":[{"type":"spawnItem","itemType":"9jYPyEYzU4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"updateItemQuantity","entity":{"function":"getLastCreatedItem"},"quantity":2,"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},7],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},9],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"MeleeVariation (NoRares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},10],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"runMode":0,"isExpanded":{"self":true}}],"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},{"function":"calculate","items":[{"operator":"*"},10,{"function":"getItemQuantity","item":{"function":"getTriggeringItem"}}]}]},"comment":"","runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"HoRkmdYOhT"],[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"Ff9XI5Sg1c"]],"then":[{"type":"spawnItem","itemType":"yrQEo9Lyzn","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":4,"max":{"function":"calculate","items":[{"operator":"+"},{"function":"getMin","num1":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}},"num2":5},4]}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},200]},"comment":"","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"Qc3SIDxQVW","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"comment":"","runMode":0},{"type":"changeUnitType","entity":{"function":"thisEntity"},"unitType":"DFbINcHMZr","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"dUlUsudomI"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":15},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},0.0008,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"spawnItem","itemType":"QzsEYxw8Fe","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"spawnItem","itemType":"ko65kAGsPq","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":1,"max":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.08]}}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},250]},"comment":"","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"Z4vVSxpakD"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":1000},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.0008,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"spawnItem","itemType":"4D2dXENCn6","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},300]},"comment":"","runMode":0}],"else":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},120]},"comment":"","runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[],"disabled":false,"runMode":0,"isExpanded":{"self":true}}],"disabled":false,"runMode":0,"isExpanded":{"self":true,"then":true}}],"runMode":0,"isExpanded":{"self":true,"then":true,"else":true}}],"runMode":0,"isExpanded":{"then":true,"else":true,"self":true}}],"runMode":0,"isExpanded":{"self":true,"then":true,"else":true}}],"runMode":0,"isExpanded":{"self":true,"then":true,"else":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},26]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}}],[{"operator":"!=","operandType":"boolean"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"Qc3SIDxQVW","key":"ShrekFrenzy?"}},"entity":{"function":"thisEntity"}},true]],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getRandomNumberBetween","min":4,"max":{"function":"mathFloor","value":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},0.0008,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}},5],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":5000,"runMode":0},{"type":"sendChatMessage","message":"Shopkeeper is frenzying!","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":true,"runMode":0},{"type":"runScript","scriptName":"2F0Hs4NdsU","isEntityScript":true,"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},1250]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true}}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true}}],"else":[],"isExpanded":{"self":true,"then":true},"disabled":false,"runMode":0}],"name":"Transmutate items","parent":null,"key":"tjJbJF6MPZ","order":4,"isExpanded":{"actions":false}},"P8hURyoO4q":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getVariable","variableName":"shrekScore"},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"getVariable","variableName":"shrekScore"},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":0,"runMode":0}],"runMode":0,"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getVariable","variableName":"shrekScoreThreshold"},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":{"function":"getVariable","variableName":"shrekScoreThreshold"},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":5000,"runMode":0}],"runMode":0,"isExpanded":{"self":false}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},26]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getRandomNumberBetween","min":4,"max":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},0.0008]}}},5],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":5000,"runMode":0},{"type":"sendChatMessage","message":"Shopkeeper is frenzying!","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":true,"runMode":0},{"type":"runScript","scriptName":"9IAN9Y3Zpu","isEntityScript":true,"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},1250]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"runMode":0,"isExpanded":{"self":true},"disabled":false}],"name":"OnCreated","parent":null,"key":"P8hURyoO4q","order":6},"2F0Hs4NdsU":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"Qc3SIDxQVW","key":"ShrekFrenzy?"}},"entity":{"function":"thisEntity"}},true],[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},true]],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":4},1],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":50},1],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"distance":{"function":"calculate","items":[{"operator":"*"},-1,{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":20,"max":40},{"function":"calculate","items":[{"operator":"*"},26,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}}]}]}]},"angle":{"function":"calculate","items":[{"operator":"+"},{"function":"entityFacingAngle","entity":{"function":"thisEntity"}},{"function":"calculate","items":[{"operator":"*"},{"function":"getRandomNumberBetween","min":-10,"max":10},0.1]}]}},"runMode":0}],"else":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"distance":{"function":"calculate","items":[{"operator":"*"},-1,{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":20,"max":40},{"function":"calculate","items":[{"operator":"*"},26,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}}]}]}]},"angle":{"function":"calculate","items":[{"operator":"+"},{"function":"entityFacingAngle","entity":{"function":"thisEntity"}},{"function":"calculate","items":[{"operator":"*"},{"function":"getRandomNumberBetween","min":-10,"max":10},0.1]}]}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"else":[{"type":"spawnItem","itemType":"ko65kAGsPq","position":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"distance":{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":20,"max":40},{"function":"calculate","items":[{"operator":"*"},26,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}}]}]},"angle":{"function":"getRandomNumberBetween","min":0,"max":100}},"runMode":0}],"runMode":0,"isExpanded":{"self":true,"then":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},150]}},"comment":"","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},26]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},150],"then":[{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.05]}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"ShrekFrenzyIncecntive"}},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":0,"comment":"","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},26]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"else":[{"type":"setTimeOut","duration":500,"actions":[{"type":"runScript","scriptName":"2F0Hs4NdsU","isEntityScript":true,"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},26]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"runMode":0,"isExpanded":{"then":true}}],"name":"SmallShrekFrenzy","parent":null,"key":"2F0Hs4NdsU","order":3},"luTk6Wf8IW":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"shrekscoreOverride"},false],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setVariable","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},"variableName":"shrekScore","runMode":0}],"else":[{"type":"setVariable","value":0,"variableName":"shrekScore","runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setVariable","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},"variableName":"shrekScoreThreshold","runMode":0}],"else":[{"type":"setVariable","value":5000,"variableName":"shrekScoreThreshold","runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"Qc3SIDxQVW","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDestroy","parent":null,"key":"luTk6Wf8IW","order":5}},"isUnTargetable":false,"unitTypes":{"Qc3SIDxQVW":{"scripts":{"Rbi76y6p1g":{"name":"survey taking"}}}},"streamMode":1,"id":"Qc3SIDxQVW","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false},"0oDaWUo6j6":{"ai":{"enabled":false,"maxAttackRange":1,"sensorRadius":1,"maxTravelDistance":4000,"attackResponse":"none","sensorResponse":"fight","idleBehaviour":"wander","pathFindingMethod":"a*","letGoDistance":9000},"defaultItems":[],"variables":{"isRedMutatedZombie?":{"default":false,"dataType":"boolean","streamMode":1},"invincibilityItem":{"dataType":"item"},"invincibilityItemEffect":{"dataType":"itemType"}},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.25","friction":0.01,"density":22.5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":1,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":true,"bullet":false,"fixedRotation":false,"z-index":{"depth":5,"layer":4},"height":40,"width":40,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1737913754794_tonic_zombie.png"},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"body":{"name":"Zombie King","fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true}},"spawnPosition":{"y":2000,"x":1500},"attributes":{"speed":{"name":"Speed","min":"6.9","max":"20.7","value":6.9,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#ffe922","displayValue":false,"origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}}},"abilities":{"movementWheel":{"mobilePosition":{"y":175,"x":35}},"lookWheel":{"mobilePosition":{"y":173,"x":404}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"r":{"keyUp":"","keyDown":"sqm3Jypsek"},"h":{"keyUp":"","keyDown":"openHelp"},"z":{"keyUp":"","keyDown":"teleportZombieToSpawn"}},"baseSpeed":62,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/zombie_king.png","canBuyItem":false,"handle":"zombieKing","name":"Mutated Zombie","inventorySize":0,"sound":{"tDiOsacZQ7":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517558796613_bullet_hits_body2.mp3","name":"Bullet hit"}},"particles":{"uEqQ4hrXbE":{"velocityVector":{"maxVector":{"y":0.3,"x":0.3},"minVector":{"y":-0.3,"x":-0.3},"baseVector":{"y":0,"x":0}},"mountPosition":{"y":0,"x":0},"deathOpacityBase":0,"quantityTimespan":300,"quantityBase":100,"lifeBase":300,"color":"#00bd1a","name":"zombie blood"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"inventoryImage":"","controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"lookWheel":{"mobilePosition":{"x":323,"y":141}},"movementWheel":{"mobilePosition":{"x":102,"y":141}},"z":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"cost":{},"event":"startCasting","abilityId":"teleportZombieToSpawn"},"mobilePosition":{"x":364,"y":223}},"y":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"WWliSMbp7f","cost":{},"event":"startCasting","abilityId":"kQnDP4CAXI"},"mobilePosition":{"x":273,"y":28}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"IPQoUkUi5T","cost":{},"event":"startCasting","abilityId":"5yNnUfOksW"},"mobilePosition":{"x":358,"y":28}},"button3":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yeNiXqBMMz","cost":{},"event":"startCasting","abilityId":"LBkapGWsoG"}},"w":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"a":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"s":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"d":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"up":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"left":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"down":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"right":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"h6EPSEf8sc","cost":{},"event":"startCasting","abilityId":"czZ4hSycF5"}},"m":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"KYL7UHOoyd","cost":{},"event":"startCasting","abilityId":"efk4lpqO8f"},"mobilePosition":{"x":315,"y":28}},"h":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"jsFzgLk8gR","cost":{},"event":"startCasting","abilityId":"openHelp"}},"i":{"keyUp":{"scriptName":"w8cRrHle6B","cost":{},"event":"stopCasting","abilityId":"4hY2mGkVPy"},"keyDown":{"cost":{},"scriptName":"rWARHWnwfY","event":"startCasting","abilityId":"4hY2mGkVPy"}}},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{"teleportZombieToSpawn":{"cost":{"unitAttributes":{}},"scriptName":"2QHXwLnfUm","name":"Teleport Zombie To Spawn","streamMode":1,"eventScripts":{"startCasting":"glEjA3xKtu","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615102917_icons8-portal-144.png","cooldown":null},"5yNnUfOksW":{"name":"Command","eventScripts":{"startCasting":"uzdopdXoRn","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"4hY2mGkVPy":{"name":"Emote","eventScripts":{"startCasting":"KdjRGyHGyB","stopCasting":"6KriLkmFTK"},"castDuration":"","cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"kQnDP4CAXI":{"name":"Incognito","eventScripts":{"startCasting":"CSIYTF5K26","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"czZ4hSycF5":{"name":"ResetAFK","eventScripts":{"startCasting":"9FlT673KHk","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"LBkapGWsoG":{"name":"SelectUnit","eventScripts":{"startCasting":"14RzW17z9m","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"openHelp":{"name":"Help","scriptName":"gQ7diAr0Em","cost":{},"streamMode":1,"eventScripts":{"startCasting":"WHKEllEuGw","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615653303_icons8-question-96.png"},"efk4lpqO8f":{"name":"Mission","eventScripts":{"startCasting":"bWWRw4gjLC","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""}},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"backpackSize":0,"scripts":{"YnK58YN6ZD":{"key":"YnK58YN6ZD","folderName":"Keys","parent":null,"order":2},"711WhUICrY":{"name":"Infect human","triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"string"},{"function":"getVariable","variableName":"state"},"postoutbreak"],"actions":[{"else":[],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},0],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"playerType"},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},"human"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isExtraLife?","dataType":"boolean","entity":"dUlUsudomI","key":"isExtraLife?"}},"entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isInvincibility?","dataType":"boolean","entity":"Et4kssMFKb","key":"isInvincibility?"}},"entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"itemType"},{"function":"getItemTypeOfItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},"HoRkmdYOhT"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"thisEntity"}},"variableName":"tempPlayer","comment":""},{"type":"setVariable","value":3,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0},{"entity":{"function":"getLastTouchedUnit"},"type":"dropAllItems"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusGainz","dataType":"number","entity":"human","key":"BonusGainz"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusSpeed","dataType":"number","entity":"human","key":"BonusSpeed"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"BonusZoom","dataType":"number","entity":"human","key":"BonusZoom"}},"value":0,"runMode":0},{"type":"changeUnitType","entity":{"function":"getLastTouchedUnit"},"unitType":"0oDaWUo6j6","comment":""},{"type":"setEntityAttributeMin","attribute":"speed","entity":{"function":"getLastTouchedUnit"},"value":6.9,"runMode":0},{"comment":"","entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"playerType":"zombie","type":"assignPlayerType"},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"mutatedCount"},1]},"variableName":"mutatedCount"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":0,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"human","key":"killStreakTimer"}},"value":0,"runMode":0},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},3],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},0.65,{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}}]}},"runMode":0,"comment":"Get score when infect other humans [no streak added]"}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},1000,{"function":"getMin","num1":3,"num2":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},1]}}]},{"function":"calculate","items":[{"operator":"+"},{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},0.65,{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}}]}},{"function":"calculate","items":[{"operator":"-"},2000,{"function":"calculate","items":[{"operator":"*"},50,{"function":"getMin","num1":40,"num2":{"function":"getVariable","variableName":"playerCount"}}]}]}]}]},"runMode":0,"comment":"Get score when infect other humans."},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},1]},"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"zombie","key":"killStreakTimer"}},"value":{"function":"getMin","num1":8,"num2":{"function":"calculate","items":[{"operator":"+"},5,{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreakTimer","dataType":"number","entity":"human","key":"killStreakTimer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}]}},"comment":"","disabled":false,"runMode":0}],"runMode":0},{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":"+","textB":{"function":"numberToString","value":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"color":"#44ff6a","runMode":0},{"comment":"","entity":{"entity":{"function":"thisEntity"},"function":"getOwner"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"InfectionScore","dataType":"number","entity":"human","key":"InfectionScore"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}]},"attribute":"points","type":"setPlayerAttribute","runMode":0},{"entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"value":{"items":[{"operator":"*"},{"entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"attribute":"points","function":"getPlayerAttribute"},0.28],"function":"calculate"},"attribute":"points","type":"setPlayerAttribute","comment":""},{"type":"setPlayerAttributeMax","attributeType":"UvOpuABaRI","player":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}},"number":2.8,"comment":"","runMode":0},{"player":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"message":"You are a zombie now! If you're stuck, press [Z] to teleport to spawn position","type":"sendChatMessageToPlayer"},{"scale":{"items":["+",1,{"items":[{"operator":"*"},{"entity":{"entity":{"function":"getLastTouchedUnit"},"function":"getOwner"},"attribute":"points","function":"getPlayerAttribute"},0.0001],"function":"calculate"}],"function":"calculate"},"entity":{"function":"getLastTouchedUnit"},"type":"changeScaleOfEntitySprite","runMode":0},{"scale":{"items":["+",1,{"items":[{"operator":"*"},{"entity":{"entity":{"function":"thisEntity"},"function":"getOwner"},"attribute":"points","function":"getPlayerAttribute"},0.0001],"function":"calculate"}],"function":"calculate"},"entity":{"function":"thisEntity"},"type":"changeScaleOfEntitySprite","runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"getLastTouchedUnit"},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"getLastTouchedUnit"}}},0.0000333]}]}]},"entity":{"function":"getLastTouchedUnit"},"attribute":"speed","type":"setEntityAttribute","runMode":0},{"comment":"","value":{"function":"calculate","items":[{"operator":"*"},{"entity":{"function":"thisEntity"},"attribute":"speed","function":"entityAttributeMin"},{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},{"function":"getPlayerAttribute","attribute":"points","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},0.0000333]}]}]},"entity":{"function":"thisEntity"},"attribute":"speed","type":"setEntityAttribute","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":">="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},2],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":">="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},6],"then":[{"type":"setTimeOut","duration":600,"actions":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" kill streak!"},"color":"#dc3545","runMode":0}],"runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"allMissionsStatus"}},"available"],"then":[{"type":"setVariable","value":{"function":"getOwner","entity":{"function":"thisEntity"}},"variableName":"tempPlayer","comment":""},{"type":"setVariable","value":6,"variableName":"tempNumberMission","runMode":0},{"type":"runScript","scriptName":"iIndVfe8Py"}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"setTimeOut","duration":600,"actions":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},2]},"string":{"function":"getVariable","variableName":"killStreakMessages"}}},"color":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"killStreak","dataType":"number","entity":"zombie","key":"killStreak"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},2]},"string":{"function":"getVariable","variableName":"killStreakMessages"}}},"runMode":0}],"runMode":0}],"runMode":0}],"else":[],"disabled":false,"runMode":0}],"else":[{"type":"return"}],"comment":"if the player has the dark shield immunity, they cannot get infected","runMode":0}],"else":[{"type":"comment","comment":"if the player has a dark shield or wings, give them an extra life"},{"type":"setFadingTextOfUnit","unit":{"function":"getLastTouchedUnit"},"text":"Extra Life!","color":"yellow"},{"type":"setEntityVariable","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}},"variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"value":true,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItem","dataType":"item","entity":"zombie","key":"invincibilityItem"}},"value":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}},"runMode":0},{"type":"dropItemAtPosition","item":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"getLastTouchedUnit"}},"position":{"function":"getEntityPosition","entity":{"function":"getLastTouchedUnit"}},"runMode":0},{"type":"giveNewItemToUnit","itemType":{"function":"getItemTypeOfItem","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"entity":{"function":"thisEntity"}}},"unit":{"function":"getLastTouchedUnit"},"runMode":0,"disabled":false},{"type":"destroyEntity","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItem","dataType":"item","entity":"zombie","key":"invincibilityItem"}},"entity":{"function":"thisEntity"}},"disabled":false,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"invincibilityItemEffect","dataType":"itemType","entity":"zombie","key":"invincibilityItemEffect"}},"value":{"function":"undefinedValue"},"runMode":0}],"comment":"if the player is holding a dark shield or wings, give them an extra life instead","runMode":0}],"else":[],"runMode":0}],"else":[],"comment":"zombies cannot infect humans immediately after joining or teleporting to spawn","runMode":0}],"conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"state"},1],"type":"condition","runMode":0,"comment":"state = postoutbreak"}],"key":"711WhUICrY","parent":null,"order":0},"cdCAXIq5Nu":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/s"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"#FirstRound"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score and missions will not be counted in first round!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Avg. 10 rounds player count : ","textB":{"function":"numberToString","value":{"function":"getVariable","variableName":"10AveragePlayers"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Non-guest player count : ","textB":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"#NonGuestUserCount"},{"function":"getVariable","variableName":"inActiveLoginUserCount"}]}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"adminAbusin"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score will not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":"Missions are not being counted in this server [admin abuse].","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"scoreAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of people in the server to be active for score to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"@isScoreCounted"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Score in this server is valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"10AveragePlayers"},25],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 average players for 5 rounds consecutively, for the score to be counted in leaderboard.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Need ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getVariable","variableName":"@scorevalidcounter"}},"textB":" more rounds for score to be validated."}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"isExpanded":{"self":true},"runMode":0,"comment":"Score Valid counter."}],"runMode":0,"isExpanded":{"else":true,"self":true},"comment":"Score Validity"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"missionAfkFlag"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Need at least 75% of logged-in players to be active for missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"#MissionValidity"},true],"then":[{"type":"sendChatMessageToPlayer","message":"Missions in this server are valid!","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Need at least 25 non-guest players for those missions to be counted.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0,"isExpanded":{"self":true},"comment":"Mission valid counter."}],"runMode":0,"comment":"Mission Validity","isExpanded":{"self":true}}],"runMode":0,"comment":"Filter valid score.","isExpanded":{"self":true,"else":true,"then":true}}],"runMode":0,"isExpanded":{"self":true}},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Server closing down in ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"patternString":"/winrate"},true],"then":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Zombies have won ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"toFixed","value":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]}},"precision":0}},"textB":"% of rounds!"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds have been played! An average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":2},"textB":{"function":"concat","textA":" (","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":4,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},100]},"precision":1},"textB":"% of server) humans won each round."}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":9,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":{"function":"concat","textA":" rounds are special round types. ","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}},"textB":" rounds are not \"Zombie Mutation\" round type."}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"In round type (excluded : zombie party), an average of ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" people have been played. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" humans survived. ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":7,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":5,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":{"function":"concat","textA":" zombies with  ","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"calculate","items":[{"operator":"/"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":6,"string":{"function":"getVariable","variableName":"winrateVars"}}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":8,"string":{"function":"getVariable","variableName":"winrateVars"}}}]},"precision":1},"textB":" mutated zombies."}}}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"else":[],"isExpanded":{"then":true,"self":true,"else":true},"comment":"Winrate","runMode":0,"disabled":false}],"comment":"display server info","isExpanded":{"self":true,"else":true,"then":true},"runMode":0},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"toilet"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"toLowerCase","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"patternString":"broken"},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"thisEntity"}},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"qZX0VcYjwq"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"entityBounds","entity":{"function":"selectedUnit"},"entityType":"unitTypes"},"regionB":{"function":"getVariable","variableName":"bathroom"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"isToiletBroken"},false],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"setFadingTextOfUnit","text":"TOILET BROKEN!","unit":{"function":"thisEntity"},"color":"brown","runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":2,"max":{"function":"calculate","items":[{"operator":"+"},3,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"playerCount"},0.25]}}]}},"actions":[{"type":"createUnitAtPosition","unitType":"8jLpAyS8V6","entity":{"function":"getVariable","variableName":"ai"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"bathroom"}},"angle":{"function":"getRandomNumberBetween","min":0,"max":360},"runMode":0}],"runMode":0},{"type":"setVariable","value":true,"variableName":"isToiletBroken","comment":""},{"type":"return","runMode":0}],"else":[],"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":"Toilet is already broken! Please try again next round.","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"return","runMode":0}],"runMode":0}],"else":[],"isExpanded":{"self":true},"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":true},"runMode":0}],"else":[],"comment":"easteregg <3","isExpanded":{"self":false},"runMode":0}],"name":"Player sends chat message","parent":null,"key":"cdCAXIq5Nu","order":1},"uzdopdXoRn":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"showInputModalToPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"inputLabel":{"function":"getVariable","variableName":"customInputModalMessage"},"runMode":0}],"else":[],"runMode":0}],"name":"space - custom input modal","parent":"YnK58YN6ZD","key":"uzdopdXoRn","order":0},"glEjA3xKtu":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},0],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"InfectCooldown","dataType":"number","entity":"zombie","key":"InfectCooldown"}},"value":4,"runMode":0},{"position":{"region":{"variableName":"spawn","function":"getVariable"},"function":"centerOfRegion"},"entity":{"function":"thisEntity"},"type":"moveEntity","comment":"","runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"value":50,"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"Wait ","textB":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"TeleportCooldown","dataType":"number","entity":"zombie","key":"TeleportCooldown"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" seconds to teleport to spawn position."}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"name":"z - teleport zombie","parent":"YnK58YN6ZD","key":"glEjA3xKtu","order":1},"KdjRGyHGyB":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"i - emote","parent":"YnK58YN6ZD","key":"KdjRGyHGyB","order":3},"6KriLkmFTK":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"hideUiElementForPlayer","elementId":"emote-picker-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"close emote","parent":"YnK58YN6ZD","key":"6KriLkmFTK","order":4},"CSIYTF5K26":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":false,"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],"then":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔨"},"runMode":0}],"else":[{"type":"setUnitNameLabel","unit":{"function":"thisEntity"},"name":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"adminName","dataType":"string","entity":"human","key":"adminName"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":" 🔪"},"comment":"Apply mod badge","runMode":0}],"runMode":0,"comment":"apply dev badge"}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"hasIncognito?","dataType":"boolean","entity":"human","key":"hasIncognito?"}},"value":true,"runMode":0},{"type":"setPlayerName","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"name":{"function":"concat","textA":"user","textB":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":100,"max":1100}}},"runMode":0}],"runMode":0}],"else":[],"runMode":0}],"name":"y - toggle incognito mode","parent":"YnK58YN6ZD","key":"CSIYTF5K26","order":5},"9FlT673KHk":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"AfkTimer","dataType":"number","entity":"human","key":"AfkTimer"}},"value":3,"runMode":0}],"name":"wasd - reset afk kick timer","parent":"YnK58YN6ZD","key":"9FlT673KHk","order":6},"14RzW17z9m":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Moderator","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true],[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Developer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},true]],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"undefinedValue"},"comment":"","disabled":false,"runMode":0},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"undefinedValue"},"comment":"","runMode":0,"disabled":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsInRegion","region":{"function":"dynamicRegion","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},4]},"width":8,"height":8}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"value":{"function":"getOwner","entity":{"function":"selectedUnit"}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected player doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getPlayerName","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedPlayer","dataType":"player","entity":"human","key":"selectedPlayer"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"zombie","key":"selectedObject"}},"value":{"function":"selectedUnit"},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"player","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"function":"undefinedValue"}],"then":[{"type":"sendChatMessageToPlayer","message":"- The selected unit doesn't exist","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"else":[{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Successfully selected ","textB":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0},{"type":"sendChatMessageToPlayer","message":{"function":"concat","textA":"- Unit ID : ","textB":{"function":"getEntityId","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"human","key":"selectedObject"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true},"disabled":false}],"else":[],"runMode":0}],"name":"start right click - select player/ability","parent":"YnK58YN6ZD","key":"14RzW17z9m","order":7},"bWWRw4gjLC":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"getVariable","variableName":"missionTextDescription"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"m - open missions panel","parent":"YnK58YN6ZD","key":"bWWRw4gjLC","order":8},"WHKEllEuGw":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"showCustomModalToPlayer","htmlContent":{"function":"concat","textA":{"function":"concat","textA":{"function":"concat","textA":"Time until server shuts down: ","textB":{"function":"getTimeString","seconds":{"function":"getVariable","variableName":"serverLifespan"}}},"textB":"<br>Hello "},"textB":{"function":"concat","textA":{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":",<br>\n<br>\nWelcome to Braains.io! <br>\n[H] to open this again <br>\n<br>\nControls: <br>\n[WASD] or [Arrow Keys] to move<br>\n[Mouse] to rotate<br>\n[Left Click] to use item<br>\n[B] to buy item<br>\n[E] to pickup item on ground<br>\n[G] to drop item from your hotbar to the ground<br>\n[Z] to teleport to spawn (for zombies only, 60s cooldown)<br>\n[/tag tagname] to add tag (replace tagname with your tag) *Disabled for this time being<br>\n[/removetag] to remove your tag<br>\n[/s] to check server status<br>\n[/winrate] to check winrate data<br>\n<br>\nYou must be logged in to use the following features:<br>\n[ENTER] to open and send chat message<br>\n[M] to open the current server's missions (earn moddCoins!)\n<br><br>\nYou can register an account by click the top left 'MENU' button and clicking 'Login'.<br>\nNeed help? Click the Discord icon below the 'Play' button!<br>\nDisable Ads-Blocker for more reward at the end of the round!<br>\n<br>\nBadges (next to name): ⭐ = Verified Youtuber, 🔪 = Moderator, 🔨 = Developer, 🖌️= Artist\n<br><br>\nHave fun!<br>\n— Devs"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runMode":0}],"name":"h - help","parent":"YnK58YN6ZD","key":"WHKEllEuGw","order":9}},"confinedWithinMapBoundaries":true,"isUnTargetable":false,"unitTypes":{"0oDaWUo6j6":{"scripts":{"127JToTsu4":{"name":"j - secret script"}}}},"streamMode":1,"id":"0oDaWUo6j6","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"visibilityMask":{"enabled":false,"range":1400},"is3DObject":false},"x9ga5Ck8R1":{"ai":{"enabled":true,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"wander","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"name":"Speed","min":0,"max":100,"value":4,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":false}},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Wizard","inventorySize":0,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1699711069122_1688660999147_1663529385171_unknown_(1)_(1)_2.png"},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.01","friction":0.01,"density":2,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":false,"fixedRotation":false,"z-index":{"depth":3,"layer":3},"height":90,"width":90,"type":"dynamic","name":"default","affectedByGravity":false}},"variables":{"DropItem":{"default":10,"dataType":"number"}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"isUnTargetable":false,"unitTypes":{"Qc3SIDxQVW":{"scripts":{"Rbi76y6p1g":{"name":"survey taking"}}},"x9ga5Ck8R1":{"scripts":{"JyUCpaf1hD":{"name":"teleport"}}}},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"x9ga5Ck8R1"},"DFbINcHMZr":{"ai":{"enabled":true,"maxAttackRange":400,"sensorRadius":132.5,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"wander","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"name":"Speed","min":0,"max":100,"value":6,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":false,"origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}}},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Shopkeeper","inventorySize":0,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1750674861925_Shopkeeper.png"},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"circle"},"restitution":"0.01","friction":0.01,"density":10,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":false,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":65,"width":65,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"FunctionCooldown":{"default":0,"dataType":"number","key":"FunctionCooldown","defaultKey":"FunctionCooldown"},"FunctionCounter":{"default":0,"dataType":"number"},"RandomNumber":{"default":0,"dataType":"number"},"ShrekScore":{"default":0,"dataType":"number"},"ShrekFrenzy?":{"default":false,"dataType":"boolean"},"Scale":{"default":1,"dataType":"number","streamMode":1},"SensorSize":{"default":160.5,"dataType":"number","streamMode":1},"ShrekScoreThreshold":{"default":5000,"dataType":"number","streamMode":1},"DropItem":{"default":10,"dataType":"number"}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{"LQMusQkeNl":{"triggers":[{"type":"secondTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":0,"runMode":0}],"name":"Ogre fading text","parent":null,"key":"LQMusQkeNl","order":1},"nPIHyLkqtO":{"triggers":[{"type":"itemEntersSensor"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},20],[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isPickup?","dataType":"boolean","entity":"potatoGun","key":"isPickup?"}},"entity":{"function":"getTriggeringItem"}},true],[{"operator":"!=","operandType":"boolean"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isUnpickable?","dataType":"boolean","entity":"dUlUsudomI","key":"isUnpickable?"}},"entity":{"function":"getTriggeringItem"}},true]]],"then":[{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"getTriggeringItem"}},"dropped"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1]},"runMode":0},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},{"function":"undefinedValue"}],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},5],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},150]},"comment":"","runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":1,"max":2},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"TrollItem (Rares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},30]},"comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":2},1],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"TrollItems (NoRares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"spawnItem","itemType":"ZIKfFlRvs4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},4],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},100]},"comment":"","runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":1,"max":2},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"GainzItem (Rares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},20]},"comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":2},1],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"GainzItem (NoRares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"spawnItem","itemType":"ZIKfFlRvs4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},3],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},50]},"comment":"","runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":1,"max":2},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"MeleeVariation (Rares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},20]},"comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":2},2],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"MeleeVariation (NoRares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"spawnItem","itemType":"ZIKfFlRvs4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},2],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},30]},"comment":"","runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"FieldOfView&RangedItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0},{"type":"spawnItem","itemType":"ko65kAGsPq","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},10]},"comment":"","runMode":0},{"type":"spawnItem","itemType":"ZIKfFlRvs4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"DecentItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekItemGrade","dataType":"number","entity":"6T5fWSolir","key":"ShrekItemGrade"}},"entity":{"function":"getTriggeringItem"}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekExchangeRate","dataType":"number","entity":"a7ixKqRxFW","key":"ShrekExchangeRate"}},"entity":{"function":"getTriggeringItem"}}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},20]},"comment":"","runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"DecentItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},10]},"comment":"","runMode":0}],"runMode":0},{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"BKZQ7EL3J5"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":5},1],"then":[{"type":"spawnItem","itemType":"9w6WpNtbMG","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[],"runMode":0,"comment":"Worthless items [Tier1]"}],"disabled":false,"runMode":0,"comment":"Common Ranged Items [Tier2]"}],"disabled":false,"runMode":0,"comment":"Decent Tier Melee Items [Tier3]"}],"disabled":false,"runMode":0,"comment":"Gainz items [Tier4]","isExpanded":{"self":true}}],"disabled":false,"runMode":0,"isExpanded":{"self":true},"comment":"Troll items [Tier5]"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isRare?","dataType":"boolean","entity":"zwAoerFxEw","key":"isRare?"}},"entity":{"function":"getTriggeringItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":25},"comment":"","runMode":0},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"entity":{"function":"thisEntity"}},3],"then":[{"type":"spawnItem","itemType":"yrQEo9Lyzn","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"entity":{"function":"thisEntity"}},{"function":"calculate","items":[{"operator":"+"},8,{"function":"getMin","num1":4,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},0.001]}}}}}]}],"then":[{"type":"repeat","count":2,"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"else":[{"type":"repeat","count":2,"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},50]},"comment":"","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"or","operator":"OR"},[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"RLrKyRnahl"],[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"dZiBrGMVbr"]],[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"d73qo6nov5"]],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":100},{"function":"getItemQuantity","item":{"function":"getTriggeringItem"}}],"then":[{"type":"repeat","count":{"function":"getRandomNumberBetween","min":1,"max":2},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"100ShotgunLoot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0}],"else":[{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getItemQuantity","item":{"function":"getTriggeringItem"}},2]},0.5]}},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"calculate","items":[{"operator":"-"},24,{"function":"mathCeiling","_returnType":"number","value":{"function":"calculate","_returnType":"number","items":[{"operator":"*"},{"function":"getItemQuantity","_returnType":"number","item":{"function":"getTriggeringItem","_returnType":"item"}},0.1]}}]}},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"entity":{"function":"thisEntity"}},5],"then":[{"type":"spawnItem","itemType":"9jYPyEYzU4","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"updateItemQuantity","entity":{"function":"getLastCreatedItem"},"quantity":2,"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},7],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},9],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"MeleeVariation (NoRares)"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},10],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[],"runMode":0}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"runMode":0,"isExpanded":{"self":true}}],"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},{"function":"calculate","items":[{"operator":"*"},15,{"function":"getItemQuantity","item":{"function":"getTriggeringItem"}}]}]},"comment":"","runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"HoRkmdYOhT"],[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"Ff9XI5Sg1c"]],"then":[{"type":"spawnItem","itemType":"yrQEo9Lyzn","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":4,"max":{"function":"calculate","items":[{"operator":"+"},{"function":"getMin","num1":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}},"num2":5},4]}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},200]},"comment":"","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"Qc3SIDxQVW","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"comment":"","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"dUlUsudomI"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":15},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.0008,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"spawnItem","itemType":"QzsEYxw8Fe","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"else":[{"type":"spawnItem","itemType":"ko65kAGsPq","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":1,"max":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"humanCount"},{"function":"getVariable","variableName":"zombieCount"}]},0.1]}}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0},{"type":"spawnItem","itemType":"ko65kAGsPq","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}}}],"runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},350]},"comment":"","runMode":0}],"else":[{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getItemTypeOfItem","entity":{"function":"getTriggeringItem"}},"Z4vVSxpakD"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","dataType":"number","entity":"DFbINcHMZr","key":"RandomNumber"}},"value":{"function":"getRandomNumberBetween","min":1,"max":500},"comment":"","runMode":0},{"type":"condition","conditions":[{"operandType":"number","operator":"<="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"RandomNumber","key":"RandomNumber"}},"entity":{"function":"thisEntity","_returnType":"entity"}},{"function":"calculate","items":[{"operator":"+"},6,{"function":"getMin","num1":5,"num2":{"function":"mathFloor","value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"*"},0.0008,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}}}}}]}],"then":[{"type":"spawnItem","itemType":"4D2dXENCn6","position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},500]},"comment":"","runMode":0}],"else":[{"type":"repeat","count":{"function":"getRandomNumberBetween","min":1,"max":2},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getEntityPosition","entity":{"function":"getTriggeringItem"}},"runMode":0}],"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},200]},"comment":"","runMode":0}],"runMode":0},{"type":"destroyEntity","entity":{"function":"getTriggeringItem"}}],"else":[],"disabled":false,"runMode":0,"isExpanded":{"self":true}}],"disabled":false,"runMode":0,"isExpanded":{"self":true}}],"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true,"then":true,"else":true}}],"runMode":0,"isExpanded":{"self":true,"then":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},32.5]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operator":"AND","operandType":"and"},[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}}],[{"operator":"!=","operandType":"boolean"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"Qc3SIDxQVW","key":"ShrekFrenzy?"}},"entity":{"function":"thisEntity"}},true]],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getRandomNumberBetween","min":4,"max":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},0.0008]}}},5],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":5000,"runMode":0},{"type":"sendChatMessage","message":"Shopkeeper is frenzying!","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":true,"runMode":0},{"type":"runScript","scriptName":"9IAN9Y3Zpu","isEntityScript":true,"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},1250]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"isExpanded":{"then":true,"self":true}}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true}}],"else":[],"isExpanded":{"self":true,"then":true},"disabled":false,"runMode":0}],"name":"Transmutate items","parent":null,"key":"nPIHyLkqtO","order":3,"isExpanded":{"actions":false}},"9IAN9Y3Zpu":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"Qc3SIDxQVW","key":"ShrekFrenzy?"}},"entity":{"function":"thisEntity"}},true],[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},true]],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":3},1],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":25},1],"then":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"distance":{"function":"calculate","items":[{"operator":"*"},-1,{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":20,"max":40},{"function":"calculate","items":[{"operator":"*"},32.5,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}}]}]}]},"angle":{"function":"calculate","items":[{"operator":"+"},{"function":"entityFacingAngle","entity":{"function":"thisEntity"}},{"function":"calculate","items":[{"operator":"*"},{"function":"getRandomNumberBetween","min":-10,"max":10},0.1]}]}},"runMode":0}],"else":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"distance":{"function":"calculate","items":[{"operator":"*"},-1,{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":20,"max":40},{"function":"calculate","items":[{"operator":"*"},32.5,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}}]}]}]},"angle":{"function":"calculate","items":[{"operator":"+"},{"function":"entityFacingAngle","entity":{"function":"thisEntity"}},{"function":"calculate","items":[{"operator":"*"},{"function":"getRandomNumberBetween","min":-10,"max":10},0.1]}]}},"runMode":0}],"runMode":0}],"else":[{"type":"spawnItem","itemType":"ko65kAGsPq","position":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"distance":{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":20,"max":40},{"function":"calculate","items":[{"operator":"*"},32.5,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}}]}]},"angle":{"function":"getRandomNumberBetween","min":0,"max":100}},"runMode":0}],"runMode":0,"isExpanded":{"self":true,"then":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},125]}},"comment":"","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},32.5]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},125],"then":[{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"humanCount"},{"function":"getVariable","variableName":"zombieCount"}]},0.08]}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"ShrekFrenzyIncecntive"}},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0}],"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":0,"comment":"","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},32.5]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"else":[{"type":"setTimeOut","duration":400,"actions":[{"type":"runScript","scriptName":"9IAN9Y3Zpu","isEntityScript":true,"runMode":0}],"runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},32.5]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"runMode":0,"isExpanded":{"then":true}}],"name":"ShrekFrenzy","parent":null,"key":"9IAN9Y3Zpu","order":2},"dZGdWFOQ5t":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getVariable","variableName":"shrekScore"},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":{"function":"getVariable","variableName":"shrekScore"},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"value":0,"runMode":0}],"runMode":0,"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getVariable","variableName":"shrekScoreThreshold"},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":{"function":"getVariable","variableName":"shrekScoreThreshold"},"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":5000,"runMode":0}],"runMode":0,"isExpanded":{"self":false}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":1,"num2":{"function":"calculate","items":[{"operator":"+"},1,{"function":"calculate","items":[{"operator":"*"},0.001,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}}]}]}}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"value":{"function":"calculate","items":[{"operator":"+"},128,{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},32.5]}]},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"DFbINcHMZr","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeSensorRadius","sensor":{"function":"getSensorOfUnit","unit":{"function":"thisEntity"}},"radius":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"SensorSize","dataType":"number","entity":"DFbINcHMZr","key":"SensorSize"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getRandomNumberBetween","min":4,"max":{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},0.0008]}}},5],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":5000,"runMode":0},{"type":"sendChatMessage","message":"Shopkeeper is frenzying!","runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":true,"runMode":0},{"type":"runScript","scriptName":"9IAN9Y3Zpu","isEntityScript":true,"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},1250]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"DFbINcHMZr","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"runMode":0,"isExpanded":{"self":true},"disabled":false}],"name":"OnCreated","parent":null,"key":"dZGdWFOQ5t","order":4},"AR08ADFcAW":{"triggers":[{"type":"initEntityDestroy"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"shrekscoreOverride"},false],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setVariable","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScore","dataType":"number","entity":"DFbINcHMZr","key":"ShrekScore"}},"entity":{"function":"thisEntity"}},"variableName":"shrekScore","runMode":0}],"else":[{"type":"setVariable","value":0,"variableName":"shrekScore","runMode":0}],"runMode":0,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setVariable","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ShrekScoreThreshold","dataType":"number","entity":"Qc3SIDxQVW","key":"ShrekScoreThreshold"}},"entity":{"function":"thisEntity"}},"variableName":"shrekScoreThreshold","runMode":0}],"else":[{"type":"setVariable","value":5000,"variableName":"shrekScoreThreshold","runMode":0}],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ShrekFrenzy?","dataType":"boolean","entity":"Qc3SIDxQVW","key":"ShrekFrenzy?"}},"value":{"function":"undefinedValue"},"runMode":0}],"name":"OnDestroy","parent":null,"key":"AR08ADFcAW","order":6}},"isUnTargetable":false,"unitTypes":{"Qc3SIDxQVW":{"scripts":{"Rbi76y6p1g":{"name":"survey taking"}}},"DFbINcHMZr":{"scripts":{"9IAN9Y3Zpu":{"name":"ShrekFrenzy"}}}},"streamMode":1,"id":"DFbINcHMZr","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"opacity":1,"visibilityMask":{"enabled":false,"range":700},"is3DObject":false,"shadow":false},"Cwxk5cAWoc":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":"serverAuthoritative","cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":3,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":170,"height":58,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":true},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":0.025,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1719119070851_resim_2024-06-23_080431266.png"},"inventorySize":0,"name":"Bench","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"Cwxk5cAWoc","is3DObject":false},"VNXie3v1Va":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Blue Bed","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1676657520622_1674684054288_1670606376868_resim_2022-12-09_201946997_(1).png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":4,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":150,"width":83,"type":"dynamic","name":"default","affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"variables":{"DropItem":{"default":3,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"clientPredictedMovement":"serverAuthoritative","absoluteRotation":false,"unitAbilities":{},"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"VNXie3v1Va","streamMode":1},"jqadJhnMzn":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"variables":{"FunctionCounter":{"default":0,"dataType":"number","key":"FunctionCounter","defaultKey":"FunctionCounter"},"FunctionCooldown":{"default":0,"dataType":"number"},"MaxSpawn":{"default":0,"dataType":"number"},"Scale":{"default":0,"dataType":"number","streamMode":1},"DropItem":{"default":5,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":224,"height":224,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":50,"friction":"0.2","restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1723680020658_Aurdrio.png"},"inventorySize":0,"name":"Airdrop","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{"387ajZy7AR":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"jqadJhnMzn","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"MaxSpawn","dataType":"number","entity":"jqadJhnMzn","key":"MaxSpawn"}},"entity":{"function":"thisEntity"}}]}}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"jqadJhnMzn","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"jqadJhnMzn","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"Airdroploot"}},"position":{"function":"getRandomPositionInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0},{"type":"setEntityLifeSpan","entity":{"function":"getLastCreatedItem"},"lifeSpan":60000,"runMode":0},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"setTimeOut","duration":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCooldown","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCooldown"}},"entity":{"function":"thisEntity"}},"actions":[{"type":"runScript","scriptName":"387ajZy7AR","isEntityScript":true,"runMode":0}],"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},30],"then":[{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"playerCount"},29]},0.1]}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityLifeSpan","entity":{"function":"getLastCreatedItem"},"lifeSpan":60000,"runMode":0},{"type":"spawnItem","itemType":"Z4vVSxpakD","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityLifeSpan","entity":{"function":"getLastCreatedItem"},"lifeSpan":60000,"runMode":0}],"runMode":0}],"else":[],"runMode":0,"comment":"Finishing airdrop."},{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"runMode":0}],"else":[],"runMode":0}],"name":"CreateItems","parent":null,"key":"387ajZy7AR","order":3},"WeamHAV9GT":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"roundType"},"Juke-Only"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"*"},1.6,{"function":"getVariable","variableName":"playerCount"}]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"MaxSpawn","dataType":"number","entity":"jqadJhnMzn","key":"MaxSpawn"}},"value":80,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCooldown","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCooldown"}},"value":{"function":"calculate","items":[{"operator":"-"},1700,{"function":"calculate","items":[{"operator":"*"},17,{"function":"getVariable","variableName":"playerCount"}]}]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"jqadJhnMzn","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"MaxSpawn","dataType":"number","entity":"jqadJhnMzn","key":"MaxSpawn"}},"entity":{"function":"thisEntity"}}]}}},"runMode":0},{"type":"runScript","scriptName":"ZzolrhQueQ","isEntityScript":true,"runMode":0}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"*"},2,{"function":"getVariable","variableName":"playerCount"}]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"MaxSpawn","dataType":"number","entity":"jqadJhnMzn","key":"MaxSpawn"}},"value":100,"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCooldown","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCooldown"}},"value":{"function":"calculate","items":[{"operator":"-"},1700,{"function":"calculate","items":[{"operator":"*"},17,{"function":"getVariable","variableName":"playerCount"}]}]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"jqadJhnMzn","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"MaxSpawn","dataType":"number","entity":"jqadJhnMzn","key":"MaxSpawn"}},"entity":{"function":"thisEntity"}}]}}},"runMode":0},{"type":"runScript","scriptName":"387ajZy7AR","isEntityScript":true,"runMode":0}],"runMode":0}],"name":"OnCreation","parent":null,"key":"WeamHAV9GT","order":1},"ZzolrhQueQ":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},1]},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"jqadJhnMzn","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"MaxSpawn","dataType":"number","entity":"jqadJhnMzn","key":"MaxSpawn"}},"entity":{"function":"thisEntity"}}]}}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"jqadJhnMzn","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"jqadJhnMzn","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AirdropJukeOnlyLoot"}},"position":{"function":"getRandomPositionInRegion","region":{"function":"entityBounds","entity":{"function":"thisEntity"}}},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"entity":{"function":"getLastCreatedItem"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getLastCreatedItem"},"variable":{"function":"getEntityVariable","variable":{"text":"rareRandomize","dataType":"boolean","entity":"potatoGun","key":"rareRandomize"}},"value":false,"runMode":0}],"else":[],"runMode":0},{"type":"setEntityLifeSpan","entity":{"function":"getLastCreatedItem"},"lifeSpan":60000,"runMode":0},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"setTimeOut","duration":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCooldown","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCooldown"}},"entity":{"function":"thisEntity"}},"actions":[{"type":"runScript","scriptName":"ZzolrhQueQ","isEntityScript":true,"runMode":0}],"runMode":0}],"else":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"playerCount"},30],"then":[{"type":"repeat","count":{"function":"mathCeiling","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"playerCount"},29]},0.1]}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"AllShrekRareItems"}},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityLifeSpan","entity":{"function":"getLastCreatedItem"},"lifeSpan":60000,"runMode":0}],"runMode":0}],"else":[],"runMode":0,"comment":"Finishing airdrop.","isExpanded":{"then":true,"self":true}},{"type":"destroyEntity","entity":{"function":"thisEntity"},"runMode":0}],"runMode":0}],"else":[],"runMode":0}],"name":"CreateItemsJukeOnly","parent":null,"key":"ZzolrhQueQ","order":4}},"streamMode":1,"id":"jqadJhnMzn","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"isUnTargetable":false,"visibilityMask":{"enabled":false,"range":700},"unitTypes":{"jqadJhnMzn":{"scripts":{"J34d2k80Nl":{"name":"Create Items"},"387ajZy7AR":{"name":"CreateItems"},"WeamHAV9GT":{"name":"OnCreation"},"okJlri96mj":{"name":"OnDestroy"}}}},"is3DObject":false},"lX3lM2CQBw":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"keyUp":"stopUsingItem","keyDown":"startUsingItem","mobilePosition":{"x":326,"y":132}},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"x":366,"y":85}},"f":{"keyUp":"","keyDown":"pickUp"},"g":{"keyUp":"","keyDown":"drop","mobilePosition":{"x":365,"y":33}},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"x":419,"y":32}}},"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":200,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":["centerBar"],"regenerateSpeed":0,"value":100,"dataType":"","max":100,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":1,"height":1,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":1,"linearDamping":8,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":111,"friction":1101,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"body":{"spriteScale":1,"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human-body"},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1695075248994_1594326543273_1.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"e":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"w2VrnZHyom","cost":{},"isEntityScript":true}},"g":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yP67J1MMRN","cost":{},"isEntityScript":true}},"button1":{"keyUp":{"scriptName":"DOrbWp0AGz","cost":{},"isEntityScript":true},"keyDown":{"scriptName":"YFeMQ20gBX","cost":{},"isEntityScript":true}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":"serverAuthoritative"},"defaultItem":[],"defaultItems":[],"effects":{"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"name":"Walled","particles":{},"price":{},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"spawnPosition":{"y":2200,"x":1500},"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"streamMode":1,"variables":{},"id":"lX3lM2CQBw"},"jAaa0d8bpB":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"wander","pathFindingMethod":"a*","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Toaster","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1719022108204_resim_2024-06-22_050828546.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.025","friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":24,"width":38,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"jAaa0d8bpB","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false},"rzfnZMante":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Blue Sofa","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1719118640700_resim_2024-06-23_075721107.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.025","friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":61,"width":122,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"rzfnZMante","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false},"4nOXRbzNP7":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Toilet Sink","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1719022246595_resim_2024-06-22_051046950.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":54,"width":58,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"4nOXRbzNP7","isBillboard":false,"is3DObject":false},"zg0q9XdijH":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Clothed Table","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1719022488373_resim_2024-06-22_051448678.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":59,"width":64,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"zg0q9XdijH","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false},"50i0ayiUUP":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Small TV","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1719022561565_resim_2024-06-22_051601904.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":58,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"50i0ayiUUP","isBillboard":false,"is3DObject":false},"2IuOQwfWrJ":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"keyUp":"stopUsingItem","keyDown":"startUsingItem","mobilePosition":{"x":326,"y":132}},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"x":366,"y":85}},"f":{"keyUp":"","keyDown":"pickUp"},"g":{"keyUp":"","keyDown":"drop","mobilePosition":{"x":365,"y":33}},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"x":419,"y":32}}},"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":58,"height":58,"z-index":{"layer":1,"depth":1},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false,"sensors":false},"angularDamping":1,"linearDamping":8,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"offset":{"x":0,"y":0},"size":{"width":64,"height":64}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"body":{"spriteScale":1,"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human-body"},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1719107915509_resim_2024-06-23_045835509.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"e":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"w2VrnZHyom","cost":{},"isEntityScript":true}},"g":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yP67J1MMRN","cost":{},"isEntityScript":true}},"button1":{"keyUp":{"scriptName":"DOrbWp0AGz","cost":{},"isEntityScript":true},"keyDown":{"scriptName":"YFeMQ20gBX","cost":{},"isEntityScript":true}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":"serverAuthoritative","cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItem":[],"defaultItems":[],"effects":{"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"handle":"human","inventoryImage":"","inventorySize":0,"is3DObject":false,"isPurchasable":false,"name":"@Blood Prints","particles":{},"price":{},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"spawnPosition":{"y":2200,"x":1500},"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"streamMode":1,"variables":{},"id":"2IuOQwfWrJ"},"aYgDlbafe5":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"use":{"loopCount":null,"framesPerSecond":null,"frames":[2],"name":"use"}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"name":"Speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":false}},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Toy Car","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1732028784111_resim_2024-11-19_180623301.png","rowCount":1,"columnCount":2},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.05","friction":0.025,"density":9.5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":32,"width":24,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{"jKzrMwxNbB":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getVariable","variableName":"toyCarController"},{"function":"undefinedValue"}],"then":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":12.5,"angle":{"function":"unitsFacingAngle","unit":{"function":"thisEntity"}},"runMode":0},{"type":"rotateEntityToFacePosition","entity":{"function":"thisEntity"},"position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"getVariable","variableName":"toyCarController"}}},"runMode":0},{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"jKzrMwxNbB","isEntityScript":true,"runMode":0}],"runMode":0}],"else":[],"runMode":0,"disabled":false}],"name":"ControlToycar","parent":null,"key":"jKzrMwxNbB","order":0}},"streamMode":1,"id":"aYgDlbafe5","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false},"2WmiURJyvA":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Furniture 4","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1719119379724_resim_2024-06-23_080940164.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":58,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"2WmiURJyvA","isBillboard":false,"is3DObject":false},"KhfTN5teb0":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":2,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":120,"height":62,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.025,"restitution":0.025,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1719578919147_resim_2024-06-28_154839487.png"},"inventorySize":0,"name":"Furniture 2","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"KhfTN5teb0","isBillboard":false,"is3DObject":false},"pidFSD3UGm":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":null,"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Barrel","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1720217108850_resim_2024-07-06_010501614.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":90,"width":90,"type":"dynamic","name":"default","affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"variables":{"DropItem":{"default":2,"dataType":"number"},"isOpenable?":{"default":true,"dataType":"boolean"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"is3DObject":false,"id":"pidFSD3UGm"},"UNt1XIGGLN":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Small Bed","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699653198173_1654889864195_1593722553942_1.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.025","friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":160,"width":70,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":6,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"UNt1XIGGLN","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"8rjVe1Ly5l":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"wander","pathFindingMethod":"a*","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Blood Box","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1728608571144_blood_box.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.025","friction":0.025,"density":50,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":30,"width":30,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"8rjVe1Ly5l","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false,"isUnTargetable":false,"opacity":1,"visibilityMask":{"enabled":false,"range":700}},"iUM1f0LSjz":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":2,"dataType":"number"},"isOpenable?":{"default":true,"dataType":"boolean"}},"bodies":{"default":{"name":"default","type":"dynamic","width":78,"height":78,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true,"sensors":true},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":20,"friction":0.025,"restitution":"0.1","shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"size":{"width":40,"height":40,"depth":40}}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1588211847884_Wooden Box Crate.png"},"inventorySize":0,"name":"Medium Box","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"a*","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":true,"letGoDistance":""},"scripts":{},"streamMode":1,"id":"iUM1f0LSjz","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"is3DObject":false,"threeD":{}},"U21VSZOIvr":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"keyUp":"stopUsingItem","keyDown":"startUsingItem","mobilePosition":{"x":326,"y":132}},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"x":366,"y":85}},"f":{"keyUp":"","keyDown":"pickUp"},"g":{"keyUp":"","keyDown":"drop","mobilePosition":{"x":365,"y":33}},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"x":419,"y":32}}},"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":null,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":200,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":["centerBar"],"regenerateSpeed":0,"value":100,"dataType":"","max":100,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":2240,"height":3648,"z-index":{"layer":2,"depth":1},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false,"sensors":true},"angularDamping":1,"linearDamping":8,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"body":{"spriteScale":1,"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human-body"},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1740433519448_image_2025-02-25_004510014.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"e":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"w2VrnZHyom","cost":{},"isEntityScript":true}},"g":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yP67J1MMRN","cost":{},"isEntityScript":true}},"button1":{"keyUp":{"scriptName":"DOrbWp0AGz","cost":{},"isEntityScript":true},"keyDown":{"scriptName":"YFeMQ20gBX","cost":{},"isEntityScript":true}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0},"defaultItem":[],"defaultItems":[],"effects":{"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"handle":"human","id":"6cfnI8Vbcs","inventoryImage":"","inventorySize":0,"is3DObject":false,"isPurchasable":false,"name":"#Lava","particles":{},"price":{},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"spawnPosition":{"y":2200,"x":1500},"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"streamMode":1,"variables":{},"scripts":{}},"hmg9QVZmtS":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"keyUp":"stopUsingItem","keyDown":"startUsingItem","mobilePosition":{"x":326,"y":132}},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"x":366,"y":85}},"f":{"keyUp":"","keyDown":"pickUp"},"g":{"keyUp":"","keyDown":"drop","mobilePosition":{"x":365,"y":33}},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"x":419,"y":32}}},"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":null,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":200,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":["centerBar"],"regenerateSpeed":0,"value":100,"dataType":"","max":100,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":2240,"height":3648,"z-index":{"layer":2,"depth":2},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false,"sensors":true},"angularDamping":1,"linearDamping":8,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"body":{"spriteScale":1,"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human-body"},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1740437593348_image_2025-02-25_015308247.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"e":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"w2VrnZHyom","cost":{},"isEntityScript":true}},"g":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yP67J1MMRN","cost":{},"isEntityScript":true}},"button1":{"keyUp":{"scriptName":"DOrbWp0AGz","cost":{},"isEntityScript":true},"keyDown":{"scriptName":"YFeMQ20gBX","cost":{},"isEntityScript":true}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0},"defaultItem":[],"defaultItems":[],"effects":{"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"handle":"human","id":"6cfnI8Vbcs","inventoryImage":"","inventorySize":0,"is3DObject":false,"isPurchasable":false,"name":"#LavaGlow","particles":{},"price":{},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"spawnPosition":{"y":2200,"x":1500},"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"streamMode":1,"variables":{},"scripts":{},"isUnTargetable":false,"opacity":0.6,"visibilityMask":{"enabled":false,"range":700}},"ERWwLHCFWg":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"wander","pathFindingMethod":"a*","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Blood Box-Med","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1728608571144_blood_box.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.025","friction":0.025,"density":50,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":40,"width":40,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":2,"dataType":"number"}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"ERWwLHCFWg","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"is3DObject":false,"isUnTargetable":false,"opacity":1,"visibilityMask":{"enabled":false,"range":700}},"GLA2ihhjQx":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":false,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{},"bodies":{"default":{"name":"default","type":"static","width":2240,"height":64,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"bullet":false,"allowSleep":true,"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":2000,"friction":"0.1","restitution":"0.1","shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1681684818541_1675406726972_1675102480276_wall.png","rowCount":1,"columnCount":1},"inventorySize":0,"name":"@Wall-copy","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{"speed":{"displayValue":false,"color":"#00fff0","showAsHUD":true,"isVisible":[],"regenerateSpeed":0,"value":0,"max":0,"min":0,"name":"Speed"}},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"isUnTargetable":false,"scripts":{},"streamMode":1,"id":"VNcMwKfVqv","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"visibilityMask":{"enabled":false,"range":700},"is3DObject":false},"jv5Gx97I36":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"absoluteRotation":false,"unitAbilities":{},"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"confinedWithinMapBoundaries":false,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{},"bodies":{"default":{"name":"default","type":"static","width":64,"height":4224,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"bullet":false,"allowSleep":true,"collidesWith":{"units":true,"items":false,"projectiles":false,"walls":false,"debris":false,"sensors":false},"angularDamping":8,"linearDamping":5,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":2000,"friction":"0.1","restitution":"0.1","shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":0,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1681684818541_1675406726972_1675102480276_wall.png","rowCount":1,"columnCount":1},"inventorySize":0,"name":"@Wall-Vertical","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{"speed":{"displayValue":false,"color":"#00fff0","showAsHUD":true,"isVisible":[],"regenerateSpeed":0,"value":0,"max":0,"min":0,"name":"Speed"}},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":0,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"isUnTargetable":false,"scripts":{},"streamMode":1,"id":"jv5Gx97I36","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"visibilityMask":{"enabled":false,"range":700},"is3DObject":false},"FP2UYEWMEg":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Medium table","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699653288519_1654890012351_1593722827096_1.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":2,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":90,"width":160,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{"DropItem":{"default":6,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"FP2UYEWMEg","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"mBl5Mc8glI":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":128,"height":60,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":7,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":2,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1654890191190_1631731850584_vf.png"},"inventorySize":0,"name":"Broken Cage","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":150,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"mBl5Mc8glI","streamMode":1},"RUCz0bj9To":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":60,"height":60,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":7,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":2,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1654890358105_1654477259433_resim_2022-06-06_040058634.png"},"inventorySize":0,"name":"Castle Chair","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":150,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"RUCz0bj9To","streamMode":1},"GuU4i7QBwj":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":3,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":120,"height":60,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":7,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":2,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1654890395214_1654881055044_resim_2022-06-10_201054671.png"},"inventorySize":0,"name":"Castle Furniture","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":150,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"GuU4i7QBwj","streamMode":1},"rB3Pfgc6FN":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":150,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Castle Small Box","inventorySize":1,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1654890417707_1654476889175_resim_2022-06-06_035448090.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":2}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":64,"width":64,"type":"dynamic","name":"default","affectedByGravity":false,"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"},"isOpenable?":{"default":true,"dataType":"boolean"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}},"q":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"coi1M89rX4","cost":{}}},"p":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"mBSTaJ1A9f","cost":{}}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"V6cJoexO3j","cost":{}}},"y":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"QfD8IchfT6","cost":{}}},"o":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"K4d9phcwVt","cost":{}}},"n":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"j5uW8Dx2ty","cost":{}}}},"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"defaultItems":[],"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"rB3Pfgc6FN","streamMode":1},"53jv6VBwMn":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":2,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":120,"height":60,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":7,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":2,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1654890443825_1654554624886_unknown_(4).png"},"inventorySize":0,"name":"Castle Sofa","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":150,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"53jv6VBwMn","streamMode":1},"yLrQVyXjcm":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":150,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Castle Table","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1654890464262_1652806532587_CastleTable.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":2}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":175,"width":124,"type":"dynamic","name":"default","affectedByGravity":false}},"variables":{"DropItem":{"default":5,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"defaultItems":[],"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"yLrQVyXjcm","streamMode":1},"TnEImVwMTo":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":2,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":120,"height":60,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":7,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":"0.5","friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1654890482013_1652806696404_CastleFishtank.png"},"inventorySize":0,"name":"Castle Tank","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":150,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"TnEImVwMTo","streamMode":1},"Wt4QbzBSX3":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":150,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Chest","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1654890502418_1633116445104_chest.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":2}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":80,"width":140,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false,"size":{"width":40,"height":40,"depth":40}}},"variables":{"DropItem":{"default":9,"dataType":"number"},"isOpenable?":{"default":true,"dataType":"boolean"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"defaultItems":[],"isUnTargetable":false,"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"Wt4QbzBSX3","streamMode":1},"rp8TT1yt81":{"ai":{"enabled":true,"maxAttackRange":100,"sensorRadius":400,"maxTravelDistance":500,"attackResponse":"none","sensorResponse":"none","idleBehaviour":"wander","pathFindingMethod":"simple","letGoDistance":600},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"name":"Speed","min":6,"max":6,"value":6,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":false}},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Dark Knight AI","inventorySize":1,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1761469207879_DarkKnight.png"},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":20,"offset":{"x":0,"y":-10},"size":{"width":170,"height":103}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":false,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":199,"width":240,"type":"dynamic","name":"default","affectedByGravity":false,"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"variables":{"selectedObject":{"dataType":"unit"},"scorecheckpoint":{"default":0,"dataType":"number"},"Scale":{"default":1,"dataType":"number","streamMode":1},"FunctionCounter":{"default":0,"dataType":"number"}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"absoluteRotation":false,"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"unitAbilities":{}},"defaultItems":[],"scripts":{"6IlsGFPxMm":{"triggers":[{"type":"entityTouchesUnit"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"DropItem","dataType":"number","entity":"ifytvLoTQe","key":"DropItem"}},"entity":{"function":"getLastTouchedUnit"}},0],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"value":{"function":"getTriggeringUnit"},"runMode":0},{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"DropItem","dataType":"number","entity":"ifytvLoTQe","key":"DropItem"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"entity":{"function":"thisEntity"}}},"runMode":0},{"type":"repeat","count":{"function":"getRandomNumberBetween","min":0,"max":{"function":"mathCeiling","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}}}},"actions":[{"type":"spawnItem","itemType":{"function":"getRandomItemTypeFromItemTypeGroup","itemTypeGroup":{"function":"getVariable","variableName":"SpookyItems"}},"position":{"function":"getRandomPositionInRegion","region":{"function":"dynamicRegion","x":{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"entity":{"function":"thisEntity"}}}},"y":{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"entity":{"function":"thisEntity"}}}},"width":96,"height":96}},"runMode":0}],"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scorecheckpoint","dataType":"number","entity":"rp8TT1yt81","key":"scorecheckpoint"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scorecheckpoint","dataType":"number","entity":"rp8TT1yt81","key":"scorecheckpoint"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"FunctionCounter","dataType":"number","entity":"Qc3SIDxQVW","key":"FunctionCounter"}},"entity":{"function":"thisEntity"}}]},"runMode":0},{"type":"createFloatingText","text":"Destroyed !","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"entity":{"function":"thisEntity"}}},"color":"red","runMode":0,"disabled":true},{"type":"createProjectileAtPosition","projectileType":"VwG3OhwMO5","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"entity":{"function":"thisEntity"}}},"force":0,"angle":0,"runMode":0},{"type":"destroyEntity","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"value":{"function":"squareRoot","number":{"function":"calculate","items":[{"operator":"+"},1,{"function":"getMax","num1":0,"num2":{"function":"calculate","items":[{"operator":"*"},0.05,{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scorecheckpoint","dataType":"number","entity":"rp8TT1yt81","key":"scorecheckpoint"}},"entity":{"function":"thisEntity"}}]}}]}},"runMode":0},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"Qc3SIDxQVW","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"Scale","dataType":"number","entity":"jqadJhnMzn","key":"Scale"}},"entity":{"function":"thisEntity"}},"runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true}}],"else":[],"runMode":0,"isExpanded":{"self":true,"then":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"playerIsControlledByHuman","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"entity":{"function":"thisEntity"}}}},false],"then":[{"then":[],"conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"selectedObject","dataType":"unit","entity":"rp8TT1yt81","key":"selectedObject"}},"entity":{"function":"thisEntity"}}}},"patternString":"@"},false],"type":"condition","runMode":0}],"else":[],"runMode":0,"isExpanded":{"self":true},"disabled":true}],"name":"Destroy touched debris","parent":null,"key":"6IlsGFPxMm","order":0}},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"streamMode":1,"id":"rp8TT1yt81","unitTypes":{"rp8TT1yt81":{"scripts":{"6IlsGFPxMm":{"name":"Destroy touched debris"}}}},"is3DObject":false},"cDa1OmS0eH":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":48,"height":48,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":7,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1654962718617_1652807043116_2022_05_17_0k3_Kleki_(1)_(1)-1.png_(1)_(1).png"},"inventorySize":0,"name":"Human Skull","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":150,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"cDa1OmS0eH","streamMode":1},"6IcjF1ffS1":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"variables":{"DropItem":{"default":3,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":184,"height":60,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":7,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":2,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1654890993083_1615218764423_shjrek.png"},"inventorySize":0,"name":"Jungle Log","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":150,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"6IcjF1ffS1","streamMode":1},"0BroklfLcp":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":2,"dataType":"number"}},"bodies":{"default":{"name":"default","type":"dynamic","width":128,"height":128,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":7,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1654891556463_1654875944354_resim_2022-06-10_184543872_(1)_(1).png"},"inventorySize":0,"name":"Throne","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":150,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"0BroklfLcp","streamMode":1},"sGlTADK12s":{"backpackSize":0,"defaultItem":[],"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"spriteScale":1,"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human-body"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":200,"value":10,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":["centerBar"],"regenerateSpeed":0,"value":100,"dataType":"","max":100,"min":0,"name":"health "}},"abilitiesJ8Gtv5HQ8JREnjD":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"keyUp":"stopUsingItem","keyDown":"startUsingItem","mobilePosition":{"x":326,"y":132}},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"x":366,"y":85}},"f":{"keyUp":"","keyDown":"pickUp"},"g":{"keyUp":"","keyDown":"drop","mobilePosition":{"x":365,"y":33}},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"x":419,"y":32}}},"baseSpeed":53,"price":{},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"@Torch light","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1654891599084_1654353213645_torch_light_2.png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":200,"height":200,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":8,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":10,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false}},"variables":{"defaultPos":{"dataType":"position","default":{"x":0,"y":0}}},"effects":{"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"confinedWithinMapBoundaries":false,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":false},"defaultItems":[],"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"sGlTADK12s","streamMode":1},"IjY9nCKG6e":{"defaultItems":[],"controls":{"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"b":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"openShop","cost":{}}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","permittedInventorySlots":[],"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"confinedWithinMapBoundaries":true,"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":""},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"","sound":{},"animation":""}},"variables":{"DropItem":{"default":5,"dataType":"number"},"isOpenable?":{"default":true,"dataType":"boolean"}},"bodies":{"default":{"name":"default","type":"dynamic","width":120,"height":120,"z-index":{"layer":3,"depth":2},"fixedRotation":false,"bullet":true,"allowSleep":false,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":true},"angularDamping":8,"linearDamping":7,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":5,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"},"isSensor":false,"offset":{"x":0,"y":0},"size":{}}],"jointType":"weldJoint","unitAnchor":{"x":0,"y":33,"rotation":0},"itemAnchor":{"x":0,"y":0,"lowerAngle":0,"upperAngle":0},"affectedByGravity":false,"size":{"width":40,"height":40,"depth":40},"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1654889843382_1654356320087_resim_2022-06-04_182519303.png"},"inventorySize":0,"name":"Barrel2","handle":"human","canBuyItem":true,"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","price":{"playerAttributes":[]},"baseSpeed":53,"abilities":{"h":{"keyDown":"openHelp","keyUp":""},"b":{"mobilePosition":{"x":350,"y":62},"keyDown":"shop","keyUp":""},"right":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"left":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"down":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"up":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"g":{"keyDown":"drop","keyUp":"","mobilePosition":{"x":430,"y":62}},"button1":{"keyDown":"use","keyUp":"stopUsingItem","mobilePosition":{"y":99,"x":390}},"d":{"keyDown":"moveRight","keyUp":"stopMovingRight"},"s":{"keyDown":"moveDown","keyUp":"stopMovingDown"},"a":{"keyDown":"moveLeft","keyUp":"stopMovingLeft"},"w":{"keyDown":"moveUp","keyUp":"stopMovingUp"},"lookWheel":{"mobilePosition":{"y":230,"x":438}},"movementWheel":{"mobilePosition":{"y":231,"x":3}},"e":{"keyUp":"","keyDown":"pickUp","mobilePosition":{"y":62,"x":390}}},"attributes":{},"spawnPosition":{"x":1500,"y":2200},"body":{"name":"Human","z-index":{"depth":3,"layer":3},"collidesWith":{"debris":true,"item":true,"unit":true,"walls":true,"projectiles":true,"items":true,"units":true},"width":40,"height":40,"type":"dynamic","rotationSpeed":2,"linearDamping":5,"angularDamping":1,"allowSleep":true,"bullet":false,"fixedRotation":false,"isFlying":false,"fixtures":[{"density":3,"friction":0.01,"restitution":0.01,"shape":{"type":"rectangle"}}]},"particles":{},"sound":{"fEhDyJ8knx":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3","name":"Scream"},"KK9JlU1UQy":{"file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3","name":"Cough"}},"states":{"default":{"body":"default","animation":"default","particles":{},"sound":{},"name":"default"}},"isPurchasable":false,"canBePurchasedBy":[],"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"inventoryImage":"","frames":{},"backpackSize":0,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":"","sensorRadius":150,"maxAttackRange":400,"enabled":false,"letGoDistance":""},"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"IjY9nCKG6e","streamMode":1},"yUIeyPEuBA":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":150,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Empty Cage","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1654890745425_1651545413052_resim_2022-05-03_053651577.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":2}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":58,"width":58,"type":"dynamic","name":"default","affectedByGravity":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"defaultItems":[],"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"yUIeyPEuBA","streamMode":1},"l5lZhk9DpR":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":150,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Castle Couch","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1654890376925_1652806749695_CastleChair.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":2}],"spriteScale":1,"rotationSpeed":1,"linearDamping":7,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":64,"width":68,"type":"dynamic","name":"default","affectedByGravity":false,"depth":40,"rotate":{"x":0,"y":0,"z":0},"isBillboard":false}},"variables":{"DropItem":{"default":1,"dataType":"number"}},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":false,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}}},"spriteFlipType":"none","spriteFlipDirection":0,"cspMode":0,"absoluteRotation":false,"unitAbilities":{}},"defaultItems":[],"scripts":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"id":"l5lZhk9DpR","streamMode":1},"z2c5zFXYnO":{"ai":{"enabled":false,"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":""},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"displayValue":false,"color":"#ffe922","showAsHUD":true,"isVisible":[],"regenerateSpeed":0,"value":6,"max":6,"min":6,"name":"Speed","dataType":"","showWhen":"","decimalPlaces":0,"origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}}},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Playable Bed","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699653198173_1654889864195_1593722553942_1.png","rowCount":1,"columnCount":1},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":"0.025","friction":0.025,"density":3,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":180,"width":120,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"IPQoUkUi5T","cost":{}}},"right":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yeNiXqBMMz","cost":{}}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"z2c5zFXYnO","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"isUnTargetable":false,"opacity":1,"visibilityMask":{"enabled":false,"range":700}},"29hfBRwRqd":{"ai":{"enabled":false,"maxAttackRange":0,"sensorRadius":0,"maxTravelDistance":40000,"attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"a*","letGoDistance":40000},"backpackSize":0,"frames":{},"inventoryImage":"","animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"canBePurchasedBy":[],"isPurchasable":false,"states":{"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"}},"sound":{"KK9JlU1UQy":{"name":"Cough","file":"https://modd.s3.amazonaws.com/asset/sound/1517554516253_man_cough.mp3"},"fEhDyJ8knx":{"name":"Scream","file":"https://modd.s3.amazonaws.com/asset/sound/1517556903046_man_scream1.mp3"}},"particles":{},"body":{"fixtures":[{"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":3}],"isFlying":false,"fixedRotation":false,"bullet":false,"allowSleep":true,"angularDamping":1,"linearDamping":5,"rotationSpeed":2,"type":"dynamic","height":40,"width":40,"collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"unit":true,"item":true,"debris":true},"z-index":{"layer":3,"depth":3},"name":"Human"},"spawnPosition":{"y":2200,"x":1500},"attributes":{"speed":{"displayValue":false,"color":"#ffe922","showAsHUD":true,"isVisible":[],"regenerateSpeed":0,"value":6,"max":6,"min":6,"name":"Speed","dataType":"","showWhen":"","decimalPlaces":0,"origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}}},"abilities":{"e":{"mobilePosition":{"x":390,"y":62},"keyDown":"pickUp","keyUp":""},"movementWheel":{"mobilePosition":{"x":3,"y":231}},"lookWheel":{"mobilePosition":{"x":438,"y":230}},"w":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"a":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"s":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"d":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"button1":{"mobilePosition":{"x":390,"y":99},"keyUp":"stopUsingItem","keyDown":"use"},"g":{"mobilePosition":{"y":62,"x":430},"keyUp":"","keyDown":"drop"},"up":{"keyUp":"stopMovingUp","keyDown":"moveUp"},"down":{"keyUp":"stopMovingDown","keyDown":"moveDown"},"left":{"keyUp":"stopMovingLeft","keyDown":"moveLeft"},"right":{"keyUp":"stopMovingRight","keyDown":"moveRight"},"b":{"keyUp":"","keyDown":"shop","mobilePosition":{"y":62,"x":350}},"h":{"keyUp":"","keyDown":"openHelp"}},"baseSpeed":53,"price":{"playerAttributes":[]},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Playable Small Box","inventorySize":0,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1588211847884_Wooden Box Crate.png"},"bodies":{"default":{"itemAnchor":{"upperAngle":0,"lowerAngle":0,"y":0,"x":0},"unitAnchor":{"rotation":0,"y":33,"x":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"shape":{"type":"rectangle"},"restitution":0.025,"friction":0.025,"density":5,"offset":{"x":0,"y":0},"size":{}}],"spriteScale":1,"rotationSpeed":1,"linearDamping":5,"angularDamping":8,"collidesWith":{"debris":true,"walls":true,"projectiles":true,"items":true,"units":true,"sensors":false},"allowSleep":false,"bullet":true,"fixedRotation":false,"z-index":{"depth":2,"layer":3},"height":56,"width":56,"type":"dynamic","name":"default","affectedByGravity":false,"rotate":{"x":0,"y":0,"z":0},"depth":0,"isBillboard":false}},"variables":{},"effects":{"destroy":{"animation":"","sound":{},"projectileType":""},"create":{"animation":"","sound":{},"projectileType":""},"move":{"animation":"","sound":{},"projectileType":""},"attacked":{"tween":"","animation":"","sound":{},"projectileType":""},"idle":{"tween":"","animation":"","sound":{},"projectileType":""}},"confinedWithinMapBoundaries":true,"controls":{"permittedInventorySlots":[],"movementMethod":"velocity","movementControlScheme":"wasd","movementType":"wasd","mouseBehaviour":{"rotateToFaceMouseCursor":true,"flipSpriteHorizontallyWRTMouse":false},"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"openShop"},"keyUp":{"cost":{},"scriptName":""}},"lookWheel":{"mobilePosition":{"x":407,"y":204}},"movementWheel":{"mobilePosition":{"x":35,"y":204}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"IPQoUkUi5T","cost":{}}},"right":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yeNiXqBMMz","cost":{}}}},"absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true,"cspMode":0,"spriteFlipType":"none","spriteFlipDirection":0},"defaultItems":[],"scripts":{},"streamMode":1,"id":"29hfBRwRqd","cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false,"unitTypes":{"ifytvLoTQe":{"scripts":{"c2nPR7r7Gv":{"name":"every sec"},"bTsySeSOZt":{"name":"move"},"FgyzocVCbh":{"name":"it"}}}},"is3DObject":false,"threeD":{}}},"abilities":{"teleportZombieToSpawn":{"cost":{"unitAttributes":{}},"scriptName":"2QHXwLnfUm","name":"Teleport Zombie To Spawn","streamMode":1,"eventScripts":{"startCasting":"3q8Uya0bCX","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615102917_icons8-portal-144.png","cooldown":null},"openHelp":{"name":"Help","scriptName":"gQ7diAr0Em","cost":{},"streamMode":1,"eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615653303_icons8-question-96.png"},"pickUp":{"cost":{},"scriptName":"gz8XL501mw","name":"Pick up","streamMode":1,"eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615488795_icons8-take-96.png"},"shop":{"cost":{"cast":{}},"scriptName":"openShop","name":"Shop","streamMode":1,"eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615266796_icons8-shopping-cart-144.png"},"drop":{"name":"Drop","scriptName":"YMkMZ064wI","cost":{"cast":{}},"streamMode":1,"eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694615661147_icons8-breakable-96.png"},"gsEqSjHCom":{"name":"Shoot","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"mobile","iconUrl":"https://cache.modd.io/asset/spriteImage/1694696270514_icons8-crosshair-100.png","scriptName":"playerLeaves"},"2iP5sB99FQ":{"name":"Haha","eventScripts":{"startCasting":"MnwmUzDrtX","stopCasting":""},"castDuration":null,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"Y3JlhsSUF9":{"name":"Boohoo","eventScripts":{"startCasting":"rWARHWnwfY","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"oaoLT9jxwH":{"name":"Angry","eventScripts":{"startCasting":"gj3tUy30B0","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"uDeDmLXivJ":{"name":"I can't speak","eventScripts":{"startCasting":"je6Vrud9e9","stopCasting":""},"castDuration":null,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"tuSl3R8eXX":{"name":"ModShop","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"5yNnUfOksW":{"name":"Command","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":null,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"4hY2mGkVPy":{"name":"Emote","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":null,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"UTNolZeoFa":{"name":"StopEmote","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"czZ4hSycF5":{"name":"ResetAFK","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"LBkapGWsoG":{"name":"SelectUnit","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"efk4lpqO8f":{"name":"Mission","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"8e9ShKFOmW":{"name":"CreateDebris","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""},"VNlNVZcjjm":{"name":"CreateItems","eventScripts":{"startCasting":"","stopCasting":""},"castDuration":1,"cooldown":null,"cost":{"unitAttributes":{},"playerAttributes":{}},"streamMode":0,"visibility":"none","iconUrl":""}},"variables":{"zombieTimerMessage":{"dataType":"string"},"ai":{"dataType":"player","default":"computer1"},"timeLeft":{"dataType":"number","default":5},"@zombieInfectBonus":{"default":100,"dataType":"number"},"@zombieDecay":{"default":"0.999","dataType":"number"},"@timeGameover":{"default":25,"dataType":"number"},"@timeSick":{"default":10,"dataType":"number"},"@timePreoutbreak":{"default":80,"dataType":"number"},"@timePostoutbreak":{"default":100,"dataType":"number"},"@outbreakRatio":{"default":"0.1","dataType":"number"},"@humanWinBonusMultiplier":{"default":500,"dataType":"number"},"tempUnit":{"dataType":"unit"},"victimHuman":{"dataType":"unit"},"state":{"default":2,"dataType":"number"},"timerMessage":{"dataType":"string","default":""},"victimIndex":{"default":0,"dataType":"number"},"i":{"default":0,"dataType":"number"},"zombieCount":{"dataType":"number","default":0},"humanCount":{"dataType":"number","default":0},"Objects":{"default":{"Mw10zNvHyn":{"quantity":1,"probability":0.3},"8uw3kT4jGn":{"quantity":2,"probability":2},"VuEqdaWrK6":{"quantity":1,"probability":2},"EqSYv0SPOw":{"quantity":1,"probability":0.4},"ifytvLoTQe":{"probability":3,"quantity":1},"UV0TG3LUmW":{"probability":3,"quantity":1},"bFJ5AYBzS2":{"probability":2,"quantity":1},"Qt6O5vQ73S":{"probability":2,"quantity":1},"pBQNswWWlN":{"probability":2,"quantity":1},"lNYum73d8J":{"probability":2,"quantity":1},"ZfLHg1Eobv":{"probability":2,"quantity":1},"eOlHd4YgnY":{"probability":2,"quantity":1},"wAamODVKfP":{"probability":2,"quantity":1},"Bz0sn6Lr2P":{"probability":0.3,"quantity":1},"qZX0VcYjwq":{"probability":1,"quantity":1},"8jLpAyS8V6":{"probability":3,"quantity":2},"ibeMPh9ph9":{"probability":3,"quantity":1},"2VcqTujggv":{"probability":2,"quantity":1},"pidFSD3UGm":{"probability":2,"quantity":1},"zg0q9XdijH":{"probability":2,"quantity":2},"2WmiURJyvA":{"probability":1,"quantity":1},"4nOXRbzNP7":{"probability":1,"quantity":1},"VNXie3v1Va":{"probability":0.6,"quantity":1},"50i0ayiUUP":{"probability":1,"quantity":1},"Cwxk5cAWoc":{"probability":0.1,"quantity":1},"GGsbG6YegP":{"probability":0.1,"quantity":1},"rzfnZMante":{"probability":0.1,"quantity":1},"hVUbSMbweH":{"probability":0.1,"quantity":1},"cWbU4TEd6z":{"probability":0.1,"quantity":1},"tdsyBTcddN":{"probability":0.1,"quantity":1},"aj3m9Ndol9":{"probability":0.1,"quantity":1},"KhfTN5teb0":{"probability":0.1,"quantity":1},"r236N2dMT8":{"probability":0.1,"quantity":1},"4Jb9mSFEnw":{"probability":0.8,"quantity":1},"UNt1XIGGLN":{"probability":0.8,"quantity":1},"aYgDlbafe5":{"probability":3,"quantity":1},"FP2UYEWMEg":{"probability":1.2,"quantity":1}},"dataType":"unitTypeGroup"},"Wall":{"default":{"VNcMwKfVqv":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"@zombieKingBonus":{"default":150,"dataType":"number"},"wallsCreated":{"default":false,"dataType":"boolean"},"mysticCrystalExists":{"default":true,"dataType":"boolean"},"serverLifespan":{"default":17500,"dataType":"number"},"@mods":{"dataType":"string","default":""},"@staffOnIncognito":{"default":"","dataType":"string"},"isToiletBroken":{"default":false,"dataType":"boolean"},"customInputModalMessage":{"default":"<section style=\"font-family:Arial,sans-serif;\">    <div style=\"text-align:center;margin-bottom:8px;background:#007BFF;color:#fff;padding:6px 10px;border-radius:4px;font-weight:bold;\">Command panel</div>    <div id=\"commands\" style=\"max-height:250px;overflow-y:auto;padding:8px 4px 4px 4px;\">       <div style=\"font-size:18px; font-weight:bold; margin-bottom:8px; color:#333;\">Mod+ Commands</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\"># [message]</span> – Private chat between staff members.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/nick [username]</span> – Adjust your username.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/viewcmdlogs</span> – Staff command log.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/sp [player]</span> – Select a player (or right-click them).</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/swm [message]</span> – Send a warning message to the selected player.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/viewlogs</span> – View logs of the selected player.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/watch</span> – Toggle spectator mode.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/reveal</span> – Reveal in-game staff.</div>        <div style=\"font-size:18px; font-weight:bold; margin-bottom:8px; margin-top:16px; color:#333;\">Head Moderator+ Commands</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/selectnick [username]</span> – Set selected player username.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/resetcmdlogs</span> - Remove command logs generated previously.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/resetwin</span> – Reset winrate record on this server.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/shout [message]</span> – Display text overlay to all players.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/zombie party [value]</span> – Set special round to \"Zombie Party\" by designated value of rounds.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/double gainz [value]</span> – Set special round to \"Double Gainz\" by designated value of rounds.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/crazy debris [value]</span> – Set special round to \"Crazy Debris\" by designated value of rounds.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/juke-only [value]</span> – Set special round to \"Juke-Only\" by designated value of rounds.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/extra items [value]</span> – Set special round to \"Extra Items\" by designated value of rounds.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/zombie apocalypse [value]</span> – Set special round to \"Zombie apocalypse\" by designated value of rounds.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/randomizespecialrounds [value]</span> – Randomize \"all special round types\" (excl.Gazillionx Gains) by designated value of rounds.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/lastsurvivorevent [on/off]</span> - Disable/Enable last survivor event.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/resetspecialrounds</span> – End the special round event generated by this command.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/save [off/on]</span> - Disable/Enable highscore saving feature on current server.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/checksave</span> - Check highscore saving state for this server.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/setzoom [value]</span> - Set your zoom to designated value.</div>         <div style=\"font-size:18px; font-weight:bold; margin-bottom:8px; margin-top:16px; color:#333;\">Dev+ Commands</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/setmyscore [value]</span> – Set only your score to designated value.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/setscore [value]</span> – Set all players score to designated value.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/addscore [value]</span> – Add all players score by designated value.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/deductscore [value]</span> – Deduct all players score by designated value.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/gazillion [value]</span> – Set special round to \"Gazillionx Gains\" by designated value of rounds.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/shrekoverride [off/on]</span> – Override behavior of \"shrek score\" and \"shrek threshold\" by this command.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/shrekscore [value]</span> – Set \"shrek score\" to desianged value on the next round.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/shrekthreshold [value]</span> – Set \"shrek score\" required to make the \"shrek frenzy\" on the next round.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/setroundtimer [value]</span> - Override round timer to designated value.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/payout [value]</span> - Payout moddcoin to selected player by designated value.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/cleardroppeditems</span> - Clear dropped items on the ground for this server.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/setgainz [value]</span> - Set gainz multiplier on the current round by designated value.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/item [itemname]</span> - Give designated item to all players.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/firerate</span> - Set currently held weapon cooldown to 0.02s.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/clearhelditems</span> - Destroy currently equipping weapon for all players.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/revokeitem</span> - Destroy currently equipping weapon for selected player.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/swapteam</span> - Swap the selected player team to opposite side.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/quantity</span> - Uncap the max ammo for currently held item.</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/boxify</span> - Transform selected player to a \"box\", or transform from \"box\" to \"human\".</div>       <div style=\"margin-bottom:8px;\"><span style=\"background:#222;color:#fff;padding:3px 8px;border-radius:4px;font-family:monospace;font-size:90%;\">/bedify</span> - Transform selected player to a \"bed\", or transform from \"bed\" to \"human\".</div>    </div>    <p style=\"margin-top:8px;\">Please type the command in the box below :</p> </section>","dataType":"string"},"roundType":{"dataType":"string","default":"none"},"specialRoundNum":{"default":null,"dataType":"number"},"@gainsMultiplier":{"default":1,"dataType":"number"},"specialroundtext":{"default":"<center><span class='text-success'>Special Round!</span><br>","dataType":"string"},"tempBool":{"dataType":"boolean"},"tempNumber":{"default":"","dataType":"number"},"@scoreSum":{"default":0,"dataType":"number"},"tempPlayer":{"dataType":"player"},"tempString":{"dataType":"string"},"allMissionsStatus":{"default":"[\"available\",\"available\",\"available\",\"available\",\"available\",\"available\",\"available\"]","dataType":"string"},"allMissionsNames":{"default":"[\"<b> 20 -</b> First to get 50k score. \",\"<b> 20 -</b> First to be the Last Survivor. \",\"<b> 5 -</b> First to get a Rare Item.\",\"<b> 5 -</b> First to Kill a Mystic Crystal Holder. \",\"<b> 20 -</b> First to obtain 2 rare items in a single round.\",\"<b> 20 -</b> First to survive 8 rounds in a row. \",\"<b> 20 -</b> First to reach a kill streak of 6. \"]","dataType":"string"},"j":{"default":0,"dataType":"number"},"killStreakMessages":{"default":"[\"[\\\"Double Kill\\\",\\\"#ffb600\\\"]\",\"[\\\"Triple Kill\\\",\\\"#ff8700\\\"]\",\"[\\\"Quadro Kill\\\",\\\"#ff5b20\\\"]\",\"[\\\"Penta Kill\\\",\\\"#ea1b1b\\\"]\"]","dataType":"string"},"mutatedCount":{"default":0,"dataType":"number"},"logCmds":{"default":"<br>","dataType":"string"},"commandHistory":{"dataType":"string"},"spawn":{"dataType":"region","default":{"x":704,"y":1920,"width":256,"height":128}},"@RandomDebris":{"default":{"Bz0sn6Lr2P":{"probability":20,"quantity":1},"pidFSD3UGm":{"probability":20,"quantity":1},"4Jb9mSFEnw":{"probability":20,"quantity":1},"bFJ5AYBzS2":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"winrateVars":{"default":"[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]","dataType":"string"},"tempPos":{"dataType":"position","default":{"x":0,"y":0}},"Present Box Items":{"default":{"HoRkmdYOhT":{"probability":4,"quantity":1},"Ht5dDfEuGr":{"probability":8,"quantity":1},"OX7kaD3N28":{"probability":20,"quantity":1},"zwAoerFxEw":{"probability":20,"quantity":1}},"dataType":"itemTypeGroup"},"testUnitGroup":{"dataType":"unitGroup"},"decidezombieSickCount":{"default":0,"dataType":"number"},"naturalImmunityMultiplier":{"default":0,"dataType":"number"},"ShrekFrenzyIncecntive":{"default":{"oQOSkx7Oe6":{"probability":4,"quantity":1},"m3xUP8Xx3R":{"probability":1,"quantity":1},"qivW93U4XC":{"probability":1,"quantity":1},"Ht5dDfEuGr":{"probability":4,"quantity":1},"9w6WpNtbMG":{"probability":5,"quantity":1},"OX7kaD3N28":{"probability":3,"quantity":1},"zwAoerFxEw":{"probability":4,"quantity":1},"d73qo6nov5":{"probability":3,"quantity":1},"g48QWebjK3":{"probability":3,"quantity":1}},"dataType":"itemTypeGroup"},"Airdroploot":{"default":{"nidc3swP0c":{"probability":105,"quantity":1},"BKZQ7EL3J5":{"probability":100,"quantity":1},"W8SojbpByx":{"probability":40,"quantity":1},"potatoGun":{"probability":30,"quantity":1},"PBOMyFpPs8":{"probability":40,"quantity":1},"oI7IYepEHl":{"probability":40,"quantity":1},"QZadOkit0E":{"probability":75,"quantity":1},"NUQnpXAIsR":{"probability":75,"quantity":1},"7PnVjGFlfv":{"probability":15,"quantity":1},"9jYPyEYzU4":{"probability":25,"quantity":1},"Z6cZdmeRd8":{"probability":25,"quantity":1},"aCCoh2lFbC":{"probability":40,"quantity":1},"Bfo7rjMh9q":{"probability":100,"quantity":1},"g2XpxVVdEp":{"probability":40,"quantity":1},"U57uEKv8ko":{"probability":100,"quantity":1},"nl7XMFfFN8":{"probability":100,"quantity":1},"PnfbtGyEy9":{"probability":4,"quantity":1},"oQOSkx7Oe6":{"probability":3,"quantity":1},"fjTVEaTI6W":{"probability":4,"quantity":1},"Ht5dDfEuGr":{"probability":4,"quantity":1},"zwAoerFxEw":{"probability":5,"quantity":1},"9w6WpNtbMG":{"probability":6,"quantity":1},"eQSGgauhnV":{"probability":8,"quantity":1},"OX7kaD3N28":{"probability":2,"quantity":1},"aNMjJKOcmQ":{"probability":4,"quantity":1},"g48QWebjK3":{"probability":4,"quantity":1},"d73qo6nov5":{"probability":4,"quantity":1},"m3xUP8Xx3R":{"probability":1,"quantity":1},"EabNufYfRC":{"probability":0.1,"quantity":1},"qivW93U4XC":{"probability":0.1,"quantity":1},"xF5dQGsZnK":{"probability":0.1,"quantity":1},"b5cIzRMo5i":{"probability":0.1,"quantity":1},"4D2dXENCn6":{"probability":0.1,"quantity":1},"kuwo9soxTb":{"probability":0.1,"quantity":1},"dZiBrGMVbr":{"probability":0.1,"quantity":1},"PyrFdp103w":{"probability":0.1,"quantity":1},"HoRkmdYOhT":{"probability":0.1,"quantity":1},"AqvB0z1niq":{"probability":0.1,"quantity":1}},"dataType":"itemTypeGroup"},"#eventrounds":{"default":0,"dataType":"number"},"#eventtype":{"default":"None","dataType":"string"},"logSender":{"dataType":"object","default":{}},"lawnmowerExists":{"default":false,"dataType":"boolean"},"darkShieldExists":{"default":false,"dataType":"boolean"},"discordSendMsg":{"default":" ","dataType":"string"},"topSurvivorsDone":{"default":false,"dataType":"boolean"},"FieldOfView&RangedItems":{"default":{"NUQnpXAIsR":{"probability":25,"quantity":1},"QZadOkit0E":{"probability":25,"quantity":1},"PnfbtGyEy9":{"probability":5,"quantity":1},"nl7XMFfFN8":{"probability":15,"quantity":1},"U57uEKv8ko":{"probability":15,"quantity":1},"potatoGun":{"probability":15,"quantity":1}},"dataType":"itemTypeGroup"},"MeleeVariation (NoRares)":{"default":{"potatoGun":{"probability":25,"quantity":1},"W8SojbpByx":{"probability":15,"quantity":1},"BKZQ7EL3J5":{"probability":20,"quantity":1},"PBOMyFpPs8":{"probability":10,"quantity":1},"nidc3swP0c":{"probability":15,"quantity":1},"oI7IYepEHl":{"probability":10,"quantity":1},"aCCoh2lFbC":{"probability":5,"quantity":1}},"dataType":"itemTypeGroup"},"MeleeVariation (Rares)":{"default":{"g48QWebjK3":{"probability":20,"quantity":1},"eQSGgauhnV":{"probability":27,"quantity":1},"9w6WpNtbMG":{"probability":17,"quantity":1},"OX7kaD3N28":{"probability":10,"quantity":1},"oQOSkx7Oe6":{"probability":10,"quantity":1},"EabNufYfRC":{"probability":1,"quantity":1},"PnfbtGyEy9":{"probability":10,"quantity":1}},"dataType":"itemTypeGroup"},"AllShrekRareItems":{"default":{"Ht5dDfEuGr":{"probability":5,"quantity":1},"OX7kaD3N28":{"probability":5,"quantity":1},"g48QWebjK3":{"probability":8,"quantity":1},"eQSGgauhnV":{"probability":15,"quantity":1},"9w6WpNtbMG":{"probability":11,"quantity":1},"zwAoerFxEw":{"probability":10,"quantity":1},"qivW93U4XC":{"probability":0.1,"quantity":1},"m3xUP8Xx3R":{"probability":5,"quantity":1},"PnfbtGyEy9":{"probability":10,"quantity":1},"4D2dXENCn6":{"probability":0.1,"quantity":1},"PyrFdp103w":{"probability":0.3,"quantity":1},"dZiBrGMVbr":{"probability":0.2,"quantity":1},"aNMjJKOcmQ":{"probability":10,"quantity":1},"b5cIzRMo5i":{"probability":0.1,"quantity":1},"fjTVEaTI6W":{"probability":15,"quantity":1},"oQOSkx7Oe6":{"probability":5,"quantity":1},"EabNufYfRC":{"probability":0.1,"quantity":1},"xF5dQGsZnK":{"probability":0.1,"quantity":1}},"dataType":"itemTypeGroup"},"adminAbusin":{"default":true,"dataType":"boolean"},"JukeOnlyOBJ":{"default":{"Qt6O5vQ73S":{"probability":1,"quantity":1},"zg0q9XdijH":{"probability":1,"quantity":1},"lNYum73d8J":{"probability":1,"quantity":1},"ZfLHg1Eobv":{"probability":1,"quantity":1},"2WmiURJyvA":{"probability":1,"quantity":1},"ifytvLoTQe":{"probability":1,"quantity":1},"VuEqdaWrK6":{"probability":1,"quantity":1},"50i0ayiUUP":{"probability":1,"quantity":1},"2VcqTujggv":{"probability":1,"quantity":1},"wAamODVKfP":{"probability":20,"quantity":1},"8uw3kT4jGn":{"probability":20,"quantity":1},"UV0TG3LUmW":{"probability":20,"quantity":1},"4nOXRbzNP7":{"probability":1,"quantity":1},"jAaa0d8bpB":{"probability":1,"quantity":1},"8jLpAyS8V6":{"probability":1,"quantity":1}},"dataType":"unitTypeGroup","key":"JukeOnlyOBJ","defaultKey":"JukeOnlyOBJ"},"TimerUntilAirdrop":{"default":500,"dataType":"number"},"TimerUntilSpecialItems":{"default":225,"dataType":"number"},"#LastSurvivorEvent":{"default":false,"dataType":"boolean"},"ZombieApocalypseDBPool":{"default":{"pidFSD3UGm":{"probability":0.75,"quantity":1},"VNXie3v1Va":{"probability":0.5,"quantity":1},"UNt1XIGGLN":{"probability":0.5,"quantity":1},"4Jb9mSFEnw":{"probability":0.5,"quantity":1},"Cwxk5cAWoc":{"probability":0.1,"quantity":1},"bFJ5AYBzS2":{"probability":1,"quantity":1},"pBQNswWWlN":{"probability":0.5,"quantity":1},"GGsbG6YegP":{"probability":0.1,"quantity":1},"aj3m9Ndol9":{"probability":0.1,"quantity":1},"KhfTN5teb0":{"probability":0.1,"quantity":1},"hVUbSMbweH":{"probability":0.1,"quantity":1},"r236N2dMT8":{"probability":0.1,"quantity":1},"tdsyBTcddN":{"probability":0.1,"quantity":1},"cWbU4TEd6z":{"probability":0.1,"quantity":1},"rzfnZMante":{"probability":0.1,"quantity":1},"iUM1f0LSjz":{"probability":1,"quantity":1},"FP2UYEWMEg":{"probability":1,"quantity":1}},"dataType":"unitTypeGroup"},"spawnUnderDebris":{"default":{"QZadOkit0E":{"probability":20,"quantity":1},"dUlUsudomI":{"probability":1,"quantity":1},"NUQnpXAIsR":{"probability":20,"quantity":1},"oI7IYepEHl":{"probability":4,"quantity":1},"nidc3swP0c":{"probability":15,"quantity":1},"nl7XMFfFN8":{"probability":5,"quantity":1},"BKZQ7EL3J5":{"probability":10,"quantity":1},"W8SojbpByx":{"probability":5,"quantity":1},"PBOMyFpPs8":{"probability":5,"quantity":1},"6T5fWSolir":{"probability":15,"quantity":1}},"dataType":"itemTypeGroup"},"randomNumber":{"default":0,"dataType":"number"},"toyCarController":{"dataType":"unit"},"100ShotgunLoot":{"default":{"dUlUsudomI":{"probability":4,"quantity":1},"QzsEYxw8Fe":{"probability":1,"quantity":1},"dZiBrGMVbr":{"probability":5,"quantity":1},"PyrFdp103w":{"probability":5,"quantity":1},"xF5dQGsZnK":{"probability":5,"quantity":1},"qivW93U4XC":{"probability":5,"quantity":1}},"dataType":"itemTypeGroup"},"LawnmowerController":{"dataType":"unit"},"staffplayer":{"default":0,"dataType":"number"},"RemoteExists":{"default":false,"dataType":"boolean"},"TestItem":{"default":{"nl7XMFfFN8":{"probability":1,"quantity":1}},"dataType":"itemTypeGroup"},"@is100kcompleted":{"default":false,"dataType":"boolean"},"XMASDebris":{"default":{"bFJ5AYBzS2":{"probability":1,"quantity":1},"iUM1f0LSjz":{"probability":4,"quantity":1},"ifytvLoTQe":{"probability":15,"quantity":1}},"dataType":"unitTypeGroup"},"spectatorTimerMessage":{"default":"","dataType":"string"},"@ScoreGainz":{"default":0,"dataType":"number"},"actualgainz":{"default":0,"dataType":"number"},"bathroom":{"dataType":"region","default":{"x":1472,"y":704,"width":192,"height":256,"inside":"","alpha":1,"depth":192,"z":0}},"@grassTileIDs":{"default":",1,2,3,4,17,18,443,444,445,446,447,448,470,471,472,473,474,475,","dataType":"string"},"AirdropJukeOnlyLoot":{"default":{"9jYPyEYzU4":{"probability":2,"quantity":1},"7PnVjGFlfv":{"probability":1,"quantity":1},"QZadOkit0E":{"probability":15,"quantity":1},"BKZQ7EL3J5":{"probability":15,"quantity":1},"oI7IYepEHl":{"probability":15,"quantity":1},"Z6cZdmeRd8":{"probability":2,"quantity":1},"NUQnpXAIsR":{"probability":15,"quantity":1},"9w6WpNtbMG":{"probability":1,"quantity":1},"nl7XMFfFN8":{"probability":3,"quantity":1},"g2XpxVVdEp":{"probability":1,"quantity":1}},"dataType":"itemTypeGroup"},"shrekScore":{"default":0,"dataType":"number"},"shrekScoreThreshold":{"default":5000,"dataType":"number"},"shrekscoreOverride":{"default":false,"dataType":"boolean"},"RandomScale":{"default":1,"dataType":"number"},"@scorevalidcounter":{"default":5,"dataType":"number"},"@isScoreCounted":{"default":false,"dataType":"boolean"},"10AveragePlayersVars":{"default":"[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]","dataType":"string"},"10AveragePlayers":{"default":0,"dataType":"number"},"tempNumberMission":{"default":0,"dataType":"number"},"#NonGuestUserCount":{"default":0,"dataType":"number"},"#MissionValidity":{"default":false,"dataType":"boolean"},"ZombieApoDebrisSpawn":{"dataType":"region","default":{"x":960,"y":1920,"width":384,"height":384,"inside":"","alpha":1,"depth":192,"z":0}},"spawn3":{"dataType":"region","default":{"x":1536,"y":1088,"width":192,"height":256,"inside":"","alpha":1,"depth":192,"z":0}},"#FirstRound":{"default":true,"dataType":"boolean"},"allMissionsKeys":{"default":"[\"first50k\",\"firstLastSurvivor\",\"firstRareItem\",\"firstCrystalKill\",\"firstDoubleRareItems\",\"first8Rounds\",\"first6killStreak\"]","dataType":"string"},"ChooseZombsRand":{"default":0,"dataType":"number"},"AlphazombsImmunityDecider":{"default":0,"dataType":"number"},"InfectedGate":{"default":false,"dataType":"boolean"},"missionTextDescription":{"dataType":"string"},"selectedObject":{"dataType":"unit"},"finishedAds":{"default":0,"dataType":"number"},"rewardFactor":{"default":0,"dataType":"number"},"inActivePlayers":{"default":0,"dataType":"number"},"inActiveLoginUserCount":{"default":0,"dataType":"number"},"playerCount":{"default":0,"dataType":"number"},"scoreAfkFlag":{"default":true,"dataType":"boolean"},"missionAfkFlag":{"default":true,"dataType":"boolean"},"spawn4":{"dataType":"region","default":{"x":704,"y":960,"width":128,"height":320,"inside":"","alpha":1}},"AdsReward":{"default":{"g2XpxVVdEp":{"probability":1,"quantity":1},"nl7XMFfFN8":{"probability":1,"quantity":1},"aCCoh2lFbC":{"probability":1,"quantity":1},"Bfo7rjMh9q":{"probability":1,"quantity":1},"U57uEKv8ko":{"probability":1,"quantity":1}},"dataType":"itemTypeGroup"},"blessedCountdown":{"default":0,"dataType":"number"},"blessedProgress":{"default":0,"dataType":"number"},"blessedDeltaTime":{"default":0,"dataType":"number"},"blessedTime":{"default":0,"dataType":"number"},"SpookyItems":{"default":{"ZIKfFlRvs4":{"probability":60,"quantity":1},"g2XpxVVdEp":{"probability":5,"quantity":1},"f9tu1nfLoh":{"probability":10,"quantity":1},"wc3VOrFj3i":{"probability":8,"quantity":1},"hI12cyhOl0":{"probability":7,"quantity":1},"cAa37MC5GW":{"probability":4,"quantity":1},"kr6NTk9wSo":{"probability":3.2,"quantity":1},"dZiBrGMVbr":{"probability":0.1,"quantity":1},"Ff9XI5Sg1c":{"probability":2.5,"quantity":1},"EabNufYfRC":{"probability":0.1,"quantity":1},"PyrFdp103w":{"probability":0.1,"quantity":1}},"dataType":"itemTypeGroup"},"SpawnTreasure":{"dataType":"region","default":{"x":256,"y":2624,"width":320,"height":320,"inside":"","alpha":1}},"Treasures":{"default":{"IjY9nCKG6e":{"probability":3,"quantity":1},"pidFSD3UGm":{"probability":6,"quantity":1},"Wt4QbzBSX3":{"probability":1,"quantity":1}},"dataType":"unitTypeGroup"},"zombieAfkCount":{"default":0,"dataType":"number"},"spawn2":{"dataType":"region","default":{"x":832,"y":2624,"width":128,"height":192,"inside":"","alpha":1}},"ExpectedSickCount":{"default":0,"dataType":"number"},"#ScoreVarHandler":{"default":0,"dataType":"number"},"ValentineItems":{"default":{"U57uEKv8ko":{"probability":3,"quantity":1},"Bfo7rjMh9q":{"probability":3,"quantity":1},"iyejlTmBFc":{"probability":3,"quantity":1}},"dataType":"itemTypeGroup"},"JoiningPlayers":{"dataType":"playerGroup"},"LeavingPlayers":{"dataType":"playerGroup"},"GainzItem (NoRares)":{"default":{"U57uEKv8ko":{"probability":1,"quantity":1},"Bfo7rjMh9q":{"probability":1,"quantity":1},"W8SojbpByx":{"probability":1,"quantity":1}},"dataType":"itemTypeGroup"},"GainzItem (Rares)":{"default":{"HoRkmdYOhT":{"probability":0.5,"quantity":1},"Ht5dDfEuGr":{"probability":49,"quantity":1},"aNMjJKOcmQ":{"probability":49,"quantity":1},"xF5dQGsZnK":{"probability":0.5,"quantity":1},"qivW93U4XC":{"probability":0.5,"quantity":1},"b5cIzRMo5i":{"probability":0.5,"quantity":1}},"dataType":"itemTypeGroup"},"TrollItems (NoRares)":{"default":{"9jYPyEYzU4":{"probability":1,"quantity":1},"Z6cZdmeRd8":{"probability":1,"quantity":1},"potatoGun":{"probability":1,"quantity":1},"g2XpxVVdEp":{"probability":1,"quantity":1}},"dataType":"itemTypeGroup"},"TrollItem (Rares)":{"default":{"4D2dXENCn6":{"probability":1,"quantity":1},"7PnVjGFlfv":{"probability":29,"quantity":1},"zwAoerFxEw":{"probability":29,"quantity":1},"m3xUP8Xx3R":{"probability":10,"quantity":1},"fjTVEaTI6W":{"probability":30,"quantity":1},"AqvB0z1niq":{"probability":1,"quantity":1}},"dataType":"itemTypeGroup"},"DecentItems":{"default":{"6T5fWSolir":{"probability":50,"quantity":1},"BKZQ7EL3J5":{"probability":34,"quantity":1},"PBOMyFpPs8":{"probability":5,"quantity":1},"nidc3swP0c":{"probability":50,"quantity":1},"potatoGun":{"probability":15,"quantity":1},"W8SojbpByx":{"probability":15,"quantity":1},"eQSGgauhnV":{"probability":1,"quantity":1},"NUQnpXAIsR":{"probability":30,"quantity":1},"oI7IYepEHl":{"probability":20,"quantity":1},"g2XpxVVdEp":{"probability":20,"quantity":1},"QZadOkit0E":{"probability":30,"quantity":1},"nl7XMFfFN8":{"probability":15,"quantity":1},"U57uEKv8ko":{"probability":5,"quantity":1}},"dataType":"itemTypeGroup"}},"attributeTypes":{"immunity":{"displayValue":true,"keys":"immunity","color":"#25b3d1","isVisible":[],"regenerateSpeed":0,"value":"0","max":5,"min":0,"name":"Immunity","dataType":"","showWhen":"","decimalPlaces":0,"trailingZeros":false,"streamMode":1,"anchorPosition":"below-unit","strokeColor":"#000","strokeThickness":2,"padding":0,"margin":0,"cornerRounding":7,"fontSize":14,"letterSpacing":-0.8,"dimensions":{"width":97,"height":16},"origin":{"x":0.5,"y":0.5},"backgroundColor":"#ffffff00"},"speed":{"displayValue":false,"color":"#ffe922","showAsHUD":true,"isVisible":[],"regenerateSpeed":0,"value":0,"max":0,"min":0,"name":"Speed","dataType":"","showWhen":"","decimalPlaces":0},"points":{"name":"Score","min":0,"max":10000000,"value":500,"regenerateSpeed":0,"isVisible":true,"showAsHUD":true,"color":"#ff9600","displayValue":false,"decimalPlaces":0,"dataType":"","showWhen":"","keys":"points","streamMode":1,"trailingZeros":false,"anchorPosition":"below-unit","strokeColor":"#000","strokeThickness":2,"padding":0,"margin":0,"cornerRounding":7,"fontSize":14,"letterSpacing":-0.8,"dimensions":{"width":97,"height":16},"origin":{"x":0.5,"y":0.5},"backgroundColor":"#ffffff00"},"UvOpuABaRI":{"decimalPlaces":2,"color":"white","showAsHUD":true,"displayValue":true,"isVisible":true,"regenerateSpeed":0,"value":1,"dataType":"","max":3,"min":1,"name":"Speed Multiplier","showWhen":""},"EAs4aT4ZuS":{"name":"Highscore (for leaderboard)","min":0,"max":10000000,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"trailingZeros":false,"streamMode":1,"anchorPosition":"below-unit","strokeColor":"#000","strokeThickness":2,"padding":0,"margin":0,"cornerRounding":7,"fontSize":14,"letterSpacing":-0.8,"dimensions":{"width":97,"height":16},"origin":{"x":0.5,"y":0.5},"backgroundColor":"#ffffff00"}},"settings":{"gravity":{"x":0,"y":0},"displayScoreboard":true,"scoreAttributeId":"points","addStrokeToNameAndAttributes":false,"menuHTML":"<div id='left-menu' class=\"flex-column hide-on-mobile p-3\" style=\"max-width: 320px\">\r\n\t<div id='user-div' class=\"flex-shrink-0 mb-3\" style=\"box-shadow: 0 0 15px rgba(0,0,0,.5);\">\r\n\t\t{{ loginForm }}\r\n\t</div>\r\n\r\n\t<div id='menu-div' class=\"flex-shrink-0 mb-3\" style=\"box-shadow: 0 0 15px rgba(0,0,0,.5);\">\r\n\t\t{{ sideMenu }}\r\n\t</div>\r\n\r\n\t{{#if isUserLoggedIn }}\r\n    {{ friendsPanel }}\r\n  {{/if}}\r\n</div>\r\n<!-- test -->\r\n<div id='right-menu' class=\"d-flex justify-content-center align-items-center flex-grow-1\">\r\n\t<div class=\"w-100\">\r\n\t  <h1 class=\"text-center game-title\">\r\n\t  </h1>\r\n\t\t<div id=\"menu-container\" class=\"row flex-grow-0 menu-row margin-auto justify-content-center\">\r\n\t\t  <div id=\"menu-column-left-container\" class=\"d-none d-sm-block land-page-container\" style=\"min-width: 150px; max-width: 235px; width: 20vw\">\r\n\t\t\t  <div class=\"white-bg\" style=\"box-shadow: 0 0 15px rgba(0,0,0,.5);\">\r\n\t\t\t\t  <center><h3>Instructions</h3></center>\r\n\t\t\t\t  <hr>\r\n\t\t\t\t  {{#unless isMobile}}\r\n\t\t\t\t    <div style=\"overflow-y: scroll; height: 180px\">\r\n\t\t\t\t      <span class=\"key-bg\">WASD or Arrow Keys</span> - Movement keys<br />\r\n              <span class=\"key-bg\">G</span> - Drop item<br />\r\n              <span class=\"key-bg\">E</span> - Pick up item<br />\r\n              <span class=\"key-bg\">B</span> - Buy items as a human<br />\r\n              <span class=\"key-bg\">Z</span> - Teleport to Spawn as a zombie<br />\r\n              <span class=\"key-bg\">Mouse Left Click</span> - Use item<br />\r\n\t\t\t  <span class=\"key-bg\">I and hold</span> - Emote<br />\r\n              <center><h5>When logged in:</h5></center>\r\n              <span class=\"key-bg\">Enter</span> - Chat<br />\r\n              <span class=\"key-bg\">M</span> - Missions panel<br />\r\n\t\t\t\t    </div>\r\n\t\t\t\t  {{else}}\r\n\t\t\t\t    <div style=\"overflow-y: scroll; height: 180px; line-height: 1.4\">\r\n\t\t\t\t      <span class=\"key-bg\">Left Joystick</span> - Movement<br />\r\n              <span class=\"key-bg\">Right Joystick</span> - Rotate<br />\r\n              <img src=\"https://cache.modd.io/asset/spriteImage/1694615488795_icons8-take-96.png\" style=\"height: 1em\"> - Pick up item<br />\r\n              <img src=\"https://cache.modd.io/asset/spriteImage/1694615661147_icons8-breakable-96.png\" style=\"height: 1em\"> - Drop item<br />\r\n              <img src=\"https://cache.modd.io/asset/spriteImage/1694615266796_icons8-shopping-cart-144.png\" style=\"height: 1em\"> - Buy items as a human<br />\r\n              <img src=\"https://cache.modd.io/asset/spriteImage/1694615102917_icons8-portal-144.png\" style=\"height: 1em\"> - Teleport to Spawn as a zombie<br />\r\n              <img src=\"https://cache.modd.io/asset/spriteImage/1694696270514_icons8-crosshair-100.png\" style=\"height: 1em\"> - Use item<br />\r\n              <center><h5>When logged in:</h5></center>\r\n              <span class=\"key-bg\">Top-left chat button</span> - Chat<br />\r\n              <!--<span class=\"key-bg\">M</span> - Missions panel<br />-->\r\n\t\t\t\t    </div>\r\n\t\t\t\t  {{/unless}}\r\n\r\n\t\t\t  </div>\r\n\t\t\t  <div class=\"white-bg\" style=\"display: none; box-shadow: 0 0 15px rgba(0,0,0,.5); margin-top: 16px;\">\r\n\t\t\t\t  <center>\r\n\t\t\t\t    <h4>Featured Video</h4>\r\n\t\t\t\t    <iframe width=\"100%\" src=\"https://www.youtube.com/watch?v=8AovBoSseTc\" style=\"border-radius: 5px; width: 100%\" title=\"Rostor\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen></iframe>\r\n\t\t\t\t    <!-- <a href=\"https://www.youtube.com/watch?v=A5bJAQhSI9c\" target=\"_blank\">NOVA MUTAÇÃO ZUMBI Braains.io</a><br />\r\n\t\t\t\t    <i>By <a href=\"https://www.youtube.com/@Godenot\" target=\"_blank\">Godenot</a></i> -->\r\n\t\t\t\t  </center>\r\n\t\t\t\t  \r\n\t\t\t  </div>\r\n\t\t\t</div>\r\n\t\t\t<!-- changed d-lg-block to d-sm-block because wanted to show it in mobile app -->\r\n\t\t\t<div id=\"menu-column-main-container\" class=\"pl-3 land-page-container\" style=\"{{#if constants.guestMode }} margin:auto {{/if}}; min-width: 300px; max-width: 500px; width: 40vw\">\r\n\t\t\t\t<div id=\"menu-column-main\" style=\"max-width: 100%\">\r\n\t\t\t\t\t<div class=\"white-bg\" style=\"max-width: 100%\">\r\n\t\t\t\t\t  <center>\r\n\t\t\t\t\t    <div>\r\n\t\t\t\t\t      <image id=\"braains-logo-title\" src=\"https://cache.modd.io/asset/spriteImage/1694459024542_braains-logo.png\" alt=\"Braains.io\"></image>\r\n\t\t\t\t\t    </div>\r\n\t\t\t\t\t    <p><i>Created by {{gameDetails.creator.name}}</i></p>\r\n\t\t\t\t\t  </center>\r\n\t\t\t\t\t\t{{ playForm }}\r\n\t\t\t\t\t\t<center>Enable Hardware Acceleration in your browser to get better performance, <a href=\"https://www.lifewire.com/hardware-acceleration-in-chrome-4125122\">visit here</a> for more information</center>\r\n\t\t\t\t\t\t<br>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div id=\"menu-column-right-container\" class=\"d-none d-sm-block land-page-container\" style=\"min-width: 150px; max-width: 235px; margin-left: 16px; width: 20vw\">\r\n\t\t\t\t<div id=\"coinshop\" class=\"white-bg\" style=\"box-shadow: 0 0 15px rgba(0,0,0,.5);\">\r\n\t\t\t\t\t{{ coinShop }}\r\n\t\t\t\t\t<div style=\"text-align: center\">\r\n\t\t\t\t\tJoin to participate in community challenges for coins and help devs improve the game\r\n  \t\t\t\t\t\t<a href=\"https://discord.gg/EV5kKCY\" target=\"_blank\" style=\"text-decoration: none;\">\r\n  \t\t\t\t\t\t  <img title=\"Braains.io Discord Server\" src=\"https://cache.modd.io/asset/spriteImage/1655514748046_resim_2022-06-18_041227000.png\" width=\"100%\">\r\n  \t\t\t\t\t\t</a>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t</div>\r\n\r\n\r\n  \t\t\t<div id=\"skinshop\"class=\"white-bg\" style=\"margin-top: 16px; box-shadow: 0 0 15px rgba(0,0,0,.5); width: 194px;\">\r\n  \t         <a href=\"https://www.modd.io/play/braains3d/\">\r\n              <img src=\"https://cache.modd.io/asset/spriteImage/1739432863746_image_2025-02-13_104743084.png\" alt=\"Join 3D Braains.io\" style=\"width:150px; height:150px\">\r\n             </a>\r\n  \t\t\t  </div>\r\n\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n<style>\r\n\t#right-menu ul {\r\n\t\tpadding-left: 15px;\r\n\t}\r\n\r\n\t#right-menu hr {\r\n\t\tmargin: 10px 0px;\r\n\t}\r\n\t#player-input-modal, #custom-modal {\r\n    user-select: text;\r\n  }\r\n  .key-bg {\r\n    background-color: rgba(0, 0, 0, 0.3);\r\n    border: 1px solid rgba(0, 0, 0, 0.3);\r\n    border-radius: 5px;\r\n    padding-right: 5px;\r\n    padding-left: 5px;\r\n    line-height: 1.4;\r\n  }\r\n  #braains-logo-title {\r\n    width: 100%;\r\n    height: 100%;\r\n  }\r\n  .scoreboard-user-entry:nth-child(1) span {\r\n    border-radius: 5px;\r\n    background-color: rgba(255, 232, 25, .3);\r\n  }\r\n  .scoreboard-user-entry:nth-child(2) span {\r\n    border-radius: 5px;\r\n    background-color: rgba(227, 227, 227, .3);\r\n  }\r\n  .scoreboard-user-entry:nth-child(3) span {\r\n    border-radius: 5px;\r\n    background-color: rgba(189, 121, 66, .3);\r\n  }\r\n</style><style>  @media screen and (max-width: 768px) {\r\n    #menu-column-right-container {\r\n      display: none;\r\n    }\r\n    #coinshop {\r\n      display: none;\r\n    }\r\n    #skinshop {\r\n      display: none;\r\n    }\r\n\t#menu-column-left-container > div:nth-child(2) {\r\n\t display: none;\r\n\t}\r\n  }\r\n</style>","allowDuplicateIPs":false,"prettifyingScoreboard":false,"continuousPhysics":false,"camera":{"trackingDelay":40,"useBounds":false,"projectionMode":"orthographic","zoom":{"default":800}},"images":{"logo":""},"leaderboardButton":true,"persistentScoreAttributeId":"EAs4aT4ZuS","light":{"directional":{"intensity":0,"position":{"x":-233,"y":0,"z":0}},"ambient":{"intensity":3}},"menudiv":""},"images":[{"key":"sound","url":"https://modd.s3.amazonaws.com/sprites/1512752415166_fire_shotgun.mp3"},{"key":"sound","url":"https://modd.s3.amazonaws.com/sprites/1512755562800_fire_empty.mp3"},{"key":"sound","url":"https://modd.s3.amazonaws.com/sprites/1512755594697_fire_minigun.mp3"},{"key":"sound","url":"https://modd.s3.amazonaws.com/sprites/1512755610131_fire_pistol.mp3"},{"key":"sound","url":"https://modd.s3.amazonaws.com/sprites/1512755622475_fire_rifle.mp3"},{"key":"sound","url":"https://modd.s3.amazonaws.com/sprites/1512755644317_man_cough.mp3"},{"key":"sound","url":"https://modd.s3.amazonaws.com/sprites/1512755666761_man_scream1.mp3"},{"key":"sound","url":"https://modd.s3.amazonaws.com/sprites/1512755675893_man_scream2.mp3"},{"key":"sound","url":"https://modd.s3.amazonaws.com/sprites/1512756015200_reload.mp3"}],"tilesets":[{"image":"https://cache.modd.io/two_houses-0.18/tilesheet.png","name":"tilesheet_complete"},{"image":"https://cache.modd.io/two_houses-0.18/2x1.png","name":"2x1"},{"image":"https://cache.modd.io/two_houses-0.18/2x3.png","name":"2x3"},{"image":"https://cache.modd.io/two_houses-0.18/3x1.png","name":"3x1"},{"image":"https://cache.modd.io/two_houses-0.18/3x4.png","name":"3x4"},{"image":"https://cache.modd.io/two_houses-0.18/spritesheet/shop.png","name":"shop"}],"factions":{"6BTQoFGUFP":{"name":"asdf","relationships":{},"attributes":{"4P4pWD5ExV":{"name":"Stamina","min":0,"max":"100","value":"100","regenerateSpeed":0.3,"isVisible":true,"color":"yellow","showAsHUD":true}}},"PgVCU0WgYj":{"name":"fda","relationships":{}}},"playerTypes":{"human":{"color":"white","variables":{"adminName":{"default":"null00","dataType":"string"},"selectedPlayer":{"dataType":"player"},"chatHistory":{"default":"","dataType":"string"},"roundsPlayed":{"default":1,"dataType":"number"},"rare items in a row":{"default":0,"dataType":"number","key":"rare items in a row","defaultKey":"rare items in a row"},"rounds survived in a row":{"default":0,"dataType":"number"},"killStreakTimer":{"default":0,"dataType":"number","key":"killStreakTimer","defaultKey":"killStreakTimer"},"isBlessed?":{"default":false,"dataType":"boolean","key":"isBlessed?","defaultKey":"isBlessed?"},"registeredInvities":{"default":0,"dataType":"number","streamMode":1},"AfkTimer":{"default":2,"dataType":"number"},"BonusGainz":{"default":0,"dataType":"number"},"BonusSpeed":{"default":0,"dataType":"number"},"BonusZoom":{"default":0,"dataType":"number"},"InfectionScore":{"default":0,"dataType":"number"},"hasIncognito?":{"default":false,"dataType":"boolean"},"selectedObject":{"dataType":"unit"},"isGoingToMutated?":{"default":false,"dataType":"boolean"},"isSurvived?":{"default":false,"dataType":"boolean"},"BonusZoomMobile":{"default":0,"dataType":"number"}},"name":"Human","relationships":{"WARiuSXpmG":"hostile","zombie":"hostile"},"attributes":{"points":{"decimalPlaces":0,"displayValue":false,"name":"Points","min":0,"max":10000000,"value":500,"regenerateSpeed":0,"isVisible":true,"showAsHUD":true,"color":"#ff9600","origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}},"UvOpuABaRI":{"decimalPlaces":2,"color":"white","showAsHUD":true,"displayValue":true,"isVisible":true,"regenerateSpeed":0,"value":1,"dataType":"","max":3,"min":1,"name":"Speed Multiplier","showWhen":""},"EAs4aT4ZuS":{"name":"Highscore (for leaderboard","min":0,"max":10000000,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"trailingZeros":false,"streamMode":1,"anchorPosition":"below-unit","strokeColor":"#000","strokeThickness":2,"padding":0,"margin":0,"cornerRounding":7,"fontSize":14,"letterSpacing":-0.8,"dimensions":{"width":97,"height":16},"origin":{"x":0.5,"y":0.5},"backgroundColor":"#ffffff00"}},"showNameLabel":true},"zombie":{"showNameLabel":true,"name":"Zombie","attributes":{"points":{"name":"Points","min":0,"max":10000000,"value":500,"regenerateSpeed":0,"isVisible":true,"showAsHUD":true,"color":"#ff9600","displayValue":false,"decimalPlaces":0,"origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}},"UvOpuABaRI":{"decimalPlaces":2,"color":"white","showAsHUD":true,"displayValue":true,"isVisible":true,"regenerateSpeed":0,"value":1,"dataType":"","max":"2.8","min":1,"name":"Speed Multiplier","origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}},"EAs4aT4ZuS":{"name":"Highscore (for leaderboard","min":0,"max":10000000,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"trailingZeros":false,"streamMode":1,"anchorPosition":"below-unit","strokeColor":"#000","strokeThickness":2,"padding":0,"margin":0,"cornerRounding":7,"fontSize":14,"letterSpacing":-0.8,"dimensions":{"width":97,"height":16},"origin":{"x":0.5,"y":0.5},"backgroundColor":"#ffffff00"}},"color":"#d44950","relationships":{"human":"hostile"},"variables":{"adminName":{"default":"null00","dataType":"string","key":"adminName","defaultKey":"adminName"},"selectedPlayer":{"dataType":"player","key":"selectedPlayer","defaultKey":"selectedPlayer"},"chatHistory":{"default":"","dataType":"string"},"roundsPlayed":{"default":1,"dataType":"number"},"rare items in a row":{"default":0,"dataType":"number","key":"rare items in a row","defaultKey":"rare items in a row"},"rounds survived in a row":{"default":0,"dataType":"number"},"isBlessed?":{"default":false,"dataType":"boolean"},"registeredInvities":{"default":0,"dataType":"number","streamMode":1},"AfkTimer":{"default":2,"dataType":"number"},"killStreak":{"default":0,"dataType":"number","streamMode":1},"InfectionScore":{"default":0,"dataType":"number"},"hasIncognito?":{"default":false,"dataType":"boolean"},"InfectCooldown":{"default":0,"dataType":"number"},"killStreakTimer":{"default":0,"dataType":"number"},"TeleportCooldown":{"default":0,"dataType":"number"},"BonusZoom":{"default":0,"dataType":"number"},"BonusSpeed":{"default":0,"dataType":"number"},"BonusGainz":{"default":0,"dataType":"number"},"selectedObject":{"dataType":"unit"},"isSurvived?":{"default":false,"dataType":"boolean"},"BonusZoomMobile":{"default":0,"dataType":"number"}}},"M9xalZXJ3i":{"name":"Spectator","attributes":{"UvOpuABaRI":{"decimalPlaces":2,"color":"white","showAsHUD":true,"displayValue":true,"isVisible":false,"regenerateSpeed":0,"value":1,"dataType":"","max":3,"min":1,"name":"Speed Multiplier","showWhen":"","origin":{"x":0.5,"y":0.5},"dimensions":{"width":97,"height":16}},"EAs4aT4ZuS":{"name":"Highscore (for leaderboard","min":0,"max":10000000,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"trailingZeros":false,"streamMode":1,"anchorPosition":"below-unit","strokeColor":"#000","strokeThickness":2,"padding":0,"margin":0,"cornerRounding":7,"fontSize":14,"letterSpacing":-0.8,"dimensions":{"width":97,"height":16},"origin":{"x":0.5,"y":0.5},"backgroundColor":"#ffffff00"}},"color":"white","relationships":{},"variables":{"adminName":{"dataType":"string"},"selectedPlayer":{"dataType":"player"},"chatHistory":{"default":"","dataType":"string"},"roundsPlayed":{"default":1,"dataType":"number"},"rare items in a row":{"default":0,"dataType":"number"},"rounds survived in a row":{"default":0,"dataType":"number"},"killStreakTimer":{"default":0,"dataType":"number"},"isBlessed?":{"default":false,"dataType":"boolean"},"AfkTimer":{"default":3,"dataType":"number"},"hasIncognito?":{"default":false,"dataType":"boolean"},"selectedObject":{"dataType":"unit"},"isSurvived?":{"default":false,"dataType":"boolean"},"BonusZoomMobile":{"default":0,"dataType":"number"}},"showNameLabel":false}},"particles":{"7pA9mm1MLG":{"name":"spark","color":"#f4ff00","lifeBase":30,"quantityBase":5,"quantityTimespan":30,"deathOpacityBase":1,"mountPosition":{"x":0,"y":0},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}},"87BiLybZhy":{"name":"bullet","color":"#636363","lifeBase":50,"quantityBase":1,"quantityTimespan":30,"deathOpacityBase":1,"mountPosition":{"x":0,"y":0},"velocityVector":{"baseVector":{"x":0,"y":0},"minVector":{"x":-1,"y":-1},"maxVector":{"x":1,"y":1}}}},"particleTypes":{},"entityTypeVariables":{"Timer":{"default":25,"dataType":"number"},"carriedUnit":{"dataType":"unit","key":"carriedUnit","defaultKey":"carriedUnit"},"armourSafe":{"default":0,"dataType":"number"},"isRare?":{"default":true,"dataType":"boolean"},"shrekified?":{"default":false,"dataType":"boolean","key":"shrekified?","defaultKey":"shrekified?"},"isMutated?":{"default":false,"dataType":"boolean"},"stunTimer":{"default":null,"dataType":"number","streamMode":1},"isRedMutatedZombie?":{"default":false,"dataType":"boolean","streamMode":1},"scorecheckpoint":{"default":"","dataType":"number"},"isscorecheckpointadded":{"dataType":"boolean"},"TeleportCooldown":{"default":0,"dataType":"number"},"InfectCooldown":{"default":0,"dataType":"number"},"FunctionCooldown":{"default":0,"dataType":"number"},"TransumutationCooldown":{"default":0,"dataType":"number"},"FunctionCounter":{"default":0,"dataType":"number"},"AfkTimer":{"default":3,"dataType":"number"},"BonusGainz":{"default":0,"dataType":"number"},"BonusZoom":{"default":0,"dataType":"number"},"BonusSpeed":{"default":0,"dataType":"number"},"returnforce":{"default":0,"dataType":"number","streamMode":1},"InfectionScore":{"default":0,"dataType":"number"},"isPickup?":{"default":false,"dataType":"boolean"},"RandomNumber":{"default":0,"dataType":"number"},"ShrekScore":{"default":0,"dataType":"number"},"ShrekFrenzy?":{"default":false,"dataType":"boolean"},"hasIncognito?":{"default":false,"dataType":"boolean"},"ShrekItemGrade":{"default":0,"dataType":"number"},"ShrekExchangeRate":{"default":0,"dataType":"number"},"BonusFlatScore":{"default":0,"dataType":"number"},"GiveFreeScoreToUnit":{"dataType":"unit"},"MaxSpawn":{"default":0,"dataType":"number"},"Scale":{"default":0,"dataType":"number","streamMode":1,"key":"Scale","defaultKey":"Scale"},"SensorSize":{"default":115,"dataType":"number","streamMode":1,"key":"SensorSize","defaultKey":"SensorSize"},"ShrekScoreThreshold":{"default":5000,"dataType":"number","streamMode":1},"selectedObject":{"dataType":"unit"},"randomText":{"default":0,"dataType":"number"},"DropItem":{"default":0,"dataType":"number"},"isGoingToMutated?":{"dataType":"string"},"createdItem":{"dataType":"item"},"isSurvived?":{"default":false,"dataType":"boolean"},"isExtraLife?":{"default":false,"dataType":"boolean"},"isInvincibility?":{"default":false,"dataType":"boolean"},"invincibilityItemEffect":{"dataType":"itemType"},"isUnpickable?":{"default":false,"dataType":"boolean"},"invincibilityItem":{"dataType":"item"},"rareItemtounit":{"dataType":"unit"},"RareItemVariant":{"default":"Ht5dDfEuGr","dataType":"itemType"},"rareRandomize":{"default":true,"dataType":"boolean"},"RareItemChance":{"default":0,"dataType":"number"},"randomized":{"default":true,"dataType":"boolean"},"hasBonus?":{"default":true,"dataType":"boolean"},"BonusZoomMobile":{"default":0,"dataType":"number"},"UltraRareItemVariant":{"dataType":"itemType"},"UltraRareItemChance":{"default":0,"dataType":"number"},"isOpenable?":{"default":false,"dataType":"boolean"}},"playerTypeVariables":{"adminName":{"dataType":"string"},"selectedPlayer":{"dataType":"player"},"chatHistory":{"dataType":"string"},"rare items in a row":{"default":0,"dataType":"number"},"rounds survived in a row":{"default":0,"dataType":"number"},"isBlessed?":{"default":false,"dataType":"boolean"},"killStreakTimer":{"default":0,"dataType":"number"},"scorecheckpoint":{"default":0,"dataType":"number","key":"scorecheckpoint","defaultKey":"scorecheckpoint"},"isscorecheckpointadded":{"default":false,"dataType":"boolean","key":"isscorecheckpointadded","defaultKey":"isscorecheckpointadded"},"registeredInvities":{"default":0,"dataType":"number","streamMode":1},"InfectCooldown":{"default":0,"dataType":"number","key":"InfectCooldown","defaultKey":"InfectCooldown"},"TeleportCooldown":{"default":0,"dataType":"number","key":"TeleportCooldown","defaultKey":"TeleportCooldown"},"AfkTimer":{"default":3,"dataType":"number","key":"AfkTimer","defaultKey":"AfkTimer"},"BonusGainz":{"default":0,"dataType":"number"},"BonusSpeed":{"default":0,"dataType":"number"},"BonusZoom":{"default":0,"dataType":"number"},"killStreak":{"default":0,"dataType":"number","streamMode":1},"InfectionScore":{"default":0,"dataType":"number"},"hasIncognito?":{"default":false,"dataType":"boolean"},"selectedObject":{"dataType":"unit","key":"selectedObject","defaultKey":"selectedObject"},"isGoingToMutated?":{"default":false,"dataType":"boolean"},"isSurvived?":{"default":false,"dataType":"boolean"},"BonusZoomMobile":{"default":0,"dataType":"number"}},"ui":{"landingpage":{"key":"landingpage","folderName":"Landing Page","parent":null,"order":0,"expanded":true},"landingpagefull":{"name":"Title Screen Ui","htmlData":"","parent":"landingpage","key":"landingpagefull","order":0,"type":"view","preventDelete":true,"cssData":"  @media screen and (max-width: 768px) {\r\n    #menu-column-right-container {\r\n      display: none;\r\n    }\r\n    #coinshop {\r\n      display: none;\r\n    }\r\n    #skinshop {\r\n      display: none;\r\n    }\r\n\t#menu-column-left-container > div:nth-child(2) {\r\n\t display: none;\r\n\t}\r\n  }\r\n"},"dialogue":{"key":"dialogue","folderName":"Dialogue","parent":null,"order":1,"expanded":true},"dialogueview":{"name":"Dialogue View","htmlData":"\n<div class=\"modal\" id=\"modd-dialogue-modal\" tabindex=\"-1\" style='z-index:9050' data-backdrop='static'\n    data-keyboard='false'>\n    <div class=\"modal-dialog modal-lg modal-dialog-centered\" role=\"document\">\n        <div class=\"modal-content\">\n          {{#if dialogue.dialogueTitle}}\n            <div class=\"modal-header\">\n                <h5 class=\"modal-title\">{{dialogue.dialogueTitle}}</h5>\n            </div>\n          {{/if}}\n          \n            <div class=\"modal-body\">\n                <div class=\"row row-eq-height\">\n                    <div class=\"{{ternary dialogue.image 'col-4' 'd-none'}}\" id=\"modd-dialogue-image-container\">\n                        <!-- if an image was added to the dialogue, it is displayed here\n                        a ternary condition in #modd-dialogue-message-container changes css based on whether an image was added -->\n                        <img id=\"modd-dialogue-image\" style=\"background: none;\" class=\"loading w-100 rounded\" src=\"{{dialogue.image}}\" alt=\"image\">\n                    </div>\n\n                    <div class=\"{{ternary dialogue.image 'col-8 pl-md-0' 'col-12'}}\" id=\"modd-dialogue-message-container\">\n                        <div class=\"d-flex flex-column h-100\">\n                            <div class=\"flex-shrink-0 flex-grow-1 wrap-text\">\n                                <!-- modd-dialogue-message id needs to be kept for typing effect-->\n                                <p id=\"modd-dialogue-message\">\n                                    <!-- adds the content of HTMLmessage here\n                                    HTML syntax included in the message should render as expected\n                                    <style> tags included in the message are applied as well -->\n                                    {{dialogue.message}}\n                                </p>\n                                <p class=\"position-absolute mb-0 text-muted {{ternary dialogue.areOptionsRendered 'd-none' ''}}\" id=\"modd-dialogue-skip-hint\" style=\"bottom: 0; right: 15px;\">\n                                    <!-- customize the prompt for continuing to the next message -->\n                                    {{#if isMobile}}\n                                      tap to continue.\n                                    {{else}}\n                                      press enter/click to continue.\n                                    {{/if}}\n                                </p>\n                            </div>\n\n                            <div id=\"modd-dialogue-options-container\" class=\"{{ternary dialogue.areOptionsRendered '' 'd-none'}}\">\n                                <div id=\"modd-dialogue-options\" class=\"w-100\">\n                                    <!-- if options were added to the dialogue, they display here\n                                    #each iterates through the options, you can use if conditions and options.length to change rendering logic based on amount of options-->\n                                    {{#each dialogue.options}}\n                                        <!-- dialogue-option class needs to be kept -->\n                                        <button class=\"w-100 btn btn-light border btn-block text-left dialogue-option\">\n                                            <i class=\"d-none fa fa-check mr-2 option-check\"></i>\n                                            <span>{{name}}<span>\n                                        </button>  \n                                    {{/each}}\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n","parent":"dialogue","key":"dialogueview","order":0,"type":"view","preventDelete":true},"inputModal":{"name":"Input Modal View","htmlData":"\n<div class=\"modal align-items-center\" id=\"player-input-modal\" tabindex=\"-1\">\n    <div class=\"modal-dialog modal-lg\" role=\"document\">\n        <div class=\"modal-content\">\n            <div class=\"modal-header\" id=\"player-input-modal-dismiss-button\">\n                <h5 class=\"modal-title\"></h5>\n                <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n                    <span aria-hidden=\"true\">&times;</span>\n                </button>\n            </div>\n\n            <div class=\"modal-body\">\n            <div class=\"form-group\">\n                <label id=\"player-input-field-label\">{{inputModal.fieldLabel}}</label>\n                <input id=\"player-input-field\" class=\"form-control\">\n            </div>\n\n            <div class=\"row\">\n                <div class=\"col-sm-12 d-flex justify-content-end\">\n                <div id=\"player-input-cancel-container\">\n                    <button type=\"button\" id=\"player-input-cancel\" class=\"btn pull-right\">Cancel</button>\n                </div>\n                <div id=\"player-input-submit-container\">\n                    <button type=\"button\" id=\"player-input-submit\" class=\"btn pull-right btn-primary ml-2\">Submit</button>\n                </div>\n                </div>\n            </div>\n            </div>\n        </div>\n    </div>\n</div>\n","parent":"dialogue","key":"inputModal","order":1,"type":"view","preventDelete":true},"customModal":{"name":"Custom Modal View","htmlData":"\n<div class=\"modal fade align-items-center\" id=\"custom-modal\" tabindex=\"-1\">\n  <div class=\"modal-dialog modal-lg modal-dialog-centered\" role=\"document\">\n    <div class=\"modal-content\">\n\n      <div class=\"modal-header text-center\">\n        <h4 class=\"modal-title\"></h4>\n        <button id='custom-modal-dismiss-button' type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n          <span aria-hidden=\"true\">&times;</span>\n        </button>\n      </div>\n\n      <div class=\"modal-body\" style=\"overflow-y:scroll; height: 80vh\">\n        <div class=\"content\">{{customModal.content}}</div>\n      </div>\n\n      <div class=\"modal-footer\">\n        <div class=\"row\">\n          <div class=\"col-sm-12\">\n            <div id=\"custom-modal-cancel-container\">\n              <button type=\"button\" data-dismiss=\"modal\" id=\"custom-modal-cancel\" class=\"btn pull-right\">Close</button>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n","parent":"dialogue","key":"customModal","order":2,"type":"view","preventDelete":true},"inGameUiFull":{"name":"Full Screen Overlay","htmlData":"<div id=\"emote-picker-container\" style=\"display: none\">\r\n    <div id=\"emote-picker\">\r\n        <svg viewBox=\"0 0 100 100\">\r\n            <path d=\"M 67.10100716628344 3.015368960704585 A 50 50 0 0 0 32.89899283371656 3.0153689607045777 L 50 50 L 67.10100716628344 3.015368960704585\" fill=\"rgba(0, 0, 0, 0)\" class=\"trigger\" id=\"emote-picker-1\"></path>\r\n            <text x=\"50\" y=\"14\">Grr!</text>\r\n            <path d=\"M 93.30127018922194 25.000000000000004 A 50 50 0 0 0 67.10100716628344 3.015368960704585 L 50 50 L 93.30127018922194 25.000000000000004\" fill=\"rgba(0, 0, 0, 0)\" class=\"trigger\" id=\"emote-picker-2\"></path>\r\n            <text x=\"73.14035392671589\" y=\"22.422400029256995\">Boohoo</text>\r\n            <path d=\"M 99.2403876506104 58.68240888334652 A 50 50 0 0 0 93.30127018922194 25.000000000000004 L 50 50 L 99.2403876506104 58.68240888334652\" fill=\"rgba(0, 0, 0, 0)\" class=\"trigger\" id=\"emote-picker-3\"></path>\r\n            <text x=\"85.45307909846571\" y=\"43.74866554742641\">Stop!</text>\r\n            <path d=\"M 82.13938048432698 88.3022221559489 A 50 50 0 0 0 99.2403876506104 58.68240888334652 L 50 50 L 82.13938048432698 88.3022221559489\" fill=\"rgba(0, 0, 0, 0)\" class=\"trigger\" id=\"emote-picker-4\"></path>\r\n            <text x=\"81.17691457931731\" y=\"67.99999992538754\">Sorry!</text>\r\n            <path d=\"M 50 100 A 50 50 0 0 0 82.13938048432698 88.3022221559489 L 50 50 L 50 100\" fill=\"rgba(0, 0, 0, 0)\" class=\"trigger\" id=\"emote-picker-5\"></path>\r\n            <text x=\"62.31272526766974\" y=\"83.8289343090037\">Haha</text>\r\n            <path d=\"M 17.86061951567303 88.3022221559489 A 50 50 0 0 0 50 100 L 50 50 L 17.86061951567303 88.3022221559489\" fill=\"rgba(0, 0, 0, 0)\" class=\"trigger\" id=\"emote-picker-6\"></path>\r\n            <text x=\"37.687274975208005\" y=\"83.82893439740397\">Push!</text>\r\n            <path d=\"M 0.7596123493895988 58.68240888334651 A 50 50 0 0 0 17.86061951567303 88.3022221559489 L 50 50 L 0.7596123493895988 58.68240888334651\" fill=\"rgba(0, 0, 0, 0)\" class=\"trigger\" id=\"emote-picker-7\"></path>\r\n            <text x=\"18.823085549915255\" y=\"68.00000014922492\">Help!</text>\r\n            <path d=\"M 6.698729810778069 24.999999999999993 A 50 50 0 0 0 0.7596123493895988 58.68240888334651 L 50 50 L 6.698729810778069 24.999999999999993\" fill=\"rgba(0, 0, 0, 0)\" class=\"trigger\" id=\"emote-picker-8\"></path>\r\n            <text x=\"14.546920856652292\" y=\"43.74866580196486\">❤️</text>\r\n            <path d=\"M 32.898992833716534 3.015368960704592 A 50 50 0 0 0 6.698729810778069 24.999999999999993 L 50 50 L 32.898992833716534 3.015368960704592\" fill=\"rgba(0, 0, 0, 0)\" class=\"trigger\" id=\"emote-picker-9\"></path>\r\n            <text x=\"26.859645875288354\" y=\"22.422400195395163\">I'm muted</text>\r\n        </svg>\r\n    </div>\r\n</div>\r\n<style>\r\n    #emote-picker-container {\r\n        display: flex;\r\n        align-items: center;\r\n        justify-content: center;\r\n        width: 100%;\r\n        height: 100%;\r\n        pointer-events: none;\r\n    }\r\n\r\n    #emote-picker {\r\n        background-color: rgba(0, 0, 0, 0.5);\r\n        border-radius: 50%;\r\n        max-width: 70vh;\r\n        max-height: 70vh;\r\n        height: 40vw;\r\n        width: 40vw;\r\n        overflow: hidden;\r\n        pointer-events: auto;\r\n    }\r\n\r\n    #emote-picker > svg > path:hover {\r\n        cursor: pointer;\r\n        fill: rgba(255, 255, 255, 0.2);\r\n    }\r\n\r\n    #emote-picker > svg > text {\r\n        font-size: 5px;\r\n        text-anchor: middle;\r\n        pointer-events: none;\r\n    }\r\n    #chat-main-window img[src=\".gif\"],\r\n    #chat-main-window img[src=\".webp\"],\r\n    #chat-main-window img[src*=\".apng\"] {\r\n        content: url(\"https://i.ibb.co/9k7q5kGR/INVALID-PROFILE-PICTURE.png\");\r\n    }\r\n</style>","parent":"inGameUi","key":"inGameUiFull","order":0,"type":"view","preventDelete":true,"cssData":""},"inGameUi":{"key":"inGameUi","folderName":"In-Game UI","parent":null,"order":2,"expanded":true},"defaultInGameUI":{"name":"Default In-Game UI","htmlData":"\n<!-- style used by other sections -->\n<style>\n    .game-ui {\n        z-index: 1000;\n        color: white;\n        margin: 10px;\n        display: none;\n        width: fit-content;\n        margin-left: auto;\n        padding-left: 10px;\n        text-align: center;\n    }\n\n    @media (max-width: 1024px) {\n        .game-ui {\n            font-size: 12px;\n            margin: 3px;\n            margin-left: auto;\n        }\n    }\n</style>\n\n<!-- leaderboard section -->\n<style>\n    #leaderboard {\n        right: 0px;\n        top: 30px;\n        text-align: right;\n        padding: 10px;\n\n        position: absolute;\n        color: white;\n        /* display: none; */\n        user-select: none;\n    }\n\n    .ui-text-scoreboard {\n        font-size: 18px;\n    }\n\n    #scoreboard-header {\n        border-bottom: 1px solid white;\n        display: flex;\n        align-items: center;\n        gap: 2px;\n\n        margin-bottom: 0px;\n        width: fit-content;\n        margin-left: auto;\n    }\n\n    #leaderboard-toggle {\n        display: inline;\n        cursor: pointer;\n    }\n\n    #leaderboard-title {\n        cursor: pointer;\n        text-decoration-line: none;\n        font-size: 14px;\n        font-weight: 600;\n    }\n\n    #scoreboard {\n        height: 175px;\n        overflow: auto;\n        padding-top: 10px;\n    }\n\n    #scoreboard .scoreboard-mobile {\n        width: 100px;\n        height: 100px;\n    }\n\n    @media (min-width: 1024px) {\n        .ui-text-scoreboard {\n            font-size: 24px;\n        }\n\n        #scoreboard-header {\n            gap: 4px;\n        }\n\n        #leaderboard-title {\n            font-size: 18px;\n            font-weight: 500;\n        }\n    }\n\n    @media only screen and (max-width: 1000px) {\n        #scoreboard .scoreboard-mobile {\n            height: 100px;\n            font-size: 13px;\n        }\n    }\n</style>\n\n<!-- game engine uses #leaderboard, #ui-text-scoreboard-id, #leaderboard-toggle, #scoreboard ids to add/update data -->\n<!-- so make sure to keep these ids -->\n<div class=\"leaderboard-container\">\n    <div id=\"leaderboard\">\n        <div class=\"shop ui-text-scoreboard\" id=\"ui-text-scoreboard-id\"></div>\n\n        <span id=\"scoreboard-header\">\n            <div id=\"leaderboard-toggle\"></div>\n            <u id=\"leaderboard-title\">\n                Leaderboard\n            </u>\n        </span>\n        <div id=\"scoreboard\"></div>\n    </div>\n</div>\n\n<!-- section for ui-text-top, highscore & ui-text-center -->\n<style>\n    .ui-text-top {\n        font-size: 24px;\n        padding: 10px;\n        display: none;\n    }\n\n    #counter {\n        position: absolute;\n        left: 0px;\n        right: 0;\n        top: 10px;\n        text-align: center;\n        color: white;\n        display: flex;\n        justify-content: center;\n        text-align: center;\n    }\n\n    .ui-text-top {\n        font-size: 1rem;\n        color: white;\n        background-color: rgba(0, 0, 0, 0.5);\n        border-radius: 5px;\n        padding: 10px;\n    }\n\n    .highscore-text {\n        z-index: 1030;\n        font-size: 4rem;\n    }\n\n    .ui-text-center-lg {\n        font-size: 3em;\n        z-index: 1000;\n        display: none;\n        position: absolute;\n        top: 50%;\n        left: 50%;\n        transform: translate(-50%, -50%);\n        color: white;\n    }\n\n    @media (max-width: 768px) {\n        .ui-text-top {\n            font-size: 15px;\n            padding: 5px 10px;\n        }\n    }\n</style>\n\n<!-- game engine uses #ui-text-top-id, #ui-text-center-lg-id ids to add/update data -->\n<div id=\"counter\" class=\"pointer-events-none\">\n    <div class=\"col-3\"></div>\n    <div class=\"col-6 p-0 d-flex align-items-center justify-content-center\">\n        <div class=\"ui-text-top text-center\" id=\"ui-text-top-id\"></div>\n        <div class=\"highscore-text\"></div>\n    </div>\n    <div class=\"col-3\"></div>\n</div>\n<span class=\"pointer-events-none ui-text-center-lg\" id=\"ui-text-center-lg-id\"></span>\n\n<!-- section for inventory -->\n<style>\n    .inventory-container {\n        position: absolute;\n        bottom: 0px;\n        left: 50%;\n        min-width: 100px;\n        transform: translate(-50%);\n    }\n\n    #inventory-slots {\n        margin-bottom: 5px;\n    }\n\n    #attribute-bars {\n        margin-left: 2px;\n        margin-right: 2px;\n        position: relative;\n        margin: auto;\n    }\n</style>\n\n<!-- game engine uses #inventory-slots-key-stroke, #unit-status, .game-ui, #inventory-slots, #attribute-bars to add/update data -->\n<!-- so make sure to not change these ids -->\n<div class=\"inventory-container\">\n    <div class=\"game-ui user-select-none\" id=\"unit-status\">\n        <div id=\"inventory-slots-key-stroke\" role=\"group\" aria-label=\"Justified button\"></div>\n        <div id=\"inventory-slots\" role=\"group\" aria-label=\"Justified button group\"></div>\n        <div id=\"attribute-bars\"></div>\n    </div>\n</div>\n\n<!-- section for backpack & player attributes -->\n<style>\n    .backpack-container {\n        position: fixed;\n        right: 0px;\n        bottom: 0px;\n        text-align: right;\n    }\n\n    #backpack {\n        width: 240px;\n        margin: 10px;\n    }\n\n    #backpack-items-div {\n        display: flex;\n        justify-content: center;\n    }\n\n    #open-inventory-button {\n        position: relative;\n\n        padding: 2px 4px;\n        border-radius: 4px;\n        right: 3px;\n        align-items: center;\n        font-size: 16px;\n        width: fit-content;\n        margin-left: auto;\n        display: flex;\n        gap: 4px;\n        border: 1px solid rgb(76, 81, 85);\n    }\n\n    .open-inventory-icon {\n        width: 20px;\n        height: 20px;\n        display: inline;\n    }\n\n    .open-inventory-name {\n        display: none;\n    }\n\n    #my-score-div {\n        padding: 10px;\n        font-size: 18px;\n        border: 1px solid gray;\n    }\n\n    .score-div {\n        right: 0px;\n        bottom: 0px;\n        text-align: right;\n        user-select: none;\n    }\n\n    @media (max-width: 1024px) {\n        #backpack {\n            margin: 3px;\n        }\n\n        #my-score-div {\n            font-weight: 500;\n            font-size: 12px;\n            padding: 2px 5px;\n        }\n    }\n\n    @media (min-width: 1024px) {\n        #open-inventory-button {\n            right: 10px;\n            border-style: none;\n        }\n\n        .open-inventory-name {\n            display: inline;\n        }\n    }\n\n    @media (max-width: 768px) {\n        .score-div {\n            font-size: 10px !important;\n        }\n    }\n</style>\n\n<!-- game engine uses #backpack, #backpack-items-div, #open-inventory-button, #my-score-div, #players-attribute-div ids to add/update data -->\n<!-- so make sure to not change these ids -->\n<div class=\"backpack-container\">\n    <div id=\"backpack\" class=\"dark-bg\" style=\"display: none;\">\n        <div id=\"backpack-items-div\" class=\"row\"></div>\n    </div>\n\n    <div>\n        <button id=\"open-inventory-button\" class=\"btn-success\" style=\"display: none;\">\n            <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"60\" viewBox=\"0 0 479.846 479.846\"\n                class=\"open-inventory-icon\" fill=\"#fff\">\n                <path\n                    d=\"M283.502 6.922c-15.232 0-27.58 12.348-27.58 27.58v2.445c0 4.41 3.575 7.987 7.984 8 77.475.23 98.447-.324 107.63.096 4.566.209 8.388-3.42 8.388-7.99v-2.55c0-15.231-12.35-27.58-27.582-27.581h-68.84zm-156 .002c-15.232 0-27.58 12.348-27.58 27.58v2.55c0 4.572 3.82 8.2 8.387 7.99 9.19-.42 30.165.134 107.63-.095 4.41-.013 7.985-3.59 7.985-8v-2.445c0-15.232-12.35-27.58-27.582-27.58h-68.84zm-15.78 54c-29.081 0-48.664 29.57-37.949 56.11 16.59 41.16 41.45 72.808 73.91 94.048l.149.092a59.626 59.626 0 0032.73 9.75h8.356c4.42 0 8.007-3.578 8.004-7.998V68.924a8 8 0 00-7.998-8h-77.201zm109.202 0a8 8 0 00-8 8v149.539c0 7.435 3.527 14.172 9.35 18.46 2.31 1.709 2.663 1.738 17.65 9.08 14.714-7.208 15.334-7.37 17.648-9.08 5.822-4.287 9.352-11.024 9.352-18.46V68.923a8 8 0 00-8-8h-38zm69.998 0a7.998 7.998 0 00-7.996 8v144c-.003 4.42 3.582 8 8.002 8h8.176a60.24 60.24 0 0033.07-9.852c32.45-21.23 57.308-52.879 73.898-94.039 10.711-26.604-8.902-56.11-37.949-56.11h-77.201zM90.75 184.598c-3.784.145-7.386 2.95-7.717 7.406l-16.62 220.35c-2.11 32.835 23.911 60.57 56.82 60.57h233.38c32.716 0 58.939-27.516 56.82-60.66l-16.61-220.26c-.53-7.12-9.43-10.03-14.06-4.58-11.93 14.04-25.85 26.579-41.83 37.039-12.48 8.15-26.94 12.46-41.83 12.46h-16.337c-2.664 0-5.125 1.345-6.633 3.54-3.758 5.467-8.951 10.002-15.24 13.08l-17.45 8.55a8.059 8.059 0 01-7.04 0l-17.45-8.55c-6.288-3.078-11.48-7.613-15.238-13.08-1.51-2.195-3.972-3.54-6.635-3.54h-16.518c-14.355 0-28.457-3.89-41.628-12.45-16.051-10.432-29.96-23.06-41.84-37.05-1.736-2.043-4.073-2.913-6.344-2.825zm149.174 1.326c4.42 0 8 3.58 8 8v5.539c0 7.194-8.88 10.774-13.852 5.46a7.998 7.998 0 01-2.148-5.46v-5.54c0-4.42 3.58-8 8-8zm-202.881 81c-14.53 0-26.83 11.338-28.01 25.818l-1.345 16.531c-.38 4.66 3.298 8.65 7.972 8.65h23.264a7.997 7.997 0 017.982 8.528c-.273 4.253-3.994 7.473-8.256 7.473H13.06a8 8 0 00-7.975 7.35l-4.99 61.269c-1.321 16.357 11.599 30.38 28.01 30.38h14.695c4.814 0 8.463-4.211 7.935-8.995-1.055-9.548-1.032-2.399 9.944-148.407.348-4.64-3.325-8.597-7.979-8.597H37.043zm390.103 0c-4.654 0-8.327 3.956-7.978 8.597 10.937 145.476 10.976 139.052 9.943 148.407-.528 4.784 3.125 8.996 7.938 8.996h14.693c16.41 0 29.333-14.022 28.012-30.38l-4.992-61.27a8.002 8.002 0 00-7.975-7.35h-25.863a8 8 0 01-7.985-8.53c.273-4.252 3.994-7.47 8.256-7.47h22.99c4.676 0 8.352-3.99 7.973-8.649l-1.346-16.53c-1.18-14.48-13.48-25.821-28.01-25.821h-15.656zm-263.632 30h152.818c15.21 0 27.592 12.38 27.592 27.59v68.818c0 15.21-12.382 27.592-27.592 27.592H163.514c-15.21 0-27.59-12.382-27.59-27.592v-68.818c0-15.21 12.38-27.59 27.59-27.59zm0 16c-6.39 0-11.59 5.2-11.59 11.59v68.818c0 6.39 5.2 11.592 11.59 11.592h152.818c6.39 0 11.592-5.202 11.592-11.592v-68.818c0-6.39-5.202-11.59-11.592-11.59H163.514zm28.41 35h96c4.42 0 8 3.58 8 8s-3.58 8-8 8h-96c-4.42 0-8-3.58-8-8s3.58-8 8-8z\">\n                </path>\n            </svg>\n            <span class=\"open-inventory-name\">Backpack</span>\n        </button>\n    </div>\n    <div id=\"my-score-div\" class=\"game-ui dark-bg score-div\">\n        <span id=\"players-attribute-div\"></span>\n    </div>\n</div>\n","parent":"inGameUi","order":1,"type":"view","preventDelete":true},"playerAttributes":{"name":"Player Attributes UI","htmlData":"<!-- game engine uses #my-score-div, #players-attribute-div ids to add/update data -->\n     <div id=\"my-score-div\" class=\"game-ui dark-bg score-div\">\n        <span id=\"players-attribute-div\"></span>\n    </div>\n","parent":"inGameUi","order":4,"type":"view","preventDelete":true,"key":"playerAttributes","cssData":"    .game-ui {\r\n        z-index: 1000;\r\n        color: white;\r\n        margin: 10px;\r\n        display: none;\r\n        width: fit-content;\r\n        margin-left: auto;\r\n        padding-left: 10px;\r\n        text-align: right;\r\n    }\r\n\r\n    @media (max-width: 1024px) {\r\n        .game-ui {\r\n            font-size: 12px;\r\n            margin: 3px;\r\n            margin-left: auto;\r\n        }\r\n    }"},"overlayText":{"name":"Overlay Text","htmlData":"<!-- game engine uses #ui-text-top-id, #ui-text-center-lg-id ids to add/update data -->\n<div id=\"counter\" class=\"pointer-events-none\">\n    <div class=\"col-3\"></div>\n    <div class=\"col-6 p-0 d-flex align-items-center justify-content-center\">\n        <div class=\"ui-text-top text-center dark-bg\" id=\"ui-text-top-id\"></div>\n        <div class=\"highscore-text\"></div>\n    </div>\n    <div class=\"col-3\"></div>\n</div>\n<div class=\"pointer-events-none ui-text-top-left\" id=\"ui-text-top-left-id\"></div>\n<span class=\"pointer-events-none ui-text-center-lg\" id=\"ui-text-center-lg-id\"></span>\n","parent":"inGameUi","order":5,"type":"view","hasPreview":false,"preventDelete":true,"key":"overlayText","cssData":"    .ui-text-top {\r\n        font-size: 18px;\r\n        padding: 10px;\r\n        display: none;  \r\n        color: white;\r\n        background-color: rgba(0, 0, 0, 0.5);\r\n        border-radius: 5px;\r\n    }\r\n\r\n    #counter {\r\n        position: absolute;\r\n        left: 0px;\r\n        right: 0;\r\n        top: 10px;\r\n        text-align: center;\r\n        color: white;\r\n        display: flex;\r\n        justify-content: center;\r\n    }\r\n\r\n    .highscore-text {\r\n        z-index: 1030;\r\n        font-size: 4rem;\r\n    }\r\n\r\n    .ui-text-center-lg {\r\n        font-size: 3em;\r\n        z-index: 1000;\r\n        display: none;\r\n        position: absolute;\r\n        top: 50%;\r\n        left: 50%;\r\n        transform: translate(-50%, -50%);\r\n        color: white;\r\n    }\r\n\r\n    @media (max-width: 768px) {\r\n        .ui-text-top {\r\n            font-size: 15px;\r\n            padding: 5px 10px;\r\n        }\r\n    }"},"leftSideMenu":{"name":"Top Left Buttons","htmlData":"            <div class=\"nav-button \" data-tooltip=\"Open Skin Shop\" id=\"navbar-shop-button\">\n            <svg class=\"svg-style\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"\n                class=\"size-6\">\n                <path\n                    d=\"M2.25 2.25a.75.75 0 0 0 0 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 0 0-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 0 0 0-1.5H5.378A2.25 2.25 0 0 1 7.5 15h11.218a.75.75 0 0 0 .674-.421 60.358 60.358 0 0 0 2.96-7.228.75.75 0 0 0-.525-.965A60.864 60.864 0 0 0 5.68 4.509l-.232-.867A1.875 1.875 0 0 0 3.636 2.25H2.25ZM3.75 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM16.5 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z\" />\n            </svg>\n\n        </div>\n\n        <div class=\"nav-button \" data-tooltip=\"View subscription plans\" id=\"navbar-subscription-button\">\n            <svg class=\"svg-style\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"\n                class=\"size-6\">\n                <path fill-rule=\"evenodd\"\n                    d=\"M7.5 6v.75H5.513c-.96 0-1.764.724-1.865 1.679l-1.263 12A1.875 1.875 0 0 0 4.25 22.5h15.5a1.875 1.875 0 0 0 1.865-2.071l-1.263-12a1.875 1.875 0 0 0-1.865-1.679H16.5V6a4.5 4.5 0 1 0-9 0ZM12 3a3 3 0 0 0-3 3v.75h6V6a3 3 0 0 0-3-3Zm-3 8.25a3 3 0 1 0 6 0v-.75a.75.75 0 0 1 1.5 0v.75a4.5 4.5 0 1 1-9 0v-.75a.75.75 0 0 1 1.5 0v.75Z\"\n                    clip-rule=\"evenodd\" />\n            </svg>\n        </div>\n\n        <div class=\"nav-button \" data-tooltip=\"Open Moderate Window\" id=\"navbar-moderate-button\">\n            <svg class=\"svg-style\" fill=\"#fff\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\"\n                viewBox=\"0 0 135.362 135.423\">\n                <g transform=\"translate(-198.887 -70.704)\">\n                    <path fill={\"#fff\" } strokeWidth=\"0.265\"\n                        d=\"M317.274 205.776c-.437-.198-9.694-9.273-20.571-20.168-14.837-14.86-19.788-19.972-19.82-20.465-.087-1.404.107-2.012.912-2.848l.835-.866-9.187-9.187-9.187-9.187-6.146 6.147-6.146 6.146 1.22 1.261c2.08 2.148 2.317 3.279 1.048 4.992-1.317 1.78-11.765 11.963-12.595 12.277-1.766.668-1.355 1.032-20.417-18.057-9.917-9.932-18.112-18.33-18.21-18.66-.44-1.496.034-2.15 5.782-7.964 3.075-3.11 6.055-5.997 6.622-6.416 1.715-1.265 2.846-1.028 4.992 1.05l1.262 1.221 17.783-17.783 17.784-17.783-1.222-1.262c-2.077-2.147-2.315-3.277-1.05-4.992.42-.568 3.307-3.548 6.417-6.623 5.814-5.747 6.467-6.222 7.964-5.78.33.097 8.727 8.291 18.659 18.209 19.089 19.061 18.726 18.65 18.058 20.417-.314.83-10.498 11.277-12.277 12.595-1.714 1.268-2.845 1.03-4.992-1.048l-1.262-1.22-6.146 6.146-6.146 6.146 9.185 9.185 9.185 9.186.736-.702c1.035-.987 1.97-1.291 3.033-.987 1.204.346 40.297 39.387 40.72 40.666.202.613.202 1.108 0 1.72-.35 1.059-13.542 14.323-14.657 14.738-.943.35-1.19.339-2.166-.104z\">\n                    </path>\n                </g>\n            </svg>\n        </div>\n\n        <div class=\"nav-button \" data-tooltip=\"Open Chat\" id=\"navbar-chat-button\">\n            <svg class=\"svg-style\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"\n                class=\"size-6\">\n                <path fill-rule=\"evenodd\"\n                    d=\"M12 2.25c-2.429 0-4.817.178-7.152.521C2.87 3.061 1.5 4.795 1.5 6.741v6.018c0 1.946 1.37 3.68 3.348 3.97.877.129 1.761.234 2.652.316V21a.75.75 0 0 0 1.28.53l4.184-4.183a.39.39 0 0 1 .266-.112c2.006-.05 3.982-.22 5.922-.506 1.978-.29 3.348-2.023 3.348-3.97V6.741c0-1.947-1.37-3.68-3.348-3.97A49.145 49.145 0 0 0 12 2.25ZM8.25 8.625a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Zm2.625 1.125a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875-1.125a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z\"\n                    clip-rule=\"evenodd\" />\n            </svg>\n        </div>\n\n        <div class=\"nav-button \" data-tooltip=\"Open Follow Panel\" id=\"navbar-follow-button\">\n            <svg class=\"svg-style\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"\n                class=\"size-6\">\n                <path fill-rule=\"evenodd\"\n                    d=\"M18.685 19.097A9.723 9.723 0 0 0 21.75 12c0-5.385-4.365-9.75-9.75-9.75S2.25 6.615 2.25 12a9.723 9.723 0 0 0 3.065 7.097A9.716 9.716 0 0 0 12 21.75a9.716 9.716 0 0 0 6.685-2.653Zm-12.54-1.285A7.486 7.486 0 0 1 12 15a7.486 7.486 0 0 1 5.855 2.812A8.224 8.224 0 0 1 12 20.25a8.224 8.224 0 0 1-5.855-2.438ZM15.75 9a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z\"\n                    clip-rule=\"evenodd\" />\n            </svg>\n\n        </div>\n\n        <div class=\"nav-button \" data-tooltip=\"Open Configuration\" id=\"navbar-setting-button\">\n            <svg class=\"svg-style\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"\n                class=\"size-6\">\n                <path fill-rule=\"evenodd\"\n                    d=\"M11.078 2.25c-.917 0-1.699.663-1.85 1.567L9.05 4.889c-.02.12-.115.26-.297.348a7.493 7.493 0 0 0-.986.57c-.166.115-.334.126-.45.083L6.3 5.508a1.875 1.875 0 0 0-2.282.819l-.922 1.597a1.875 1.875 0 0 0 .432 2.385l.84.692c.095.078.17.229.154.43a7.598 7.598 0 0 0 0 1.139c.015.2-.059.352-.153.43l-.841.692a1.875 1.875 0 0 0-.432 2.385l.922 1.597a1.875 1.875 0 0 0 2.282.818l1.019-.382c.115-.043.283-.031.45.082.312.214.641.405.985.57.182.088.277.228.297.35l.178 1.071c.151.904.933 1.567 1.85 1.567h1.844c.916 0 1.699-.663 1.85-1.567l.178-1.072c.02-.12.114-.26.297-.349.344-.165.673-.356.985-.57.167-.114.335-.125.45-.082l1.02.382a1.875 1.875 0 0 0 2.28-.819l.923-1.597a1.875 1.875 0 0 0-.432-2.385l-.84-.692c-.095-.078-.17-.229-.154-.43a7.614 7.614 0 0 0 0-1.139c-.016-.2.059-.352.153-.43l.84-.692c.708-.582.891-1.59.433-2.385l-.922-1.597a1.875 1.875 0 0 0-2.282-.818l-1.02.382c-.114.043-.282.031-.449-.083a7.49 7.49 0 0 0-.985-.57c-.183-.087-.277-.227-.297-.348l-.179-1.072a1.875 1.875 0 0 0-1.85-1.567h-1.843ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z\"\n                    clip-rule=\"evenodd\" />\n            </svg>\n        </div>\n\n        <div class=\"nav-button \" data-tooltip=\"Share Game\" id=\"navbar-share-button\">\n            <svg class=\"svg-style\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"\n                class=\"size-6\">\n                <path fill-rule=\"evenodd\"\n                    d=\"M15.75 4.5a3 3 0 1 1 .825 2.066l-8.421 4.679a3.002 3.002 0 0 1 0 1.51l8.421 4.679a3 3 0 1 1-.729 1.31l-8.421-4.678a3 3 0 1 1 0-4.132l8.421-4.679a3 3 0 0 1-.096-.755Z\"\n                    clip-rule=\"evenodd\" />\n            </svg>\n        </div>\n\n        <div class=\"nav-button \" data-tooltip=\"Open highscore leaderboard\" id=\"navbar-leaderboard-button\">\n            <svg class=\"svg-style\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"\n                class=\"size-6\">\n                <path fill-rule=\"evenodd\"\n                    d=\"M5.166 2.621v.858c-1.035.148-2.059.33-3.071.543a.75.75 0 0 0-.584.859 6.753 6.753 0 0 0 6.138 5.6 6.73 6.73 0 0 0 2.743 1.346A6.707 6.707 0 0 1 9.279 15H8.54c-1.036 0-1.875.84-1.875 1.875V19.5h-.75a2.25 2.25 0 0 0-2.25 2.25c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-2.25-2.25h-.75v-2.625c0-1.036-.84-1.875-1.875-1.875h-.739a6.706 6.706 0 0 1-1.112-3.173 6.73 6.73 0 0 0 2.743-1.347 6.753 6.753 0 0 0 6.139-5.6.75.75 0 0 0-.585-.858 47.077 47.077 0 0 0-3.07-.543V2.62a.75.75 0 0 0-.658-.744 49.22 49.22 0 0 0-6.093-.377c-2.063 0-4.096.128-6.093.377a.75.75 0 0 0-.657.744Zm0 2.629c0 1.196.312 2.32.857 3.294A5.266 5.266 0 0 1 3.16 5.337a45.6 45.6 0 0 1 2.006-.343v.256Zm13.5 0v-.256c.674.1 1.343.214 2.006.343a5.265 5.265 0 0 1-2.863 3.207 6.72 6.72 0 0 0 .857-3.294Z\"\n                    clip-rule=\"evenodd\" />\n            </svg>\n        </div>\n        <div class=\"nav-button \" data-tooltip=\"Report player\" id=\"report-player-button\" style=\"background-color: #996157\">\n            <svg class=\"svg-style\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"\n                class=\"size-6\">\n                <path fill-rule=\"evenodd\"\n                    d=\"M5.166 2.621v.858c-1.035.148-2.059.33-3.071.543a.75.75 0 0 0-.584.859 6.753 6.753 0 0 0 6.138 5.6 6.73 6.73 0 0 0 2.743 1.346A6.707 6.707 0 0 1 9.279 15H8.54c-1.036 0-1.875.84-1.875 1.875V19.5h-.75a2.25 2.25 0 0 0-2.25 2.25c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-2.25-2.25h-.75v-2.625c0-1.036-.84-1.875-1.875-1.875h-.739a6.706 6.706 0 0 1-1.112-3.173 6.73 6.73 0 0 0 2.743-1.347 6.753 6.753 0 0 0 6.139-5.6.75.75 0 0 0-.585-.858 47.077 47.077 0 0 0-3.07-.543V2.62a.75.75 0 0 0-.658-.744 49.22 49.22 0 0 0-6.093-.377c-2.063 0-4.096.128-6.093.377a.75.75 0 0 0-.657.744Zm0 2.629c0 1.196.312 2.32.857 3.294A5.266 5.266 0 0 1 3.16 5.337a45.6 45.6 0 0 1 2.006-.343v.256Zm13.5 0v-.256c.674.1 1.343.214 2.006.343a5.265 5.265 0 0 1-2.863 3.207 6.72 6.72 0 0 0 .857-3.294Z\"\n                    clip-rule=\"evenodd\" />\n            </svg>\n        </div>\n","parent":"menus","order":0,"hasPreview":false,"type":"view","preventDelete":true,"key":"leftSideMenu","cssData":".float-left {\r\n            position: fixed;\r\n            top: 0;\r\n            display: flex;\r\n            flex-direction: row;\r\n            left: 0;\r\n            margin-left: 10px;\r\n            margin-top: 10px;\r\n        }\r\n\r\n     [data-tooltip]:hover::after {\r\n            display: block;\r\n            top: 125%;\r\n            position: absolute;\r\n            border-radius: 10px;\r\n            color: white;\r\n            content: attr(data-tooltip);\r\n            border: 1px solid #111827;\r\n            background-color : #1F2937;\r\n            padding: .5em;\r\n            white-space: nowrap;\r\n        } \r\n\r\n        .nav-button {\r\n            background-color: rgb(55 65 81);\r\n            font-weight: 500;\r\n            font-size: .875rem;\r\n            line-height: 1.25rem;\r\n            padding: 5px;\r\n            border-color: #0000;\r\n            border-width: 1px;\r\n\r\n            border-radius: 0.5rem;\r\n            display: none;\r\n            justify-content: center;\r\n            align-items: center;\r\n\r\n            cursor: pointer;\r\n\r\n        }\r\n\r\n        .svg-style {\r\n            width: 1.25rem;\r\n            height: 1.25rem;\r\n            color: white;\r\n        }"},"menus":{"folderName":"Menu","parent":null,"order":0,"expanded":true,"hasPreview":false},"Global":{"folderName":"Global","parent":null,"order":0,"expanded":true,"hasPreview":false},"GlobalVars":{"name":"Global.css","htmlData":"","parent":"Global","order":0,"type":"view","preventDelete":true,"hasPreview":false,"key":"GlobalVars","cssData":" :root {\n     --modal-bg-color: #282e37;\n    --modal-divider-color: transparent;\n    --modal-text-color: #fff;\n    --modal-tab-active-bg-color: #536075;\n    --modal-tab-inactive-bg-color: #636363;\n    --modal-tab-text-color: #fff;\n    --modal-active-tab-text-color: #fff;\n    --modal-header-color: #fff;\n    --modal-coin-background-color: #fff;\n    --modal-content-bg-color : #576375;\n    --purchasable-bg-color: #282e37;\n    --purchasable-text-color: #fff;\n    --purchasable-bg-color-hover: #65748b;\n    --unpurchasable-bg-color: #3e4755;\n}\n\n/* :root {\n    --modal-bg-color: #9E5C33F7;\n    --modal-border-color: #3A322C;\n    --modal-divider-color: transparent;\n    --modal-text-color: #fff;\n    --modal-tab-active-bg-color: #4b2d19;\n    --modal-item-tab-active-bg-color: #6d482d;\n    --modal-tab-inactive-bg-color: #915f3b;\n    --modal-tab-text-color: #fff;\n    --modal-active-tab-text-color: #fff;\n    --modal-tab-border-color: #6b7280;\n    --modal-header-color: #fff;\n    --modal-header-border-color: #4b2d19;\n    --modal-coin-background-color:#744627;\n    --modal-coin-text-color: #fff;\n    --modal-coin-border-color: #502B15;\n    --modal-content-bg-color : #744627;\n    --modal-tab-text-active-border-color: #995931;\n    --purchasable-bg-color: #d5ad61;\n    --purchasable-border-color: #3A322C;\n    --purchasable-border-color-hover: #DDAB52;\n    --purchasable-text-color: #000;\n    --purchasable-text-color-hover : #fff;\n    --purchasable-bg-color-hover: #9E5C33;\n    --unpurchasable-bg-color: #545454CC;\n    --unpurchasable-bg-color-hover: #535E7299;\n}  */\n\n/* Custom styles for the skin shop modal */\n/* color variables and other themes are defined in In-Game Shop section */\n\na.btn:focus {\n    box-shadow: none !important;\n}\n\n.modal-content-new {\n    background-color: var(--modal-bg-color);\n    border: 4px solid var(--modal-border-color);\n    backdrop-filter: blur(10px);\n    color: var(--modal-text-color);\n    border-radius: 10px;\n}\n\n.modal-title {\n    font-weight: 900;\n    font-size: 1.75rem;\n}\n\n.modal-bg-color {\n    background-color: #272e37e5;\n}\n\n\n.popover {\n    background-color: #272e37e5;\n    border: 2px solid #6b7280;\n    color: white;\n    border-radius: 10px;\n}\n\n.popover div{\n    color:white;\n}\n\n.modal-header-new {\n    border-bottom: 1px solid var(--modal-divider-color);\n    padding : 16px;\n    display: flex;\n    flex-direction: \"row\";\n    align-items: \"center\";\n}\n\n.modal-body-new {\n    padding : 0px;\n}\n\n.owned-skins {\n    border: 2px solid #6b7280;\n    border-radius: 5px;\n    padding: 5px;\n    margin-bottom: 10px;\n}\n\n.owned-skins.active {\n    background-color: #4b5563;\n}\n\n.other-lists {\n    padding: 5px;\n    color: var(--modal-text-color);\n    border-radius: 5px;\n}\n\n.other-lists.active {\n    background-color: var(--modal-tab-active-bg-color);\n}\n\nul {\n    list-style-type: none;\n    margin: 0;\n    padding: 0;\n}\n\n.modd-coin-bg {\n    background-color: #374151;\n}\n\n.page-link {\n    background-color: transparent !important;\n    border: 0px solid #374151 !important;\n    border-radius: 2px !important;\n}\n\n.page-item.active .page-link {\n    background-color: transparent !important;\n    border: 4px solid var(--purchasable-border-color) !important;\nborder-radius : 8px !important;\n}\n\n.blue-hover {\n    margin: 5px;\n    border: 2px solid transparent;\n}\n\n.blue-border {\n    border: 2px solid #254edb;\n    border-radius: 4px;\n}\n\n.blue-hover:hover {\n    border: 2px solid #254edb;\n    border-radius: 4px;\n}\n\n.blue-hover:hover .modd-coin-bg {\n    background-color: #254edb;\n}\n\n.grey-bordered {\n    border: 2px solid #374151;\n    border-radius: 5px;\n    box-sizing: border-box;\n}\n\n/* Default styles for larger screens */\n.shop-grid-container {\n  display: grid;\n  background-color: var(--modal-content-bg-color);\n  grid-template-columns: repeat(5, minmax(0, 1fr)); /* adjust column width as needed */\n  grid-gap: 10px; /* adjust gap between grid items */\n  max-width: 100%; /* ensure the grid container doesn't exceed the parent width */\n  padding: 10px;\n  border-radius: 10px;\n}\n\n.bottom-radius {\n    border-radius: 0 0 8px 8px; /* Top-left, Top-right, Bottom-right, Bottom-left */\n}\n\n@media screen and (max-width: 767px) {\n  .shop-grid-container {\n    grid-template-columns: repeat(1, 1fr);\n  }\n}\n\n@media screen and (min-width: 768px) and (max-width: 1023px) {\n  .shop-grid-container {\n    grid-template-columns: repeat(2, 1fr);\n  }\n}\n\n@media screen and (min-width: 1024px) and (max-width: 1279px) {\n  .shop-grid-container {\n    grid-template-columns: repeat(3, 1fr);\n  }\n}\n\n@media screen and (min-width: 1279px) and (max-width: 2200px) {\n  .shop-grid-container {\n    grid-template-columns: repeat(4, 1fr);\n  }\n}\n\n\n.shop-grid-items {\n    width: 100%;\n    height: 100%;\n    display: flex;\n    flex-direction: column;\n    position: relative;\n    cursor: pointer;\n    justify-content: space-between !important;\n    align-items: center;\n    padding: 4px;\n}\n\n.skin-purchased {\n    background-color: #955f3b !important;\n    border: 6px solid var(--modal-border-color);\n    border-radius: 10px !important;\n}\n\n.skin-unpurchased {\n    background-color: #d5ad61 !important;\n    border: 6px solid var(--modal-border-color);\n    border-radius: 10px !important;\n}\n\n.justify-center {\n    justify-content: center;\n}\n\n.justify-end {\n    justify-content: end;\n}\n\n.unpurchasble-item{\n    background-color: var(--unpurchasable-bg-color);\n    border: 6px solid var(--purchasable-border-color);\n    border-radius: 10px !important;\n}\n\n.unpurchasble-item:hover{\n    background-color: var(--unpurchasable-bg-color-hover);\n}\n\n.skin-purchase-button {\n    background-color: transparent;\n    border: 2px solid var(--modal-border-color);\n    color: var(--modal-border-color);\n}\n\n.skin-purchase-button:hover {\n    background-color: #2f6a50;\n    border: 2px solid #2f6a50;\n    color: white;\n}\n\n.can-purchase-item {\n    background-color: var(--purchasable-bg-color);\n    color: var(--purchasable-text-color);\n    border: 6px solid var(--purchasable-border-color);\n    border-radius: 10px !important;\n}\n\n.lowered-visibility {\n    opacity : 0.1;\n}\n\n.lowered-visibility {\n    opacity : 0.3;\n}\n\n.can-purchase-item:hover{\n    background-color: var(--purchasable-bg-color-hover);\n    border: 6px solid var(--purchasable-border-color-hover);\n    color: var(--purchasable-text-color-hover);\n}\n\n    .modd-shop-header {\n        font-weight: 900;\n        color: var(--modal-header-color);\n        font-size : 1.5rem;\n        -webkit-text-stroke : 1px var(--modal-header-border-color);\n    }\n\n    .modd-shop-sub-header {\n        font-weight: 800;\n        color: var(--modal-header-color);\n        font-size : 1rem;\n        margin-top: 10px;\n        margin-left: 5px;\n        -webkit-text-stroke : 1px  var(--modal-header-border-color);\n    }\n\n    #search-skin {\n        color: var(--modal-text-color);\n        placeholder: var(--modal-text-color);\n        background-color: transparent;\n        border: none;\n        height: 28px;\n    }\n\n    .search-input-group {\n        background-color: var(--modal-tab-active-bg-color);\n        color: var(--modal-text-color);\n        border: 2px solid var(--modal-coin-bg-color);\n        display: flex;\n        flex-direction: row;\n        justify-content: center;\n        align-items: center;\n        padding: 6px;\n        border-radius: 10px;\n    }\n\n.dark-bg, #chat-main-window > * > * {\n    border: 4px solid #0000004D !important; \n    border-radius: 8px !important;\n}\n\n/*  --- BLUE COLOR THEME --- */\n/* :root {\n    --modal-bg-color: #041b48;\n    --modal-border-color: #3980C2;\n    --modal-divider-color: #014088;\n    --modal-text-color: #ffc012;\n    --modal-tab-active-bg-color: #014088;\n    --modal-tab-inactive-bg-color: #6b728000;\n    --modal-tab-text-color: #fff;\n    --modal-active-tab-text-color: #ffc012;\n    --modal-tab-border-color: #014088;\n\n    --purchasable-bg-color: #014088;\n    --purchasable-border-color: #3980C299;\n    --purchasable-text-color: #fff;\n\n    --purchasable-bg-color-hover: #3980C2;\n\n    --unpurchasable-bg-color: #36435f;\n    --unpurchasable-bg-color-hover: #555e70;\n} */\n\n/*    --- PURPLE COLOR THEME ---  */\n/* :root {\n    --modal-bg-color: #342233;\n    --modal-border-color: #a4ecba;\n    --modal-divider-color: #8CEFB6;\n    --modal-text-color: #91c2f0;\n    --modal-tab-active-bg-color: #2b293c;\n    --modal-tab-inactive-bg-color: #322131;\n    --modal-tab-text-color: #fff;\n    --modal-active-tab-text-color: #82C4F4;\n    --modal-tab-border-color: #2b293c;\n\n    --purchasable-bg-color: #80bab8;\n    --purchasable-border-color: #82C4F499;\n    --purchasable-text-color: #000;\n\n    --purchasable-bg-color-hover: #8CEFB6;\n\n    --unpurchasable-bg-color: #373747;\n    --unpurchasable-text-color: #fff;\n    --unpurchasable-bg-color-hover: #2b293c;\n    }\n*/\n\n\n/*  --- CANDY COLOR THEME --- */\n/*\n    :root {\n    --modal-bg-color: #625157;\n    --modal-border-color: #aec7a9;\n    --modal-divider-color: #c08478;\n    --modal-text-color: #f5deca;\n\n    --modal-tab-active-bg-color: #c08478;\n    --modal-tab-inactive-bg-color: #5f4f54;\n    --modal-tab-text-color: #fff;\n    --modal-active-tab-text-color: #624b47;\n    --modal-tab-border-color: #c08478;\n\n    --purchasable-bg-color: #748c8a;\n    --purchasable-border-color: #FADDC7;\n    --purchasable-text-color: #000;\n\n    --purchasable-bg-color-hover: #aec7a9;\n\n    --unpurchasable-bg-color: #6d5d61;\n    --unpurchasable-text-color: #000;\n    --unpurchasable-bg-color-hover: #c08478;\n}\n*/\n\n/*  --- SUNSET COLOR THEME --- */\n/*  :root {\n        --modal-bg-color: #4e2114;\n        --modal-border-color: #96261F;\n        --modal-divider-color: #484445;\n        --modal-text-color: #F4B45C;\n\n        --modal-tab-active-bg-color: #484445;\n        --modal-tab-inactive-bg-color: #4e2114;\n        --modal-tab-text-color: #fff;\n        --modal-active-tab-text-color: #F4B45C;\n        --modal-tab-border-color: #484445;\n\n        --purchasable-bg-color: #944e31;\n        --purchasable-border-color: #F4B45C99;\n        --purchasable-text-color: #fff;\n\n        --purchasable-bg-color-hover: #8a2f26 ;\n\n        --unpurchasable-bg-color: #48474d;\n        --unpurchasable-text-color: #fff;\n        --unpurchasable-bg-color-hover: #474445;\n    } \n\n"},"leaderboardUI":{"name":"Leaderboard UI","htmlData":"\n<!-- leaderboard section -->\n\n<!-- game engine uses #leaderboard, #ui-text-scoreboard-id, #leaderboard-toggle, #scoreboard ids to add/update data -->\n<!-- so make sure to keep these ids -->\n<div class=\"leaderboard-container\">\n    <div id=\"leaderboard\">\n        <div class=\"shop ui-text-scoreboard\" id=\"ui-text-scoreboard-id\"></div>\n\n        <span id=\"scoreboard-header\">\n            <div id=\"leaderboard-toggle\"></div>\n            <u id=\"leaderboard-title\">\n                Leaderboard\n            </u>\n        </span>\n        <div id=\"scoreboard\"></div>\n    </div>\n</div>\n","cssData":"\n    .progress-wrap .progress {\n        height : 0rem !important;\n    }\n\n    #leaderboard {\n        right: 0px;\n        top: 30px;\n        text-align: right;\n        padding: 10px;\n\n        position: absolute;\n        color: white;\n        /* display: none; */\n        user-select: none;\n    }\n\n    .ui-text-scoreboard {\n        font-size: 18px;\n    }\n\n    #scoreboard-header {\n        border-bottom: 1px solid white;\n        display: flex;\n        align-items: center;\n        gap: 2px;\n\n        margin-bottom: 0px;\n        width: fit-content;\n        margin-left: auto;\n    }\n\n    #leaderboard-toggle {\n        display: inline;\n        cursor: pointer;\n    }\n\n    #leaderboard-title {\n        cursor: pointer;\n        text-decoration-line: none;\n        font-size: 14px;\n        font-weight: 600;\n    }\n\n    #scoreboard {\n        height: 175px;\n        overflow: auto;\n        padding-top: 10px;\n    }\n\n    #scoreboard .scoreboard-mobile {\n        width: 100px;\n        height: 100px;\n    }\n\n    @media (min-width: 1024px) {\n        .ui-text-scoreboard {\n            font-size: 24px;\n        }\n\n        #scoreboard-header {\n            gap: 4px;\n        }\n\n        #leaderboard-title {\n            font-size: 18px;\n            font-weight: 500;\n        }\n    }\n\n    @media only screen and (max-width: 1000px) {\n        #scoreboard .scoreboard-mobile {\n            height: 100px;\n            font-size: 13px;\n        }\n    }\n","parent":"inGameUi","order":1,"type":"view","hasPreview":false,"preventDelete":true,"key":"leaderboardUI"}},"folders":{"units":{"name":"Units","type":"folder","closed":false},"sick":{"type":"unit","closed":false,"parent":"87JdnnMckK"},"zombie":{"type":"unit","parent":"87JdnnMckK","closed":false},"zombieKing":{"type":"unit","parent":"87JdnnMckK","closed":false},"human":{"type":"unit","parent":"87JdnnMckK","closed":false},"ifytvLoTQe":{"type":"unit","parent":"units","closed":false},"EqSYv0SPOw":{"type":"unit","parent":"units","closed":false},"UV0TG3LUmW":{"type":"unit","parent":"units","closed":false},"bFJ5AYBzS2":{"type":"unit","parent":"units","closed":false},"VuEqdaWrK6":{"type":"unit","parent":"units","closed":false},"8uw3kT4jGn":{"type":"unit","parent":"units","closed":false},"aj3m9Ndol9":{"type":"unit","parent":"units","closed":false},"cWbU4TEd6z":{"type":"unit","parent":"units","closed":false},"Qt6O5vQ73S":{"type":"unit","parent":"units","closed":false},"r236N2dMT8":{"type":"unit","parent":"units","closed":false},"4Jb9mSFEnw":{"type":"unit","parent":"units","closed":false},"Mw10zNvHyn":{"type":"unit","parent":"units","closed":false},"pBQNswWWlN":{"type":"unit","parent":"units","closed":false},"lNYum73d8J":{"type":"unit","parent":"units","closed":false},"tdsyBTcddN":{"type":"unit","parent":"units","closed":false},"ZfLHg1Eobv":{"type":"unit","parent":"units","closed":false},"eOlHd4YgnY":{"type":"unit","parent":"units","closed":false},"GGsbG6YegP":{"type":"unit","parent":"units","closed":false},"hVUbSMbweH":{"type":"unit","parent":"units","closed":false},"wAamODVKfP":{"type":"unit","parent":"units","closed":false},"VNcMwKfVqv":{"type":"unit","parent":"units","closed":false},"Bz0sn6Lr2P":{"type":"unit","parent":"units","closed":false},"qZX0VcYjwq":{"type":"unit","parent":"units","closed":false},"8jLpAyS8V6":{"type":"unit","parent":"units","closed":false},"ibeMPh9ph9":{"type":"unit","parent":"units","closed":false},"YeSdVwoKp5":{"type":"unit","closed":false,"parent":"87JdnnMckK"},"2VcqTujggv":{"type":"unit","parent":"units","closed":false},"Qc3SIDxQVW":{"type":"unit","parent":"units","closed":false},"0oDaWUo6j6":{"type":"unit","parent":"87JdnnMckK","closed":false},"x9ga5Ck8R1":{"type":"unit","parent":"units","closed":false},"DFbINcHMZr":{"type":"unit","parent":"units","closed":false},"items":{"name":"Items","type":"folder","closed":false},"potatoGun":{"type":"item","parent":"items","closed":false},"PBOMyFpPs8":{"type":"item","parent":"items","closed":false},"6T5fWSolir":{"type":"item","parent":"items","closed":false},"nidc3swP0c":{"type":"item","parent":"items","closed":false},"d73qo6nov5":{"type":"item","parent":"items","closed":false},"W8SojbpByx":{"type":"item","parent":"items","closed":false},"HoRkmdYOhT":{"type":"item","parent":"items","closed":false},"zwAoerFxEw":{"type":"item","parent":"items","closed":false},"Ht5dDfEuGr":{"type":"item","parent":"items","closed":false},"g48QWebjK3":{"type":"item","parent":"items","closed":false},"ZD6XzgYzi5":{"type":"item","parent":"items","closed":false},"m3xUP8Xx3R":{"type":"item","parent":"items","closed":false},"BKZQ7EL3J5":{"type":"item","parent":"items","closed":false},"9jYPyEYzU4":{"type":"item","parent":"items","closed":false},"7PnVjGFlfv":{"type":"item","parent":"items","closed":false},"ko65kAGsPq":{"type":"item","parent":"items","closed":false},"dUlUsudomI":{"type":"item","parent":"items","closed":false},"QzsEYxw8Fe":{"type":"item","parent":"items","closed":false},"Et4kssMFKb":{"type":"item","parent":"items","closed":false},"projectiles":{"name":"Projectiles","type":"folder","closed":false},"potato":{"type":"projectile","parent":"projectiles","closed":false},"jIyYO8e2XY":{"type":"projectile","parent":"projectiles","closed":false},"UJvgK0SDdJ":{"type":"projectile","parent":"projectiles","closed":false},"FRA8xRxrDG":{"type":"item","parent":"items","closed":false},"VwG3OhwMO5":{"type":"projectile","parent":"projectiles","closed":false},"U57uEKv8ko":{"type":"item","parent":"items","closed":false},"eQSGgauhnV":{"type":"item","parent":"items","closed":false},"jqadJhnMzn":{"type":"unit","parent":"units","closed":false},"Z6cZdmeRd8":{"type":"item","parent":"items","closed":false},"vPFTSAhKNW":{"type":"projectile","parent":"items","closed":false},"01wjEcGht2":{"type":"projectile","parent":"items","closed":false},"OX7kaD3N28":{"type":"item","parent":"items","closed":false},"KiWktxP8aX":{"type":"projectile","parent":"items","closed":false},"KY8yB9E8Qu":{"type":"projectile","parent":"items","closed":false},"aWjzeTwyac":{"type":"projectile","parent":"projectiles","closed":false},"Cwxk5cAWoc":{"type":"unit","parent":"units","closed":false},"VNXie3v1Va":{"type":"unit","parent":"units","closed":false},"oI7IYepEHl":{"type":"item","parent":"items","closed":false},"lX3lM2CQBw":{"type":"unit","parent":"units","closed":false},"2IuOQwfWrJ":{"type":"unit","parent":"units","closed":false},"Vsq7KR0ugI":{"type":"item","parent":"items","closed":false},"aYgDlbafe5":{"type":"unit","parent":"units","closed":false},"2WmiURJyvA":{"type":"unit","parent":"units","closed":false},"YcBGuNirYa":{"type":"projectile","parent":"projectiles","closed":false},"rzfnZMante":{"type":"unit","parent":"units","closed":false},"pidFSD3UGm":{"type":"unit","parent":"units","closed":false},"zg0q9XdijH":{"type":"unit","parent":"units","closed":false},"KhfTN5teb0":{"type":"unit","parent":"units","closed":false},"UNt1XIGGLN":{"type":"unit","parent":"units","closed":false},"jAaa0d8bpB":{"type":"unit","parent":"units","closed":false},"4nOXRbzNP7":{"type":"unit","parent":"units","closed":false},"50i0ayiUUP":{"type":"unit","parent":"units","closed":false},"9w6WpNtbMG":{"type":"item","parent":"items","closed":false},"NdlCD2IJws":{"type":"projectile","parent":"projectiles","closed":false},"7n2xQC30K4":{"type":"item","parent":"items","closed":false},"FakbevHIL3":{"type":"item","parent":"items","closed":false},"qivW93U4XC":{"type":"item","parent":"items","closed":false},"NUQnpXAIsR":{"type":"item","parent":"items","closed":false},"lpUqGiiq1R":{"type":"projectile","parent":"projectiles","closed":false},"s1L3qvKP3E":{"type":"item","parent":"items","closed":false},"8rjVe1Ly5l":{"type":"unit","parent":"units","closed":false},"PnfbtGyEy9":{"type":"item","parent":"items","closed":false},"oQOSkx7Oe6":{"type":"item","parent":"items","closed":false},"iUM1f0LSjz":{"type":"unit","parent":"units","closed":false},"QZadOkit0E":{"type":"item","parent":"items","closed":false},"OBm1HBuWAl":{"type":"item","parent":"items","closed":false},"a7ixKqRxFW":{"type":"item","parent":"items","closed":false},"U21VSZOIvr":{"type":"unit","parent":"units","closed":false},"hmg9QVZmtS":{"type":"unit","parent":"units","closed":false},"ERWwLHCFWg":{"type":"unit","parent":"units","closed":false},"AqvB0z1niq":{"type":"item","parent":"items","closed":false},"GLA2ihhjQx":{"type":"unit","parent":"units","closed":false},"jv5Gx97I36":{"type":"unit","parent":"units","closed":false},"yrQEo9Lyzn":{"type":"item","parent":"items","closed":false},"Z4vVSxpakD":{"type":"item","parent":"items","closed":false},"FP2UYEWMEg":{"type":"unit","parent":"units","closed":false},"mBl5Mc8glI":{"type":"unit","parent":"units","closed":false},"RUCz0bj9To":{"type":"unit","parent":"units","closed":false},"GuU4i7QBwj":{"type":"unit","parent":"units","closed":false},"rB3Pfgc6FN":{"type":"unit","parent":"units","closed":false},"53jv6VBwMn":{"type":"unit","parent":"units","closed":false},"yLrQVyXjcm":{"type":"unit","parent":"units","closed":false},"TnEImVwMTo":{"type":"unit","parent":"units","closed":false},"Wt4QbzBSX3":{"type":"unit","parent":"units","closed":false},"rp8TT1yt81":{"type":"unit","parent":"units","closed":false},"cDa1OmS0eH":{"type":"unit","parent":"units","closed":false},"6IcjF1ffS1":{"type":"unit","parent":"units","closed":false},"0BroklfLcp":{"type":"unit","parent":"units","closed":false},"sGlTADK12s":{"type":"unit","parent":"units","closed":false},"IjY9nCKG6e":{"type":"unit","parent":"units","closed":false},"yUIeyPEuBA":{"type":"unit","parent":"units","closed":false},"l5lZhk9DpR":{"type":"unit","parent":"units","closed":false},"g2XpxVVdEp":{"type":"item","parent":"items","closed":false},"kr6NTk9wSo":{"type":"item","parent":"items","closed":false},"dZiBrGMVbr":{"type":"item","parent":"items","closed":false},"wc3VOrFj3i":{"type":"item","parent":"items","closed":false},"f9tu1nfLoh":{"type":"item","parent":"items","closed":false},"EabNufYfRC":{"type":"item","parent":"items","closed":false},"ZIKfFlRvs4":{"type":"item","parent":"items","closed":false},"hI12cyhOl0":{"type":"item","parent":"items","closed":false},"Ff9XI5Sg1c":{"type":"item","parent":"items","closed":false},"cAa37MC5GW":{"type":"item","parent":"items","closed":false},"4RNAmFWfy2":{"type":"item","parent":"items","closed":false},"PyrFdp103w":{"type":"item","parent":"items","closed":false},"aCCoh2lFbC":{"type":"item","parent":"items","closed":false},"kuwo9soxTb":{"type":"item","parent":"items","closed":false},"RLrKyRnahl":{"type":"item","parent":"items","closed":false},"emnot26OgQ":{"type":"projectile","parent":"projectiles","closed":false},"fjTVEaTI6W":{"type":"item","parent":"items","closed":false},"O71kePDy7h":{"type":"item","parent":"items","closed":false},"zJdbYbM7i2":{"type":"item","parent":"items","closed":false},"rglf09CYPa":{"type":"item","parent":"items","closed":false},"0E6RSmObuc":{"type":"item","parent":"items","closed":false},"nl7XMFfFN8":{"type":"item","parent":"items","closed":false},"QpkR3AZvqF":{"type":"projectile","parent":"projectiles","closed":false},"T7fRmWAGQB":{"type":"projectile","parent":"projectiles","closed":false},"4D2dXENCn6":{"type":"item","parent":"items","closed":false},"Bfo7rjMh9q":{"type":"item","parent":"items","closed":false},"b5cIzRMo5i":{"type":"item","parent":"items","closed":false},"xF5dQGsZnK":{"type":"item","parent":"items","closed":false},"DiitAFmQ31":{"type":"item","parent":"items","closed":false},"Coy6Qe9uwP":{"type":"projectile","parent":"projectiles","closed":false},"iyejlTmBFc":{"type":"item","parent":"items","closed":false},"aNMjJKOcmQ":{"type":"item","parent":"items","closed":false},"DH9lWjOs1n":{"type":"projectile","parent":"projectiles","closed":false},"z2c5zFXYnO":{"type":"unit","parent":"87JdnnMckK","closed":false},"29hfBRwRqd":{"type":"unit","parent":"87JdnnMckK","closed":false},"eSi0HbdUVa":{"type":"projectile","parent":"projectiles","closed":false},"87JdnnMckK":{"name":"PlayableChar","type":"folder","closed":false}},"title":"Braains.io Original","isDeveloper":false,"isGameDeveloper":false,"releaseId":"5a7fd59b1014dc000eeec3dc","defaultData":{"_id":"5a7fd59b1014dc000eeec3dd","gameSlug":"braainsio","title":"Braains.io Original","owner":"59219d1852bf2a167508cc4c","releases":[{"isStable":false,"_id":"5a7fd59b1014dc000eeec3de","version":0.01,"release":"5a7fd59b1014dc000eeec3dc"}],"highScores":[{"_id":"699374eee3e04b193cae7357","name":"-FANTASTIC","score":128268},{"_id":"69936a2b23f20fe5db867722","name":"BabyBrie","score":123895},{"_id":"699367a2547f369a7512168a","name":"TrendFi_DpWW","score":89572},{"_id":"6993854fe3e04b193caf0451","name":"-SilentZomb-","score":86896},{"_id":"69938eac4b12571c2bf42480","name":"Validname_","score":81877},{"_id":"69936d1be3e04b193cae369b","name":"q1x2","score":78908},{"_id":"69938ab30d496380dd3a70b1","name":"s1a","score":74443},{"_id":"699367ad35bb8747bf3e1156","name":"-334-","score":70423},{"_id":"6993897eb481d1e815139c22","name":"PRO-MESTER","score":68078},{"_id":"69938eace3e04b193caf564c","name":"annoye-force","score":63491},{"_id":"699374070de51b024586abb7","name":"cam-","score":62463},{"_id":"69936a39e3e04b193cae1c88","name":"-Easy","score":57612},{"_id":"69938eac6f6b4eb420d6d612","name":"polipinu","score":57501},{"_id":"69938d9d4b12571c2bf41d87","name":"TheRgrUser","score":55287},{"_id":"69938c370d496380dd3a7be7","name":"Relentless","score":55036},{"_id":"69938658b481d1e8151381b7","name":"Killvearn","score":54279},{"_id":"69938d0ae3e04b193caf49cd","name":"Bully-","score":50927},{"_id":"699368930d496380dd39682e","name":"matheus_juke","score":50108}],"invitedUsers":[{"role":"contributor","_id":"5de4244b955a9d230c5fd5ad","date":"2020-08-17T20:31:28.585Z","user":"5ae7a7cd8ff34d000e6daa7f","updatedBy":"5bdc530e9f993316dee29954"},{"role":"contributor","_id":"5e285ac899ceae2d8e07c428","date":"2020-10-17T06:59:41.403Z","user":"5bdc530e9f993316dee29954","updatedBy":"5ae7a7cd8ff34d000e6daa7f"},{"role":"contributor","_id":"63d5d75618b4826c33a7585e","user":"5b8b0cea2eddb900eb6c1766","updatedBy":"5bdc530e9f993316dee29954","date":"2023-01-29T02:17:58.721Z"},{"role":"mod","_id":"63d5d862167a8c5a01d10ffc","user":"5ae80bfd409f54000e6c6157","updatedBy":"5bdc530e9f993316dee29954","date":"2023-01-29T02:32:48.726Z"},{"role":"contributor","_id":"63d5dacb16d4b27cfe4e8d6b","user":"5e06db7a4b6595313d814625","updatedBy":"5bdc530e9f993316dee29954","date":"2023-01-29T02:34:41.561Z"},{"role":"contributor","_id":"63dc0f07869f8049fac6ca54","user":"5b4bc4ce74aa230054e5be6b","updatedBy":"5bdc530e9f993316dee29954","date":"2023-02-02T19:29:20.339Z"},{"role":"mod","_id":"6408c23f8600a87844dd6726","user":"5dcc73f6989e746bdf95d5be","updatedBy":"5b8b0cea2eddb900eb6c1766","date":"2023-03-08T17:13:42.039Z"},{"role":"contributor","_id":"6408c3f78eb8b303cc84a93a","user":"5fb055f09098396d1b331869","updatedBy":"5bdc530e9f993316dee29954","date":"2023-04-13T00:34:19.740Z"},{"role":"mod","_id":"643d8f91439f8af311c270d2","user":"5e392cfd4cb6b71cf990d8ff","updatedBy":"5b8b0cea2eddb900eb6c1766","date":"2023-04-17T18:27:33.613Z"},{"role":"mod","_id":"64528482855a879f8e94774b","user":"5d557fc4c8afcd3b6a131217","updatedBy":"5fb055f09098396d1b331869","date":"2023-05-03T15:58:01.808Z"},{"role":"mod","_id":"6477f30d03b0f858b3812a2d","user":"60b7df96c7e891076335d361","updatedBy":"5e06db7a4b6595313d814625","date":"2023-06-01T01:23:28.877Z"},{"role":"mod","_id":"6479ecb749a911c30d82e114","user":"5bb7bc49931940009b78676d","updatedBy":"5b8b0cea2eddb900eb6c1766","date":"2023-06-02T13:20:59.809Z"},{"role":"mod","_id":"64888a6eea5f3e2b02d95262","user":"5c1511ed69c7010d23cd9441","updatedBy":"5b8b0cea2eddb900eb6c1766","date":"2023-06-13T15:25:38.681Z"},{"role":"mod","_id":"6492f971821aa25da6eb5a6b","user":"5deea618fc15f80daa3104ce","updatedBy":"5b8b0cea2eddb900eb6c1766","date":"2023-06-21T13:22:32.984Z"},{"role":"mod","_id":"6492f9c1d096055dc5923e43","user":"63306c35e109d03e1129eaa5","updatedBy":"5b8b0cea2eddb900eb6c1766","date":"2023-06-21T13:24:23.526Z"},{"role":"mod","_id":"6492f9d9821aa25da6eb5c21","user":"635ed38c38af112105995a92","updatedBy":"5b8b0cea2eddb900eb6c1766","date":"2023-06-21T13:24:24.851Z"},{"role":"mod","_id":"6492f9ef821aa25da6eb5cad","user":"62b706089f84fd06dc2a7d17","updatedBy":"5b8b0cea2eddb900eb6c1766","date":"2023-06-21T13:24:25.745Z"}],"discordInviteLink":"https://discord.gg/XRe8T7K","reasonForTakingDown":"","totalPlayCount":70094597,"playCount":3044181,"access":"public","updatedAt":"2026-02-23T18:01:18.876Z","createdAt":"2018-02-11T05:33:15.437Z","allowDuplicateIPS":false,"tier":"4","__v":107944,"redirect":"off","androidLink":null,"cover":"https://cache.modd.io/asset/spriteImage/1771106028614_unknown.png","iosLink":null,"patchNotes":"","clientsidePrediction":false,"link":null,"facebookLink":"https://www.facebook.com/Mod-Studio-1746016635455304/","twitterLink":"https://twitter.com/moddio","youtubeLink":"https://www.youtube.com/channel/UCNYig4aLGsXPhgHe6Ydvm3A?sub_confirmation=1","defaultMaxPlayers":52,"enableMiniMap":false,"physicsEngine":"box2dwasm","lifeSpanHours":6,"banIps":[{"_id":"699b2cf761092d018e05263c","ip":"95.X.X.143","date":"2026-02-22T16:21:11.656Z","index":0},{"_id":"699b32b579a2e104c1961dad","ip":"149.X.X.167","date":"2026-02-22T16:45:41.164Z","index":1},{"_id":"699b332161092d018e058b46","ip":"149.X.X.176","date":"2026-02-22T16:47:29.980Z","index":2},{"_id":"699b344679a2e104c1963991","ip":"185.X.X.249","date":"2026-02-22T16:52:22.452Z","index":3},{"_id":"699b346f79a2e104c1963c97","ip":"138.X.X.185","date":"2026-02-22T16:53:03.056Z","index":4},{"_id":"699b34ed79a2e104c196446d","ip":"185.X.X.78","date":"2026-02-22T16:55:09.389Z","index":5},{"_id":"699b359a79a2e104c1965135","ip":"51.X.X.187","date":"2026-02-22T16:58:02.023Z","index":6},{"_id":"699b35e261092d018e05bd03","ip":"38.X.X.126","date":"2026-02-22T16:59:14.338Z","index":7},{"_id":"699b360c61092d018e05bf97","ip":"89.X.X.14","date":"2026-02-22T16:59:56.255Z","index":8},{"_id":"699b36e393ec55073d218d9a","ip":"212.X.X.58","date":"2026-02-22T17:03:31.615Z","index":9},{"_id":"699b448b8c9643094ee5ad99","ip":"179.X.X.216","date":"2026-02-22T18:01:47.749Z","index":10},{"_id":"699b4c2f61092d018e075187","ip":"177.X.X.102","date":"2026-02-22T18:34:23.712Z","index":11},{"_id":"699b4c3f61092d018e075294","ip":"174.X.X.231","date":"2026-02-22T18:34:39.559Z","index":12},{"_id":"699b4c458c9643094ee637a8","ip":"195.X.X.183","date":"2026-02-22T18:34:45.595Z","index":13},{"_id":"699c3e9c7b2af458c1c81ffc","ip":"72.X.X.137","date":"2026-02-23T11:48:44.259Z","index":14}],"banUsers":[{"user":"6993f43ecbb5556caead45eb","_id":"699a58657ceb851b20531530"},{"user":"699b73a7d66d829d69b0404f","_id":"699b78c492c73df1d135f9c2"}],"extrapolation":true,"ABTestingAlternative":null,"moreIoGames":false,"hidden":false,"frameRate":20,"revenueSharing":true,"allowGuestMode":false,"banChat":[{"_id":"62423673ed94090b87515c47","user":"623f7b6fa0d9b7421b02bc83"},{"_id":"66618017b4fc3dbd0d384aee","user":"65146c1a84f5d1b9cb7d3f8b"},{"_id":"68f3e2d07540018519b9d891","user":"68189eeb561962d800f1cefa"},{"_id":"68f4dcabea610cbb4c2afbb4","user":"68a78cc17761b8b90c400a88"},{"_id":"68f6ce59aad5d03bd8abde20","user":"68996947f8d438107290577f"},{"_id":"68f8f8f51f2cb399e0842451","user":"68f8f7cd5611f1284de82d3a"},{"_id":"68f98b174497c06a47e8268e","user":"68ebe9e14c45f1b5e225689f"},{"_id":"68fa55d4c53a8a1ed76c043a","user":"68f6d5d9f7734d284cbbf544"},{"_id":"68fa576c902385084af8a25d","user":"68ed89292d2c154974477462"},{"_id":"68fa6f06a71ad79c5b32def5","user":"6880ecfab66ca7682c0553f5"},{"_id":"68fbd3bd21123152f999d2e7","user":"68d01b411ea5b85677138472"},{"_id":"68fc2b3e932aa03fea0b26f7","user":"6334e662e1fe0850362664d5"},{"_id":"68fd1b12e0b693a19f50e993","user":"6332d190928cf72741768909"},{"_id":"69023eebd89bcba16405b981","user":"6489a20853664d40eaf9a33e"},{"_id":"690242c4cc13a596810f2a01","user":"69014bfc7c96f1ce2160dc0d"},{"_id":"69092303244065d0b426d1bf","user":"690626276be861ce4e41b8fb"},{"_id":"690d05fdb214758169ecf3e7","user":"67715a83e12852f863cb4fc9"},{"_id":"690e728e4a8c2d92e50525d5","user":"690e4d7b7b799ad206904dec"},{"_id":"6914582c29942e97416719c1","user":"657c36992af41f19665bc4a2"},{"_id":"6919c398afdc51aeae20b80e","user":"611bd06d4de55f7b2f5fae20"},{"_id":"6919c63aafdc51aeae20ca9a","user":"6919c58a831ebb21aa929c08"},{"_id":"691b855a126edfe3ae73b80a","user":"68ea70a84c45f1b5e2242299"},{"_id":"691e2457a979b9d2a2a7410c","user":"68dc458d91e0acb603ddbdc5"},{"_id":"6921c5a0e5bb83b7a7215248","user":"608d3ae444d98c1299308003"},{"_id":"6921c5bdc99bb764110502cc","user":"5dd7ed8969006564aedd6fb7"},{"_id":"6921c70673a29bf2187e296f","user":"66201d2c4288468297919793"},{"_id":"6922e38f3d3fc8960280a67c","user":"6477c57cf6ca0d56ceaa8b45"},{"_id":"692327d6f3e7f7bac83d0c30","user":"637eb0346e831057cfbc106b"},{"_id":"692592c3a0086fc08ffd4c60","user":"67ed38b7a9e24de87c82ffa3"},{"_id":"6925e0e5327416035c800631","user":"63c2c91f2f93d4136e6ab449"},{"_id":"6925ea89300b8b5347651ea0","user":"63bfd84dc3b0be12f9af45c9"},{"_id":"6928309eaccbc8e9c3e16e1a","user":"67ae6de8d81c8cfc5d3115fd"},{"_id":"692830e5accbc8e9c3e17028","user":"691ed914c15eba21c84c0922"},{"_id":"69285741cc9220169cc2bfa8","user":"645cea3c64145de8496023f6"},{"_id":"69289c7aca6bdc216930e004","user":"690764d77b799ad2068b5db8"},{"_id":"69289c8cca6bdc216930e117","user":"63b1a3e69bea67701f7c6309"},{"_id":"69289d23a39e3059253d44de","user":"6921a7e0889eda21d7bebfda"},{"_id":"69298e983027426c85a67de3","user":"6848142e685bd91439c06de7"},{"_id":"692b30cf4d2e4b69933ca576","user":"639f601ead11aa48a0567607"},{"_id":"692f9ee27578132bd0fe8b17","user":"68fd9137f7734d284cc077ac"},{"_id":"69317c91208295cd399c2001","user":"62a4a692ca85e6589f589656"},{"_id":"693482fff3c29f5d9c06d510","user":"64df49fb348a7cb35678f875"},{"_id":"6935c9162c4c3f27279a024a","user":"63595255a3445805f1d4d5e5"},{"_id":"6935dcb343eeff52997686ad","user":"6935dc68831ebb21aaa4c384"},{"_id":"6935e0eb43eeff529976b401","user":"6935de99831ebb21aaa4c650"},{"_id":"69361779876ad7c4b5b4ee9b","user":"692d0cae2ab56b21e6b0805d"},{"_id":"693871c72e82456d470f0374","user":"64592a1e006a0a80d46b395f"},{"_id":"693a22c646e957d565395571","user":"68e96fc04c45f1b5e2236f0c"},{"_id":"693acf98125ea646bbdbf1cb","user":"693872f6c15eba21c85c93cd"},{"_id":"693b76a161b9085d6dee820c","user":"68d85aaa1ea5b8567718bab3"},{"_id":"693b774e61b9085d6dee8962","user":"693b3e21c15eba21c85e3cf2"},{"_id":"693b778e61b9085d6dee8a76","user":"69208fa6889eda21d7bdea70"},{"_id":"693b826bd00b4d7f129e92f8","user":"693b8226c15eba21c85e6585"},{"_id":"693c2c919624540f8aea03a2","user":"60151c8d17d55d0b13c50744"},{"_id":"693c853a6290e135d2dfe8ea","user":"693c851a294bd021b9345d92"},{"_id":"693d9502dc95422481e65aea","user":"693d45d5889eda21d7d04afa"},{"_id":"693e1d7c4b25e6fc61dde0df","user":"5c68b13b5b91dc603a7e9313"},{"_id":"6940328c4d0565824db5d8c9","user":"6935ac74c15eba21c85ac34d"},{"_id":"69404a934d0565824db6dc03","user":"693e407e2ab56b21e6bb53ff"},{"_id":"69415e9762f6322b359d469b","user":"692ac4be8ba1d8219bed7ddf"},{"_id":"6941a02f95f4757e7dbcd429","user":"6029acb98988c14a6a01c7a7"},{"_id":"69480e0e0d0cbddcfa37753a","user":"6947e540c15eba21c86710e4"},{"_id":"6948dd29b53045be0c64189e","user":"690c864be18da2d1f76608fa"},{"_id":"694965018b8055fbb366522e","user":"68b767a1b79a3ddb81260a69"},{"_id":"69499e1bf61af2bdc003bbdf","user":"694871c0294bd021b93ce243"},{"_id":"694a9be2e68781f35b58b9ba","user":"5e0616589e3d5934505f8b2b"},{"_id":"694d4e9d2ec5e1bf0caab048","user":"694d1eb0c15eba21c86b05a9"},{"_id":"694d50d16e2ee07001dc8707","user":"694d505b889eda21d7dbdb1a"},{"_id":"694edbda591221efde3eaf9b","user":"694d5321c15eba21c86b2cf1"},{"_id":"694f0c7f16916c7c77b1ca20","user":"694c2ec12ab56b21e6c543c0"},{"_id":"694f13f92bdafe1249d3faf4","user":"67e876572edd75e85b124772"},{"_id":"695578639cb820c2af339a6b","user":"6689e5ff8034d5852619dfc1"},{"_id":"6956a44e249390314c964da0","user":"68d7c3f81ea5b85677181dc8"},{"_id":"69593b1f1a0ba0428c968a84","user":"662a90286549ecfe6b4df327"},{"_id":"69593c11f2b60d43958a919e","user":"634826d0631ee539943c2f36"},{"_id":"695ab90eff9e17c5ff94d496","user":"690fc7e77b799ad206916189"},{"_id":"695b9c058bf3f468e292885d","user":"656930e9abd9b02f0eabf661"},{"_id":"695b9e74628d89a8d3dda5a3","user":"6738aded5431588310957639"},{"_id":"695d636e6989f383d86ea82d","user":"64543994d84469f9fac7ad86"},{"_id":"69601c9a6456ea407e06c4c5","user":"6601d650064c950ca5e464d7"},{"_id":"69601ea0e81e62ef4beeacee","user":"5e837b7681851f2e4f2f421b"},{"_id":"696035089c73269252ad88ac","user":"5fe8fa11090b303db834856d"},{"_id":"69613f552b3a6d7fb84988d7","user":"63b1e01c03e8df0b48df6ad5"},{"_id":"696142ff2017b699b27ae5c2","user":"6893b51296b806554ddd445a"},{"_id":"69640cfff34db3b4c5ac4867","user":"650578a3e9b87a3f3a6bad70"},{"_id":"69668562fddff4874060d160","user":"695d019b831ebb21aac0ffc1"},{"_id":"6966e2317dc7b081997602bd","user":"62a193bc7ff2692c3faae641"},{"_id":"696923292d0d3137ef6caab9","user":"689b2fca8c2d6c1092e69d5c"},{"_id":"696925981c88466d47aaab4b","user":"6967e71b2ab56b21e6da0469"},{"_id":"696925ce1c88466d47aab148","user":"671275ff52ce7fed6892af91"},{"_id":"6969a58fd60a8d6d5de18538","user":"6969a109831ebb21aaca553f"},{"_id":"696ab7a75fc5a6bc92165bed","user":"696a727c8ba1d8219b1a4028"},{"_id":"696b5afa0ef3bd866daf2d14","user":"68c408d5eae78e4a1a16a19b"},{"_id":"696cfa9bc531621bb5fa3eff","user":"644155b43aa22da2fb95bae1"},{"_id":"696ee7e885dcdde2983e083c","user":"69666c2d294bd021b9536836"},{"_id":"696ffd768d083bcf45267dfb","user":"618d87a72835fa28fcb12c1c"},{"_id":"696ffdb95c45da9233e78ab0","user":"6547da91c87b3ab41c2260a4"},{"_id":"697156837ceb3e4cba655cda","user":"694abcda889eda21d7d9f962"},{"_id":"69739aecfb2585c8b45c150f","user":"67ac7b22d81c8cfc5d2f0675"},{"_id":"6973eca2aeb5b7624bd69639","user":"69298b498ba1d8219bec8d9e"},{"_id":"69779d3cb83f7ec9c5687b21","user":"66799555db1f20ffc2b9fa94"},{"_id":"6979594405e0f40e227e2778","user":"6979583f294bd021b9619d75"},{"_id":"697a800c70351b63f69028e2","user":"68dbe23a59c8976dd5c8e56d"},{"_id":"697a80723307b3f07aa85f45","user":"64f77f2874389ae7b1407052"},{"_id":"697b4ef17ed2bfb7535e68bc","user":"66e1f7bfa8528882234b97e5"},{"_id":"697b64f8b329e07d7180c1c5","user":"61117eb7beb9a67267ed4f9e"},{"_id":"697d127dea8c1e545d18603f","user":"697cce0cc15eba21c88e231f"},{"_id":"697d13d4e70241d33c5e4b17","user":"670bdb7f03d50d6c840d00b0"},{"_id":"697d13dbe70241d33c5e4bcb","user":"62ede3f2bc01e42f07db2b9c"},{"_id":"697f786af8805a0f76924adc","user":"697f6e9a8ba1d8219b2967d9"},{"_id":"697fd0067e037a8a2e208cc5","user":"697fb66c294bd021b965c493"},{"_id":"6980d958fc4416e1e0deda44","user":"5f46402d1e94107ab8ff9fce"},{"_id":"6980fae11c69d552b1812ea4","user":"6977b97bd6f23e0e6db2e9b3"},{"_id":"69839622a37039d7235d3f9a","user":"5f2f3ab7e79eb530bfce3147"},{"_id":"6984d6a11fb4faaca48aa6dc","user":"66001ff3064c950ca5e19109"},{"_id":"6984e110572bd1a17622d968","user":"5e9e531337c0473dcb0e3608"},{"_id":"6985161c8124bb5ea0091a41","user":"695f01b62ab56b21e6d37483"},{"_id":"6985321bcc740087fc440097","user":"61eb0221eaf04633a47920a5"},{"_id":"698561ea50d632ad25e9f10c","user":"69855e7ed6f23e0e6dbbc3b0"},{"_id":"698563d550d632ad25ea19f7","user":"5d5062b147dee23b56353e5e"},{"_id":"69863e4c72e695490bb60d2c","user":"6984f893831ebb21aadd8bfa"},{"_id":"6986415e06f99c1560327ad6","user":"63b9ff569f4b5254a4d97cad"},{"_id":"69872548eae90b0a424a5263","user":"5eac395d1926eb7aec3d2407"},{"_id":"69872a97e760ef651ee8b2d2","user":"5e04714f3cd77d201a1b5b5e"},{"_id":"698918871d99ab2678ed785b","user":"633f20d16574996e7f9d49a6"},{"_id":"698a122cbd1ae62b9b4acc98","user":"65b12324304c4780fc16c4d9"},{"_id":"698a3164cd7a08d6910a33e8","user":"6366ecd7175acc61604ab249"},{"_id":"698a55ae1cfe651bef9910ca","user":"65fca7e86d82089bf6423d18"},{"_id":"698a638a0fe68fc8b777b8ed","user":"67f6c9f2cfee3a5d8e1268e0"},{"_id":"698a7d1260b0c6df4ae79c7e","user":"629a78bea144dc1d2e2d8459"},{"_id":"698a92c44b593c981801eb2b","user":"639a5b8a5881f821a4f53db9"},{"_id":"698aa5694b593c981802a069","user":"69815b9e8ba1d8219b2ac44d"},{"_id":"698b6a0503364a32b34feb7d","user":"600f2c1902bc2256c4189a93"},{"_id":"698b6a87f137e3ea79aaa0d3","user":"670e8ce8e39bbd6ca21dab7e"},{"_id":"698b6afcf137e3ea79aaa99a","user":"698a08d3831ebb21aae0cff0"},{"_id":"698b9e32bcd67eacd6e0f248","user":"65193ad12d61dc0e2e449e7e"},{"_id":"698bb7adb978f09e70e16406","user":"698bb516c15eba21c897e6b8"},{"_id":"698bbb412c0879f11a3e1382","user":"66d8a547e834c0ffbc4c6b74"},{"_id":"698cabe0a1ffafafaaef5474","user":"5feb83f03a665c0b2737f3bd"},{"_id":"698cac8baf465d47963cdb7f","user":"69589fee294bd021b94958ae"},{"_id":"698cc461c60a693af3317bbc","user":"674de0d721fa3c3675bf12ff"},{"_id":"698dce7a7264db3543dc9a4e","user":"65ca2e372753e8b5b57e7a73"},{"_id":"698dd36d6577ef6e2ba9fece","user":"671262a852ce7fed68929916"},{"_id":"698e0dfa6ce354a6df1ea361","user":"5d825732bd74673669725c97"},{"_id":"698e223b824044985d5d3d27","user":"673fe16884e52ec571405d1d"},{"_id":"698e59db27b1f66bdca2f73f","user":"5b830946bd459d000f19d56e"},{"_id":"698e8e6126da8ae3927d29d8","user":"698d46ffd6f23e0e6dc0c585"},{"_id":"698e90ad6d0bd88b2d98c1b9","user":"64b745e7a50a19cd37e0b306"},{"_id":"698e9442e3d70d43d7407ef1","user":"65087c8ca984ee8d7d75fed0"},{"_id":"698f49fee64aea6f163bd9b6","user":"5f0d9fb4f8786912e0bcfe3b"},{"_id":"698f65e2faef35d86addf646","user":"68d84a249d360f5659f4a177"},{"_id":"698f73287583480c5c100098","user":"692df8f78ba1d8219bef6ff4"},{"_id":"698f73d2712efaf5323e9896","user":"68e15e964c45f1b5e21e003b"},{"_id":"698f94548ff80df41b03c745","user":"5f9034d4311792208a256bda"},{"_id":"698fc4f9112d2b0a2a2c3554","user":"69643924c15eba21c87cbb95"},{"_id":"6990e04852308f4b8c3d83e1","user":"65a35ec651137c592ab3d660"},{"_id":"6990e644a83b35af560465ee","user":"5ccc8fdf3749d51cd372a86e"},{"_id":"6990e9cc5d2d902ced04e6cd","user":"65ef4f7eb6705d7e1b279a1f"},{"_id":"6990f123ace0fe8625c488f1","user":"698fecea169bf06cbd9c80d7"},{"_id":"6991fdb96cd6c53e0fa6d4db","user":"6991f80fa720ae71a7a4484c"},{"_id":"6992007606c51f3e02390a29","user":"67b9565f38af6d1e5d4e8dc1"},{"_id":"6992746cdd74c07da505e6be","user":"659c9ed13031e4990b13399a"},{"_id":"6992a29f2d6a36a20a74fcb3","user":"6922aa2e831ebb21aa98c73f"},{"_id":"6992af296526636ac06da300","user":"6656f64c0899430ab68b8819"},{"_id":"6992b599e3d61147e2bf2058","user":"6422a5dd673c5e7b0b587ba1"},{"_id":"6992f13f0fff24863af05324","user":"5febd17c8b7c2239491584e9"},{"_id":"6992fea8266cb4ed7f3ed45a","user":"698ca263831ebb21aae253a9"},{"_id":"6993346ca3f3c0077c845c47","user":"67008b8037771479aedec898"},{"_id":"6993522304f1bae2bde65824","user":"698ee58cb940be71eb4a4185"},{"_id":"69939df4b0416c0514072397","user":"69933440b940be71eb4d86b9"},{"_id":"699405079f59d4b88c3e7a92","user":"683459d42506f7099ecc1923"},{"_id":"69948fd9f96511ce395a1187","user":"6836e5c993d95526506a42d0"},{"_id":"6994d2abb2221f96078ea427","user":"63604b8ac0c9fa614c75e92e"},{"_id":"69951dbd0c423a4d6f59e4e5","user":"5cc3b34e04642745e68747df"},{"_id":"699542ba74dbfceb35d3052f","user":"5e23d41f98d82c5531d35a0b"},{"_id":"69956cc7f3f3c1d32eb75ea2","user":"67ad7d40f3c62bfc366c73cd"},{"_id":"6995b48e7594cc299bd8161c","user":"648ce2614e9857ab179305e4"},{"_id":"6995c8d15e11c54dd3fa532d","user":"61059e2e2a7d126535272bc9"},{"_id":"699642d97c7dc88481700361","user":"5ee9abc4d79c440cc9bba7d1"},{"_id":"69973f0f2c61491346bb9c4c","user":"69971827fba70071dc9afa62"},{"_id":"6997568386d4c43362bf6685","user":"5fc6c4632af1de545ee8d30f"},{"_id":"699757745e079badb9d40333","user":"6869b1132db36d6825804156"},{"_id":"6997598386d4c43362bf9e43","user":"639b57c02190c03b345a9403"},{"_id":"699764418d782527cd89e32a","user":"6995e14efba70071dc9a0323"},{"_id":"69977e5527de3522619b7610","user":"657b554b511003fed405b71c"},{"_id":"699781f0e56d158d4f2353bc","user":"67f95172fb9289573fcc2d53"},{"_id":"699785899a901462c195b312","user":"60928e5229ea0679d9791efe"},{"_id":"6997d61ebfc7b00068b34747","user":"6997d54dcbb5556caeb0924f"},{"_id":"6998883eb64502c48aa7396e","user":"6997a6b4169bf06cbda2d8bd"},{"_id":"6998919cf9fac3c1c557f3d5","user":"697e56d7831ebb21aad94a1d"},{"_id":"69989d284ee581333fbc25c7","user":"69979654ff7940def221528e"},{"_id":"69993292ba3c833fe7dd3628","user":"64ae4e87d32c75dc53c34134"},{"_id":"699932f1441db934161c3194","user":"691088837b799ad20691c8b7"},{"_id":"6999335bba3c833fe7dd4281","user":"64c3dba322d1111ea8e3c4cc"},{"_id":"69993386441db934161c3559","user":"5ce2a3370d7a3557cd969717"},{"_id":"69993437441db934161c3beb","user":"5db3a215280a37580d7f4d29"},{"_id":"69993450cd70288980aae2f0","user":"699072b6169bf06cbd9cb4b2"},{"_id":"6999345ecd70288980aae639","user":"665c57e32ec657f30e8d0ca5"},{"user":"6253f5a5c3f5ab454c0cd302","_id":"699939cb72f4cf3c221c8a70"},{"user":"6997182d2585ae6bc3f7f8dd","_id":"699988eedbb6c88a0660ce3d"},{"user":"643ef92e9cfd6e36eb713038","_id":"6999abb0294e71bd4be29047"},{"user":"5c2b63451dedfc67a2fd80b9","_id":"6999ccccab12780218beda75"},{"user":"695fa37e8ba1d8219b1232cc","_id":"6999d3926753d08de4bd1127"},{"user":"5fdb3e378c3b484d4029c4b9","_id":"6999d4cfb43fbe4e6555d0f7"},{"user":"694422482ab56b21e6bf3b98","_id":"6999e13cb43fbe4e65565b61"},{"user":"6876f18a890fdb762a0d6942","_id":"6999fff2afa63d59e3c6b829"},{"user":"6988d9272ab56b21e6f12836","_id":"699a0e071a8dafe720e54a14"},{"user":"699a022168151f9d77ecf3d2","_id":"699a166c17acac5084f7acb9"},{"user":"607ef90e35c08113e96c5b60","_id":"699a20db1a8dafe720e632a2"},{"user":"699254dbcbb5556caeac0115","_id":"699a7516b3dfcfed42745292"},{"user":"68a3262e8c2d6c1092ed119b","_id":"699add74e91879a6c7dc13c8"},{"user":"68dceab94865feb609675f29","_id":"699addabb3611819eeadefcd"},{"user":"5dda836082e86342ac52872d","_id":"699b47c52e22a744731b2a34"},{"user":"661ad7c1052166efa7614f20","_id":"699b5152ff299a61fae6a5e1"},{"user":"699ad00068151f9d77edc682","_id":"699b519981135bf92f3bb68e"},{"user":"635ca630e6dfb41817651e43","_id":"699b885fb3348d8e91967d51"},{"user":"5f6391e3ac4c5123ae80fa87","_id":"699b88e092c73df1d136bef4"},{"user":"63a4887f10a4c360fd297e03","_id":"699b8aa8b3348d8e91969507"},{"user":"6842d2e43b74772603e4864b","_id":"699b8df9b3348d8e9196b953"},{"user":"63233af8a2c3a12ef419deb8","_id":"699ba044b683817ba7bbca09"},{"user":"628e7d20e47ba73271ffaf68","_id":"699ba6280e24b948210b64d1"},{"user":"61c20092914e9c395d1addaf","_id":"699ba645434f48611947a3a0"},{"user":"65c924809eb14497a5465b04","_id":"699c67c0b388bd613581e663"},{"user":"604486c2eedd856ef2b8d126","_id":"699c6ab4087bf9d1d1ad9265"}],"clientSidePredictionEnabled":false,"autoSave":true,"sandboxMode":"advanced","dontResize":false,"isDeleted":false,"mobileReady":false,"enablePersistedData":false,"clientPhysicsEngine":"","canHostPrivateServers":false,"allowVerifiedUserToChat":false,"enableVideoChat":false,"privateServerIdleTimeout":0.1,"planetId":11,"secretKey":"22bwObM4Z2zXEXGB","solanaWalletLoginEnabled":false,"isGuestPlayerAllowed":true,"featuredOrderNo":-1,"isFeatured":false,"isLobbyEnabled":false,"lobbyUnitKey":"","maxLobbySize":4,"minLobbySize":2,"allowLateJoining":false,"heightBasedZIndex":false,"isMod":false,"parentGame":null,"preferredRegion":"","isModdable":false,"parentGameId":"5e82e2c3a56d7e256d60361d","dailyCoinTransferLimit":2000,"renderingFilter":"pixelArt","mapBackgroundColor":"#000000","version":"0.01","gamePlayInstructions":"<span class=\"key-bg\">WASD or Arrow Keys</span> - Movement keys<br />\n<span class=\"key-bg\">G</span> - Drop item<br />\n<span class=\"key-bg\">E</span> - Pick up item<br />\n<span class=\"key-bg\">B</span> - Buy items as a human<br />\n<span class=\"key-bg\">Z</span> - Teleport to Spawn as a zombie<br />\n<span class=\"key-bg\">Mouse Left Click</span> - Use item<br />\n<span class=\"key-bg\">J/U/I/O</span> - Text emotes<br />\n<center><h5>When logged in:</h5></center>\n<span class=\"key-bg\">Enter</span> - Chat<br />\n<span class=\"key-bg\">M</span> - Missions panel<br />","lastPlayedAt":"2026-02-23T18:01:19.742Z","coverUpdated":true,"isPublished":true,"contextMenuEnabled":false,"disableAdsPortals":false,"hideLoginForGame":false,"engineVersion":"2.9.16","iconImage":"https://cache.modd.io/asset/spriteImage/1701696080668_braainsicon512.png","engineTickRate":20,"defaultRenderer":"2d","prefRegionOnly":false,"isWorld":false,"creatorPlan":{"productId":"11980158"},"tags":[],"world":{"shareWeb3TokenAcrossMaps":true}},"roles":[{"permissions":{"playGame":true,"communityChat":false,"serverChat":false},"order":7,"_id":"64ad24e9fd7e271dd6e36070","name":"Community Member","color":"#99F000","gameId":"5a7fd59b1014dc000eeec3dd","type":3,"__v":0,"createdAt":"2023-07-11T09:46:17.964Z","updatedAt":"2025-06-28T14:34:06.394Z"},{"permissions":{"serverChat":true,"playGame":true},"order":8,"_id":"64b16cf7d1ae208fd6022822","name":"Logged-In Users","color":"#99F000","gameId":"5a7fd59b1014dc000eeec3dd","type":4,"__v":0,"createdAt":"2023-07-14T15:42:47.222Z","updatedAt":"2025-06-28T17:00:33.011Z"},{"permissions":{"contributor":true,"communityChat":true,"moderator":true,"serverChat":true,"playGame":true,"manageRoles":true,"manageSkins":true,"manageSettings":true},"order":0,"_id":"64b16cf7d1ae208fd6022820","name":"Developer","color":"#e81c7f","gameId":"5a7fd59b1014dc000eeec3dd","type":1,"__v":0,"createdAt":"2023-07-14T15:42:47.221Z","updatedAt":"2026-02-23T18:00:48.591Z","icon":"https://cache.modd.io/asset/spriteImage/1722840641135_resim_2024-08-05_095041136.png"},{"permissions":{"playGame":true},"order":9,"_id":"64b16cf7d1ae208fd6022823","name":"Guest Users","color":"#ff0004","gameId":"5a7fd59b1014dc000eeec3dd","type":5,"__v":0,"createdAt":"2023-07-14T15:42:47.222Z","updatedAt":"2025-05-29T09:59:02.341Z"},{"permissions":{"playGame":true,"communityChat":true,"serverChat":true,"moderator":true,"manageSkins":true},"order":2,"_id":"64b17cf3724719319d6a6ccd","name":"Head Moderator","color":"#29f3ab","gameId":"5a7fd59b1014dc000eeec3dd","createdAt":"2023-07-14T16:50:59.962Z","updatedAt":"2026-02-23T18:01:07.479Z","__v":0,"icon":"https://cache.modd.io/asset/spriteImage/1737906424831_medal.png"},{"permissions":{"playGame":true,"communityChat":false,"serverChat":false},"order":6,"_id":"64eba7a7a5ff68934d9009db","name":"Server Booster","color":"#eb73ff","gameId":"5a7fd59b1014dc000eeec3dd","createdAt":"2023-08-27T19:44:39.011Z","updatedAt":"2026-02-22T03:37:30.315Z","__v":0,"icon":"https://cache.modd.io/asset/spriteImage/1693245259268_1692031466931_1675381750437_gq3fqwetqwg_(1)2.png"},{"order":1,"_id":"66b2ba6a24a7004935f7fd5f","name":"Master Player","color":"#eccd0e","gameId":"5a7fd59b1014dc000eeec3dd","subscription":{"paid":false},"createdAt":"2024-08-07T00:06:02.522Z","updatedAt":"2026-02-23T18:00:21.900Z","__v":0,"icon":"https://cache.modd.io/asset/spriteImage/1737989536680_medal.webp"},{"permissions":{"moderator":true},"order":3,"_id":"67945d57e6e9b6ccf6641764","name":"Moderator","color":"#d100e3","gameId":"5a7fd59b1014dc000eeec3dd","subscription":{"paid":false},"createdAt":"2025-01-25T03:41:11.113Z","updatedAt":"2026-02-23T18:00:59.525Z","__v":0,"icon":"https://cache.modd.io/asset/spriteImage/1737906396106_hammer_1f528.png"},{"order":4,"_id":"679460298be4a4fb60e32138","name":"Braainstuber","color":"#ff0000","gameId":"5a7fd59b1014dc000eeec3dd","subscription":{"paid":false},"createdAt":"2025-01-25T03:53:13.270Z","updatedAt":"2026-02-23T18:01:18.064Z","__v":0,"icon":"https://cache.modd.io/asset/spriteImage/1737833354382_btuber.png"},{"order":5,"_id":"68382fe15fbc9abf4a44fc58","name":"Artists","color":"#528cff","gameId":"5a7fd59b1014dc000eeec3dd","subscription":{"paid":false},"createdAt":"2025-05-29T09:58:57.525Z","updatedAt":"2025-07-12T14:06:01.162Z","__v":0,"icon":"https://cache.modd.io/asset/spriteImage/1748513156809_Artist.png"}]}}}