{"gameJson":{"status":"success","data":{"entityTypeVariables":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"bClick":{"default":false,"dataType":"boolean","streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempString_L":{"default":"[\"0\",\"0\",\"0\",\"0\"]","dataType":"string","streamMode":1},"dynamicRegionSize":{"default":5,"dataType":"number","streamMode":1},"offsetXY":{"default":5,"dataType":"number","streamMode":1,"key":"dynamicRegionSize","defaultKey":"offsetXY"},"bDoor":{"default":false,"dataType":"boolean","streamMode":1},"bLights":{"default":false,"dataType":"boolean","streamMode":1},"bDisabled":{"default":false,"dataType":"boolean","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"movementOpportunity":{"default":0,"dataType":"number","streamMode":1},"location":{"default":"stage","dataType":"string","streamMode":1},"bRadarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"radarEnabled":{"default":false,"dataType":"boolean","streamMode":1,"key":"radarEnabled","defaultKey":"radarEnabled"},"ownerUnit":{"dataType":"unit","streamMode":1},"locationArrays":{"default":"[]","dataType":"string","streamMode":1},"locationArray":{"default":"[]","dataType":"string","streamMode":1},"radarArray":{"default":"[]","dataType":"string","streamMode":1},"tempString":{"dataType":"string","streamMode":1},"locationPosition":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"moveableLocationsArray":{"default":"[]","dataType":"string","streamMode":1},"closetLocation":{"default":0,"dataType":"number","streamMode":1,"key":"closetLocationIndex","defaultKey":"closetLocation"},"closetLocationIndex":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1},"monitorCameraUnit":{"dataType":"unit","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"saveCameraRoom":{"default":"u12I0PEbYc","dataType":"unitType","streamMode":1},"currentCameraRoom":{"dataType":"unit","streamMode":1},"cameraWidth":{"default":0,"dataType":"number","streamMode":3},"clickableRegionArray":{"default":"[]","dataType":"string","streamMode":1},"tempUnit_L":{"dataType":"unit","streamMode":1},"priority":{"default":"none","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1},"tempNum2_L":{"default":0,"dataType":"number","streamMode":1},"titleCurrentOption":{"default":"newgame","dataType":"string","streamMode":1},"newspaperUnits":{"default":"[]","dataType":"string","streamMode":1},"activateScriptBool":{"default":false,"dataType":"boolean","streamMode":1},"locked?":{"default":false,"dataType":"boolean","streamMode":1},"lockCooldownActive?":{"default":false,"dataType":"boolean","streamMode":1},"goldenFreddyAppeared":{"default":false,"dataType":"boolean","streamMode":1},"previousLocation":{"default":"stage","dataType":"string","streamMode":1},"cameraDowntimeTime":{"default":2,"dataType":"number","streamMode":1,"key":"cameraDowntimeTime","defaultKey":"cameraDowntimeTime"},"animationScene":{"default":"normal","dataType":"string","streamMode":1},"attackEnabled":{"default":true,"dataType":"boolean"},"closetUnit":{"default":0,"dataType":"number"},"followUnit":{"dataType":"unit"},"maxMinForce":{"default":0,"dataType":"number"},"posFollowReason":{"default":"wander","dataType":"string"},"signNum":{"default":0,"dataType":"number","streamMode":1},"targetUnit":{"dataType":"unit"},"tempBoolean2":{"default":false,"dataType":"boolean"},"tempNum":{"default":0,"dataType":"number"},"tempNum2":{"default":0,"dataType":"number"},"wanderPos":{"dataType":"position","default":{"x":0,"y":0}},"ownerPlayer":{"dataType":"player","streamMode":1}},"shops":{"UzNtE4dGLw":{"name":"Cursor Shop","description":"","dismissible":true,"itemTypes":{"duWU0BDhPa":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":true,"order":0},"4kRAIShLDw":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":true,"order":1},"ZDlpVhK0Rn":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":true},"nK2nSHjda9":{"price":{"playerAttributes":{},"requiredItemTypes":[],"coins":0},"requirement":{"playerAttributes":{"bo4HZMNw3i":{"type":"atleast","value":1}},"requiredItemTypes":[]},"quantity":"","isPurchasable":true,"hideIfUnaffordable":false,"hideIfRequirementNotMet":false,"replaceItemInTargetSlot":true}},"unitTypes":{},"shopClass":"","streamMode":1}},"animationTypes":{"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0},"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"jZRsiwEShV":{"name":"use","frames":[2],"framesPerSecond":0,"loopCount":0},"N6ObodgyOj":{"name":"leftFT","frames":[2],"framesPerSecond":0,"loopCount":0},"xOT2IBGL82":{"name":"leftTF","frames":[3],"framesPerSecond":0,"loopCount":0,"streamMode":1},"nlhukna41M":{"name":"leftTT","frames":[4],"framesPerSecond":0,"loopCount":0},"0nFKMolXWJ":{"name":"rightFF","frames":[5],"framesPerSecond":0,"loopCount":0,"streamMode":1},"yLaD864hY2":{"name":"rightFT","frames":[6],"framesPerSecond":0,"loopCount":0},"S0AsMVM0jz":{"name":"rightTF","frames":[7],"framesPerSecond":0,"loopCount":0},"IoGBemO2g7":{"name":"rightTT","frames":[8],"framesPerSecond":0,"loopCount":0},"fEryKgbyJ7":{"name":"cancel","frames":[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1],"framesPerSecond":24,"loopCount":1},"UKQTPoYl8O":{"name":"closed","frames":[16],"framesPerSecond":0,"loopCount":0},"BLbHj1VUEr":{"name":"leftClose","frames":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"framesPerSecond":24,"loopCount":1},"KNAhe5dW26":{"name":"leftOpen","frames":[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1],"framesPerSecond":24,"loopCount":1},"05aU8XziTF":{"name":"rightClose","frames":[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32],"framesPerSecond":24,"loopCount":1},"5tLZHtsI52":{"name":"rightOpen","frames":[31,30,29,28,27,26,25,24,23,22,21,20,19,18,17],"framesPerSecond":24,"loopCount":1},"KaTdN7B9bu":{"name":"leftClosed","frames":[16],"framesPerSecond":0,"loopCount":0},"pS4KiSc3dX":{"name":"rightClosed","frames":[32],"framesPerSecond":0,"loopCount":0},"sJHXsFBmJG":{"name":"default2","frames":[17],"framesPerSecond":0,"loopCount":0},"WNECQa26OJ":{"name":"lightOn","frames":[1],"framesPerSecond":0,"loopCount":0},"j65qUsLp9d":{"name":"lightOnAnimatronic","frames":[2],"framesPerSecond":0,"loopCount":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"bWUMZER7Nx":{"name":7,"frames":[7],"framesPerSecond":0,"loopCount":0},"MXqwxryYSD":{"name":8,"frames":[8],"framesPerSecond":0,"loopCount":0},"zP4ybUBxiK":{"name":9,"frames":[9],"framesPerSecond":0,"loopCount":0},"vUOH9k56TA":{"name":10,"frames":[10],"framesPerSecond":0,"loopCount":0},"kKuL0JSdaB":{"name":11,"frames":[11],"framesPerSecond":0,"loopCount":0},"ebFLsXk9rL":{"name":12,"frames":[12],"framesPerSecond":0,"loopCount":0},"xi6Rtmd94o":{"name":13,"frames":[13],"framesPerSecond":0,"loopCount":0},"btt1nfWaiJ":{"name":14,"frames":[14],"framesPerSecond":0,"loopCount":0},"Fr3YKneWJx":{"name":15,"frames":[15],"framesPerSecond":0,"loopCount":0},"IkUUQ3wRJG":{"name":16,"frames":[16],"framesPerSecond":0,"loopCount":0},"JrHlx2DpzB":{"name":17,"frames":[17],"framesPerSecond":0,"loopCount":0},"hvGZyN5wPl":{"name":"invisible","frames":[12],"framesPerSecond":0,"loopCount":0},"ui6LgM16B0":{"name":"actuallyInvisible","frames":[1065],"framesPerSecond":0,"loopCount":""},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"states":{"unselected":{"name":"unselected","animation":"none","body":"none","particles":{},"sound":{}},"default":{"name":"default","sound":{},"particles":{},"animation":"default","body":"default"},"selected":{"name":"selected","animation":"default","body":"selected","particles":{},"sound":{}},"dropped":{"name":"dropped","animation":"dropped","body":"dropped","particles":{},"sound":{}},"wdLnquTuEv":{"name":"default2","animation":"0nFKMolXWJ","body":"default","particles":{},"sound":{}},"BLwgHt2ZFX":{"name":1,"animation":"8ZzjsALtC9","body":"default","particles":{},"sound":{}},"G0bWct6PbX":{"name":2,"animation":"bQfbysuYSs","body":"default","particles":{},"sound":{}},"h5BVgCX8Ln":{"name":3,"animation":"9LtAEKFTYx","body":"default","particles":{},"sound":{}},"ySIRGUCnAY":{"name":4,"animation":"g3KasiwKaS","body":"default","particles":{},"sound":{}},"lpv1EgnEra":{"name":5,"animation":"P9GmkAgt06","body":"default","particles":{},"sound":{}},"01P8qCZxdt":{"name":6,"animation":"hd1WvHW4J3","body":"default","particles":{},"sound":{}}},"map":{"originalTileHeight":64,"originalTileWidth":64,"width":46,"version":1,"type":"map","tilewidth":64,"tilesets":[{"tilewidth":64,"tileheight":64,"tilecount":540,"spacing":0,"name":"tilesheet_complete","margin":0,"imagewidth":1728,"imageheight":1280,"image":"https://cache.modd.io/asset/spriteImage/1581392289726_tilsheet_complete.png","firstgid":1,"columns":27,"isMaped":false,"rows":20}],"tileheight":64,"tiledversion":"1.1.5","renderorder":"right-down","orientation":"orthogonal","nextobjectid":167,"layers":[{"y":0,"x":0,"width":46,"visible":true,"type":"tilelayer","opacity":1,"name":"floor","height":21,"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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"y":0,"x":0,"width":46,"visible":true,"type":"tilelayer","opacity":1,"name":"floor2","height":21,"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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"width":46,"height":21,"y":0,"x":0,"visible":true,"type":"objectgroup","opacity":1,"objects":[],"name":"debris","draworder":"topdown"},{"y":0,"x":0,"width":46,"visible":true,"type":"tilelayer","opacity":1,"name":"walls","height":21,"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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"y":0,"x":0,"width":46,"visible":true,"type":"tilelayer","opacity":1,"name":"trees","height":21,"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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}],"infinite":false,"height":21},"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":{},"itemTypes":{"duWU0BDhPa":{"animations":{"dropped":{"loopCount":"","framesPerSecond":0,"frames":[1],"name":"dropped"},"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"},"jZRsiwEShV":{"name":"use","frames":[2],"framesPerSecond":0,"loopCount":0}},"attributes":{},"bodies":{"dropped":{"bullet":false,"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"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":2,"layer":1},"height":62,"width":25,"type":"none","name":"dropped","affectedByGravity":false},"selected":{"bullet":false,"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":20},"jointType":"none","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"rotationSpeed":5,"linearDamping":0,"angularDamping":0,"collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":false},"allowSleep":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"fixedRotation":false,"z-index":{"depth":4,"layer":3},"height":30,"width":24,"type":"spriteOnly","name":"selected"}},"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":20,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"rotation":0,"y":-12,"x":-5},"bulletDestroyedOnCollisionWithWall/unitType":"projectile","bulletDistance":1300,"bulletForce":22,"bulletStartPosition":{"x":0,"y":45,"rotation":0},"bulletType":"projectile","canBePurchasedBy":[],"canBeUsedBy":[],"carriedBy":[],"cellSheet":{"columnCount":1,"rowCount":2,"url":"https://cache.modd.io/asset/spriteImage/1699576412545_costume4_(3)_(1).png"},"confinedWithinMapBoundaries":false,"controls":{"undroppable":true,"designatedInventorySlot":"","mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"permittedInventorySlots":[1],"canMerge":true,"backpackAllowed":true},"cost":{"quantity":1},"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":null,"destroyTimer":100000,"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":{}}},"fireRate":200,"frames":{},"handle":"","hideIfUnaffordable":false,"hits":[],"ignoreServerStream":false,"inventoryImage":"https://cache.modd.io/asset/spriteImage/1699576405836_costume4_(3).png","isGun":true,"isPurchasable":true,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":0,"maxQuantity":null,"name":"Normal Cursor","particles":{},"penetration":false,"projectileStreamMode":1,"projectileType":"constantSpeed +DestroyedOnCollisionWithWall/unit","quantity":null,"recoilForce":0,"reloadRate":2800,"removeWhenEmpty":false,"showCDOverlay":false,"sound":{},"states":{"dropped":{"sound":{},"particles":{},"body":"dropped","animation":"dropped","name":"dropped"},"unselected":{"sound":{},"particles":{},"body":"selected","animation":"default","name":"unselected"},"selected":{"sound":{},"particles":{},"body":"selected","animation":"default","name":"selected"}},"streamMode":1,"type":"unusable","variables":{}},"4kRAIShLDw":{"animations":{"dropped":{"loopCount":"","framesPerSecond":0,"frames":[1],"name":"dropped"},"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"},"jZRsiwEShV":{"name":"use","frames":[2],"framesPerSecond":0,"loopCount":0}},"attributes":{},"bodies":{"dropped":{"bullet":false,"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"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":2,"layer":1},"height":62,"width":25,"type":"none","name":"dropped","affectedByGravity":false},"selected":{"bullet":false,"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":20},"jointType":"none","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"rotationSpeed":5,"linearDamping":0,"angularDamping":0,"collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":false},"allowSleep":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"fixedRotation":false,"z-index":{"depth":4,"layer":3},"height":30,"width":18,"type":"spriteOnly","name":"selected"}},"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":20,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"rotation":0,"y":-12,"x":-5},"bulletDestroyedOnCollisionWithWall/unitType":"projectile","bulletDistance":1300,"bulletForce":22,"bulletStartPosition":{"x":0,"y":45,"rotation":0},"bulletType":"projectile","canBePurchasedBy":[],"canBeUsedBy":[],"carriedBy":[],"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1708815073786_costume4_(3)_(1).png"},"confinedWithinMapBoundaries":false,"controls":{"undroppable":true,"designatedInventorySlot":"","mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"permittedInventorySlots":[1],"canMerge":true,"backpackAllowed":true},"cost":{"quantity":1},"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":null,"destroyTimer":100000,"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":{}}},"fireRate":200,"frames":{},"handle":"","hideIfUnaffordable":false,"hits":[],"ignoreServerStream":false,"inventoryImage":"https://cache.modd.io/asset/spriteImage/1708815073786_costume4_(3)_(1).png","isGun":true,"isPurchasable":true,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":0,"maxQuantity":null,"name":"Red Cursor","particles":{},"penetration":false,"projectileStreamMode":1,"projectileType":"constantSpeed +DestroyedOnCollisionWithWall/unit","quantity":null,"recoilForce":0,"reloadRate":2800,"removeWhenEmpty":false,"showCDOverlay":false,"sound":{},"states":{"dropped":{"sound":{},"particles":{},"body":"dropped","animation":"dropped","name":"dropped"},"unselected":{"sound":{},"particles":{},"body":"selected","animation":"default","name":"unselected"},"selected":{"sound":{},"particles":{},"body":"selected","animation":"default","name":"selected"}},"streamMode":1,"type":"unusable","variables":{},"scripts":{}},"ZDlpVhK0Rn":{"animations":{"dropped":{"loopCount":"","framesPerSecond":0,"frames":[1],"name":"dropped"},"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"},"jZRsiwEShV":{"name":"use","frames":[2],"framesPerSecond":0,"loopCount":0}},"attributes":{},"bodies":{"dropped":{"bullet":false,"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"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":2,"layer":1},"height":62,"width":25,"type":"none","name":"dropped","affectedByGravity":false},"selected":{"bullet":false,"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":20},"jointType":"none","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"rotationSpeed":5,"linearDamping":0,"angularDamping":0,"collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":false},"allowSleep":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"fixedRotation":false,"z-index":{"depth":4,"layer":3},"height":30,"width":18,"type":"spriteOnly","name":"selected"}},"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":20,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"rotation":0,"y":-12,"x":-5},"bulletDestroyedOnCollisionWithWall/unitType":"projectile","bulletDistance":1300,"bulletForce":22,"bulletStartPosition":{"x":0,"y":45,"rotation":0},"bulletType":"projectile","canBePurchasedBy":[],"canBeUsedBy":[],"carriedBy":[],"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1708815629536_170837546874669389.png"},"confinedWithinMapBoundaries":false,"controls":{"undroppable":true,"designatedInventorySlot":"","mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"permittedInventorySlots":[1],"canMerge":true,"backpackAllowed":true},"cost":{"quantity":1},"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":null,"destroyTimer":100000,"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":{}}},"fireRate":200,"frames":{},"handle":"","hideIfUnaffordable":false,"hits":[],"ignoreServerStream":false,"inventoryImage":"https://cache.modd.io/asset/spriteImage/1708815629536_170837546874669389.png","isGun":true,"isPurchasable":true,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":0,"maxQuantity":null,"name":"Blue Cursor","particles":{},"penetration":false,"projectileStreamMode":1,"projectileType":"constantSpeed +DestroyedOnCollisionWithWall/unit","quantity":null,"recoilForce":0,"reloadRate":2800,"removeWhenEmpty":false,"showCDOverlay":false,"sound":{},"states":{"dropped":{"sound":{},"particles":{},"body":"dropped","animation":"dropped","name":"dropped"},"unselected":{"sound":{},"particles":{},"body":"selected","animation":"default","name":"unselected"},"selected":{"sound":{},"particles":{},"body":"selected","animation":"default","name":"selected"}},"streamMode":1,"type":"unusable","variables":{},"scripts":{}},"nK2nSHjda9":{"animations":{"dropped":{"loopCount":"","framesPerSecond":0,"frames":[1],"name":"dropped"},"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"},"jZRsiwEShV":{"name":"use","frames":[2],"framesPerSecond":0,"loopCount":0}},"attributes":{},"bodies":{"dropped":{"bullet":false,"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":0},"jointType":"weldJoint","fixtures":[{"isSensor":false,"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":2,"layer":1},"height":62,"width":25,"type":"none","name":"dropped","affectedByGravity":false},"selected":{"bullet":false,"itemAnchor":{"x":0,"y":0},"unitAnchor":{"x":0,"y":20},"jointType":"none","fixtures":[{"isSensor":true,"shape":{"type":"rectangle"},"restitution":0.01,"friction":0.01,"density":1}],"spriteScale":1,"rotationSpeed":5,"linearDamping":0,"angularDamping":0,"collidesWith":{"debris":false,"walls":false,"projectiles":false,"items":false,"units":false},"allowSleep":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"fixedRotation":false,"z-index":{"depth":4,"layer":3},"height":30,"width":18,"type":"spriteOnly","name":"selected"}},"bonus":{"passive":{"unitAttribute":{},"playerAttribute":{},"isDisabledInBackpack":false},"consume":{"unitAttribute":{},"playerAttribute":{}}},"buffTypes":[],"bulletDestroyedOnCollisionWithWall/unitDistance":1300,"bulletDestroyedOnCollisionWithWall/unitForce":20,"bulletDestroyedOnCollisionWithWall/unitStartPosition":{"rotation":0,"y":-12,"x":-5},"bulletDestroyedOnCollisionWithWall/unitType":"projectile","bulletDistance":1300,"bulletForce":22,"bulletStartPosition":{"x":0,"y":45,"rotation":0},"bulletType":"projectile","canBePurchasedBy":[],"canBeUsedBy":[],"carriedBy":[],"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1708815831669_R_(1).png"},"confinedWithinMapBoundaries":false,"controls":{"undroppable":true,"designatedInventorySlot":"","mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"permittedInventorySlots":[1],"canMerge":true,"backpackAllowed":true},"cost":{"quantity":1},"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":null,"destroyTimer":100000,"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":{}}},"fireRate":200,"frames":{},"handle":"","hideIfUnaffordable":false,"hits":[],"ignoreServerStream":false,"inventoryImage":"https://cache.modd.io/asset/spriteImage/1708815831669_R_(1).png","isGun":true,"isPurchasable":true,"isStackable":false,"isUsedOnPickup":false,"knockbackForce":0,"lifeSpan":0,"maxQuantity":null,"name":"Neon Cursor","particles":{},"penetration":false,"projectileStreamMode":1,"projectileType":"constantSpeed +DestroyedOnCollisionWithWall/unit","quantity":null,"recoilForce":0,"reloadRate":2800,"removeWhenEmpty":false,"showCDOverlay":false,"sound":{},"states":{"dropped":{"sound":{},"particles":{},"body":"dropped","animation":"dropped","name":"dropped"},"unselected":{"sound":{},"particles":{},"body":"selected","animation":"default","name":"unselected"},"selected":{"sound":{},"particles":{},"body":"selected","animation":"default","name":"selected"}},"streamMode":1,"type":"unusable","variables":{},"scripts":{}}},"music":{"i4EeGpr08A":{"name":"Main Menu","file":"https://cache.modd.io/asset/sound/1699581567381_FNaF_1_Remaster_Main_Menu.mp3","volume":62,"streamMode":1},"uybvlv52io":{"name":"Ambience1","file":"https://cache.modd.io/asset/sound/1699581597103_ColdPresc_B.mp3","volume":6,"streamMode":1},"H47BoicmMH":{"name":"Ambience2","file":"https://cache.modd.io/asset/sound/1699581649577_EerieAmbienceLargeSca_MV005.mp3","volume":85,"streamMode":1},"oWiNPp6Ch4":{"name":"AmbiencePowerOff","file":"https://cache.modd.io/asset/sound/1699581681330_Ambience2.mp3","volume":20,"streamMode":1}},"sound":{"YKcOCFXKSb":{"name":"Poster Boop","file":"https://cache.modd.io/asset/sound/1699580691168_PartyFavorraspyPart_AC01_3.mp3","volume":59,"streamMode":1},"5hDMmNPP8K":{"name":"Buzzing Fan","file":"https://cache.modd.io/asset/sound/1699581455069_Buzz_Fan_Florescent2.mp3","volume":15,"streamMode":1},"xufxf1Iro7":{"name":"Circus Pipe Organ","file":"https://cache.modd.io/asset/sound/1699581725674_Circus.mp3","volume":6,"streamMode":1},"wRv3SAzCJq":{"name":"Toreador March","file":"https://cache.modd.io/asset/sound/1699581741096_Music_box.mp3","volume":100,"streamMode":1},"6VVUN0fKtf":{"name":"Door Interact","file":"https://cache.modd.io/asset/sound/1699583658119_SFXBible_12478.mp3","volume":100,"streamMode":1},"RDoxiJMCpV":{"name":"Button Error","file":"https://cache.modd.io/asset/sound/1699583669621_Error.mp3","volume":100,"streamMode":1},"R0p1uDRZh8":{"name":"Light Hum","file":"https://cache.modd.io/asset/sound/1699632445282_BallastHumMedium2.mp3","volume":100,"streamMode":1},"XfaH02oV8h":{"name":"Window Scare","file":"https://cache.modd.io/asset/sound/1699632459564_Windowscare.mp3","volume":66,"streamMode":1},"JrLCIyysEx":{"name":"bonnieFootStep","file":"https://cache.modd.io/asset/sound/1699801000001_Deep_steps.mp3","volume":100,"streamMode":1},"2aJSjcTNZJ":{"name":"chicaFootStep","file":"https://cache.modd.io/asset/sound/1699802078702_Deep_steps.mp3","volume":100,"streamMode":1},"6r6Jud9SWV":{"name":"Foxy Door Knock","file":"https://cache.modd.io/asset/sound/1699805602533_Knock2.mp3","volume":100,"streamMode":1},"zeJnGLiVUw":{"name":"Foxy Hum","file":"https://cache.modd.io/asset/sound/1699805618767_Pirate_song2.mp3","volume":6,"streamMode":1},"Fd3tDe0eo5":{"name":"Foxy Run","file":"https://cache.modd.io/asset/sound/1699805628574_Run.mp3","volume":100,"streamMode":1},"SONMfudHIC":{"name":"Freddy Move1","file":"https://cache.modd.io/asset/sound/1699805649887_Laugh_Giggle_Girl_1d.mp3","volume":100,"streamMode":1},"l2zn8WE2K1":{"name":"Freddy Move2","file":"https://cache.modd.io/asset/sound/1699805660879_Laugh_Giggle_Girl_2d.mp3","volume":100,"streamMode":1},"0hqtTje25Q":{"name":"Freddy Move3","file":"https://cache.modd.io/asset/sound/1699805676762_Laugh_Giggle_Girl_8d.mp3","volume":100,"streamMode":1},"CvFgsVpXJD":{"name":"Freddy FootStep","file":"https://cache.modd.io/asset/sound/1699805684874_Running_fast3.mp3","volume":100,"streamMode":1},"59q3qTohRQ":{"name":"Freddy InOffice","file":"https://cache.modd.io/asset/sound/1703628911184_whispering2-output.mp3","volume":100,"streamMode":1},"mNBCA5ET2z":{"name":"CameraSwitch","file":"https://cache.modd.io/asset/sound/1699996492969_Blip3.mp3","volume":100,"streamMode":1},"SB8lSz31rt":{"name":"CameraUse","file":"https://cache.modd.io/asset/sound/1699996506180_CAMERA_VIDEO_LOA_60105303.mp3","volume":37,"streamMode":1},"NLCh7b42sf":{"name":"CameraDrop","file":"https://cache.modd.io/asset/sound/1699996528022_Put_down.mp3","volume":37,"streamMode":1},"hdpIrqkTZP":{"name":"CameraAmbience","file":"https://cache.modd.io/asset/sound/1699996552748_MiniDV_Tape_Eject_1.mp3","volume":100,"streamMode":1},"niy2CLXkHJ":{"name":"Garble1","file":"https://cache.modd.io/asset/sound/1699996560374_Garble1.mp3","volume":100,"streamMode":1},"SQ0o72Cc2B":{"name":"Garble2","file":"https://cache.modd.io/asset/sound/1699996574056_Garble2.mp3","volume":100,"streamMode":1},"FdT0ZzXN8R":{"name":"Garble3","file":"https://cache.modd.io/asset/sound/1699996580360_Garble3.mp3","volume":100,"streamMode":1},"Xyg2dUwEov":{"name":"Garble4","file":"https://cache.modd.io/asset/sound/1699996587954_COMPUTER_DIGITAL_L2076505.mp3","volume":100,"streamMode":1},"WopL8WoQSc":{"name":"Door Pounding Ambience","file":"https://cache.modd.io/asset/sound/1700604100944_DOOR_POUNDING_ME_D0291401.mp3","volume":15,"streamMode":1},"tircXPGGVy":{"name":"kitchen1","file":"https://cache.modd.io/asset/sound/1700973992687_OVEN-DRA_1_GEN-HDF18119.mp3","volume":100,"streamMode":1},"VbRwzsf8w8":{"name":"kitchen2","file":"https://cache.modd.io/asset/sound/1700974004368_OVEN-DRA_7_GEN-HDF18121.mp3","volume":100,"streamMode":1},"cAAGanlFtQ":{"name":"kitchen3","file":"https://cache.modd.io/asset/sound/1700974023205_OVEN-DRA_7_GEN-HDF18121.mp3","volume":100,"streamMode":1},"ZhG6QGAJrP":{"name":"kitchen4","file":"https://cache.modd.io/asset/sound/1700974031615_OVEN-DRAWE_GEN-HDF18122.mp3","volume":100,"streamMode":1},"mpJZVyyXFG":{"name":"robotvoice","file":"https://cache.modd.io/asset/sound/1701119158398_Robotvoice.mp3","volume":100,"streamMode":1},"SUsFQzPQf8":{"name":"goldenFreddyLaugh","file":"https://cache.modd.io/asset/sound/1701376993092_bettergoldfred.mp3","volume":100,"streamMode":1},"Uvcxf44Uw8":{"name":"Ambience2Effect","file":"https://cache.modd.io/asset/sound/1699581649577_EerieAmbienceLargeSca_MV005.mp3","volume":100,"streamMode":1},"8UonecIOUO":{"name":"phoneguy1","file":"https://cache.modd.io/asset/sound/1708895017881_FNaF1_Night_1_Phone_Call_(1).mp3","volume":59,"streamMode":1},"ZuRH5c4JbK":{"name":"phoneguy2","file":"https://cache.modd.io/asset/sound/1708755199090_Voiceover2a.mp3","volume":58,"streamMode":1},"lRJgVGdduh":{"name":"phoneguy3","file":"https://cache.modd.io/asset/sound/1708755145257_Voiceover3.mp3","volume":59,"streamMode":1},"YdanJND6I9":{"name":"phoneguy4","file":"https://cache.modd.io/asset/sound/1708751089158_Voiceover4.mp3","volume":60,"streamMode":1},"9WEsNWARei":{"name":"phoneguy5","file":"https://cache.modd.io/asset/sound/1708752872053_Voiceover5.mp3","volume":59,"streamMode":1},"gn5v0VTdq1":{"name":"GameOverStart","file":"https://cache.modd.io/asset/sound/1703644974080_onlymp3.to_-_Game_Over_Five_Nights_at_Freddy_s_1_OST-juPzqqfYvjk-192k-1703630774.mp3","volume":73,"streamMode":1},"3WMJyNtP10":{"name":"GameOverLoop","file":"https://cache.modd.io/asset/sound/1703644994221_gameoverloop.mp3","volume":73,"streamMode":1},"Hr3k3gpR8v":{"name":"Jumpscare","file":"https://cache.modd.io/asset/sound/1704590568478_XSCREAM.mp3","volume":51,"streamMode":1},"p6zyOnZOVN":{"name":"Groan1","file":"https://cache.modd.io/asset/sound/1706747770540_Vocals_Breaths_S_35972008.mp3","volume":32,"streamMode":1},"EIDXNBTdwH":{"name":"Groan2","file":"https://cache.modd.io/asset/sound/1706747785197_Vocals_Breaths_S_35972012.mp3","volume":32,"streamMode":1},"NHG38hgo8D":{"name":"Groan3","file":"https://cache.modd.io/asset/sound/1706747797291_Vocals_Breaths_S_35972014.mp3","volume":32,"streamMode":1},"AAQZnHknHv":{"name":"Power Outage","file":"https://cache.modd.io/asset/sound/1707531940689_Powerdown.mp3","volume":72,"streamMode":1},"7AdLG5kk70":{"name":"OfficeBlackout","file":"https://cache.modd.io/asset/sound/1708735216083_blackoutoffice.mp3","volume":100,"streamMode":1},"nXUbxI7ThB":{"name":"Toreador March (copy)","file":"https://cache.modd.io/asset/sound/1699581741096_Music_box.mp3","volume":68,"streamMode":1},"OntPebEPu7":{"name":"6am Win","file":"https://cache.modd.io/asset/sound/1710473980729_6am_Chimes_(w-_Kid_Cheers_SFX)_(FNAF_1).mp3","volume":86,"streamMode":1}},"scripts":{"playerJoinsGame":{"order":0,"parent":"vpefOVGS4o","key":"playerJoinsGame","actions":[{"type":"assignPlayerType","entity":{"function":"getTriggeringPlayer"},"playerType":"jF6joMbrn0"},{"type":"loadPlayerDataAndApplyIt","player":{"function":"getTriggeringPlayer"},"unit":{"function":"undefinedValue"}},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"title"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"title"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"radarEnabled","dataType":"boolean","entity":"humanPlayer","key":"radarEnabled"}},"value":false},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":false},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"value":"[]"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"value":"[]"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":"[]"},{"type":"playerCameraSetZoom","player":{"function":"getTriggeringPlayer"},"zoom":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"getTriggeringPlayer"}}},{"type":"createUnitAtPosition","unitType":"9SDtGUOM4N","position":{"function":"xyCoordinate","x":0,"y":0},"entity":{"function":"getTriggeringPlayer"},"angle":0},{"type":"giveNewItemToUnit","itemType":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cursorSkin","dataType":"itemType","entity":"humanPlayer","key":"cursorSkin"}},"player":{"function":"getTriggeringPlayer"}},"unit":{"function":"getLastCreatedUnit"}},{"type":"createUnitAtPosition","unitType":"XzZvYkBgkX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"entity":{"function":"getVariable","variableName":"object"},"angle":0,"actionId":"4a54f7ec"},{"unit":{"function":"getLastCreatedUnit"},"fighter":{"function":"getTriggeringPlayer"},"type":"playerCameraTrackUnit","player":{"function":"getTriggeringPlayer"},"disabled":false},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"value":{"function":"getLastCreatedUnit"}},{"type":"createUnitAtPosition","unitType":"wSfUVGAeap","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":0,"y":0},"angle":0},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"value":{"function":"getLastCreatedUnit"}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"HiWh4ssftW","position":{"function":"xyCoordinate","x":1625,"y":1062},"angle":0,"height":45,"width":597,"actionId":"28400e5d","player":{"variableName":"object","function":"getVariable"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"disabled":true},{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"selectedUnit"}}},"ntYQy7YpWV"],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unitType"},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wSfUVGAeap"],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":0.5}],"else":[],"disabled":false}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wSfUVGAeap"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"unit"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}}]}],"else":[]}],"else":[],"disabled":true},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"hideOnJoin"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"break"}],"else":[]}],"disabled":false}]}]}],"conditions":[],"triggers":[{"type":"playerJoinsGame"}],"name":"player joins"},"playerLeavesGame":{"triggers":[{"type":"playerLeavesGame"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"itemType","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cursorSkin","dataType":"itemType","entity":"humanPlayer","key":"cursorSkin"}},"player":{"function":"getTriggeringPlayer"}},{"function":"undefinedValue"}],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"cursorSkin","dataType":"itemType","entity":"humanPlayer","key":"cursorSkin"}},"value":"duWU0BDhPa"}],"else":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"cursorSkin","dataType":"itemType","entity":"humanPlayer","key":"cursorSkin"}},"value":{"function":"getItemTypeOfItem","entity":{"function":"getItemAtSlot","slot":1,"unit":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}}}}]},{"type":"savePlayerData","player":{"function":"getTriggeringPlayer"}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}],"then":[{"entity":{"function":"selectedUnit"},"type":"destroyEntity"}],"else":[]}]},{"type":"forAllUnits","unitGroup":{"player":{"function":"getTriggeringPlayer"},"function":"allUnitsOwnedByPlayer","fighter":{"function":"getTriggeringPlayer"}},"actions":[{"entity":{"function":"selectedUnit"},"type":"destroyEntity"}],"comment":"when a player leaves, destroy all units owned by that player"}],"name":"player leaves","parent":"vpefOVGS4o","key":"playerLeavesGame","order":1},"initialize":{"isProtected":true,"triggers":[{"type":"gameStart"}],"actions":[{"type":"assignPlayerType","entity":{"function":"getVariable","variableName":"object"},"playerType":"ntYQy7YpWV"},{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"jUluMcv7sI","isEntityScript":false}]},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"Fsh02UQWLb","position":{"function":"xyCoordinate","x":1472,"y":672},"angle":0,"height":1350,"width":3000,"actionId":"4aba5e8d","player":{"function":"getVariable","variableName":"object"},"comment":"1472 672"},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"officeUnit"},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"12rIEBXYHr","position":{"function":"xyCoordinate","x":586,"y":835},"angle":0,"height":325,"width":108,"actionId":"1bd95422","player":{"variableName":"object","function":"getVariable"}},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"leftButtonUnit"},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"12rIEBXYHr","position":{"function":"xyCoordinate","x":2341,"y":835},"angle":0,"height":325,"width":108,"actionId":"34f00cb3","player":{"variableName":"object","function":"getVariable"}},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"rightButtonUnit"},{"type":"setEntityState","entity":{"function":"getLastCreatedUnit"},"state":"wdLnquTuEv"},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"SuROWKCUkm","position":{"function":"xyCoordinate","x":313,"y":676},"angle":0,"height":1351,"width":413,"actionId":"1b8252f4","player":{"variableName":"object","function":"getVariable"}},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"leftDoorUnit"},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"SuROWKCUkm","position":{"function":"xyCoordinate","x":2556,"y":676},"angle":0,"height":1351,"width":413,"player":{"variableName":"object","function":"getVariable"},"actionId":"zZRyEhkcO2"},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"rightDoorUnit"},{"type":"setEntityState","entity":{"function":"getLastCreatedUnit"},"state":"wdLnquTuEv"},{"type":"createUnitAtPosition","unitType":"p8vSwEwW4D","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"officeUnit"}}},{"function":"calculate","items":[{"operator":"/"},1177,2]}]},{"function":"calculate","items":[{"operator":"/"},{"function":"entityWidth","entity":{"function":"getVariable","variableName":"officeUnit"}},2]}]},"y":{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"officeUnit"}}}},"angle":0,"actionId":"Mb4suBoojF"},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"leftLightsUnit"},{"type":"createUnitAtPosition","unitType":"oTJJuamiGc","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"officeUnit"}}},{"function":"calculate","items":[{"operator":"/"},1138.125,2]}]},{"function":"calculate","items":[{"operator":"/"},{"function":"entityWidth","entity":{"function":"getVariable","variableName":"officeUnit"}},2]}]},"y":{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"officeUnit"}}}},"angle":0,"actionId":"3a16f5d3"},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"rightLightsUnit"},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"IxzrAoJFJA","position":{"function":"xyCoordinate","x":1562,"y":748.5},"angle":0,"height":367.5,"width":258.75,"actionId":"2aec7c1b","player":{"variableName":"object","function":"getVariable"}},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"HiWh4ssftW","position":{"function":"xyCoordinate","x":1625,"y":1062},"angle":0,"height":45,"width":597,"actionId":"3059f236","player":{"variableName":"object","function":"getVariable"},"disabled":true}],"name":"initialize","parent":"pAh21T567i","key":"initialize","order":1},"1sLLANyqEf":{"triggers":[{"type":"playerSendsChatMessage"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"OB1V9ZMguS"],"then":[{"type":"moveEntity","entity":{"function":"selectedUnit"},"position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getTriggeringPlayer"}}}},"y":{"function":"stringToNumber","value":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}}}}},{"type":"sendChatMessage","message":{"function":"numberToString","value":{"function":"distanceBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}},"positionB":{"function":"getEntityPosition","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getTriggeringPlayer"}}}}}}],"else":[]}],"disabled":true},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"none","disabled":true},{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getTriggeringPlayer"},"value":1,"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/shop"],"then":[{"type":"openShopForPlayer","shop":"UzNtE4dGLw","player":{"function":"getTriggeringPlayer"}},{"type":"return"}],"else":[],"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/menu"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getTriggeringPlayer"},"value":0},{"type":"return"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/suicide"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getTriggeringPlayer"},"value":0},{"type":"return"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/die"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getTriggeringPlayer"},"value":0},{"type":"return"}],"else":[],"isExpanded":{"self":true}}],"isExpanded":{"self":true}}],"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"roleExistsForPlayer","name":"Contributor","player":{"function":"getTriggeringPlayer"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"SuROWKCUkm"],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}}],"else":[]}],"disabled":false},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"SuROWKCUkm","position":{"function":"xyCoordinate","x":313,"y":676},"angle":0,"height":1351,"width":413,"actionId":"17786878","player":{"variableName":"object","function":"getVariable"}},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"leftDoorUnit"},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"SuROWKCUkm","position":{"function":"xyCoordinate","x":2556,"y":676},"angle":0,"height":1351,"width":413,"player":{"variableName":"object","function":"getVariable"},"actionId":"2d61551c"},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"rightDoorUnit"},{"type":"setEntityState","entity":{"function":"getLastCreatedUnit"},"state":"wdLnquTuEv"}],"else":[],"disabled":true},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"setPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"selectedPlayer"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"selectedPlayer"}},1]}}],"disabled":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@hideElementID'sOnJoin"}},1]},"actions":[{"type":"hideUiElementForPlayer","elementId":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@hideElementID'sOnJoin"}},"player":{"function":"getTriggeringPlayer"}}],"disabled":true},{"type":"updateRealtimeCSSForPlayer","value":"\t#usage { \t\tbackground-image: url(https://i.ibb.co/JR1qSFH/455-1-png-1-png.png); \t\tbottom: 20px; \t\tleft: calc(5vw + 55px); \t\twidth: calc(1.3vw + 104px); \t\theight: calc(2vw + 15px); \t\tbackground-position: left; \t\tbackground-size: cover; \t}","player":{"function":"getTriggeringPlayer"},"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/deleteStatic"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"uFuwVqucGy"},"actions":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}}],"disabled":false},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":"/zoom "},true],"then":[{"type":"playerCameraSetZoom","player":{"function":"getTriggeringPlayer"},"zoom":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"fromIndex":7,"toIndex":{"function":"getLengthOfString","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}}}}},"disabled":true},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"fromIndex":6,"toIndex":{"function":"getLengthOfString","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}}}}},"comment":""},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/t"],"then":[{"type":"moveEntity","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"position":{"function":"getMouseCursorPosition","player":{"function":"getTriggeringPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"none"}]},{"type":"return"}],"else":[],"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":"/power "},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"power#"},{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"fromIndex":7,"toIndex":{"function":"getLengthOfString","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}}}}}]},"variableName":"power#"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"power#"},{"function":"undefinedValue"}],"then":[{"type":"setVariable","value":100,"variableName":"power#"}],"else":[]},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/resetNight"],"then":[{"type":"runScript","scriptName":"3qb7zCLfL2","isEntityScript":false},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/nextNight"],"then":[{"type":"sendChatMessage","message":"you win! YAY","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},true],"then":[{"type":"runScript","scriptName":"fKMxLPmbwe","isEntityScript":false,"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"@nightTimerEnd"},1]},"variableName":"gameTimer"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},5],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"]],"then":[{"type":"continue"}],"else":[]},{"type":"setPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"selectedPlayer"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"selectedPlayer"}},1]}}]},{"type":"sendChatMessage","message":"you get 1 win for beating all the 5 nights! yippe! ","disabled":true}],"else":[],"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"night#"},1]},"variableName":"night#"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"night#"},8],"then":[{"type":"setVariable","value":1,"variableName":"night#"}],"else":[]}]},{"type":"return"}],"else":[],"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/addGoldenFreddy"],"then":[{"type":"setVariable","value":"[]","variableName":"tempString_G"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_2b Camera_yellowBear\",\"1\",\"4\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"1/32768","disabled":false},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"tempString_G"}},1]},"actions":[{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}}},1]},"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}}},"string":{"function":"getVariable","variableName":"randomEffectsArray"}},"variableName":"randomEffectsArray"}],"disabled":false},{"type":"for","variableName":"i2","start":0,"stop":3,"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}}},"string":{"function":"getVariable","variableName":"randomEffectsArray"}},"variableName":"randomEffectsArray"}],"disabled":true}]},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/outage"],"then":[{"type":"runScript","scriptName":"FC6WOdELFt","isEntityScript":false},{"type":"setVariable","value":0,"variableName":"power#"},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/radar"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"radarEnabled","dataType":"boolean","entity":"humanPlayer","key":"radarEnabled"}},"player":{"function":"getTriggeringPlayer"}},false],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"radarEnabled","dataType":"boolean","entity":"humanPlayer","key":"radarEnabled"}},"value":true}],"else":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"radarEnabled","dataType":"boolean","entity":"humanPlayer","key":"radarEnabled"}},"value":false}]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"radarEnabled","dataType":"boolean","entity":"humanPlayer","key":"radarEnabled"}},"player":{"function":"getTriggeringPlayer"}},true],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}}]}],"else":[]}]},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/radartext"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},false],"then":[{"type":"setVariable","value":true,"variableName":"radarFadingText"}],"else":[{"type":"setVariable","value":false,"variableName":"radarFadingText"}]},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":"/reset"},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"setVariable","value":{"function":"substringOf","string":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"fromIndex":3,"toIndex":{"function":"getLengthOfString","string":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}}},"variableName":"tempString_G"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":{"function":"toLowerCase","string":{"function":"getVariable","variableName":"tempString_G"}}},true],"then":[{"type":"sendChatMessage","message":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"disabled":true},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"5rebr6sNk0"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"cove","comment":""},{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"},"value":1},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"selectedUnit"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"i"},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},1]}],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"selectedUnit"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"selectedUnit"}}}}},1.57079633]}},"comment":""}],"else":[]}]}],"else":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"stage","comment":""},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"selectedUnit"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"selectedUnit"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}}],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"selectedUnit"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"selectedUnit"}}}}},1.57079633]}},"comment":""}],"else":[]}]}]},{"type":"moveEntity","entity":{"function":"selectedUnit"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"selectedUnit"}}},{"type":"setVariable","value":{"function":"selectedUnit"},"variableName":"movedAnimatronicUnit"},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false}],"else":[]}],"else":[]}]},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"/downtimereset"],"then":[{"type":"setVariable","value":"[]","variableName":"cameraDowntimeArray"},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":"/spawn"},true],"then":[{"type":"setVariable","value":"/spawn","variableName":"tempString_G"},{"type":"setVariable","value":"","variableName":"tempString2_G"},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"Animatronics"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"patternString":"AI "},true],"then":[{"type":"setVariable","value":{"function":"substringOf","string":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"fromIndex":3,"toIndex":{"function":"getLengthOfString","string":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}}}},"variableName":"tempString2_G"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":{"function":"toLowerCase","string":{"function":"getVariable","variableName":"tempString2_G"}}},true],"then":[{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"tempString_G"},"textB":{"function":"getVariable","variableName":"tempString2_G"}},"variableName":"tempString_G"}],"else":[]}],"else":[]}]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"yz2nXDn757"},"actions":[{"type":"setVariable","value":{"function":"selectedUnit"},"variableName":"tempUnit_G"},{"type":"break"}]},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"Animatronics"},"actions":[{"type":"setVariable","value":{"function":"substringOf","string":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"fromIndex":3,"toIndex":{"function":"getLengthOfString","string":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}}}},"variableName":"tempString2_G"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getVariable","variableName":"tempString_G"},"patternString":{"function":"getVariable","variableName":"tempString2_G"}},true],"then":[{"type":"repeat","count":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"fromIndex":{"function":"getLengthOfString","string":{"function":"getVariable","variableName":"tempString_G"}},"toIndex":{"function":"getLengthOfString","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}}}}},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-999,"y":-999},"angle":0,"disabled":false,"actionId":"3cd6bc79"},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getVariable","variableName":"tempUnit_G"},"disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"cameraDowntimeTime","dataType":"number","entity":"DSGuZU81MC","key":"cameraDowntimeTime"}},"value":{"function":"getMax","num1":3,"num2":{"function":"calculate","items":[{"operator":"-"},5,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"night#"},2]}}]}},"comment":""}]}],"else":[]}]},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":"/remove"},true],"then":[{"type":"setVariable","value":"/remove","variableName":"tempString_G"},{"type":"setVariable","value":"","variableName":"tempString2_G"},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"Animatronics"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"patternString":"AI "},true],"then":[{"type":"setVariable","value":{"function":"substringOf","string":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"fromIndex":3,"toIndex":{"function":"getLengthOfString","string":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}}}},"variableName":"tempString2_G"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":{"function":"toLowerCase","string":{"function":"getVariable","variableName":"tempString2_G"}}},true],"then":[{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"tempString_G"},"textB":{"function":"getVariable","variableName":"tempString2_G"}},"variableName":"tempString_G"}],"else":[]}],"else":[]}]},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"Animatronics"},"actions":[{"type":"setVariable","value":{"function":"substringOf","string":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"fromIndex":3,"toIndex":{"function":"getLengthOfString","string":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}}}},"variableName":"tempString2_G"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getVariable","variableName":"tempString_G"},"patternString":{"function":"getVariable","variableName":"tempString2_G"}},true],"then":[{"type":"repeat","count":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"fromIndex":{"function":"getLengthOfString","string":{"function":"getVariable","variableName":"tempString_G"}},"toIndex":{"function":"getLengthOfString","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}}}}},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}]}],"else":[]}]},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":"/"},true],"then":[{"type":"setVariable","value":"/","variableName":"tempString_G"},{"type":"setVariable","value":"","variableName":"tempString2_G"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"setVariable","value":{"function":"substringOf","string":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"fromIndex":3,"toIndex":{"function":"getLengthOfString","string":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}}},"variableName":"tempString2_G"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getVariable","variableName":"tempString_G"},"patternString":{"function":"getVariable","variableName":"tempString2_G"}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"patternString":{"function":"toLowerCase","string":{"function":"getVariable","variableName":"tempString2_G"}}},true],"then":[{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"tempString_G"},"textB":{"function":"getVariable","variableName":"tempString2_G"}},"variableName":"tempString_G"}],"else":[]}],"else":[]}],"else":[]}]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"setVariable","value":{"function":"substringOf","string":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"fromIndex":3,"toIndex":{"function":"getLengthOfString","string":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}}},"variableName":"tempString2_G"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getVariable","variableName":"tempString_G"},"patternString":{"function":"getVariable","variableName":"tempString2_G"}},true],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"stringToNumber","value":{"function":"substringOf","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}},"fromIndex":{"function":"getLengthOfString","string":{"function":"getVariable","variableName":"tempString_G"}},"toIndex":{"function":"getLengthOfString","string":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getTriggeringPlayer"}}}}}}],"else":[]}],"else":[]}]},{"type":"return"}],"else":[],"isExpanded":{"self":false}},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getCameraWidth"},"textB":{"function":"concat","textA":"x","textB":{"function":"getCameraHeight"}}},"disabled":true,"runMode":0},{"type":"setVariable","value":true,"variableName":"bGameStarted","runMode":2,"disabled":true},{"type":"sendChatMessageToPlayer","message":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getTriggeringPlayer"}},"player":{"function":"getTriggeringPlayer"},"disabled":true}],"else":[],"isExpanded":{"self":true},"runMode":0},{"type":"sendChatMessage","message":{"function":"getUnitTypeName","unitType":"u12I0PEbYc"},"disabled":true},{"type":"sendChatMessage","message":{"function":"substringOf","string":"BG_Showstage Camera_lookAll","fromIndex":{"function":"calculate","items":[{"operator":"+"},{"function":"getLengthOfString","string":"BG_Showstage Camera"},3]},"toIndex":{"function":"getLengthOfString","string":"BG_Showstage Camera_lookAll"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"substringOf","string":"Hello","fromIndex":1,"toIndex":4},"disabled":true}],"name":"player sends chat message","parent":"vpefOVGS4o","key":"1sLLANyqEf","order":2},"1HkShwU0tu":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":1,"variableName":"usage#"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"leftButtonUnit"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"rightButtonUnit"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"leftButtonUnit"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"rightButtonUnit"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#"}],"else":[]}],"else":[]},{"type":"showUiTextForEveryone","target":"scoreboard"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},0],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},{"function":"calculate","items":[{"operator":"/"},1,{"function":"getPlayerCount"}]}]},"variableName":"usage#"}],"else":[]}],"else":[],"isExpanded":{"self":true}}]},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"comment","comment":"ideal camera size: 2795x1319"},{"type":"moveEntity","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"position":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}},"runMode":0,"disabled":true},{"type":"setVariable","value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}}},{"function":"calculate","items":[{"operator":"/"},{"function":"entityWidth","entity":{"function":"getItemAtSlot","slot":1,"unit":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},4]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}}},25]},{"function":"calculate","items":[{"operator":"/"},{"function":"entityHeight","entity":{"function":"getItemAtSlot","slot":1,"unit":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},4]}]}},"variableName":"tempPos_G","comment":"","disabled":false,"runMode":0},{"type":"setEntityVelocityAtAngle","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getVariable","variableName":"tempPos_G"},"positionB":{"function":"getEntityPosition","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},"num2":300},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"positionB":{"function":"getVariable","variableName":"tempPos_G"}},"disabled":false,"runMode":0},{"type":"playerCameraSetZoom","player":{"function":"selectedPlayer"},"zoom":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"selectedPlayer"}}},{"type":"setUIElementHtml","htmlStr":{"function":"concat","textA":"Power level: ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getMax","num1":0,"num2":{"function":"mathFloor","value":{"function":"getVariable","variableName":"power#"}}}},"textB":"%"}},"elementId":"power","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getVariable","variableName":"lastUsage#"},{"function":"getVariable","variableName":"usage#"}],"then":[{"type":"setVariable","value":"\t#usage { \t\tbackground-image: url(PLACEHOLDER); \t\tbottom: 20px; \t\tleft: calc(5vw + 55px); \t\twidth: calc(3.5vw + 104px); \t\theight: calc(1.9vw + 15px); \t\tbackground-position: left; \t}","variableName":"tempString_G","comment":""},{"type":"setVariable","value":"[\"https://i.ibb.co/VQZSxX9/455-1-png-1-png-4.png\",\"https://i.ibb.co/ThTvdcP/455-1-png-1-png-3.png\",\"https://i.ibb.co/XS6k2fS/455-1-png-1-png-2.png\",\"https://i.ibb.co/vJ3ZJyd/455-1-png-1-png-1.png\",\"https://i.ibb.co/JR1qSFH/455-1-png-1-png.png\"]","variableName":"tempString2_G"},{"type":"setVariable","value":{"function":"replaceValuesInString","matchString":"PLACEHOLDER","sourceString":{"function":"getVariable","variableName":"tempString_G"},"newString":{"function":"getStringArrayElement","number":{"function":"getMax","num1":0,"num2":{"function":"getMin","num1":4,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"mathFloor","value":{"function":"getVariable","variableName":"usage#"}},1]}}},"string":{"function":"getVariable","variableName":"tempString2_G"}}},"variableName":"tempString_G"},{"type":"updateRealtimeCSSForPlayer","value":{"function":"getVariable","variableName":"tempString_G"},"player":{"function":"selectedPlayer"}}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"selectedPlayer"}},"none"],"then":[{"type":"moveEntity","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"selectedPlayer"}},"position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}}},"y":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapHeight"},2]}}}],"else":[]}],"else":[],"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"player":{"function":"selectedPlayer"}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"59q3qTohRQ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"wRv3SAzCJq","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"nXUbxI7ThB","player":{"function":"selectedPlayer"}}],"else":[]},{"type":"stopSoundForPlayer","sound":"SONMfudHIC","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"l2zn8WE2K1","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"0hqtTje25Q","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"CvFgsVpXJD","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"59q3qTohRQ","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"JrLCIyysEx","player":{"function":"selectedPlayer"}}],"else":[]},{"type":"stopSoundForPlayer","sound":"2aJSjcTNZJ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"Fd3tDe0eo5","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"6r6Jud9SWV","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"zeJnGLiVUw","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"5hDMmNPP8K","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"xufxf1Iro7","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"WopL8WoQSc","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"RDoxiJMCpV","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"6VVUN0fKtf","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"R0p1uDRZh8","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"YKcOCFXKSb","player":{"function":"selectedPlayer"}}],"else":[]},{"type":"stopSoundForPlayer","sound":"XfaH02oV8h","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"mpJZVyyXFG","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"Uvcxf44Uw8","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"tircXPGGVy","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"VbRwzsf8w8","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"cAAGanlFtQ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"ZhG6QGAJrP","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"8UonecIOUO","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"ZuRH5c4JbK","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"lRJgVGdduh","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"YdanJND6I9","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"9WEsNWARei","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"p6zyOnZOVN","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"EIDXNBTdwH","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"NHG38hgo8D","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"powerOutage?"},true],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}}],"else":[]}],"else":[{"type":"stopSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}}]},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"7AdLG5kk70","player":{"function":"selectedPlayer"}}],"else":[]}],"else":[]}],"else":[],"isExpanded":{"self":false}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"selectedPlayer"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}},"patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"selectedPlayer"}}},"textB":"\""}}},true],"then":[{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"selectedPlayer"}}},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}}}],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}}},"disabled":false},{"type":"break"}],"else":[]}]}],"else":[]},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"selectedPlayer"}}},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"player":{"function":"selectedPlayer"}}}},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"selectedPlayer"}}},"disabled":false}],"comment":"remove elements from showElementsID array (if it's there) and adds to hideElementsID array","isExpanded":{"self":false}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"player":{"function":"selectedPlayer"}},"patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}}},"textB":"\""}}},true],"then":[{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"player":{"function":"selectedPlayer"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}}},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"player":{"function":"selectedPlayer"}}}],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"player":{"function":"selectedPlayer"}}}},{"type":"break"}],"else":[]}]}],"else":[]},{"type":"showUiElementForPlayer","elementId":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}}},"player":{"function":"selectedPlayer"}},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}}},"disabled":true}],"comment":"remove elements from hideElementsID array","isExpanded":{"self":false},"disabled":false},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"player":{"function":"selectedPlayer"}}},1]},"actions":[{"type":"hideUiElementForPlayer","elementId":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"player":{"function":"selectedPlayer"}}},"player":{"function":"selectedPlayer"}}],"comment":"hide elements in array","isExpanded":{"self":false}},{"type":"sendChatMessage","message":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"hideElementIDs","dataType":"string","entity":"humanPlayer","key":"hideElementIDs"}},"player":{"function":"selectedPlayer"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"selectedPlayer"}},"disabled":true}],"isExpanded":{"actions":true},"runMode":0},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getVariable","variableName":"lastUsage#"},{"function":"getVariable","variableName":"usage#"}],"then":[{"type":"setVariable","value":{"function":"getVariable","variableName":"usage#"},"variableName":"lastUsage#"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"powerOutage?"},false],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"power#"},0],"then":[{"type":"runScript","scriptName":"FC6WOdELFt","isEntityScript":false}],"else":[]}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bCreated","dataType":"boolean","entity":"Fsh02UQWLb","key":"bCreated"}},"entity":{"function":"selectedUnit"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bCreated","dataType":"boolean","entity":"Fsh02UQWLb","key":"bCreated"}},"value":true},{"type":"setUnitNameLabel","unit":{"function":"selectedUnit"},"name":""}],"else":[]}]},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"moveEntity","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"position":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}},"disabled":true},{"type":"setEntityVelocityAtAngle","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"speed":200,"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"positionB":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}}},"disabled":true},{"type":"setVariable","value":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}},"variableName":"tempPos_G","comment":"","disabled":true},{"type":"moveEntity","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"position":{"function":"getVariable","variableName":"tempPos_G"},"actionId":"2cfc9eed","disabled":true},{"type":"sendChatMessage","message":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},"disabled":true},{"type":"sendChatMessage","message":{"function":"numberToString","value":{"function":"getVariable","variableName":"tempScaleFactor"}},"disabled":true},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"function":"calculate","items":[{"operator":"/"},79,100]}],[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"function":"calculate","items":[{"operator":"/"},81,100]}]],"then":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"function":"calculate","items":[{"operator":"/"},79,100]}],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"selectedPlayer"}},10]},"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"selectedPlayer"}},10]},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"disabled":true},{"type":"sendChatMessage","message":{"function":"numberToString","value":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"selectedPlayer"}}},"disabled":true},{"type":"repeat","count":1000000,"actions":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":1000},"variableName":"tempScaleFactor"}],"disabled":true}],"runMode":0,"disabled":true},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"value":0.5,"disabled":true},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"value":0.5,"disabled":true}],"name":"every frame","parent":"Gv4g7K5Hxv","key":"1HkShwU0tu","order":1},"jUluMcv7sI":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"createUnitAtPosition","unitType":"j2DNwEZlGc","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":1472,"y":672},"angle":0},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"allUnitTypesInGame"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"patternString":"BG_"},true],"then":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"22339c38","disabled":false}],"else":[]}],"disabled":true},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"createUIUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"31776f0f"}]},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nearbySoundUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"centerOfRegion","region":{"function":"getVariable","variableName":"nearbySoundSpawn"}},"angle":0,"actionId":"31776f0f"},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,0]}]}},"comment":"for smoothness"}]},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"Camera Backgrounds"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"31776f0f"},{"type":"setEntityAttributeMax","attribute":"es7ok5LhDX","entity":{"function":"getLastCreatedUnit"},"value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@cameraScrollLimit"},2]}},{"type":"setEntityAttributeRegenerationRate","attribute":"es7ok5LhDX","entity":{"function":"getLastCreatedUnit"},"value":{"function":"getVariable","variableName":"@cameraScrollRegen"},"disabled":true}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setVariable","value":"[]","variableName":"nightLevels","comment":"[\"freddy\",\"bonnie\",\"chica\",\"foxy\"]"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"0\",\"0\",\"0\",\"0\"]","string":{"function":"getVariable","variableName":"nightLevels"}},"variableName":"nightLevels","comment":"night 1"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"0\",\"3\",\"1\",\"1\"]","string":{"function":"getVariable","variableName":"nightLevels"}},"variableName":"nightLevels","comment":"night 2"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"1\",\"0\",\"5\",\"2\"]","string":{"function":"getVariable","variableName":"nightLevels"}},"variableName":"nightLevels","comment":"night 3"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getRandomNumberBetween","min":1,"max":2},"textB":"\",\"2\",\"4\",\"6\"]"}},"string":{"function":"getVariable","variableName":"nightLevels"}},"variableName":"nightLevels","comment":"night 4"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"3\",\"5\",\"7\",\"5\"]","string":{"function":"getVariable","variableName":"nightLevels"}},"variableName":"nightLevels","comment":"night 5"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"4\",\"10\",\"12\",\"16\"]","string":{"function":"getVariable","variableName":"nightLevels"}},"variableName":"nightLevels","comment":"night 6"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"20\",\"20\",\"20\",\"20\"]","string":{"function":"getVariable","variableName":"nightLevels"}},"variableName":"nightLevels","comment":"night 6"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setVariable","value":"[]","variableName":"randomEffectsArray"},{"type":"setVariable","value":"[]","variableName":"tempString_G","comment":"[\"name of effect\",\"chance of happening\",\"reset timer to x\",\"default timer\"]"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"doorPound\",\"50\",\"10\",\"30\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":""},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"circusOrgan\",\"30\",\"5\",\"45\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":""},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"cameraAmbience\",\"6\",\"4\",\"0\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":""},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"[\"BG_Showstage Camera\",\"lookAll\"]\",\"150\",\"8\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":true},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"[\"BG_Showstage Camera\",\"lookFreddy\"]\",\"100\",\"2\",\"10\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":true},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_Showstage Camera_lookAll\",\"200\",\"8\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"you can also put unit types which sets off the animationTimer attribute","disabled":false},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_Showstage Camera_lookFreddy\",\"100\",\"10\",\"10\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":false},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_Foxy'sCove Camera_itsme\",\"100\",\"1\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":true},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_Backstage Camera_lookEndo\",\"150\",\"10\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":false},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_Backstage Camera_lookBonnie\",\"150\",\"6\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":true},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_4a Camera_itsme\",\"100\",\"10\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":false},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_4a Camera_crying\",\"100\",\"10\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":false},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"BG_4b Camera_poster","textB":{"function":"concat","textA":"X","textB":"\",\"100\",\"6\",\"15\"]"}},"string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":false},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_2b Camera_freddyHead\",\"100\",\"10\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"","disabled":false},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"[\"BG_2b Camera_yellowBear\",\"1\",\"4\",\"15\"]","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G","comment":"1/32768","disabled":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"tempString_G"}},1]},"actions":[{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}}},1]},"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}}},"string":{"function":"getVariable","variableName":"randomEffectsArray"}},"variableName":"randomEffectsArray"}],"disabled":false},{"type":"for","variableName":"i2","start":0,"stop":3,"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}}},"string":{"function":"getVariable","variableName":"randomEffectsArray"}},"variableName":"randomEffectsArray"}],"disabled":true}]}],"else":[]}],"name":"initialize2","parent":"pAh21T567i","key":"jUluMcv7sI","order":2},"mqGa3K2J1Z":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"closet\",\"2a\",\"2b\",\"door\",\"4a\",\"4b\",\"kitchen\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"player":{"function":"selectedPlayer"}},"ambience1"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience2"},{"type":"playMusicForPlayerRepeatedly","music":"H47BoicmMH","player":{"function":"selectedPlayer"}}],"else":[]}]}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"musicChangeTimer"},0],"then":[{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"setVariable","value":5,"variableName":"ambienceNoise"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"5rebr6sNk0"],[{"operator":">=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},3]],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"ambienceNoise"},25]},"variableName":"ambienceNoise"},{"type":"break"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"closet\",\"2a\",\"2b\",\"door\",\"4a\",\"4b\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[]}],"else":[]}]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},true],"then":[{"type":"setVariable","value":20,"variableName":"musicChangeTimer","comment":""},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"player":{"function":"selectedPlayer"}},"ambience1"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience2"},{"type":"playMusicForPlayerRepeatedly","music":"H47BoicmMH","player":{"function":"selectedPlayer"}}],"else":[]}]}],"else":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"player":{"function":"selectedPlayer"}},"ambience2"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience1"},{"type":"playMusicForPlayerRepeatedly","music":"uybvlv52io","player":{"function":"selectedPlayer"}},{"type":"setVariable","value":10,"variableName":"musicChangeTimer"}],"else":[]}]}],"isExpanded":{"self":true},"disabled":true}],"else":[],"comment":"change music when animatronic close","isExpanded":{"self":true},"disabled":true},{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},true,true],"then":[{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"setVariable","value":0,"variableName":"ambienceNoise"},{"type":"setVariable","value":0,"variableName":"robotVoiceNoise"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"g7CyGkWiy9"],"then":[{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"5rebr6sNk0"],[{"operator":">=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},3]],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"ambienceNoise"},25]},"variableName":"ambienceNoise"}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"qSVQOVRmiE"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"setVariable","value":100,"variableName":"ambienceNoise"},{"type":"break","comment":"no reason to continue loop if ambience is 100%"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"closet\",\"2a\",\"2b\",\"door\",\"4a\",\"4b\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"ambienceNoise"},25]},"variableName":"ambienceNoise"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"2b\",\"4b\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"textB":"\""}}},true],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"night#"},4],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"robotVoiceNoise"},25]},"variableName":"robotVoiceNoise","comment":""}],"else":[]}],"else":[]}],"else":[]}],"else":[]}]}]}]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"ambienceNoise"},25],"then":[{"type":"setVariable","value":30,"variableName":"ambienceNoise"}],"else":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"robotVoiceNoise"},25],"then":[{"type":"setVariable","value":40,"variableName":"robotVoiceNoise"}],"else":[]},{"type":"setVariable","value":{"function":"getMin","num1":100,"num2":{"function":"getVariable","variableName":"ambienceNoise"}},"variableName":"ambienceNoise","comment":"dont go above 100%","disabled":false},{"type":"setVariable","value":{"function":"getMin","num1":100,"num2":{"function":"getVariable","variableName":"robotVoiceNoise"}},"variableName":"robotVoiceNoise","comment":"dont go above 100%","disabled":false},{"type":"comment","comment":"y-coordinate sound radius from 0% to 100%: -1328 to 672"},{"type":"comment","comment":"2000/100==20, -1328 + 20 == -1308, which is 1% loudness, so for every 20 added, loudness increases by 1%"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"OB1V9ZMguS"],"then":[{"type":"moveEntity","entity":{"function":"selectedUnit"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,{"function":"getVariable","variableName":"ambienceNoise"}]}]}},"disabled":true},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,{"function":"getVariable","variableName":"ambienceNoise"}]}]}},"comment":"for smoothness"}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"C35I7FOtMc"],"then":[{"type":"moveEntity","entity":{"function":"selectedUnit"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,{"function":"getVariable","variableName":"ambienceNoise"}]}]}},"disabled":true},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,{"function":"getVariable","variableName":"robotVoiceNoise"}]}]}},"comment":"for smoothness"}],"else":[]}]}],"disabled":false}],"else":[],"comment":"louder ambience2 when animatronics closer","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"qSVQOVRmiE"],"then":[{"type":"setVariable","value":{"function":"selectedUnit"},"variableName":"tempUnit_G"},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"tempUnit_G"}},"office"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"vW9WExQtdx"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,100]}]}},"comment":"for smoothness","disabled":false},{"type":"break"}],"else":[]}],"isExpanded":{"self":false},"comment":"increase sound to 100%"}],"else":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"vW9WExQtdx"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,0]}]}},"comment":"for smoothness"},{"type":"break"}],"else":[]}],"isExpanded":{"self":false},"disabled":false,"comment":"decrease sound to 0%"},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"tempUnit_G"}},"kitchen"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"nJHBriUp1q"],"then":[{"type":"comment","comment":"still waiting for set volume action, freddy isnt supposed to be heard from the office and only the kitchen cam"},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,20]}]}},"comment":"for smoothness","disabled":false},{"type":"break"}],"else":[]}],"isExpanded":{"self":false},"comment":"increase sound to 20%"}],"else":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"nJHBriUp1q"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,0]}]}},"comment":"for smoothness"},{"type":"break"}],"else":[]}],"isExpanded":{"self":false},"comment":"decrease sound to 0%"}],"isExpanded":{"self":true},"comment":"freddy song in kitchen cam"}],"comment":"freddy inoffice sound","isExpanded":{"self":true,"then":true}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"kitchen"],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"}],"else":[]}],"else":[],"disabled":false}],"isExpanded":{"then":true}}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},false],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"Kitchen"},true],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,0]}]}},"comment":"for smoothness"},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"getRandomNumberBetween","min":13,"max":20}}],"else":[]}]}],"else":[]}],"else":[],"comment":"kitchen sounds","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"DSGuZU81MC"],[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"6p5A3QsGMM"]],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getEntityAttribute","attribute":"T9pKMeOlic","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},0],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"DSGuZU81MC"],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"stopSoundForPlayer","sound":"JrLCIyysEx","player":{"function":"selectedPlayer"}}]}],"else":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"stopSoundForPlayer","sound":"2aJSjcTNZJ","player":{"function":"selectedPlayer"}}]}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"closet\",\"2a\",\"2b\",\"door\",\"4a\",\"4b\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setEntityAttribute","attribute":"T9pKMeOlic","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":400,"max":500},100]},"disabled":false}],"else":[]}]},{"type":"comment","comment":"2 footstep sounds are used so i can stop one from playing without stopping the other"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"2a\",\"4a\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":-500,"variableName":"tempNum_G","comment":"volume"},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"DSGuZU81MC"],"then":[{"type":"playSoundAtPosition","sound":"JrLCIyysEx","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}}}],"else":[{"type":"playSoundAtPosition","sound":"2aJSjcTNZJ","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}},"actionId":"29c8e095"}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"closet\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":-300,"variableName":"tempNum_G","comment":"volume"},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"DSGuZU81MC"],"then":[{"type":"playSoundAtPosition","sound":"JrLCIyysEx","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}}}],"else":[{"type":"playSoundAtPosition","sound":"2aJSjcTNZJ","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}},"actionId":"29c8e095"}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"2b\",\"4b\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":200,"variableName":"tempNum_G","comment":"volume"},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"DSGuZU81MC"],"then":[{"type":"playSoundAtPosition","sound":"JrLCIyysEx","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}}}],"else":[{"type":"playSoundAtPosition","sound":"2aJSjcTNZJ","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}},"actionId":"29c8e095"}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"door\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":400,"max":850},"variableName":"tempNum_G","comment":"volume"},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"DSGuZU81MC"],"then":[{"type":"playSoundAtPosition","sound":"JrLCIyysEx","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}}}],"else":[{"type":"playSoundAtPosition","sound":"2aJSjcTNZJ","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}},"actionId":"29c8e095"}]}],"else":[]}]}]}]}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"qSVQOVRmiE"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"stage\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":-9999,"variableName":"tempNum_G","comment":"volume"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"dining area\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":-600,"variableName":"tempNum_G","comment":"volume"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"restroom\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":-370,"variableName":"tempNum_G","comment":"volume"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"2a\",\"4a\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":100,"variableName":"tempNum_G","comment":"volume"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"2b\",\"4b\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":400,"variableName":"tempNum_G","comment":"volume"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"office\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[{"type":"setVariable","value":{"function":"getPositionY","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"variableName":"tempNum_G","comment":"volume"}],"else":[]}]}]}]}]}]},{"type":"playSoundAtPosition","sound":"CvFgsVpXJD","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}},"actionId":"2ae4b785"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":3},1],"then":[{"type":"playSoundAtPosition","sound":"SONMfudHIC","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}},"actionId":"2a1ed9c7"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":2},1],"then":[{"type":"playSoundAtPosition","sound":"l2zn8WE2K1","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}},"actionId":"26a786e2"}],"else":[{"type":"playSoundAtPosition","sound":"0hqtTje25Q","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}},"actionId":"2ecec2c7"}]}]}],"else":[]}],"isExpanded":{"then":true}}],"else":[],"comment":"footsteps","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"gameTimer"},8],"then":[{"type":"setVariable","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"cameraDowntimeTime","dataType":"number","entity":"qSVQOVRmiE","key":"cameraDowntimeTime"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\"]"}},"variableName":"tempString_G"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"selectedUnit"}},"patternString":"foxy"},true],"then":[{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"fDxe83JrKf"],"then":[{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getVariable","variableName":"cameraDowntimeArray"},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},true],"then":[{"type":"continue"}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}}],"then":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"selectedPlayer"}},{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":4},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}}],"else":[{"type":"playSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}]}]}],"isExpanded":{"self":false},"comment":"garble sound"},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"2d569194","disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}],"else":[]}],"else":[]}],"isExpanded":{"self":true}},{"type":"playEntityAnimation","entity":{"function":"selectedUnit"},"animation":"rEw80UWcva","disabled":true}],"else":[]},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}}],"then":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"selectedPlayer"}},{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":4},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}}],"else":[{"type":"playSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}]}]}],"isExpanded":{"self":false},"comment":"garble sound"},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"2d569194","disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}],"else":[]}],"else":[]}],"isExpanded":{"self":false}},{"type":"playEntityAnimation","entity":{"function":"selectedUnit"},"animation":"rEw80UWcva","disabled":true}],"else":[]}],"else":[]}]},{"type":"repeat","count":{"function":"calculate","items":[{"operator":"-"},3,{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"tempString_G"}}]},"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"placeholder","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"tempString_G"}},1]},"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"variableName":"cameraDowntimeArray"}],"disabled":false}],"else":[],"comment":"only activate after animatronics are active"}],"else":[],"comment":"camera garble","isExpanded":{"self":false}},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"value":0.5,"disabled":false},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"value":0.5,"disabled":false},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":"[\"door\",\"dining area\",\"4a\",\"office\"]","patternString":{"function":"concat","textA":"\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"getVariable","variableName":"movedAnimatronicUnit"}},"textB":"\""}}},true],"then":[],"else":[],"disabled":true},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":0.5}],"else":[]}]}],"name":"animatronic movement","parent":"pAh21T567i","key":"mqGa3K2J1Z","order":6},"0qp9a0M5Na":{"triggers":[{"type":"secondTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"globalTimer"},1]},"variableName":"globalTimer"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"calculate","items":[{"operator":"%"},{"function":"getVariable","variableName":"globalTimer"},4]},0],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"title"],[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"gameover"]],"then":[{"type":"playSoundForPlayer","sound":"3WMJyNtP10","player":{"function":"selectedPlayer"}}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},0],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":3},1],"then":[{"type":"playSoundForPlayer","sound":"p6zyOnZOVN","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":2},1],"then":[{"type":"playSoundForPlayer","sound":"EIDXNBTdwH","player":{"function":"selectedPlayer"}}],"else":[{"type":"playSoundForPlayer","sound":"NHG38hgo8D","player":{"function":"selectedPlayer"}}]}]}],"else":[]}],"else":[],"disabled":false}]}],"else":[],"comment":"groaning noises","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"calculate","items":[{"operator":"%"},{"function":"getVariable","variableName":"globalTimer"},29]},0],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"title"],[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"gameover"]],"then":[{"type":"playSoundForPlayer","sound":"3WMJyNtP10","player":{"function":"selectedPlayer"}}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"title"],"then":[{"type":"playSoundForPlayer","sound":"3WMJyNtP10","player":{"function":"selectedPlayer"}}],"else":[],"disabled":false}]}],"else":[],"comment":"play gameoverloop","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"gameTimer"},1]},"variableName":"gameTimer"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getNumberOfPlayersOfPlayerType","playerType":"humanPlayer"},0],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getPlayerCount"},2],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"gameTimer"},178],"then":[{"type":"setVariable","value":false,"variableName":"tempBool_G"}],"else":[]}],"else":[]},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"gameTimer"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"@nightTimerEnd"},2]}],"then":[{"type":"setVariable","value":false,"variableName":"tempBool_G"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},true],"then":[{"type":"sendChatMessage","message":"No surviving players left, resetting game."},{"type":"runScript","scriptName":"3qb7zCLfL2","isEntityScript":false}],"else":[]}],"else":[]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getMin","num1":3,"num2":{"function":"calculate","items":[{"operator":"/"},{"function":"getPlayerCount"},3]}},10]},"variableName":"tempNum_G"},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"power#"},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"usage#"},{"function":"getVariable","variableName":"tempNum_G"}]}]},"variableName":"power#"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"calculate","items":[{"operator":"%"},{"function":"getVariable","variableName":"gameTimer"},{"function":"getMax","num1":3,"num2":{"function":"calculate","items":[{"operator":"-"},8,{"function":"getVariable","variableName":"night#"}]}}]},0],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"night#"},2],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"power#"},0.1]},"variableName":"power#"}],"else":[]}],"else":[],"comment":"decrease power depending on the night","isExpanded":{"self":false}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"setUIElementHtml","htmlStr":{"function":"concat","textA":"Power level: ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getMax","num1":0,"num2":{"function":"mathFloor","value":{"function":"getVariable","variableName":"power#"}}}},"textB":"%"}},"elementId":"power","player":{"function":"selectedPlayer"}}],"comment":"moved to every frame","disabled":true},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"calculate","items":[{"operator":"%"},{"function":"getVariable","variableName":"globalTimer"},180]},0],"then":[{"type":"setVariable","value":"[\"You can also press C or Space to look at cameras!\",\"Remember to check the fox's progress on Camera 1C every now and then!\"]\n","variableName":"tempString_G","comment":""},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"night#"},3],"then":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"Freddy doesn't like to be looked at, use that to your advantage!","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"}],"else":[]},{"type":"sendChatMessage","message":{"function":"concat","textA":"Tip: ","textB":{"function":"getStringArrayElement","number":{"function":"getRandomNumberBetween","min":0,"max":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"tempString_G"}},1]}},"string":{"function":"getVariable","variableName":"tempString_G"}}}}],"else":[]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"gameTimer"},1]},{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"@nightTimerEnd"},1]},6]}]},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"updateUiTextForEveryone","target":"scoreboard","value":{"function":"concat","textA":12,"textB":{"function":"concat","textA":" AM<br>","textB":{"function":"concat","textA":"Night ","textB":{"function":"getVariable","variableName":"night#"}}}}}],"else":[{"type":"updateUiTextForEveryone","target":"scoreboard","value":{"function":"concat","textA":{"function":"mathFloor","value":{"function":"getVariable","variableName":"tempNum_G"}},"textB":{"function":"concat","textA":" AM<br>","textB":{"function":"concat","textA":"Night ","textB":{"function":"getVariable","variableName":"night#"}}}}}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"numberToString","value":{"function":"getVariable","variableName":"tempNum_G"}},"patternString":"."},false],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"DSGuZU81MC"},"actions":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},1]}}]}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},1]}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},1]}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"5rebr6sNk0"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},1]}}],"else":[]}]}]}]}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},4],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},1]}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},1]}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"5rebr6sNk0"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},1]}}],"else":[]}]}]}]}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},6],"then":[{"type":"sendChatMessage","message":"you win! YAY","disabled":true},{"type":"runScript","scriptName":"fKMxLPmbwe","isEntityScript":false},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},5],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"]],"then":[{"type":"continue"}],"else":[]},{"type":"setPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"selectedPlayer"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"selectedPlayer"}},1]}}]},{"type":"sendChatMessage","message":"you get 1 win for beating all the 5 nights! yippe! ","disabled":true}],"else":[],"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"night#"},1]},"variableName":"night#","disabled":true},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"night#"},8],"then":[{"type":"setVariable","value":1,"variableName":"night#"}],"else":[],"disabled":true}],"else":[],"comment":"6am: win","isExpanded":{"self":true}}],"comment":"4am: bonnie chica foxy +1 aggression","isExpanded":{"self":true,"then":false}}],"comment":"3am: bonnie chica foxy +1 aggression","isExpanded":{"self":true,"then":false}}],"comment":"2am: bonnie +1 aggression","isExpanded":{"then":false}}],"else":[],"isExpanded":{"self":true}}],"else":[{"type":"updateUiTextForEveryone","target":"scoreboard","value":""}],"isExpanded":{"self":true,"then":true}},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"musicChangeTimer"},1]},"variableName":"musicChangeTimer"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"for","variableName":"i","start":1,"stop":{"function":"calculate","items":[{"operator":"/"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},3]},"actions":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"i"},1]},3]},"variableName":"tempNum_G","comment":"get the timer index number"},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"tempNum_G"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"N/A"],"then":[{"type":"continue"}],"else":[]},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"getVariable","variableName":"tempNum_G"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"tempNum_G"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}},1]}}},"variableName":"cameraDowntimeArray","comment":"decrease timer by 1"},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"tempNum_G"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}},0],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},1]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}},"value":0.05,"comment":"show first camera background ","disabled":true},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},2]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}},"value":0.05,"comment":"show second camera background ","disabled":true},{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"for","variableName":"i2","start":1,"stop":{"function":"calculate","items":[{"operator":"/"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},3]},"actions":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"i2"},1]},3]},"variableName":"tempNum2_G","comment":"get the timer index number"},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum2_G"},1]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},1]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[],"comment":"current location","disabled":false},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum2_G"},2]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},2]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[],"comment":"previous location","disabled":true}],"comment":"loop through only the timer elements","isExpanded":{"self":true},"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},false],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},1]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}}},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"then":[{"type":"showUnitToPlayer","entity":{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},1]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}},"player":{"function":"selectedPlayer"}},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"3c1e5fd5","disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}],"else":[],"comment":"stop garble sounds"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},2]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}}},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"then":[{"type":"showUnitToPlayer","entity":{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},2]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}}},"player":{"function":"selectedPlayer"}},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"2e4e5b52","disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}],"else":[],"comment":"stop garble sounds"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}],"else":[]}]}],"else":[]}]}],"else":[],"comment":"","isExpanded":{"then":true,"self":true}},{"type":"for","variableName":"i2","start":0,"stop":2,"actions":[{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},{"function":"getVariable","variableName":"i2"}]},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"},"value":"N/A"},"variableName":"cameraDowntimeArray","comment":"set as \"N/A\" for removal "}]}],"else":[],"comment":"if timer <= 0"}],"comment":"loop through only the timer elements","isExpanded":{"self":true},"disabled":false},{"type":"for","variableName":"i","start":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},1]},"stop":0,"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"N/A"],"then":[{"type":"setVariable","value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"variableName":"cameraDowntimeArray"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"undefined"],"then":[{"type":"setVariable","value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"variableName":"cameraDowntimeArray"}],"else":[],"comment":""}],"comment":""}],"comment":"remove unneeded elements","isExpanded":{"self":true},"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},1]},"variableName":"i"},{"type":"repeat","count":{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"N/A"],"then":[{"type":"setVariable","value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"variableName":"cameraDowntimeArray"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"undefined"],"then":[{"type":"setVariable","value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"variableName":"cameraDowntimeArray"}],"else":[],"comment":""}],"comment":""},{"type":"decreaseVariableByNumber","variable":"i","number":1}]}],"else":[],"comment":"camera downtime countdown","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"for","variableName":"i","start":1,"stop":{"function":"calculate","items":[{"operator":"/"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"randomEffectsArray"}},4]},"actions":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},4]},1]},"variableName":"tempNum_G","comment":"get the timer index number"},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"getVariable","variableName":"tempNum_G"},"string":{"function":"getVariable","variableName":"randomEffectsArray"},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"tempNum_G"},"string":{"function":"getVariable","variableName":"randomEffectsArray"}}},1]}}},"variableName":"randomEffectsArray","comment":"decrease timer by 1"},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"tempNum_G"},"string":{"function":"getVariable","variableName":"randomEffectsArray"}}},0],"then":[{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"getVariable","variableName":"tempNum_G"},"string":{"function":"getVariable","variableName":"randomEffectsArray"},"value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"tempNum_G"},1]},"string":{"function":"getVariable","variableName":"randomEffectsArray"}}},"variableName":"randomEffectsArray","comment":"reset timer"},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"tempNum_G"},2]},"string":{"function":"getVariable","variableName":"randomEffectsArray"},"value":"1"},"variableName":"randomEffectsArray","comment":"test","disabled":true},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"tempNum_G"},2]},"string":{"function":"getVariable","variableName":"randomEffectsArray"}}}},1],"then":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"tempNum_G"},3]},"string":{"function":"getVariable","variableName":"randomEffectsArray"}},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"variableName":"randomEffectActivate","comment":"add name of effect to variable"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"getVariable","variableName":"tempNum_G"}},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"variableName":"randomEffectActivate","comment":"add index of timer to check later"},{"type":"sendChatMessage","message":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"tempNum_G"},3]},"string":{"function":"getVariable","variableName":"randomEffectsArray"}},"disabled":true}],"else":[],"comment":"chance of effect happening"}],"else":[],"comment":"if timer <= 0"}],"comment":"loop through only the timer elements"},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"randomEffectActivate"}},0],"then":[{"type":"runScript","scriptName":"IqVk2hM02d","isEntityScript":false}],"else":[],"comment":"if random effect activated"}],"else":[],"comment":"random effects thing","isExpanded":{"self":false}}],"name":"every second","parent":"Gv4g7K5Hxv","key":"0qp9a0M5Na","order":0},"pAh21T567i":{"key":"pAh21T567i","folderName":"game","parent":null,"order":0,"expanded":true},"Gv4g7K5Hxv":{"key":"Gv4g7K5Hxv","folderName":"time","parent":"pAh21T567i","order":0,"expanded":true},"vpefOVGS4o":{"key":"vpefOVGS4o","folderName":"player","parent":null,"order":1,"expanded":true},"IqVk2hM02d":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"randomEffectActivate"}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"i"},2]}},"patternString":"."},true],"then":[{"type":"continue"}],"else":[],"comment":"skip every odd number"},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"doorPound"],"then":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":-600,"max":600},"variableName":"tempNum_G","comment":"volume"},{"type":"playSoundAtPosition","sound":"WopL8WoQSc","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":{"function":"getVariable","variableName":"tempNum_G"}}}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"circusOrgan"],"then":[{"type":"playSoundAtPosition","sound":"xufxf1Iro7","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"cameraAmbience"],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"playSoundForPlayer","sound":"hdpIrqkTZP","player":{"function":"selectedPlayer"}}],"else":[]}]}],"else":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"patternString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"patternString":"_yellowBear"},true],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"goldenFreddyAppeared","dataType":"boolean","entity":"hQPt6zlmKJ","key":"goldenFreddyAppeared"}},"value":true,"disabled":true}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"BG_4b Camera_posterX"],"then":[{"type":"setVariable","value":{"function":"replaceValuesInString","matchString":"X","sourceString":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"newString":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":1,"max":4}}},"variableName":"randomEffectActivate","comment":"","disabled":true},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"},"value":{"function":"replaceValuesInString","matchString":"X","sourceString":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"newString":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":1,"max":4}}}},"variableName":"randomEffectActivate","comment":""}],"else":[]},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"u12I0PEbYc"],[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"oMNyxHlIpw"]],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"selectedUnit"}},"normal"],"then":[{"type":"break"}],"else":[],"comment":"example: if the showstage scene var is lookFreddy, it wont reset scene var when lookAll activates"}],"else":[]},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":{"function":"substringOf","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"fromIndex":{"function":"calculate","items":[{"operator":"+"},{"function":"getLengthOfString","string":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}},1]},"toIndex":{"function":"getLengthOfString","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}}}},"comment":""}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":{"function":"entityAttributeMax","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"}}},{"type":"break"},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"randomEffectActivate"}},"textB":" (new one btw)"},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"selectedUnit"}},"disabled":true}],"else":[]}]}]}]}]},{"type":"setVariable","value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getVariable","variableName":"randomEffectActivate"}}},"variableName":"tempNum_G"},{"type":"setVariable","value":{"function":"updateStringArrayElement","number":{"function":"getVariable","variableName":"tempNum_G"},"string":{"function":"getVariable","variableName":"randomEffectsArray"},"value":{"function":"numberToString","value":{"function":"calculate","items":[{"operator":"*"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"tempNum_G"},1]},"string":{"function":"getVariable","variableName":"randomEffectsArray"}}},{"function":"getRandomNumberBetween","min":5,"max":7}]}}},"variableName":"randomEffectsArray","comment":"make effect timer longer to prevent overlap"}]},{"type":"setVariable","value":"[]","variableName":"randomEffectActivate"}],"name":"random effect","parent":"Gv4g7K5Hxv","key":"IqVk2hM02d","order":2},"1UYfLSzyrF":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"yz2nXDn757","position":{"function":"xyCoordinate","x":-424,"y":-219},"angle":0,"height":376,"width":439,"actionId":"4475bed2","player":{"variableName":"object","function":"getVariable"}},{"type":"setTimeOut","duration":1000,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"qSVQOVRmiE"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"night#"},1]},"string":{"function":"getVariable","variableName":"nightLevels"}}}}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"night#"},1]},"string":{"function":"getVariable","variableName":"nightLevels"}}}}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"night#"},1]},"string":{"function":"getVariable","variableName":"nightLevels"}}}}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"5rebr6sNk0"],"then":[{"type":"setEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":3,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"night#"},1]},"string":{"function":"getVariable","variableName":"nightLevels"}}}}}],"else":[]}]}]}]},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"cameraDowntimeTime","dataType":"number","entity":"DSGuZU81MC","key":"cameraDowntimeTime"}},"value":{"function":"getMax","num1":3,"num2":{"function":"calculate","items":[{"operator":"-"},5,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"night#"},2]}}]}},"comment":""}]},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"allUnitTypesInGame"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"patternString":{"function":"concat","textA":"Phoneguy","textB":{"function":"getVariable","variableName":"night#"}}},true],"then":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,70]}]}},"comment":""},{"type":"break"}],"else":[]}],"disabled":true}],"isExpanded":{"self":true}},{"type":"setVariable","value":true,"variableName":"bGameStarted"},{"type":"setVariable","value":false,"variableName":"powerOutage?"},{"type":"setVariable","value":0,"variableName":"gameTimer"},{"type":"setVariable","value":99.9,"variableName":"power#"},{"type":"setVariable","value":1,"variableName":"usage#"},{"type":"setVariable","value":"[]","variableName":"cameraDowntimeArray"},{"type":"runScript","scriptName":"mgL1MP4I5S","isEntityScript":false},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"getVariable","variableName":"leftDoorUnit"}},true],"then":[{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"SuROWKCUkm","position":{"function":"xyCoordinate","x":313,"y":676},"angle":0,"height":1351,"width":413,"actionId":"373b6427","player":{"variableName":"object","function":"getVariable"}},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"leftDoorUnit"}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"getVariable","variableName":"rightDoorUnit"}},true],"then":[{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"SuROWKCUkm","position":{"function":"xyCoordinate","x":2556,"y":676},"angle":0,"height":1351,"width":413,"player":{"variableName":"object","function":"getVariable"},"actionId":"30976c9e"},{"type":"setVariable","value":{"function":"getLastCreatedUnit"},"variableName":"rightDoorUnit"},{"type":"setEntityState","entity":{"function":"getLastCreatedUnit"},"state":"wdLnquTuEv"}],"else":[],"disabled":true}],"name":"start new night","parent":"pAh21T567i","key":"1UYfLSzyrF","order":3},"oJdLvd98dj":{"triggers":[{"type":"htmlUiClick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":{"function":"lastClickedUiElementId","player":{"function":"getTriggeringPlayer"}},"variableName":"tempString_G"},{"type":"sendChatMessage","message":{"function":"getVariable","variableName":"tempString_G"},"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"tempString_G"},"newGameButton"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getTriggeringPlayer"}},"title"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"titleCurrentOption","dataType":"string","entity":"9SDtGUOM4N","key":"titleCurrentOption"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"newgame"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getTriggeringPlayer"},"value":1},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},1],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"newPlayer?","dataType":"boolean","entity":"humanPlayer","key":"newPlayer?"}},"player":{"function":"getTriggeringPlayer"}},true]],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"newPlayer?","dataType":"boolean","entity":"humanPlayer","key":"newPlayer?"}},"value":false,"disabled":false},{"type":"setEntityAttribute","attribute":"avHZengknl","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"value":8},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"newspaper0"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"value":{"function":"insertStringArrayElement","value":"newspaper","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"getTriggeringPlayer"}}}},{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade {     from {         opacity: 0;     }     to {         opacity: 1;     } } #newspaper {     animation: fade 2.5s ease-in-out; } ","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"skipnewspaper"}]},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":true},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":"[]","disabled":true},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getNumberOfUnitsOfUnitType","unitType":"wf96hnTFI6"},0],"then":[{"type":"repeat","count":20,"actions":[{"type":"createUnitAtPosition","unitType":"wf96hnTFI6","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-99999,"y":-99999},"angle":0,"actionId":"d82e44f2"}]},{"type":"for","variableName":"i","start":1,"stop":20,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},100]},"actions":[{"type":"createUnitAtPosition","unitType":"wf96hnTFI6","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-99999,"y":-99999},"angle":0,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},70]},1000]},"disabled":true}]}],"disabled":true}],"else":[],"disabled":true},{"type":"setTimeOut","duration":100,"actions":[{"type":"for","variableName":"i","start":0,"stop":19,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},100]},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}}}},{"type":"break"}],"else":[],"comment":""}],"else":[]}],"disabled":true}]}],"isExpanded":{"self":true},"disabled":true},{"type":"setTimeOut","duration":2500,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"titleUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"break"}],"else":[]}]}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@hideTitleID's"}},1]},"actions":[{"type":"hideUiElementForPlayer","elementId":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@hideTitleID's"}},"player":{"function":"getTriggeringPlayer"}}]}],"isExpanded":{"self":true},"comment":"hide title units"},{"type":"setTimeOut","duration":3600,"actions":[{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade2 {     from {         opacity: 1;     }     to {         opacity: 0;     } } #newspaper {     animation: fade2 2.5s ease-in-out; }","player":{"function":"getTriggeringPlayer"}},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":"[]","disabled":true},{"type":"for","variableName":"i","start":0,"stop":19,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},70]},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}}}},{"type":"break"}],"else":[],"comment":""}],"else":[]}]}]}],"isExpanded":{"self":true},"disabled":true},{"type":"setTimeOut","duration":2450,"actions":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"nightintro"},{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"hideUiElementForPlayer","elementId":"newspaper","player":{"function":"getTriggeringPlayer"}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"newspaper"],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[]}],"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},false],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}}],"else":[]}]}],"else":[],"disabled":true},{"type":"setTimeOut","duration":150,"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"selectedPlayer"},{"function":"getTriggeringPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"showUnitToPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}],"disabled":false}],"disabled":false},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"getTriggeringPlayer"}},{"type":"stopMusicForPlayer","player":{"function":"getTriggeringPlayer"}},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}],"else":[]}]}]},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience1"},{"type":"playMusicForPlayerRepeatedly","music":"uybvlv52io","player":{"function":"getTriggeringPlayer"}},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":true},{"type":"moveEntity","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getTriggeringPlayer"}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"runScript","scriptName":"1UYfLSzyrF","isEntityScript":false}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"showOfficeUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"break"}],"else":[]}]}]}]}]}]}]}],"isExpanded":{"self":true}}],"disabled":true,"isExpanded":{"self":false,"actions":true}}],"else":[]}],"else":[],"isExpanded":{"then":true}}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"tempString_G"},"continueButton"],"then":[{"type":"sendChatMessageToPlayer","message":"This is a work in progress...","player":{"function":"getTriggeringPlayer"},"disabled":true},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getPlayerCount"},1],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"getTriggeringPlayer"}},1],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getTriggeringPlayer"}},"title"],"then":[{"type":"setVariable","value":7,"variableName":"night#"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"skipnewspaper"},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"titleCurrentOption","dataType":"string","entity":"9SDtGUOM4N","key":"titleCurrentOption"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"newgame"],"then":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},1],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"newPlayer?","dataType":"boolean","entity":"humanPlayer","key":"newPlayer?"}},"player":{"function":"getTriggeringPlayer"}},true]],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"newPlayer?","dataType":"boolean","entity":"humanPlayer","key":"newPlayer?"}},"value":false,"disabled":false},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"newspaper0"},{"type":"showUiElementForPlayer","elementId":"newspaper","player":{"function":"getTriggeringPlayer"}},{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade {     from {         opacity: 0;     }     to {         opacity: 1;     } } #newspaper {     animation: fade 2.5s ease-in-out; } ","player":{"function":"getTriggeringPlayer"}}],"else":[],"disabled":false},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":"[]","disabled":true},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getNumberOfUnitsOfUnitType","unitType":"wf96hnTFI6"},0],"then":[{"type":"repeat","count":20,"actions":[{"type":"createUnitAtPosition","unitType":"wf96hnTFI6","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-99999,"y":-99999},"angle":0,"actionId":"d82e44f2"}]},{"type":"for","variableName":"i","start":1,"stop":20,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},100]},"actions":[{"type":"createUnitAtPosition","unitType":"wf96hnTFI6","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-99999,"y":-99999},"angle":0,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},70]},1000]},"disabled":true}]}],"disabled":true}],"else":[],"disabled":true},{"type":"setTimeOut","duration":100,"actions":[{"type":"for","variableName":"i","start":0,"stop":19,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},100]},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}}}},{"type":"break"}],"else":[],"comment":""}],"else":[]}],"disabled":true}]}],"isExpanded":{"self":true},"disabled":true},{"type":"setTimeOut","duration":2500,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"titleUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"break"}],"else":[]}]}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@hideTitleID's"}},1]},"actions":[{"type":"hideUiElementForPlayer","elementId":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@hideTitleID's"}},"player":{"function":"getTriggeringPlayer"}}]}],"isExpanded":{"self":true},"comment":"hide title units"},{"type":"setTimeOut","duration":3600,"actions":[{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade2 {     from {         opacity: 1;     }     to {         opacity: 0;     } } #newspaper {     animation: fade2 2.5s ease-in-out; }","player":{"function":"getTriggeringPlayer"}},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":"[]","disabled":true},{"type":"for","variableName":"i","start":0,"stop":19,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},70]},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}}}},{"type":"break"}],"else":[],"comment":""}],"else":[]}]}]}],"isExpanded":{"self":true},"disabled":true},{"type":"setTimeOut","duration":2450,"actions":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"nightintro"},{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"hideUiElementForPlayer","elementId":"newspaper","player":{"function":"getTriggeringPlayer"}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"newspaper"],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[]}],"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},false],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}}],"else":[]}]}],"else":[],"disabled":true},{"type":"setTimeOut","duration":150,"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"selectedPlayer"},{"function":"getTriggeringPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"showUnitToPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}],"disabled":false}],"disabled":false},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"getTriggeringPlayer"}},{"type":"stopMusicForPlayer","player":{"function":"getTriggeringPlayer"}},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}],"else":[]}]}]},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience1"},{"type":"playMusicForPlayerRepeatedly","music":"uybvlv52io","player":{"function":"getTriggeringPlayer"}},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":true},{"type":"moveEntity","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getTriggeringPlayer"}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"runScript","scriptName":"1UYfLSzyrF","isEntityScript":false}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"showOfficeUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"break"}],"else":[]}]}]}]}]}]}]}],"isExpanded":{"self":true}}],"disabled":true,"isExpanded":{"self":false,"actions":true}}],"else":[],"disabled":true}],"else":[],"isExpanded":{"then":true},"disabled":false}],"else":[]}],"else":[]}],"else":[{"type":"sendChatMessageToPlayer","message":"This is a work in progress...","player":{"function":"getTriggeringPlayer"},"disabled":false},{"type":"sendChatMessageToPlayer","message":"(hint: try using this when theres only 1 player in the server)","player":{"function":"getTriggeringPlayer"},"disabled":false}],"isExpanded":{"then":false}}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"tempString_G"},"nightSixButton"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getPlayerCount"},1],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"getTriggeringPlayer"}},1],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getTriggeringPlayer"}},"title"],"then":[{"type":"setVariable","value":6,"variableName":"night#"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"skipnewspaper"},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"titleCurrentOption","dataType":"string","entity":"9SDtGUOM4N","key":"titleCurrentOption"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"newgame"],"then":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},1],[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"newPlayer?","dataType":"boolean","entity":"humanPlayer","key":"newPlayer?"}},"player":{"function":"getTriggeringPlayer"}},true]],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"newPlayer?","dataType":"boolean","entity":"humanPlayer","key":"newPlayer?"}},"value":false,"disabled":false},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"newspaper0"},{"type":"showUiElementForPlayer","elementId":"newspaper","player":{"function":"getTriggeringPlayer"}},{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade {     from {         opacity: 0;     }     to {         opacity: 1;     } } #newspaper {     animation: fade 2.5s ease-in-out; } ","player":{"function":"getTriggeringPlayer"}}],"else":[],"disabled":false},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":"[]","disabled":true},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getNumberOfUnitsOfUnitType","unitType":"wf96hnTFI6"},0],"then":[{"type":"repeat","count":20,"actions":[{"type":"createUnitAtPosition","unitType":"wf96hnTFI6","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-99999,"y":-99999},"angle":0,"actionId":"d82e44f2"}]},{"type":"for","variableName":"i","start":1,"stop":20,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},100]},"actions":[{"type":"createUnitAtPosition","unitType":"wf96hnTFI6","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-99999,"y":-99999},"angle":0,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},70]},1000]},"disabled":true}]}],"disabled":true}],"else":[],"disabled":true},{"type":"setTimeOut","duration":100,"actions":[{"type":"for","variableName":"i","start":0,"stop":19,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},100]},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}}}},{"type":"break"}],"else":[],"comment":""}],"else":[]}],"disabled":true}]}],"isExpanded":{"self":true},"disabled":true},{"type":"setTimeOut","duration":2500,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"titleUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"break"}],"else":[]}]}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@hideTitleID's"}},1]},"actions":[{"type":"hideUiElementForPlayer","elementId":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@hideTitleID's"}},"player":{"function":"getTriggeringPlayer"}}]}],"isExpanded":{"self":true},"comment":"hide title units"},{"type":"setTimeOut","duration":3600,"actions":[{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade2 {     from {         opacity: 1;     }     to {         opacity: 0;     } } #newspaper {     animation: fade2 2.5s ease-in-out; }","player":{"function":"getTriggeringPlayer"}},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":"[]","disabled":true},{"type":"for","variableName":"i","start":0,"stop":19,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},70]},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}}}},{"type":"break"}],"else":[],"comment":""}],"else":[]}]}]}],"isExpanded":{"self":true},"disabled":true},{"type":"setTimeOut","duration":2450,"actions":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"nightintro"},{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"hideUiElementForPlayer","elementId":"newspaper","player":{"function":"getTriggeringPlayer"}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"newspaper"],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[]}],"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},false],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}}],"else":[]}]}],"else":[],"disabled":true},{"type":"setTimeOut","duration":150,"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"selectedPlayer"},{"function":"getTriggeringPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"showUnitToPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}],"disabled":false}],"disabled":false},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"getTriggeringPlayer"}},{"type":"stopMusicForPlayer","player":{"function":"getTriggeringPlayer"}},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}}],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}],"else":[]}]}]},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience1"},{"type":"playMusicForPlayerRepeatedly","music":"uybvlv52io","player":{"function":"getTriggeringPlayer"}},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":true},{"type":"moveEntity","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getTriggeringPlayer"}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"runScript","scriptName":"1UYfLSzyrF","isEntityScript":false}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"showOfficeUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getTriggeringPlayer"}},{"type":"break"}],"else":[]}]}]}]}]}]}]}],"isExpanded":{"self":true}}],"disabled":true,"isExpanded":{"self":false,"actions":true}}],"else":[],"disabled":true}],"else":[],"isExpanded":{"then":true},"disabled":false}],"else":[]}],"else":[]}],"else":[{"type":"sendChatMessageToPlayer","message":"(hint: try using this when theres only 1 player in the server)","player":{"function":"getTriggeringPlayer"},"disabled":false}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"tempString_G"},"customNightButton"],"then":[{"type":"sendChatMessageToPlayer","message":"This is a work in progress...","player":{"function":"getTriggeringPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getTriggeringPlayer"}},"patternString":"newspaper"},true],"then":[{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":true}],"else":[]}]}],"isExpanded":{"then":false}}]}],"isExpanded":{"then":false}}],"name":"click ui element","parent":"vpefOVGS4o","key":"oJdLvd98dj","order":3},"SWOVCaIikj":{"triggers":[{"type":"unitAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"UcRRvaSaDN"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"getTriggeringUnit"}}},"patternString":"Kitchen"},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"kitchen"],"then":[{"type":"setEntityVariable","entity":{"function":"getTriggeringUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"getRandomNumberBetween","min":2,"max":10},"comment":"speed"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"getTriggeringUnit"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"getTriggeringUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":false},{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"getTriggeringUnit"},"value":{"function":"getRandomNumberBetween","min":5,"max":15}},{"type":"setEntityVariable","entity":{"function":"getTriggeringUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,0]}]}},"comment":"for smoothness"}],"else":[{"type":"setEntityVariable","entity":{"function":"getTriggeringUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true},{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"getTriggeringUnit"},"value":{"function":"getRandomNumberBetween","min":5,"max":25}},{"type":"setEntityVariable","entity":{"function":"getTriggeringUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,{"function":"getRandomNumberBetween","min":15,"max":30}]}]}},"comment":"for smoothness"}],"comment":"true == hearable"},{"type":"return"}],"else":[]}],"else":[]}]},{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"getTriggeringUnit"},"value":{"function":"getRandomNumberBetween","min":1,"max":5},"comment":"if chica isnt in the kitchen"},{"type":"setEntityVariable","entity":{"function":"getTriggeringUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,0]}]}},"comment":"for smoothness"},{"type":"setEntityVariable","entity":{"function":"getTriggeringUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":10,"comment":"speed"}],"else":[]}],"else":[]}],"name":"unit attr == 0","parent":null,"key":"SWOVCaIikj","order":2},"I43gqqAGl3":{"triggers":[{"type":"playerAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"health"],"then":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getTriggeringPlayer"}},"office"],[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getTriggeringPlayer"}},"camera"]],"then":[{"type":"return"}],"else":[],"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"gameTimer"},1]},{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"@nightTimerEnd"},1]},6]}]},"variableName":"tempNum_G","disabled":true},{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},true,false],"then":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"nightEndScreen","disabled":true},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":true,"disabled":true}],"else":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"getTriggeringPlayer"}},"Foxy"],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"getTriggeringPlayer"}},"Freddy2"],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"getTriggeringPlayer"}},"none"],"then":[{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"concat","textA":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"getTriggeringPlayer"}},"textB":" killed "},"textB":{"function":"getPlayerName","entity":{"function":"getTriggeringPlayer"}}}}],"else":[]}],"else":[]}],"else":[]},{"type":"stopSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"getTriggeringPlayer"}},{"type":"assignPlayerType","entity":{"function":"getTriggeringPlayer"},"playerType":"jF6joMbrn0"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"dead"},{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":false},{"type":"setEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"value":1},{"type":"stopMusicForPlayer","player":{"function":"getTriggeringPlayer"}},{"type":"playSoundForPlayer","sound":"gn5v0VTdq1","player":{"function":"getTriggeringPlayer"}},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"1776312f","runMode":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false},{"type":"createUnitAtPosition","unitType":"uFuwVqucGy","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"129ea84f","runMode":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"runMode":0},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@officeElementID's"}},1]},"actions":[{"type":"setPlayerVariable","player":{"function":"getTriggeringPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@officeElementID's"}},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"getTriggeringPlayer"}}}}]},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"getTriggeringPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":true}],"isExpanded":{"self":true}}],"else":[]}],"name":"player attr == 0","parent":"vpefOVGS4o","key":"I43gqqAGl3","order":4},"mgL1MP4I5S":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},true],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"stringStartsWith","sourceString":{"function":"getVariable","variableName":"cameraScrollState"},"patternString":"wait"},false],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"cameraScrollState"},"left"],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"@cameraScrollRegen"},100]}]}},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},{"function":"entityAttributeMin","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}}],"then":[{"type":"setVariable","value":"waitActivateLeft","variableName":"cameraScrollState"},{"type":"break"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"cameraScrollState"},"right"],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"@cameraScrollRegen"},100]}]}},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},{"function":"entityAttributeMax","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}}],"then":[{"type":"setVariable","value":"waitActivateRight","variableName":"cameraScrollState"},{"type":"break"}],"else":[]}],"else":[]}]}],"else":[]}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getVariable","variableName":"cameraScrollState"},"patternString":"waitActivate"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringEndsWith","sourceString":{"function":"getVariable","variableName":"cameraScrollState"},"patternString":"Left"},true],"then":[{"type":"setVariable","value":"waitLeft","variableName":"cameraScrollState"}],"else":[{"type":"setVariable","value":"waitRight","variableName":"cameraScrollState"}]},{"type":"setTimeOut","duration":{"function":"getVariable","variableName":"@cameraScrollWait"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"cameraScrollState"},"waitLeft"],"then":[{"type":"setVariable","value":"right","variableName":"cameraScrollState"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"cameraScrollState"},"waitRight"],"then":[{"type":"setVariable","value":"left","variableName":"cameraScrollState"}],"else":[]}]}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"cameraScrollState"},"waitLeft"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},{"function":"entityAttributeMin","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}}],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"@cameraScrollRegen"},100]}]}}],"else":[]}],"else":[]}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getVariable","variableName":"cameraScrollState"},"waitRight"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},{"function":"entityAttributeMax","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}}],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"@cameraScrollRegen"},100]}]}}],"else":[]}],"else":[]}]}],"else":[]}]}]}],"isExpanded":{"then":true}},{"type":"setTimeOut","duration":10,"actions":[{"type":"runScript","scriptName":"mgL1MP4I5S","isEntityScript":false}]}],"else":[]}],"name":"camera scroll","parent":"Gv4g7K5Hxv","key":"mgL1MP4I5S","order":3},"FC6WOdELFt":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":true,"variableName":"powerOutage?"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"12rIEBXYHr"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"value":false},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":false},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":false}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"SuROWKCUkm"],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":1}],"else":[{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"destroyOnPowerOutage"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},false],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"hideOnPowerOutage"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}}]},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"patternString":"Lights Sprite"},true],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":1}],"else":[]},{"type":"break"}],"else":[]}]}],"else":[]}],"disabled":true}]}],"isExpanded":{"self":true}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"SuROWKCUkm"],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":0.05}],"else":[{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"destroyOnPowerOutage"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},false],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"hideOnPowerOutage"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}}]},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getUnitTypeName","unitType":{"function":"selectedUnitType"}},"patternString":"Lights Sprite"},true],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":false},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":0.05}],"else":[]},{"type":"break"}],"else":[]}]}],"else":[]}]}],"isExpanded":{"self":true}},{"type":"createEntityForPlayerAtPositionWithDimensions","entityType":"unitTypes","entity":"NgxXWVby7C","position":{"function":"xyCoordinate","x":1472,"y":672},"angle":0,"height":1350,"width":3000,"actionId":"2d946462","player":{"function":"getVariable","variableName":"object"},"comment":"1472 672"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"selectedPlayer"}},"humanPlayer"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"stopSoundForPlayer","sound":"SB8lSz31rt","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"hdpIrqkTZP","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}],"else":[],"comment":"stop garble sounds"},{"type":"playSoundForPlayer","sound":"NLCh7b42sf","player":{"function":"selectedPlayer"},"disabled":true},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"value":{"function":"entityAttributeMax","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"else":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"}],"isExpanded":{"self":true}},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"none"},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":false},{"type":"playSoundForPlayer","sound":"AAQZnHknHv","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}},{"type":"playMusicForPlayerRepeatedly","music":"oWiNPp6Ch4","player":{"function":"selectedPlayer"}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@officeElementID's"}},1]},"actions":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@officeElementID's"}},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"selectedPlayer"}}}}],"disabled":false},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@officeElementID's"}},1]},"actions":[{"type":"hideUiElementForPlayer","elementId":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@officeElementID's"}},"player":{"function":"selectedPlayer"}}],"disabled":true}],"else":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}],"isExpanded":{"self":true}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"yz2nXDn757"},"actions":[{"type":"createUnitAtPosition","unitType":"urCs12Du5G","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-999,"y":-999},"angle":0,"disabled":false,"actionId":"297d49ee"},{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"getLastCreatedUnit"},"value":{"function":"getRandomNumberBetween","min":3,"max":6}},{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"getLastCreatedUnit"},"value":{"function":"getRandomNumberBetween","min":2,"max":7}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"selectedUnit"},"disabled":false},{"type":"break"}]},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"radarEnabled","dataType":"boolean","entity":"humanPlayer","key":"radarEnabled"}},"player":{"function":"selectedPlayer"}},false],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"},"disabled":false}],"else":[]}],"isExpanded":{"self":true}}],"name":"power outage","parent":"pAh21T567i","key":"FC6WOdELFt","order":7},"3qb7zCLfL2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"]],"then":[{"type":"continue"}],"else":[]},{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"selectedPlayer"},"value":0}]},{"type":"setVariable","value":0,"variableName":"gameTimer"},{"type":"setVariable","value":false,"variableName":"bGameStarted"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"12rIEBXYHr"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":false}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"SuROWKCUkm"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"value":false},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":false}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"Lights Sprite"},true],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":false},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":false}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"IxzrAoJFJA"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":false}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wSfUVGAeap"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"saveCameraRoom","dataType":"unitType","entity":"wSfUVGAeap","key":"saveCameraRoom"}},"value":"u12I0PEbYc"}],"else":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"deleteOnNightReset"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nearbySoundUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapWidth"},2]},"y":{"function":"calculate","items":[{"operator":"+"},-1270,{"function":"calculate","items":[{"operator":"*"},19.42,0]}]}},"comment":"for smoothness"},{"type":"break"}],"else":[]}]}]}]}]}]}]}]},{"type":"setTimeOut","duration":100,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":0.5,"disabled":false}]}]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"night#"},1]},"variableName":"night#","disabled":true},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"night#"},8],"then":[{"type":"setVariable","value":1,"variableName":"night#"}],"else":[],"disabled":true}],"name":"reset game","parent":"pAh21T567i","key":"3qb7zCLfL2","order":5},"uA8pOj361W":{"key":"uA8pOj361W","folderName":"archived","parent":null,"order":3,"expanded":true},"wBivTLHUlJ":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":0,"variableName":"usage#"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"leftButtonUnit"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"rightButtonUnit"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"leftButtonUnit"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"rightButtonUnit"}},true],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#"}],"else":[]}],"else":[]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"usage#"},{"function":"getVariable","variableName":"cameraUsage#"}]},"variableName":"usage#"},{"type":"setVariable","value":0,"variableName":"cameraUsage#"},{"type":"showUiTextForEveryone","target":"scoreboard"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"comment","comment":"ideal camera size: 2795x1319"},{"type":"setVariable","value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}}},{"function":"calculate","items":[{"operator":"/"},{"function":"entityWidth","entity":{"function":"getItemAtSlot","slot":1,"unit":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},4]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}}},25]},{"function":"calculate","items":[{"operator":"/"},{"function":"entityHeight","entity":{"function":"getItemAtSlot","slot":1,"unit":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},4]}]}},"variableName":"tempPos_G","comment":"","disabled":false},{"type":"setEntityVelocityAtAngle","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getVariable","variableName":"tempPos_G"},"positionB":{"function":"getEntityPosition","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},"num2":300},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"positionB":{"function":"getVariable","variableName":"tempPos_G"}},"disabled":false},{"type":"playerCameraSetZoom","player":{"function":"selectedPlayer"},"zoom":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"selectedPlayer"}}},{"type":"setUIElementHtml","htmlStr":{"function":"concat","textA":"Power level: ","textB":{"function":"concat","textA":{"function":"numberToString","value":{"function":"getMax","num1":0,"num2":{"function":"mathFloor","value":{"function":"getVariable","variableName":"power#"}}}},"textB":"%"}},"elementId":"power","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},0],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"cameraUsage#"},{"function":"calculate","items":[{"operator":"/"},1,{"function":"getPlayerCount"}]}]},"variableName":"cameraUsage#"},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},{"function":"calculate","items":[{"operator":"/"},1,{"function":"getPlayerCount"}]}]},"variableName":"usage#"}],"else":[]}],"else":[],"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"OR","operandType":"or"},[{"operator":"!=","operandType":"number"},{"function":"getVariable","variableName":"lastUsage#"},{"function":"getVariable","variableName":"usage#"}],[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"lastCameraUsage#"},1]],"then":[{"type":"setVariable","value":"\t#usage { \t\tbackground-image: url(PLACEHOLDER); \t\tbottom: 20px; \t\tleft: calc(5vw + 55px); \t\twidth: calc(3.5vw + 104px); \t\theight: calc(1.9vw + 15px); \t\tbackground-position: left; \t}","variableName":"tempString_G","comment":""},{"type":"setVariable","value":"[\"https://i.ibb.co/VQZSxX9/455-1-png-1-png-4.png\",\"https://i.ibb.co/ThTvdcP/455-1-png-1-png-3.png\",\"https://i.ibb.co/XS6k2fS/455-1-png-1-png-2.png\",\"https://i.ibb.co/vJ3ZJyd/455-1-png-1-png-1.png\",\"https://i.ibb.co/JR1qSFH/455-1-png-1-png.png\"]","variableName":"tempString2_G"},{"type":"setVariable","value":{"function":"replaceValuesInString","matchString":"PLACEHOLDER","sourceString":{"function":"getVariable","variableName":"tempString_G"},"newString":{"function":"getStringArrayElement","number":{"function":"getMax","num1":0,"num2":{"function":"getMin","num1":4,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"mathFloor","value":{"function":"getVariable","variableName":"usage#"}},1]}}},"string":{"function":"getVariable","variableName":"tempString2_G"}}},"variableName":"tempString_G"},{"type":"updateRealtimeCSSForPlayer","value":{"function":"getVariable","variableName":"tempString_G"},"player":{"function":"selectedPlayer"}}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"selectedPlayer"}},"none"],"then":[{"type":"moveEntity","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"selectedPlayer"}},"position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}}},"y":{"function":"calculate","items":[{"operator":"/"},{"function":"getMapHeight"},2]}}}],"else":[]}],"else":[],"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"player":{"function":"selectedPlayer"}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"59q3qTohRQ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"wRv3SAzCJq","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"nXUbxI7ThB","player":{"function":"selectedPlayer"}}],"else":[]},{"type":"stopSoundForPlayer","sound":"SONMfudHIC","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"l2zn8WE2K1","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"0hqtTje25Q","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"CvFgsVpXJD","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"59q3qTohRQ","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"JrLCIyysEx","player":{"function":"selectedPlayer"}}],"else":[]},{"type":"stopSoundForPlayer","sound":"2aJSjcTNZJ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"Fd3tDe0eo5","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"6r6Jud9SWV","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"zeJnGLiVUw","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"5hDMmNPP8K","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"xufxf1Iro7","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"WopL8WoQSc","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"RDoxiJMCpV","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"6VVUN0fKtf","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"R0p1uDRZh8","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"YKcOCFXKSb","player":{"function":"selectedPlayer"}}],"else":[]},{"type":"stopSoundForPlayer","sound":"XfaH02oV8h","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"mpJZVyyXFG","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"Uvcxf44Uw8","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"tircXPGGVy","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"VbRwzsf8w8","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"cAAGanlFtQ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"ZhG6QGAJrP","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"8UonecIOUO","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"ZuRH5c4JbK","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"lRJgVGdduh","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"YdanJND6I9","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"9WEsNWARei","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"p6zyOnZOVN","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"EIDXNBTdwH","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"NHG38hgo8D","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getVariable","variableName":"powerOutage?"},true],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}}],"else":[]}],"else":[{"type":"stopSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}}]},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"stopSoundForPlayer","sound":"7AdLG5kk70","player":{"function":"selectedPlayer"}}],"else":[]}],"else":[]}],"else":[],"isExpanded":{"self":false}}],"isExpanded":{"actions":true}},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getVariable","variableName":"lastUsage#"},{"function":"getVariable","variableName":"usage#"}],"then":[{"type":"setVariable","value":{"function":"getVariable","variableName":"usage#"},"variableName":"lastUsage#"}],"else":[]},{"type":"setVariable","value":{"function":"getVariable","variableName":"cameraUsage#"},"variableName":"lastCameraUsage#"},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"powerOutage?"},false],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"power#"},0],"then":[{"type":"runScript","scriptName":"FC6WOdELFt","isEntityScript":false}],"else":[]}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bCreated","dataType":"boolean","entity":"Fsh02UQWLb","key":"bCreated"}},"entity":{"function":"selectedUnit"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bCreated","dataType":"boolean","entity":"Fsh02UQWLb","key":"bCreated"}},"value":true},{"type":"setUnitNameLabel","unit":{"function":"selectedUnit"},"name":""}],"else":[]}]},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"moveEntity","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"position":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}},"disabled":true},{"type":"setEntityVelocityAtAngle","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"speed":200,"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"positionB":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}}},"disabled":true},{"type":"setVariable","value":{"function":"getMouseCursorPosition","player":{"function":"selectedPlayer"}},"variableName":"tempPos_G","comment":"","disabled":true},{"type":"moveEntity","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"position":{"function":"getVariable","variableName":"tempPos_G"},"actionId":"2cfc9eed","disabled":true},{"type":"sendChatMessage","message":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},"disabled":true},{"type":"sendChatMessage","message":{"function":"numberToString","value":{"function":"getVariable","variableName":"tempScaleFactor"}},"disabled":true},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"function":"calculate","items":[{"operator":"/"},79,100]}],[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"function":"calculate","items":[{"operator":"/"},81,100]}]],"then":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"function":"calculate","items":[{"operator":"/"},79,100]}],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"selectedPlayer"}},10]},"runMode":0}],"else":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"selectedPlayer"}},10]},"runMode":0}],"runMode":0}],"else":[],"runMode":0,"disabled":true},{"type":"sendChatMessage","message":{"function":"numberToString","value":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"selectedPlayer"}}},"disabled":true},{"type":"repeat","count":1000000,"actions":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":1000},"variableName":"tempScaleFactor"}],"disabled":true}],"runMode":0,"disabled":true},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"value":0.5,"disabled":true},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"value":0.5,"disabled":true}],"name":"every frame","parent":"uA8pOj361W","key":"wBivTLHUlJ","order":0},"fKMxLPmbwe":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"]],"then":[{"type":"continue"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},5],"then":[{"type":"setPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"selectedPlayer"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"bo4HZMNw3i","entity":{"function":"selectedPlayer"}},1]}}],"else":[],"disabled":false}]},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"nightEndScreen","disabled":false},{"type":"playSoundForPlayer","sound":"OntPebEPu7","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},true,false],"then":[],"else":[{"type":"stopSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}},{"type":"assignPlayerType","entity":{"function":"selectedPlayer"},"playerType":"jF6joMbrn0"},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":false},{"type":"setEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"value":1},{"type":"stopMusicForPlayer","player":{"function":"selectedPlayer"}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@officeElementID's"}},1]},"actions":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@officeElementID's"}},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"selectedPlayer"}}}}]}],"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setVariable","value":"#nightEndScreen {         background-image: url(PLACEHOLDER);         background-size: cover;         background-position: center;         background-repeat: no-repeat;         position: fixed;         top: 0;         left: 0;         width: 100%;         height: 100%;         z-index: 1;     }","variableName":"tempString_G","comment":""},{"type":"setVariable","value":"[\"https://i.ibb.co/9ZtD4mj/fnaf-6am-1-1-png.png\",\"https://i.ibb.co/vm6R4q9/fnaf-6am-1.gif\",\"https://i.ibb.co/ScZyz3f/fnaf-6am-1-45-png.png\"]","variableName":"tempString2_G","comment":""},{"type":"setVariable","value":{"function":"replaceValuesInString","matchString":"PLACEHOLDER","sourceString":{"function":"getVariable","variableName":"tempString_G"},"newString":{"function":"getStringArrayElement","number":0,"string":{"function":"getVariable","variableName":"tempString2_G"}}},"variableName":"tempString_G"},{"type":"updateRealtimeCSSForPlayer","value":{"function":"getVariable","variableName":"tempString_G"},"player":{"function":"selectedPlayer"}}],"else":[],"comment":"replace image","isExpanded":{"self":false}},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"value":{"function":"insertStringArrayElement","value":"nightEndScreen","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"selectedPlayer"}}}},{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade {     from {         opacity: 0;     }     to {         opacity: 1;     } } #nightEndScreen {     animation: fade 1s ease-in-out; } ","player":{"function":"selectedPlayer"}}]},{"type":"setTimeOut","duration":950,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"hideOnDeath"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}},{"type":"break"}],"else":[]}],"disabled":false}]}]}],"isExpanded":{"self":true}},{"type":"setTimeOut","duration":1000,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"nightEndScreen"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setVariable","value":"#nightEndScreen {         background-image: url(PLACEHOLDER);         background-size: cover;         background-position: center;         background-repeat: no-repeat;         position: fixed;         top: 0;         left: 0;         width: 100%;         height: 100%;         z-index: 1;     }","variableName":"tempString_G","comment":""},{"type":"setVariable","value":"[\"https://i.ibb.co/9ZtD4mj/fnaf-6am-1-1-png.png\",\"https://i.ibb.co/vm6R4q9/fnaf-6am-1.gif\",\"https://i.ibb.co/ScZyz3f/fnaf-6am-1-45-png.png\"]","variableName":"tempString2_G","comment":""},{"type":"setVariable","value":{"function":"replaceValuesInString","matchString":"PLACEHOLDER","sourceString":{"function":"getVariable","variableName":"tempString_G"},"newString":{"function":"getStringArrayElement","number":1,"string":{"function":"getVariable","variableName":"tempString2_G"}}},"variableName":"tempString_G"},{"type":"updateRealtimeCSSForPlayer","value":{"function":"getVariable","variableName":"tempString_G"},"player":{"function":"selectedPlayer"}}],"else":[],"comment":"replace image","isExpanded":{"self":true}}],"else":[]}]},{"type":"setTimeOut","duration":5800,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"nightEndScreen"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setVariable","value":"#nightEndScreen {         background-image: url(PLACEHOLDER);         background-size: cover;         background-position: center;         background-repeat: no-repeat;         position: fixed;         top: 0;         left: 0;         width: 100%;         height: 100%;         z-index: 1;     }","variableName":"tempString_G","comment":""},{"type":"setVariable","value":"[\"https://i.ibb.co/9ZtD4mj/fnaf-6am-1-1-png.png\",\"https://i.ibb.co/vm6R4q9/fnaf-6am-1.gif\",\"https://i.ibb.co/ScZyz3f/fnaf-6am-1-45-png.png\"]","variableName":"tempString2_G","comment":""},{"type":"setVariable","value":{"function":"replaceValuesInString","matchString":"PLACEHOLDER","sourceString":{"function":"getVariable","variableName":"tempString_G"},"newString":{"function":"getStringArrayElement","number":2,"string":{"function":"getVariable","variableName":"tempString2_G"}}},"variableName":"tempString_G"},{"type":"updateRealtimeCSSForPlayer","value":{"function":"getVariable","variableName":"tempString_G"},"player":{"function":"selectedPlayer"}}],"else":[],"comment":"replace image","isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":true}}]},{"type":"setTimeOut","duration":500,"actions":[{"type":"runScript","scriptName":"3qb7zCLfL2","isEntityScript":false}]},{"type":"setTimeOut","duration":3400,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"nightEndScreen"],"then":[{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade2 {     from {         opacity: 1;     }     to {         opacity: 0;     } } #nightEndScreen {     animation: fade2 1s ease-in-out; } ","player":{"function":"selectedPlayer"}}],"else":[]}]},{"type":"setTimeOut","duration":950,"actions":[{"type":"setVariable","value":100,"variableName":"tempNum_G"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"nightEndScreen"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":"nightEndScreen","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"selectedPlayer"}}},"comment":""},{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"nightintro"},{"type":"setEntityVariable","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":true}],"else":[]}]}]}]}]}]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"night#"},1]},"variableName":"night#","disabled":false},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"night#"},7],"then":[{"type":"setVariable","value":1,"variableName":"night#"}],"else":[],"disabled":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"deleteOnNightCompletion"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}]}],"name":"6am screen","parent":"pAh21T567i","key":"fKMxLPmbwe","order":4}},"unitTypes":{"9SDtGUOM4N":{"backpackSize":0,"equipmentAllowed":5,"ai":{"maxAttackRange":400,"sensorRadius":0,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":"","enabled":false},"defaultItem":[{"name":"Gun","value":"Gun","key":"gun"},{"name":"Crowbar","value":"Crowbar","key":"crowbar"}],"confinedWithinMapBoundaries":false,"controls":{"permittedInventorySlots":[],"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"eByvqQQlwL","isEntityScript":true},"keyUp":{"cost":{},"scriptName":""}},"movementWheel":{},"lookWheel":{},"button1":{"keyUp":{"scriptName":"DOrbWp0AGz","cost":{},"isEntityScript":true},"keyDown":{"scriptName":"YFeMQ20gBX","cost":{},"isEntityScript":true},"mobilePosition":{"x":264,"y":177}},"e":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"w2VrnZHyom","cost":{},"isEntityScript":true}},"g":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yP67J1MMRN","cost":{},"isEntityScript":true}},"space":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"6fFP6sCb7z","cost":{},"isEntityScript":true},"mobilePosition":{"x":52,"y":178}},"c":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"6fFP6sCb7z","cost":{},"isEntityScript":true}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":false},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"inventoryImage":"https://cache.modd.io/asset/spriteImage/1700093658626_costume4_(3).png","animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"jZRsiwEShV":{"name":"use","frames":[2],"framesPerSecond":0,"loopCount":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,"bulletDestroyedOnCollisionWithWall/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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"1GsTremIo9":{"name":"cameraDeathTimer","min":0,"max":100,"dataType":"time","value":0,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"avHZengknl":{"name":"uiTimer","min":0,"max":100,"dataType":"time","value":0,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"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"},"g":{"keyUp":"","keyDown":"drop"},"e":{"keyUp":"","keyDown":"pickUp"},"button1":{"keyUp":"stopUse","keyDown":"use"}},"baseSpeed":53,"price":{},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Cursor","inventorySize":2,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699576495896_invis.png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"dynamic","width":24,"height":30,"z-index":{"layer":3,"depth":8},"fixedRotation":true,"bulletDestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"angularDamping":1,"linearDamping":20,"rotationSpeed":1,"spriteScale":1,"fixtures":[{"density":1,"friction":0,"restitution":0,"shape":{"type":"circle"},"isSensor":true,"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}},"variables":{"bClick":{"default":false,"dataType":"boolean","streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"dynamicRegionSize":{"default":5,"dataType":"number","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"monitorCameraUnit":{"dataType":"unit","streamMode":1},"cameraWidth":{"default":0,"dataType":"number","streamMode":3},"tempUnit_L":{"dataType":"unit","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1},"titleCurrentOption":{"default":"newgame","dataType":"string","streamMode":1},"newspaperUnits":{"default":"[]","dataType":"string","streamMode":1},"activateScriptBool":{"default":false,"dataType":"boolean","streamMode":1}},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"none","runScript":""},"move":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"blood","sound":{},"animation":"","runScript":""}},"defaultItems":[],"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":2},"YFeMQ20gBX":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"startUsingItem","entity":{"function":"getItemCurrentlyHeldByUnit","entity":{"function":"thisEntity"}},"hasFixedCSP":null,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bClick","dataType":"boolean","entity":"9SDtGUOM4N","key":"bClick"}},"value":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"comment":""},{"type":"sendChatMessage","message":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"9SDtGUOM4N","key":"cameraWidth"}},"entity":{"function":"thisEntity"}}},"disabled":true},{"type":"transformRegionDimensions","region":{"function":"getVariable","variableName":"dynamicRegion"},"x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"dynamicRegionSize","dataType":"number","entity":"9SDtGUOM4N","key":"dynamicRegionSize"}},"entity":{"function":"thisEntity"}},2]}]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"dynamicRegionSize","dataType":"number","entity":"9SDtGUOM4N","key":"dynamicRegionSize"}},"entity":{"function":"thisEntity"}},2]}]},"width":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"dynamicRegionSize","dataType":"number","entity":"9SDtGUOM4N","key":"dynamicRegionSize"}},"entity":{"function":"thisEntity"}},"height":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"dynamicRegionSize","dataType":"number","entity":"9SDtGUOM4N","key":"dynamicRegionSize"}},"entity":{"function":"thisEntity"}},"disabled":false},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getPlayerCount"},6],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":10},1],"then":[{"type":"return"}],"else":[]}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"yz2nXDn757"],"then":[{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getLastChatMessageSentByPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"textB":"\",\""}},"textB":{"function":"concat","textA":{"function":"mathFloor","value":{"function":"distanceBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}},"positionB":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"toFixed","value":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}},"positionB":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"precision":4},"textB":"\"]"}}}}}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"g7CyGkWiy9"],"then":[{"type":"moveEntity","entity":{"function":"selectedUnit"},"position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}],"else":[],"disabled":false}]}],"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"camera"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"yz2nXDn757"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"entityBounds","entity":{"function":"selectedUnit"}}},true],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"selectedUnit"}}},1]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"selectedUnit"}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"selectedUnit"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"selectedUnit"}}}}},1.57079633]}},"comment":""},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"dynamicRegion","x":{"function":"getPositionX","position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"y":{"function":"getPositionY","position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"width":63,"height":41}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempUnit_L","dataType":"unit","entity":"9SDtGUOM4N","key":"tempUnit_L"}},"value":{"function":"selectedUnit"}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempUnit_L","dataType":"unit","entity":"9SDtGUOM4N","key":"tempUnit_L"}},"entity":{"function":"thisEntity"}}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}}],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}}}}],"then":[{"type":"return"}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getVariable","variableName":"cameraDowntimeArray"},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[],"comment":"stop garble sounds","isExpanded":{"self":false}}],"else":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":4},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[{"type":"playSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}]}]}],"isExpanded":{"self":false},"comment":"garble sound"}],"disabled":false,"comment":"if animatronic recently moved into this room"},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"value":{"function":"selectedUnit"}}],"else":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}]}],"else":[]}]},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}}}},"fDxe83JrKf"],"then":[{"type":"runScript","scriptName":"KethS4szj8","isEntityScript":true,"disabled":true}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}}}},"u5IYMPTUUX"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"5rebr6sNk0"},"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},4],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true},{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"selectedUnit"},"value":0},{"type":"break"}],"else":[]}],"disabled":true},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"5rebr6sNk0"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},4],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true},{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"selectedUnit"},"value":0},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"u5IYMPTUUX"],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}]},{"type":"break"}],"else":[]}],"else":[]}]}],"else":[]}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"p8vSwEwW4D","key":"tempBool_L"}},"value":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"vRVyeyw8sX"],"then":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"thisEntity"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"p8vSwEwW4D","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[]}],"else":[]}],"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"p8vSwEwW4D","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"28682571","runMode":0},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getLastCreatedUnit"},"value":{"function":"getRandomNumberBetween","min":6,"max":7},"disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"runMode":0},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"selectedPlayer"},{"function":"getOwner","entity":{"function":"thisEntity"}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}]}],"else":[]},{"type":"return"}],"else":[]}]}],"else":[]}],"else":[]}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"getVariable","variableName":"posterBoop"}},true],"then":[{"type":"playSoundAtPosition","sound":"YKcOCFXKSb","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"powerOutage?"},true],"then":[{"type":"return"}],"else":[],"comment":"only allow boop"},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"getVariable","variableName":"leftDoor"}},true],[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"getVariable","variableName":"rightDoor"}},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"getVariable","variableName":"leftDoor"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"getVariable","variableName":"leftButtonUnit"}},true],"then":[{"type":"playSoundAtPosition","sound":"RDoxiJMCpV","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"return"}],"else":[]},{"type":"setVariable","value":{"function":"getVariable","variableName":"leftDoorUnit"},"variableName":"tempUnit_G"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"getVariable","variableName":"rightDoor"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"getVariable","variableName":"rightButtonUnit"}},true],"then":[{"type":"playSoundAtPosition","sound":"RDoxiJMCpV","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"return"}],"else":[]},{"type":"setVariable","value":{"function":"getVariable","variableName":"rightDoorUnit"},"variableName":"tempUnit_G"}],"else":[{"type":"return"}]}]},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"tempUnit_G"}},0],"then":[{"type":"return"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"getVariable","variableName":"tempUnit_G"}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"tempUnit_G"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"tempUnit_G"},"variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"value":true},{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"getVariable","variableName":"tempUnit_G"}},"default"],"then":[{"type":"playEntityAnimation","entity":{"function":"getVariable","variableName":"tempUnit_G"},"animation":"BLbHj1VUEr"}],"else":[{"type":"playEntityAnimation","entity":{"function":"getVariable","variableName":"tempUnit_G"},"animation":"05aU8XziTF"}]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#","disabled":true}],"else":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"tempUnit_G"},"variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"value":false},{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"getVariable","variableName":"tempUnit_G"}},"default"],"then":[{"type":"playEntityAnimation","entity":{"function":"getVariable","variableName":"tempUnit_G"},"animation":"KNAhe5dW26"}],"else":[{"type":"playEntityAnimation","entity":{"function":"getVariable","variableName":"tempUnit_G"},"animation":"5tLZHtsI52"}]},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#","disabled":true}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"tempUnit_G"},"value":1},{"type":"playSoundAtPosition","sound":"6VVUN0fKtf","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[{"type":"playSoundAtPosition","sound":"RDoxiJMCpV","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}]}],"else":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"getVariable","variableName":"leftLight"}},true],[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"getVariable","variableName":"rightLight"}},true]],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"getVariable","variableName":"leftLight"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"getVariable","variableName":"leftButtonUnit"}},true],"then":[{"type":"playSoundAtPosition","sound":"RDoxiJMCpV","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"return"}],"else":[],"disabled":false},{"type":"setVariable","value":{"function":"getVariable","variableName":"leftLightsUnit"},"variableName":"tempUnit_G"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"regionOverlapsWithRegion","regionA":{"function":"getVariable","variableName":"dynamicRegion"},"regionB":{"function":"getVariable","variableName":"rightLight"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"getVariable","variableName":"rightButtonUnit"}},true],"then":[{"type":"playSoundAtPosition","sound":"RDoxiJMCpV","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"return"}],"else":[]},{"type":"setVariable","value":{"function":"getVariable","variableName":"rightLightsUnit"},"variableName":"tempUnit_G"}],"else":[{"type":"return"}]}]},{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"tempUnit_G"}},0],"then":[{"type":"return"}],"else":[],"disabled":false},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"getVariable","variableName":"tempUnit_G"}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"tempUnit_G"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"tempUnit_G"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#","disabled":true},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"tempUnit_G"}},"p8vSwEwW4D"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"door"],"then":[{"type":"playSoundAtPosition","sound":"XfaH02oV8h","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"break","disabled":false}],"else":[]}],"else":[]}]}],"else":[],"isExpanded":{"self":false},"comment":"bonnie scare"},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"tempUnit_G"}},"oTJJuamiGc"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"door"],"then":[{"type":"playSoundAtPosition","sound":"XfaH02oV8h","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"break","disabled":false}],"else":[]}],"else":[]}]}],"else":[],"comment":"chica scare","isExpanded":{"self":false}}],"else":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"tempUnit_G"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":false},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"usage#"},1]},"variableName":"usage#","disabled":true}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"tempUnit_G"},"value":{"function":"entityAttributeMax","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"tempUnit_G"}},"disabled":false},{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"getVariable","variableName":"tempUnit_G"},"value":8},{"type":"playSoundAtPosition","sound":"R0p1uDRZh8","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[{"type":"playSoundAtPosition","sound":"RDoxiJMCpV","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}]}],"else":[]}],"isExpanded":{"self":true,"then":true}}]}],"else":[],"isExpanded":{"then":false}}],"isExpanded":{"then":false}}],"name":"left click","parent":"YnK58YN6ZD","key":"YFeMQ20gBX","order":0},"YnK58YN6ZD":{"key":"YnK58YN6ZD","folderName":"abilities","parent":null,"order":0,"expanded":true},"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":3},"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":4},"7Pr8Zy5viy":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},1350]},"runMode":2,"disabled":true},{"type":"createFloatingText","text":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"color":"white","runMode":1,"runOnClient":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},3000]},"runMode":2},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},100]},"runMode":2},{"type":"setVariable","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"variableName":"tempScaleFactor","runMode":2},{"type":"increaseVariableByNumber","variable":"tempScaleFactor","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"runMode":2},{"type":"sendChatMessage","message":{"function":"numberToString","value":{"function":"getVariable","variableName":"tempScaleFactor"}},"runMode":2,"disabled":true},{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},0.79],[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},0.81]],"then":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},0.79],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},10]},"runMode":1,"runOnClient":true},{"type":"sendChatMessage","message":"a","runMode":1,"runOnClient":true}],"else":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},10]},"runMode":2},{"type":"sendChatMessage","message":"b","runMode":2}],"runMode":2,"runOnClient":true}],"else":[{"type":"sendChatMessage","message":"c","runMode":2}],"runMode":2,"disabled":false,"runOnClient":true},{"type":"createFloatingText","text":{"function":"numberToString","value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"color":"red","runMode":2,"disabled":true},{"type":"createFloatingText","text":{"function":"numberToString","value":{"function":"getVariable","variableName":"tempScaleFactor"}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"color":"red","runMode":1,"disabled":false,"runOnClient":true}],"name":"update zoom","parent":"o0Q0LdemRx","key":"7Pr8Zy5viy","order":5},"tJyTrnEiCN":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"cursorSkinItem","dataType":"item","entity":"humanPlayer","key":"cursorSkinItem"}},"value":{"function":"getItemAtSlot","slot":1,"unit":{"function":"thisEntity"}}},{"type":"hideUnitFromPlayer","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cursorSkinItem","dataType":"item","entity":"humanPlayer","key":"cursorSkinItem"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":false},{"type":"sendChatMessage","message":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"dead"],"then":[{"type":"setTimeOut","duration":2000,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"hideOnDeath"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}],"disabled":false}]}]},{"type":"setTimeOut","duration":5000,"actions":[{"type":"stopSoundForPlayer","sound":"gn5v0VTdq1","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"value":{"function":"insertStringArrayElement","value":"deathScreen","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade {     from {         opacity: 0;     }     to {         opacity: 1;     } } #deathScreen {     animation: fade 0.9s ease-in-out; } ","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setTimeOut","duration":1500,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"uFuwVqucGy"],"then":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"thisEntity"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}],"else":[]}]}]},{"type":"setTimeOut","duration":8000,"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"title"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"title"},{"type":"playMusicForPlayerRepeatedly","music":"i4EeGpr08A","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"playSoundForPlayer","sound":"gn5v0VTdq1","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"titleUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}]}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@hideTitleID's"}},1]},"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@hideTitleID's"}},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}]},{"type":"setTimeOut","duration":100,"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":"deathScreen","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}]}]}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"newspaper0"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"newspaper"},{"type":"setTimeOut","duration":2500,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"titleUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}]}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@hideTitleID's"}},1]},"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@hideTitleID's"}},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"newspaperwait"}],"isExpanded":{"self":true},"comment":"hide title units"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"newspaperwait"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"newspaper"},{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade2 {     from {         opacity: 1;     }     to {         opacity: 0;     } } #newspaper {     animation: fade2 2.5s ease-in-out; }","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setTimeOut","duration":2450,"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"nightintro"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":"newspaper","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},{"type":"setTimeOut","duration":150,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":true}]},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"newspaper"],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[]}],"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},false],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}}],"else":[]}]}],"else":[],"disabled":true},{"type":"setTimeOut","duration":150,"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"comment":""},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"selectedPlayer"},{"function":"getOwner","entity":{"function":"thisEntity"}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"showUnitToPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}],"disabled":false}],"disabled":false},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopMusicForPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"gn5v0VTdq1","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"3WMJyNtP10","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"thisEntity"}],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}],"else":[]}]}]},{"type":"setTimeOut","duration":3000,"actions":[{"type":"assignPlayerType","entity":{"function":"getOwner","entity":{"function":"thisEntity"}},"playerType":"humanPlayer"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience1"},{"type":"playMusicForPlayerRepeatedly","music":"uybvlv52io","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":true},{"type":"playSoundForPlayer","sound":"5hDMmNPP8K","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"moveEntity","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"runScript","scriptName":"1UYfLSzyrF","isEntityScript":false}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"showOfficeUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}]}]}]}]}],"disabled":true}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"skipnewspaper"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"newspaper"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"titleUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}]}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@hideTitleID's"}},1]},"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@hideTitleID's"}},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"nightintro"},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"comment":""},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"selectedPlayer"},{"function":"getOwner","entity":{"function":"thisEntity"}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"showUnitToPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}],"disabled":false}],"disabled":true}],"else":[],"isExpanded":{"then":false,"self":true}}],"isExpanded":{"then":false,"self":true}}],"isExpanded":{"then":false,"self":true}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"nightintro"],"then":[{"type":"setTimeOut","duration":150,"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"comment":""},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"selectedPlayer"},{"function":"getOwner","entity":{"function":"thisEntity"}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"showUnitToPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}],"disabled":false}],"disabled":false},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopMusicForPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"gn5v0VTdq1","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"3WMJyNtP10","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"thisEntity"}],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}],"else":[]}]}]},{"type":"setTimeOut","duration":3000,"actions":[{"type":"assignPlayerType","entity":{"function":"getOwner","entity":{"function":"thisEntity"}},"playerType":"humanPlayer"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience1"},{"type":"playMusicForPlayerRepeatedly","music":"uybvlv52io","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":true},{"type":"playSoundForPlayer","sound":"5hDMmNPP8K","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"moveEntity","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"runScript","scriptName":"1UYfLSzyrF","isEntityScript":false}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"showOfficeUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}]}]}]}]}],"disabled":true},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"comment":""},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"selectedPlayer"},{"function":"getOwner","entity":{"function":"thisEntity"}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"showUnitToPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}],"disabled":false}],"disabled":false},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopMusicForPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"gn5v0VTdq1","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"3WMJyNtP10","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"OntPebEPu7","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"thisEntity"}],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}],"else":[]}]}]},{"type":"setTimeOut","duration":3000,"actions":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@officeElementID's"}},1]},"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@officeElementID's"}},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"showElementsID","dataType":"string","entity":"humanPlayer","key":"showElementsID"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}]},{"type":"assignPlayerType","entity":{"function":"getOwner","entity":{"function":"thisEntity"}},"playerType":"humanPlayer"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"none"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience1"},{"type":"playMusicForPlayerRepeatedly","music":"uybvlv52io","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":true},{"type":"playSoundForPlayer","sound":"5hDMmNPP8K","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"gameTimer"},178],"then":[{"type":"setTimeOut","duration":2000,"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},1],"then":[{"type":"playSoundForPlayer","sound":"8UonecIOUO","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},2],"then":[{"type":"playSoundForPlayer","sound":"ZuRH5c4JbK","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},3],"then":[{"type":"playSoundForPlayer","sound":"lRJgVGdduh","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},4],"then":[{"type":"playSoundForPlayer","sound":"YdanJND6I9","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"night#"},5],"then":[{"type":"playSoundForPlayer","sound":"9WEsNWARei","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[]}]}]}]}]}]}],"else":[]},{"type":"moveEntity","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"runScript","scriptName":"1UYfLSzyrF","isEntityScript":false}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringEndsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"Lights Sprite"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"selectedUnit"}},false],"then":[{"type":"continue"}],"else":[]}],"else":[]},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"showOfficeUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}]}]}]}]}],"else":[],"isExpanded":{"self":true,"then":true}}],"isExpanded":{"then":true,"self":true}}],"else":[],"isExpanded":{"self":true}}],"name":"every frame","parent":null,"key":"tJyTrnEiCN","order":1},"42ti1YP1W6":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},10]},"runMode":0}],"name":"higher","parent":"o0Q0LdemRx","key":"42ti1YP1W6","order":3},"ztA4Kiw4FY":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"zoom","dataType":"number","entity":"humanPlayer","key":"zoom"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},10]},"runMode":0}],"name":"lower","parent":"o0Q0LdemRx","key":"ztA4Kiw4FY","order":4},"i1keEjdKif":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setVariable","value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},{"function":"calculate","items":[{"operator":"/"},{"function":"entityWidth","entity":{"function":"getItemAtSlot","slot":1,"unit":{"function":"getPlayerSelectedUnit","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},4]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},25]},{"function":"calculate","items":[{"operator":"/"},{"function":"entityHeight","entity":{"function":"getItemAtSlot","slot":1,"unit":{"function":"getPlayerSelectedUnit","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}},4]}]}},"variableName":"tempPos_G","comment":"","disabled":true,"runMode":2},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getVariable","variableName":"tempPos_G"},"runMode":2,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"runMode":2}],"name":"every render frame","parent":"o0Q0LdemRx","key":"i1keEjdKif","order":2},"6fFP6sCb7z":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"powerOutage?"},true],"then":[{"type":"return"}],"else":[],"comment":"failsafe"},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"title"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"titleCurrentOption","dataType":"string","entity":"9SDtGUOM4N","key":"titleCurrentOption"}},"entity":{"function":"thisEntity"}},"newgame"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"newspaper"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":"[]"},{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getNumberOfUnitsOfUnitType","unitType":"wf96hnTFI6"},0],"then":[{"type":"repeat","count":20,"actions":[{"type":"createUnitAtPosition","unitType":"wf96hnTFI6","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-99999,"y":-99999},"angle":0,"actionId":"d82e44f2"}]},{"type":"for","variableName":"i","start":1,"stop":20,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},100]},"actions":[{"type":"createUnitAtPosition","unitType":"wf96hnTFI6","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-99999,"y":-99999},"angle":0,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},70]},1000]},"disabled":true}]}],"disabled":true}],"else":[]},{"type":"setTimeOut","duration":100,"actions":[{"type":"for","variableName":"i","start":0,"stop":19,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},100]},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[],"comment":""}],"else":[]}]}]}],"isExpanded":{"self":false}},{"type":"setTimeOut","duration":1500,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"titleUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}]}]}],"isExpanded":{"self":false},"comment":"hide title units"},{"type":"setTimeOut","duration":1600,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":"[]"},{"type":"for","variableName":"i","start":0,"stop":19,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},70]},"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"newspaperUnits","dataType":"string","entity":"9SDtGUOM4N","key":"newspaperUnits"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[],"comment":""}],"else":[]}]}]}],"isExpanded":{"self":false}},{"type":"setTimeOut","duration":1450,"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"nightintro"},{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"newspaper"],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"},{"type":"break"}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},false],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wf96hnTFI6"],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}}],"else":[]}]}],"else":[]},{"type":"setTimeOut","duration":150,"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"selectedPlayer"},{"function":"getOwner","entity":{"function":"thisEntity"}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"showUnitToPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}],"disabled":false}],"disabled":false},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"playMusicForPlayer","music":"oWiNPp6Ch4","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"thisEntity"}],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"nightIntroUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}],"else":[]}]}]},{"type":"setTimeOut","duration":3000,"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"currentMusic","dataType":"string","entity":"humanPlayer","key":"currentMusic"}},"value":"ambience1"},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"soundOn","dataType":"boolean","entity":"humanPlayer","key":"soundOn"}},"value":true},{"type":"moveEntity","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"runScript","scriptName":"1UYfLSzyrF","isEntityScript":false}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"showOfficeUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"break"}],"else":[]}]}]}]}]}]}]}],"isExpanded":{"self":true}}],"disabled":false,"isExpanded":{"self":true,"actions":true}}],"else":[],"disabled":true}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}}},0],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"none"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"office"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"camera"},{"type":"playSoundForPlayer","sound":"SB8lSz31rt","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setTimeOut","duration":500,"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}}}},"u5IYMPTUUX"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"5rebr6sNk0"},"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}},4],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true},{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"selectedUnit"},"value":0},{"type":"break"}],"else":[]}]}],"else":[]}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}},"value":{"function":"entityAttributeMax","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}}}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"DSGuZU81MC"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"setEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":28,"max":32}},{"type":"return"}],"else":[]}]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"6p5A3QsGMM"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"setEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":28,"max":32}},{"type":"return"}],"else":[]}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"camera"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"stopSoundForPlayer","sound":"SB8lSz31rt","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"hdpIrqkTZP","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[],"comment":"stop garble sounds"},{"type":"playSoundForPlayer","sound":"NLCh7b42sf","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}},"value":{"function":"entityAttributeMax","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"thisEntity"},"value":0},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"DSGuZU81MC"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"Bonnie"},{"type":"createUnitAtPosition","unitType":"yTlvW4m7Kp","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"108e7472"},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"value":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"playSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"return"}],"else":[]}],"disabled":true},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"6p5A3QsGMM"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"Chica"},{"type":"createUnitAtPosition","unitType":"dHJToMtOPv","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"108e7472"},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"value":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"playSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"return"}],"else":[]}],"disabled":true}],"else":[]}],"isExpanded":{"then":true}}],"else":[],"isExpanded":{"then":true}}],"else":[]}],"isExpanded":{"then":true}}],"name":"Space - camera (temp)","parent":"YnK58YN6ZD","key":"6fFP6sCb7z","order":1},"UUx31vcy3N":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},3000]},"runMode":0,"disabled":true},{"type":"createFloatingText","text":{"function":"numberToString","value":{"function":"getCameraHeight"}},"position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"color":"white","runMode":1,"runOnClient":true},{"type":"createFloatingText","text":{"function":"numberToString","value":{"function":"getCameraWidth"}},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"color":"red","runMode":1,"runOnClient":true}],"name":"every frame","parent":"o0Q0LdemRx","key":"UUx31vcy3N","order":1},"KethS4szj8":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"createUnitAtPosition","unitType":"RZtcUUAEXp","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-999,"y":-999},"angle":0,"runMode":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"}},{"type":"setEntityLifeSpan","entity":{"function":"getLastCreatedUnit"},"lifeSpan":20000,"runMode":0}],"name":"New Script","parent":"o0Q0LdemRx","key":"KethS4szj8","order":0},"RdgaODgGwp":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":200,"actions":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"@hideElementID'sOnJoin"}},1]},"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"@hideElementID'sOnJoin"}},"string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}]}]},{"type":"setTimeOut","duration":1650,"actions":[{"type":"playSoundForPlayer","sound":"gn5v0VTdq1","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"playMusicForPlayerRepeatedly","music":"i4EeGpr08A","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}]},{"type":"setTimeOut","duration":3500,"actions":[{"type":"appendRealtimeCSSForPlayer","value":"@keyframes fade2 {     from {         opacity: 1;     }     to {         opacity: 0;     } } #warningScreen {     animation: fade2 0.35s ease-in-out; }","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"appendRealtimeCSSForPlayer","value":"#warningScreen { opacity: 0; }","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setTimeOut","duration":370,"actions":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"value":{"function":"insertStringArrayElement","value":"warningScreen","string":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"deleteFromShowIDArray","dataType":"string","entity":"humanPlayer","key":"deleteFromShowIDArray"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}}}}]}]}],"name":"created","parent":null,"key":"RdgaODgGwp","order":3},"o0Q0LdemRx":{"key":"o0Q0LdemRx","folderName":"testing/archived","parent":null,"order":4,"expanded":false},"NPM0v0kA9D":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"1GsTremIo9"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"powerOutage?"},true],"then":[{"type":"return"}],"else":[],"comment":"failsafe"},{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"humanPlayer"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"DSGuZU81MC"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"camera"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"stopSoundForPlayer","sound":"SB8lSz31rt","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"hdpIrqkTZP","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[],"comment":"stop garble sounds"},{"type":"stopSoundForPlayer","sound":"p6zyOnZOVN","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"EIDXNBTdwH","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"NHG38hgo8D","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"playSoundForPlayer","sound":"NLCh7b42sf","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}},"value":{"function":"entityAttributeMax","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"Bonnie"},{"type":"createUnitAtPosition","unitType":"yTlvW4m7Kp","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"108e7472"},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"value":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"playSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"return"}],"else":[]}]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"6p5A3QsGMM"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"camera"],"then":[{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"stopSoundForPlayer","sound":"SB8lSz31rt","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"hdpIrqkTZP","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}],"else":[],"comment":"stop garble sounds"},{"type":"stopSoundForPlayer","sound":"p6zyOnZOVN","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"EIDXNBTdwH","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"stopSoundForPlayer","sound":"NHG38hgo8D","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"playSoundForPlayer","sound":"NLCh7b42sf","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}},"value":{"function":"entityAttributeMax","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[]},{"type":"setPlayerVariable","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"Chica"},{"type":"createUnitAtPosition","unitType":"dHJToMtOPv","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"108e7472"},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"value":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"playSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},{"type":"return"}],"else":[]}]}],"else":[]}],"else":[],"isExpanded":{"then":true,"self":false}},{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"avHZengknl"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"newspaperwait"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"activateScriptBool","dataType":"boolean","entity":"9SDtGUOM4N","key":"activateScriptBool"}},"value":true}],"else":[]}],"else":[]}],"name":"unit attr == 0","parent":null,"key":"NPM0v0kA9D","order":5},"mWKzdyWMLs":{"triggers":[{"type":"unitSelectsInventorySlot"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"selectedInventorySlot","unit":{"function":"thisEntity"}},2],"then":[{"type":"runScript","scriptName":"6fFP6sCb7z","isEntityScript":true},{"type":"setTimeOut","duration":200,"actions":[{"type":"makeUnitSelectItemAtSlot","unit":{"function":"thisEntity"},"slotIndex":1}]}],"else":[]}],"name":"New Script","parent":null,"key":"mWKzdyWMLs","order":2},"TpMlg1t40V":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},32]}},"runMode":1,"runOnClient":true,"disabled":false},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}},"runMode":2,"disabled":true}],"name":"CSP","parent":null,"key":"TpMlg1t40V","order":6},"zTNkjmvce2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},32]}},"runMode":2,"disabled":false,"actionId":"21133496"}],"name":"New Script","parent":null,"key":"zTNkjmvce2","order":7}},"isUnTargetable":false,"streamMode":1,"unitTypes":{"9SDtGUOM4N":{"scripts":{"M97bb1MpKy":{"name":"left click"},"7Pr8Zy5viy":{"name":"update zoom"},"6fFP6sCb7z":{"name":"C - camera (temp)"},"YFeMQ20gBX":{"name":"left click"},"NPM0v0kA9D":{"name":"unit attr == 0"}}}}},"Fsh02UQWLb":{"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":0,"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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":1,"depth":1},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699630367166_image-2.png_(4)-1.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Normal Office","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"NrJF1ZKXks":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"or","operator":"OR"},[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"]],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],"then":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"leftButtonUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":true}],"else":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"rightButtonUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":true}]}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],"then":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"leftButtonUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false}],"else":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"rightButtonUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false}]}]}],"else":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"qSVQOVRmiE"],"then":[],"else":[]}],"isExpanded":{"then":true}}]}],"name":"every frame","parent":null,"key":"NrJF1ZKXks","order":-1}}},"XzZvYkBgkX":{"backpackSize":0,"equipmentAllowed":5,"ai":{"maxAttackRange":400,"sensorRadius":150,"maxTravelDistance":"","attackResponse":"none","sensorResponse":"none","idleBehaviour":"stay","pathFindingMethod":"simple","letGoDistance":"","enabled":false},"defaultItem":[{"name":"Gun","value":"Gun","key":"gun"},{"name":"Crowbar","value":"Crowbar","key":"crowbar"}],"confinedWithinMapBoundaries":false,"controls":{"permittedInventorySlots":[],"abilities":{"b":{"keyDown":{"cost":{},"scriptName":"eByvqQQlwL","isEntityScript":true},"keyUp":{"cost":{},"scriptName":""}},"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"button1":{"keyUp":{"scriptName":"DOrbWp0AGz","cost":{},"isEntityScript":true},"keyDown":{"scriptName":"YFeMQ20gBX","cost":{},"isEntityScript":true}},"e":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"w2VrnZHyom","cost":{},"isEntityScript":true}},"g":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yP67J1MMRN","cost":{},"isEntityScript":true}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","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,"bulletDestroyedOnCollisionWithWall/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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"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"},"g":{"keyUp":"","keyDown":"drop"},"e":{"keyUp":"","keyDown":"pickUp"},"button1":{"keyUp":"stopUse","keyDown":"use"}},"baseSpeed":53,"price":{},"skin":"https://s3-us-west-1.amazonaws.com/modd/halloween-0.18/spritesheet/man.png","canBuyItem":true,"handle":"human","name":"Player Camera","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699574695893_invis.png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":64,"height":64,"z-index":{"layer":3,"depth":3},"fixedRotation":true,"bulletDestroyedOnCollisionWithWall/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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"variables":{},"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"recoil"},"move":{"projectileType":"","sound":{},"animation":""},"create":{"projectileType":"","sound":{},"animation":""},"destroy":{"projectileType":"blood","sound":{},"animation":""}},"defaultItems":[],"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","vars":[]},"vars":[]},"hasFixedCSP":null,"runOnClient":true,"vars":[]}],"name":"start using item","parent":"YnK58YN6ZD","key":"YFeMQ20gBX","order":0},"YnK58YN6ZD":{"key":"YnK58YN6ZD","folderName":"abilities","parent":null,"order":1},"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},"4H4oJjCl37":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[],"else":[]}],"name":"created","parent":null,"key":"4H4oJjCl37","order":1}},"isUnTargetable":false,"streamMode":1},"12rIEBXYHr":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"N6ObodgyOj":{"name":"leftFT","frames":[2],"framesPerSecond":0,"loopCount":0},"xOT2IBGL82":{"name":"leftTF","frames":[3],"framesPerSecond":0,"loopCount":0},"nlhukna41M":{"name":"leftTT","frames":[4],"framesPerSecond":0,"loopCount":0},"0nFKMolXWJ":{"name":"rightFF","frames":[5],"framesPerSecond":0,"loopCount":0},"yLaD864hY2":{"name":"rightFT","frames":[6],"framesPerSecond":0,"loopCount":0},"S0AsMVM0jz":{"name":"rightTF","frames":[7],"framesPerSecond":0,"loopCount":0},"IoGBemO2g7":{"name":"rightTT","frames":[8],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":108,"height":325,"z-index":{"layer":1,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699578176376_image_(11).png","rowCount":2,"columnCount":4},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Button","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"},"wdLnquTuEv":{"name":"default2","animation":"0nFKMolXWJ","body":"default","particles":{},"sound":{}}},"streamMode":1,"variables":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"bDoor":{"default":false,"dataType":"boolean","streamMode":1},"bLights":{"default":false,"dataType":"boolean","streamMode":1},"bDisabled":{"default":false,"dataType":"boolean","streamMode":1}},"scripts":{"s9VfCqyrTH":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"thisEntity"}},"default"],"then":[{"type":"runScript","scriptName":"EnPIuTsNkz","isEntityScript":true},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":true},{"type":"runScript","scriptName":"EnPIuTsNkz","isEntityScript":true},{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":false},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"value":0.05},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"leftDoorUnit"},"value":0.05},{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":true}]},{"type":"return"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false}]}],"else":[],"isExpanded":{"then":true}}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"leftDoorUnit"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"leftLightsUnit"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"N6ObodgyOj"}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"xOT2IBGL82"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"nlhukna41M"}]}]}],"else":[{"type":"runScript","scriptName":"EnPIuTsNkz","isEntityScript":true},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"value":0.05},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightDoorUnit"},"value":0.05},{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"0nFKMolXWJ"}],"else":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":true},{"type":"return"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false}],"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":true},{"type":"runScript","scriptName":"EnPIuTsNkz","isEntityScript":true},{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":false},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"value":0.05},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightDoorUnit"},"value":0.05},{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"0nFKMolXWJ"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":true}]},{"type":"return"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false}]}],"else":[],"isExpanded":{"then":true}}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"rightDoorUnit"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"rightLightsUnit"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"0nFKMolXWJ"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"yLaD864hY2"}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"S0AsMVM0jz"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"IoGBemO2g7"}]}]}],"isExpanded":{"then":true}}],"name":"every frame","parent":null,"key":"s9VfCqyrTH","order":-1},"EnPIuTsNkz":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"thisEntity"}},"default"],"then":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"leftDoorUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}}}],"else":[{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"rightDoorUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}}}],"isExpanded":{"then":true}}],"name":"update door var","parent":null,"key":"EnPIuTsNkz","order":1}},"frames":{}},"SuROWKCUkm":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"BLbHj1VUEr":{"name":"leftClose","frames":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"framesPerSecond":32,"loopCount":1},"KNAhe5dW26":{"name":"leftOpen","frames":[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1],"framesPerSecond":32,"loopCount":1},"05aU8XziTF":{"name":"rightClose","frames":[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32],"framesPerSecond":32,"loopCount":1},"5tLZHtsI52":{"name":"rightOpen","frames":[31,30,29,28,27,26,25,24,23,22,21,20,19,18,17],"framesPerSecond":32,"loopCount":1},"KaTdN7B9bu":{"name":"leftClosed","frames":[16],"framesPerSecond":0,"loopCount":0},"pS4KiSc3dX":{"name":"rightClosed","frames":[32],"framesPerSecond":0,"loopCount":0},"sJHXsFBmJG":{"name":"default2","frames":[17],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":1,"dataType":"","value":"0.25","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":413,"height":1351,"z-index":{"layer":1,"depth":7},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/Fh37HWj/Door-L-1.png","rowCount":4,"columnCount":8},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Door","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"},"wdLnquTuEv":{"name":"default2","animation":"sJHXsFBmJG","body":"default","particles":{},"sound":{}}},"streamMode":1,"variables":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"bDoor":{"default":false,"dataType":"boolean","streamMode":1},"bDisabled":{"default":false,"dataType":"boolean","streamMode":1}},"scripts":{"ydPJqH9iHS":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"powerOutage?"},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"thisEntity"}},"default"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"KNAhe5dW26"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"5tLZHtsI52"}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"value":false},{"type":"playSoundAtPosition","sound":"6VVUN0fKtf","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[]},{"type":"setTimeOut","duration":468,"actions":[{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":true},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}]}]},{"type":"return"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"thisEntity"}},"default"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"sJHXsFBmJG"}]},{"type":"return"}],"else":[]},{"type":"condition","conditions":[{"operandType":"state","operator":"=="},{"function":"getEntityState","unit":{"function":"getTriggeringUnit"},"entity":{"function":"thisEntity"}},"default"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"KaTdN7B9bu"}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"sJHXsFBmJG"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"pS4KiSc3dX"}]}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"ydPJqH9iHS","order":-1}},"frames":{},"unitTypes":{"SuROWKCUkm":{"scripts":{"ydPJqH9iHS":{"name":"attribute == 0"}}}},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"p8vSwEwW4D":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"j65qUsLp9d":{"name":"lightOnAnimatronic","frames":[2],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"0UvdArvBbP":{"name":"soundTimer","min":0,"max":8,"dataType":"","value":0,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.05","dataType":"","value":"0.05","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":"1177.5","height":1350,"z-index":{"layer":1,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1707438225139_image-2.png_(3)-1.png_(1)-1.png-1.png.png","rowCount":1,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Left Lights Sprite","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"bLights":{"default":false,"dataType":"boolean","streamMode":1},"bDisabled":{"default":false,"dataType":"boolean","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"9Wj9Kyzto0":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"rightLightsUnit"}},false],"then":[{"type":"stopSoundForPlayer","sound":"R0p1uDRZh8","player":{"function":"selectedPlayer"},"runMode":0}],"else":[]}],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":false},{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default","disabled":true},{"type":"return","disabled":true}],"else":[],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}},"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"door"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0}],"runMode":0,"disabled":true}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"j65qUsLp9d"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"rightLightsUnit"}},false],"then":[{"type":"stopSoundForPlayer","sound":"R0p1uDRZh8","player":{"function":"selectedPlayer"},"runMode":0}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"for","variableName":"i","start":0,"stop":5,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},20]},"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"rightLightsUnit"}},false],"then":[{"type":"stopSoundForPlayer","sound":"R0p1uDRZh8","player":{"function":"selectedPlayer"},"runMode":0}],"else":[]}]}]}]}],"else":[],"disabled":false}],"runMode":0},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"},"value":0.35,"disabled":true}],"else":[],"disabled":false},{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"0UvdArvBbP"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"playSoundAtPosition","sound":"R0p1uDRZh8","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[]},{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":8}],"else":[],"disabled":false}],"name":"attribute == 0","parent":null,"key":"9Wj9Kyzto0","order":2},"O0e7Zbp445":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":1,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"runScript","scriptName":"ZtYdbjiNH1","isEntityScript":true},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0}],"disabled":false},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":2000,"max":10000},1000]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"selectedPlayer"}},"humanPlayer"],"then":[{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0}],"else":[]}],"runMode":0,"disabled":false},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":5000,"max":13500},100]},"actions":[{"type":"runScript","scriptName":"O0e7Zbp445","isEntityScript":true}]}],"else":[{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"O0e7Zbp445","isEntityScript":true}]}]}]}],"else":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0}],"disabled":false},{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"O0e7Zbp445","isEntityScript":true}]}]}]}],"name":"flicker","parent":null,"key":"O0e7Zbp445","order":1},"NMvw7diAzl":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"runScript","scriptName":"O0e7Zbp445","isEntityScript":true}],"name":"created","parent":null,"key":"NMvw7diAzl","order":2},"ZtYdbjiNH1":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"DSGuZU81MC"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"door"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"j65qUsLp9d"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]}],"name":"update animation","parent":null,"key":"ZtYdbjiNH1","order":3}}},"oTJJuamiGc":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"j65qUsLp9d":{"name":"lightOnAnimatronic","frames":[2],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.05","dataType":"","value":"0.05","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"0UvdArvBbP":{"name":"soundTimer","min":0,"max":8,"dataType":"","value":0,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":"1138.125","height":1350,"z-index":{"layer":1,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1707437940053_image-3.png_(1)-1.png_(1)-1.png.png","rowCount":1,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Right Lights Sprite","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"bLights":{"default":false,"dataType":"boolean","streamMode":1},"bDisabled":{"default":false,"dataType":"boolean","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"Xubtz0lJfR":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"leftLightsUnit"}},false],"then":[{"type":"stopSoundForPlayer","sound":"R0p1uDRZh8","player":{"function":"selectedPlayer"},"runMode":0}],"else":[]}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"value":false},{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"},{"type":"return"}],"else":[],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"door"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0}],"runMode":0,"disabled":true}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"j65qUsLp9d"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"leftLightsUnit"}},false],"then":[{"type":"stopSoundForPlayer","sound":"R0p1uDRZh8","player":{"function":"selectedPlayer"},"runMode":0}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"for","variableName":"i","start":0,"stop":5,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},20]},"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"leftLightsUnit"}},false],"then":[{"type":"stopSoundForPlayer","sound":"R0p1uDRZh8","player":{"function":"selectedPlayer"},"runMode":0}],"else":[]}]}]}]}],"else":[],"disabled":false}],"runMode":0},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"},"value":0.05,"disabled":true}],"else":[],"disabled":false},{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"0UvdArvBbP"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"playSoundAtPosition","sound":"R0p1uDRZh8","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[]},{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":8}],"else":[],"disabled":false}],"name":"attribute == 0","parent":null,"key":"Xubtz0lJfR","order":2},"V9tL9ECT0i":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":1,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"runScript","scriptName":"NMJ3j36ClF","isEntityScript":true},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0}]},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":2000,"max":10000},1000]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"selectedPlayer"}},"humanPlayer"],"then":[{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0}],"else":[]}],"runMode":0},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":5000,"max":13500},100]},"actions":[{"type":"runScript","scriptName":"V9tL9ECT0i","isEntityScript":true}]}],"else":[{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"V9tL9ECT0i","isEntityScript":true}]}]}]}],"else":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"},"runMode":0}]},{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"V9tL9ECT0i","isEntityScript":true}]}]}]}],"name":"flicker","parent":null,"key":"V9tL9ECT0i","order":1},"Cn5cICBs49":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"runScript","scriptName":"V9tL9ECT0i","isEntityScript":true}],"name":"created","parent":null,"key":"Cn5cICBs49","order":2},"NMJ3j36ClF":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"6p5A3QsGMM"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"door"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"j65qUsLp9d"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]}],"name":"update animation","parent":null,"key":"NMJ3j36ClF","order":3}}},"QGpO8XXEWo":{"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":0,"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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"V5qN19hJGO":{"name":"aggression","min":0,"max":20,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"8pdqPHOBLe":{"name":"moveTimer","min":"4.97","max":"4.97","dataType":"","value":"4.97","regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":64,"height":64,"z-index":{"layer":1,"depth":1},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699637418567_invis.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"name":"Template Animatronic","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":{"movementOpportunity":{"default":0,"dataType":"number","streamMode":1},"location":{"default":"stage","dataType":"string","streamMode":1}},"isUnTargetable":false},"DSGuZU81MC":{"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":"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":false},"movementType":"wasd","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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"V5qN19hJGO":{"name":"aggression","min":0,"max":20,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"8pdqPHOBLe":{"name":"moveTimer","min":"4.97","max":"4.97","dataType":"","value":"4.97","regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"bd0cxHEeSW":{"name":"randomLocation#","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":["unitBarFriendly","unitBarNeutral","unitBarHostile"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#f1f1f1","decimalPlaces":0,"streamMode":1},"T9pKMeOlic":{"name":"footstepsTimer","min":0,"max":5,"dataType":"","value":0,"regenerateSpeed":"-0.25","isVisible":["unitBarFriendly","unitBarNeutral","unitBarHostile"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#a8a8a8","decimalPlaces":0,"streamMode":1}},"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":"AI Bonnie","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699733668893_image-1.png_(28).png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":16,"height":31,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"variables":{"movementOpportunity":{"default":0,"dataType":"number","streamMode":1},"bRadarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"radarArray":{"default":"[]","dataType":"string","streamMode":1},"locationArray":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"stage","dataType":"string","streamMode":1},"bDisabled":{"default":true,"dataType":"boolean","streamMode":1},"locationPosition":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"moveableLocationsArray":{"default":"[]","dataType":"string","streamMode":1},"tempString_L":{"default":"","dataType":"string","streamMode":1},"closetLocationIndex":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1},"previousLocation":{"default":"stage","dataType":"string","streamMode":1},"cameraDowntimeTime":{"default":3,"dataType":"number","streamMode":1}},"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":false,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"defaultItems":[],"scripts":{"K9s8MqqEwz":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"value":"[\"stage\",\"dining area\",\"backstage\",\"closet\",\"2a\",\"2b\",\"door\",\"office\"]","comment":""},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":"[]"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"stage\",\"151\",\"-0.2258\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"dining area\",\"88\",\"-0.2861\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"backstage\",\"197\",\"-0.9547\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"closet\",\"172\",\"3.9516\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"2a\",\"80\",\"3.83\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"2b\",\"200\",\"3.5045\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"door\",\"158\",\"3.3452\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"office\",\"187\",\"3.2216\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"else":[],"comment":"radar arrays","isExpanded":{"self":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"disabled":false},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":false},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true},{"type":"runScript","scriptName":"Zs0UzgksF2","isEntityScript":true}]},{"type":"setTimeOut","duration":10000,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false}],"disabled":false}],"name":"created","parent":null,"key":"K9s8MqqEwz","order":1},"T67nI9d802":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}]},{"type":"return"}],"else":[],"comment":"usually for beginning of nights"},{"type":"setTimeOut","duration":{"function":"getRandomNumberBetween","min":{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"8pdqPHOBLe","entity":{"function":"thisEntity"}},1000]},1500]},"max":{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"8pdqPHOBLe","entity":{"function":"thisEntity"}},1000]}},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"value":{"function":"getRandomNumberBetween","min":1,"max":20},"comment":""},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" &lt;= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"disabled":true},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":false}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"door"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"leftDoorUnit"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"office"},{"type":"runScript","scriptName":"Zs0UzgksF2","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"dining area"},{"type":"runScript","scriptName":"Zs0UzgksF2","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit","disabled":true},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false,"disabled":true}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"value":0.05,"disabled":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},"comment":"saves distance"}],"comment":"get distance from current location to every location this unit can move in","isExpanded":{"self":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":"[]"},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":0},{"type":"repeat","count":5,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":99999},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},{"function":"getVariable","variableName":"i"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[],"comment":"so we dont choose the closet location again"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i"},"comment":""}],"else":[]}],"else":[],"comment":"check if new position has less distance than old position"}]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"door"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"closet"],"then":[],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"2b"],"then":[],"else":[]}]}],"else":[],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":"50","textB":"\"]"}}}},"disabled":true},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":100,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"50/50 chance for 1st and 2nd closet locations"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"getMax","num1":20,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"getRandomNumberBetween","min":70,"max":100},{"function":"calculate","items":[{"operator":"*"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},15]}]}},"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lesser chance to be chosen if farther away"}]},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}}],"comment":"pick closet locations","isExpanded":{"self":true}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},"comment":""},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"stage"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"office"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},{"function":"getVariable","variableName":"i"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[],"comment":"so we dont choose the closet location again"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i"},"comment":""}],"else":[]}],"else":[],"comment":"check if new position has less distance than old position","disabled":true},{"type":"setEntityAttribute","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":0,"max":{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}}}},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"comment":"gets saved index to find location name"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}]},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit"},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"door"],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"value":0.05,"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"test1"},1]},"variableName":"test1","disabled":true},{"type":"sendChatMessage","message":{"function":"concat","textA":"Bonnie's Score: ","textB":{"function":"getVariable","variableName":"test1"}},"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"leftLightsUnit"}},true],"then":[{"type":"playSoundAtPosition","sound":"XfaH02oV8h","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[]}],"else":[],"isExpanded":{"then":true}}],"else":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}}]}],"comment":"pick a location to move to"}],"isExpanded":{"then":true}}],"else":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":false}],"else":[]}],"comment":"higher aggression == more likely to move","isExpanded":{"then":true}},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}],"comment":"randomize movement time","disabled":true},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"8pdqPHOBLe","entity":{"function":"thisEntity"}},1000]},{"function":"getRandomNumberBetween","min":-200,"max":200}]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"office"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"value":{"function":"getRandomNumberBetween","min":1,"max":20},"comment":""},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" &lt;= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"disabled":true},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":false}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"door"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"leftDoorUnit"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"office"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},0],"then":[{"type":"setEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"value":{"function":"getRandomNumberBetween","min":28,"max":32}}],"else":[]}],"else":[]}]},{"type":"runScript","scriptName":"Zs0UzgksF2","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"dining area"},{"type":"runScript","scriptName":"Zs0UzgksF2","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit","disabled":true},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false,"disabled":true}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"value":0.05,"disabled":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},"comment":"saves distance"}],"comment":"get distance from current location to every location this unit can move in","isExpanded":{"self":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":"[]"},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[\"[\\\"stage\\\",\\\"backstage\\\",\\\"dining area\\\"]\",\"[\\\"dining area\\\",\\\"2a\\\",\\\"backstage\\\"]\",\"[\\\"backstage\\\",\\\"2a\\\",\\\"dining area\\\"]\",\"[\\\"2a\\\",\\\"closet\\\",\\\"2b\\\"]\",\"[\\\"2b\\\",\\\"door\\\",\\\"closet\\\"]\",\"[\\\"closet\\\",\\\"door\\\",\\\"2a\\\"]\"]","comment":""},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i2"},"comment":""},{"type":"break"}],"else":[],"comment":""}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":60,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":""},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i2"},"comment":""},{"type":"break"}],"else":[],"comment":""}]},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"2b"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":60,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"equal chance to move to 2b"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":35,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":""}]},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"break"}],"else":[]}]},{"type":"repeat","count":5,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":99999},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},{"function":"getVariable","variableName":"i"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[],"comment":"so we dont choose the closet location again"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i"},"comment":""}],"else":[]}],"else":[],"comment":"check if new position has less distance than old position"}]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"door"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"closet"],"then":[],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"2b"],"then":[],"else":[]}]}],"else":[],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":"50","textB":"\"]"}}}},"disabled":true},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"backstage"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"dining area"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":130,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"slightly higher odds to move into backstage from dining area"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"closet"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"stage"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":0,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"disables bonnie moving into closet from stage"}],"else":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":100,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"50/50 chance for 1st and 2nd closet locations"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"getMax","num1":20,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"getRandomNumberBetween","min":70,"max":100},{"function":"calculate","items":[{"operator":"*"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},15]}]}},"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lesser chance to be chosen if farther away"}]}]}]},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}}],"comment":"pick closet locations","isExpanded":{"self":true},"disabled":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},"comment":""},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"stage"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"office"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},{"function":"getVariable","variableName":"i"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[],"comment":"so we dont choose the closet location again"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i"},"comment":""}],"else":[]}],"else":[],"comment":"check if new position has less distance than old position","disabled":true},{"type":"setEntityAttribute","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}}}},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"comment":"gets saved index to find location name"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}]},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit"},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"door"],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"leftLightsUnit"},"value":0.05,"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"test1"},1]},"variableName":"test1","disabled":true},{"type":"sendChatMessage","message":{"function":"concat","textA":"Bonnie's Score: ","textB":{"function":"getVariable","variableName":"test1"}},"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"leftLightsUnit"}},true],"then":[{"type":"playSoundAtPosition","sound":"XfaH02oV8h","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[]}],"else":[],"isExpanded":{"then":true}}],"else":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}}]}],"comment":"pick a location to move to"}],"isExpanded":{"then":true,"self":true}}],"else":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":false}],"else":[]}],"comment":"higher aggression == more likely to move","isExpanded":{"then":true}}],"else":[],"isExpanded":{"self":true,"then":true}},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}],"comment":"randomize movement time"}],"name":"movement","parent":null,"key":"T67nI9d802","order":1},"Zs0UzgksF2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"comment","comment":"since there is so many set variable location updates"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}]},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit"},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false}],"name":"update position","parent":null,"key":"Zs0UzgksF2","order":3}},"streamMode":1,"isUnTargetable":false,"unitTypes":{"DSGuZU81MC":{"scripts":{"K9s8MqqEwz":{"name":"created"},"mMxAEOtq5o":{"name":""},"T67nI9d802":{"name":"movement"}}}}},"IxzrAoJFJA":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":0,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1,2,3],"loopCount":"","framesPerSecond":32}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"0UvdArvBbP":{"name":"soundTimer","min":0,"max":8,"dataType":"","value":8,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":260,"height":"367.5","z-index":{"layer":1,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699680505445_88204_(2).png","rowCount":1,"columnCount":3},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Fan","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"bDisabled":{"default":false,"dataType":"boolean","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"IxzrAoJFJA":{"scripts":{"pvykpdizKO":{"name":"attribute == 0"}}}},"scripts":{"pvykpdizKO":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"0UvdArvBbP"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"playSoundAtPosition","sound":"5hDMmNPP8K","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[]},{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":{"function":"entityAttributeMax","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"}},"disabled":false}],"else":[],"disabled":false}],"name":"attribute == 0","parent":null,"key":"pvykpdizKO","order":-1}}},"yz2nXDn757":{"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":0,"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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":439,"height":376,"z-index":{"layer":3,"depth":1},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699732922200_Cam_Map.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Animatronic Radar","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"bRadarEnabled":{"default":true,"dataType":"boolean","streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"clickableRegionArray":{"default":"[]","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"yz2nXDn757":{"scripts":{"85q4XxbwoR":{"name":"every frame"}}}},"scripts":{"gy0KgK8K5c":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":"[]"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"stage\",\"204\",\"-0.4177\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"dining area\",\"165\",\"-0.687\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"backstage\",\"240\",\"-1.1555\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"cove\",\"144\",\"-1.284\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"closet\",\"186\",\"4.3448\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"restroom\",\"178\",\"1.0045\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"kitchen\",\"148\",\"1.8989\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"2a\",\"118\",\"3.8971\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"4a\",\"93\",\"2.7591\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"2b\",\"154\",\"3.7009\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"value":{"function":"insertStringArrayElement","value":"[\"4b\",\"136\",\"2.8753\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"clickableRegionArray","dataType":"string","entity":"yz2nXDn757","key":"clickableRegionArray"}},"entity":{"function":"thisEntity"}}},"disabled":false,"comment":""}],"else":[],"comment":"clickable regions array","isExpanded":{"self":false}},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getNumberOfUnitsOfUnitType","unitType":"DSGuZU81MC"},0],"then":[{"type":"repeat","count":1,"actions":[{"type":"createUnitAtPosition","unitType":"DSGuZU81MC","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-999,"y":-999},"angle":0,"disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"disabled":false}]}],"else":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getNumberOfUnitsOfUnitType","unitType":"6p5A3QsGMM"},0],"then":[{"type":"repeat","count":1,"actions":[{"type":"createUnitAtPosition","unitType":"6p5A3QsGMM","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-999,"y":-999},"angle":0,"disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"disabled":false}]}],"else":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getNumberOfUnitsOfUnitType","unitType":"qSVQOVRmiE"},0],"then":[{"type":"repeat","count":1,"actions":[{"type":"createUnitAtPosition","unitType":"qSVQOVRmiE","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-999,"y":-999},"angle":0,"disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"disabled":false}]}],"else":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getNumberOfUnitsOfUnitType","unitType":"5rebr6sNk0"},0],"then":[{"type":"repeat","count":1,"actions":[{"type":"createUnitAtPosition","unitType":"5rebr6sNk0","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-999,"y":-999},"angle":0,"disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"disabled":false}]}],"else":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getNumberOfUnitsOfUnitType","unitType":"g7CyGkWiy9"},0],"then":[{"type":"repeat","count":1,"actions":[{"type":"createUnitAtPosition","unitType":"g7CyGkWiy9","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-999,"y":-999},"angle":0,"disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"thisEntity"},"disabled":false}]}],"else":[]},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"radarEnabled","dataType":"boolean","entity":"humanPlayer","key":"radarEnabled"}},"player":{"function":"selectedPlayer"}},false],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"yz2nXDn757"],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"},"disabled":false}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"},"disabled":false}],"else":[]}]}]}],"else":[]}],"isExpanded":{"self":true}}],"name":"created","parent":null,"key":"gy0KgK8K5c","order":-1},"85q4XxbwoR":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},864]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},278]}},"runMode":0},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"runMode":0}],"name":"every frame","parent":null,"key":"85q4XxbwoR","order":1}}},"6p5A3QsGMM":{"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":"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":false},"movementType":"wasd","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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"V5qN19hJGO":{"name":"aggression","min":0,"max":20,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"8pdqPHOBLe":{"name":"moveTimer","min":"4.98","max":"4.98","dataType":"","value":"4.98","regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"bd0cxHEeSW":{"name":"randomLocation#","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":["unitBarFriendly","unitBarNeutral","unitBarHostile"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#f1f1f1","decimalPlaces":0,"streamMode":1},"T9pKMeOlic":{"name":"footstepsTimer","min":0,"max":5,"dataType":"","value":0,"regenerateSpeed":"-0.25","isVisible":["unitBarFriendly","unitBarNeutral","unitBarHostile"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#a8a8a8","decimalPlaces":0,"streamMode":1}},"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":"AI Chica","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699753648374_image-1.png_(29).png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":17,"height":20,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"variables":{"movementOpportunity":{"default":0,"dataType":"number","streamMode":1},"bRadarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"radarArray":{"default":"[]","dataType":"string","streamMode":1},"locationArray":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"stage","dataType":"string","streamMode":1},"bDisabled":{"default":true,"dataType":"boolean","streamMode":1},"locationPosition":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"moveableLocationsArray":{"default":"[]","dataType":"string","streamMode":1},"tempString_L":{"default":"","dataType":"string","streamMode":1},"closetLocationIndex":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1},"previousLocation":{"default":"stage","dataType":"string","streamMode":1},"cameraDowntimeTime":{"default":3,"dataType":"number","streamMode":1}},"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":false,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"defaultItems":[],"scripts":{"K9s8MqqEwz":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"value":"[\"stage\",\"dining area\",\"restroom\",\"kitchen\",\"4a\",\"4b\",\"door\",\"office\"]","comment":""},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":"[]"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"stage\",\"146\",\"0.1987\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"dining area\",\"88\",\"1.6049\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"restroom\",\"156\",\"1.5388\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"kitchen\",\"136\",\"1.9786\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"4a\",\"87\",\"2.5854\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"4b\",\"190\",\"2.9195\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"door\",\"160\",\"2.9405\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"office\",\"191\",\"3.0684\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"else":[],"comment":"radar arrays","isExpanded":{"self":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}}},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true,"disabled":false},{"type":"runScript","scriptName":"qybWqKoVes","isEntityScript":true}]},{"type":"setTimeOut","duration":10000,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false}],"disabled":false}],"name":"created","parent":null,"key":"K9s8MqqEwz","order":1},"T67nI9d802":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}]},{"type":"return"}],"else":[],"comment":"usually for beginning of nights"},{"type":"setTimeOut","duration":{"function":"getRandomNumberBetween","min":{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"8pdqPHOBLe","entity":{"function":"thisEntity"}},1000]},1500]},"max":{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"8pdqPHOBLe","entity":{"function":"thisEntity"}},1000]}},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"value":{"function":"getRandomNumberBetween","min":1,"max":20},"comment":""},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" &lt;= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"disabled":true},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":false}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"door"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"rightDoorUnit"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"office"},{"type":"runScript","scriptName":"qybWqKoVes","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"4a"},{"type":"runScript","scriptName":"qybWqKoVes","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit","disabled":true},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false,"disabled":true}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"value":0.05,"disabled":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},"comment":"saves distance"}],"comment":"get distance from current location to every location this unit can move in","isExpanded":{"self":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":"[]"},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":0},{"type":"repeat","count":4,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":99999},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},{"function":"getVariable","variableName":"i"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[],"comment":"so we dont choose the closet location again"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i"},"comment":""}],"else":[]}],"else":[],"comment":"check if new position has less distance than old position"}]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"door"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"closet"],"then":[],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"2b"],"then":[],"else":[]}]}],"else":[],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":"50","textB":"\"]"}}}},"disabled":true},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"dining area"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4a"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":100,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for dining room when at 4a"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"dining area"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":30,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lower odds for 4a when at dining area"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"stage"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":0,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"disables chica moving into 4a from stage"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"door"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4b"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"calculate","items":[{"operator":"+"},200,{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},4]}]},"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for door when at 4b"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"kitchen"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4a"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":20,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lower odds for kitchen when at 4a"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":5,"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"calculate","items":[{"operator":"+"},100,{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},4]}]},"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for 4b when at 4a"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":120,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for 4a"}],"else":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":70,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"50/50 chance for 1st and 2nd closet locations"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"getMax","num1":20,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"getRandomNumberBetween","min":70,"max":100},{"function":"calculate","items":[{"operator":"*"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},15]}]}},"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lesser chance to be chosen if farther away"}]}]}]}]}]}]}]},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}}],"comment":"pick closet locations","isExpanded":{"self":true}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},"comment":""},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"dining area"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]}],"else":[],"comment":"chica wont go to 4a from dining area","disabled":true},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"stage"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"office"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},{"function":"getVariable","variableName":"i"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[],"comment":"so we dont choose the closet location again"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i"},"comment":""}],"else":[]}],"else":[],"comment":"check if new position has less distance than old position","disabled":true},{"type":"setEntityAttribute","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":0,"max":{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}}}},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"comment":"gets saved index to find location name"},{"type":"runScript","scriptName":"qybWqKoVes","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit","disabled":true},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false,"disabled":true},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"door"],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"value":0.05,"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"test2"},1]},"variableName":"test2","disabled":true},{"type":"sendChatMessage","message":{"function":"concat","textA":"Chica's Score: ","textB":{"function":"getVariable","variableName":"test2"}},"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"rightLightsUnit"}},true],"then":[{"type":"playSoundAtPosition","sound":"XfaH02oV8h","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[]}],"else":[],"isExpanded":{"then":true}}],"else":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}}]}],"comment":"pick a location to move to"}],"isExpanded":{"then":true}}],"else":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":false}],"else":[]}],"comment":"higher aggression == more likely to move","isExpanded":{"then":true}},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}],"comment":"randomize movement time","disabled":true},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"8pdqPHOBLe","entity":{"function":"thisEntity"}},1000]},{"function":"getRandomNumberBetween","min":-200,"max":200}]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"value":{"function":"getRandomNumberBetween","min":1,"max":20},"comment":""},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":false}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"door"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"rightDoorUnit"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"office"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},0],"then":[{"type":"setEntityAttribute","attribute":"1GsTremIo9","entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}},"value":{"function":"getRandomNumberBetween","min":28,"max":32}}],"else":[]}],"else":[]}]},{"type":"runScript","scriptName":"qybWqKoVes","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"4a"},{"type":"runScript","scriptName":"qybWqKoVes","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit","disabled":true},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false,"disabled":true}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"value":0.05,"disabled":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},"comment":"saves distance"}],"comment":"get distance from current location to every location this unit can move in","isExpanded":{"self":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":"[]"},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[\"[\"stage\",\"dining area\",\"dining area\"]\",\"[\"dining area\",\"restroom\",\"kitchen\"]\",\"[\"restroom\",\"kitchen\",\"4a\"]\",\"[\"kitchen\",\"4a\",\"restroom\"]\",\"[\"4a\",\"4b\",\"dining area\"]\",\"[\"4b\",\"door\",\"4a\"]\"]","comment":"","disabled":true},{"type":"setVariable","value":"[\"[\\\"stage\\\",\\\"dining area\\\",\\\"dining area\\\"]\",\"[\\\"dining area\\\",\\\"restroom\\\",\\\"kitchen\\\"]\",\"[\\\"restroom\\\",\\\"kitchen\\\",\\\"4a\\\"]\",\"[\\\"kitchen\\\",\\\"4a\\\",\\\"restroom\\\"]\",\"[\\\"4a\\\",\\\"4b\\\",\\\"dining area\\\"]\",\"[\\\"4b\\\",\\\"door\\\",\\\"4a\\\"]\"]","variableName":"tempString_G","comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"getVariable","variableName":"tempString_G"},"comment":""},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i2"},"comment":""},{"type":"break"}],"else":[],"comment":""}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":80,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":""},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i2"},"comment":""},{"type":"break"}],"else":[],"comment":""}]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4a"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":80,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"50/50 chance"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4b"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":20,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lower chance to move to 4a from 4b"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":60,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"slightly higher chance to move to 4a from any location (excluding 4b)"}]}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":50,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":""}]}]},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"break"}],"else":[]}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},"comment":""},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"dining area"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]}],"else":[],"comment":"chica wont go to 4a from dining area","disabled":true},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"stage"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"office"],"then":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}},{"type":"continue"}],"else":[]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},{"function":"getVariable","variableName":"i"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[],"comment":"so we dont choose the closet location again"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i"},"comment":""}],"else":[]}],"else":[],"comment":"check if new position has less distance than old position","disabled":true},{"type":"setEntityAttribute","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":1,"max":{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}}}},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"comment":"gets saved index to find location name"},{"type":"runScript","scriptName":"qybWqKoVes","isEntityScript":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}],"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit","disabled":true},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false,"disabled":true},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"door"],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getVariable","variableName":"rightLightsUnit"},"value":0.05,"disabled":true},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"test2"},1]},"variableName":"test2","disabled":true},{"type":"sendChatMessage","message":{"function":"concat","textA":"Chica's Score: ","textB":{"function":"getVariable","variableName":"test2"}},"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bLights","dataType":"boolean","entity":"12rIEBXYHr","key":"bLights"}},"entity":{"function":"getVariable","variableName":"rightLightsUnit"}},true],"then":[{"type":"playSoundAtPosition","sound":"XfaH02oV8h","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[]}],"else":[],"isExpanded":{"then":true}}],"else":[{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}}]}],"comment":"pick a location to move to","isExpanded":{"self":true}},{"type":"repeat","count":3,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":99999},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},{"function":"getVariable","variableName":"i"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[],"comment":"so we dont choose the closet location again"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i"},"comment":""}],"else":[]}],"else":[],"comment":"check if new position has less distance than old position"}]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"door"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"closet"],"then":[],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"2b"],"then":[],"else":[]}]}],"else":[],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":"50","textB":"\"]"}}}},"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"door"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4b"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":999999,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"move to door when at 4b"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":0,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"0% chance to move to door from any location that isn't 4b"}]}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"dining area"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4a"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":100,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for dining room when at 4a"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"dining area"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":30,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lower odds for 4a when at dining area"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"stage"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":0,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"disables chica moving into 4a from stage"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"kitchen"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4a"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":20,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lower odds for kitchen when at 4a"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":5,"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"calculate","items":[{"operator":"+"},100,{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},4]}]},"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for 4b when at 4a"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":120,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for 4a"}],"else":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":70,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"50/50 chance for 1st and 2nd closet locations"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"getMax","num1":20,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"getRandomNumberBetween","min":70,"max":100},{"function":"calculate","items":[{"operator":"*"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},15]}]}},"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lesser chance to be chosen if farther away"}]}]}]}]}]}]}]},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}}],"comment":"pick closet locations","isExpanded":{"self":true},"disabled":true},{"type":"repeat","count":3,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":99999},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":false},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}},{"function":"getVariable","variableName":"i"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[],"comment":"so we dont choose the closet location again"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"DSGuZU81MC","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"value":{"function":"getVariable","variableName":"i"},"comment":""}],"else":[]}],"else":[],"comment":"check if new position has less distance than old position"}]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"door"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"closet"],"then":[],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"2b"],"then":[],"else":[]}]}],"else":[],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":"50","textB":"\"]"}}}},"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"door"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4b"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":999999,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"move to door when at 4b"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":0,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"0% chance to move to door from any location that isn't 4b"}]}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"dining area"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4a"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":100,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for dining room when at 4a"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"dining area"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":30,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lower odds for 4a when at dining area"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"stage"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":0,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"disables chica moving into 4a from stage"}],"else":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"kitchen"],[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4a"]],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":20,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lower odds for kitchen when at 4a"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":5,"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"calculate","items":[{"operator":"+"},100,{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},4]}]},"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for 4b when at 4a"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},"4a"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":120,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"higher odds for 4a"}],"else":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":70,"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"50/50 chance for 1st and 2nd closet locations"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"closetLocationIndex","dataType":"number","entity":"DSGuZU81MC","key":"closetLocationIndex"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"\",\"","textB":{"function":"concat","textA":{"function":"getMax","num1":20,"num2":{"function":"calculate","items":[{"operator":"-"},{"function":"getRandomNumberBetween","min":70,"max":100},{"function":"calculate","items":[{"operator":"*"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},15]}]}},"textB":"\"]"}}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},"comment":"lesser chance to be chosen if farther away"}]}]}]}]}]}]}]},{"type":"setEntityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"bd0cxHEeSW","entity":{"function":"thisEntity"}},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}}}}}]}}],"comment":"pick closet locations","isExpanded":{"self":true},"disabled":true}],"isExpanded":{"then":true}}],"else":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":false}],"else":[]}],"comment":"higher aggression == more likely to move","isExpanded":{"then":true,"self":true}},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" &lt;= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getStringArrayElement","number":0,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"disabled":true},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}],"comment":"randomize movement time"}],"name":"movement","parent":null,"key":"T67nI9d802","order":1},"qybWqKoVes":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"comment","comment":"since there is so many set variable location updates"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}]},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit"},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false}],"name":"update position","parent":null,"key":"qybWqKoVes","order":3}},"streamMode":1,"isUnTargetable":false,"unitTypes":{"DSGuZU81MC":{"scripts":{"K9s8MqqEwz":{"name":"created"},"mMxAEOtq5o":{"name":""},"T67nI9d802":{"name":"movement"}}}}},"5rebr6sNk0":{"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":"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":false},"movementType":"wasd","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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"V5qN19hJGO":{"name":"aggression","min":0,"max":20,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"8pdqPHOBLe":{"name":"moveTimer","min":"5.01","max":"5.01","dataType":"","value":"5.01","regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"0UvdArvBbP":{"name":"soundTimer","min":0,"max":4,"dataType":"","value":4,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":1,"max":7,"dataType":"","value":1,"regenerateSpeed":0,"isVisible":["unitBarFriendly","unitBarNeutral","unitBarHostile"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#5685d6","decimalPlaces":0,"streamMode":1},"bd0cxHEeSW":{"name":"randomLocation#","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"UcRRvaSaDN":{"name":"timer","min":0,"max":27,"dataType":"","value":0,"regenerateSpeed":"-0.25","isVisible":["unitBarFriendly","unitBarHostile","unitBarNeutral"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#f4f4f4","decimalPlaces":0,"streamMode":1}},"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":"AI Foxy","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699805052257_image-1.png_(30).png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":24,"height":24,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"variables":{"movementOpportunity":{"default":0,"dataType":"number","streamMode":1},"bRadarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"radarArray":{"default":"[]","dataType":"string","streamMode":1},"locationArray":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"cove","dataType":"string","streamMode":1},"bDisabled":{"default":true,"dataType":"boolean","streamMode":1},"locationPosition":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"moveableLocationsArray":{"default":"[]","dataType":"string","streamMode":1},"tempString_L":{"default":"","dataType":"string","streamMode":1},"closetLocationIndex":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1},"locked?":{"default":false,"dataType":"boolean","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1},"previousLocation":{"default":"cove","dataType":"string","streamMode":1},"cameraDowntimeTime":{"default":2,"dataType":"number","streamMode":1}},"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":false,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"defaultItems":[],"scripts":{"K9s8MqqEwz":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"value":"[\"cove\",\"cove\",\"cove\",\"2a\",\"2a\",\"door\"]","comment":""},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":"[]"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"cove\",\"164\",\"4.6697\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"cove\",\"143\",\"-1.4871\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"cove\",\"116\",\"4.6178\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"2a\",\"68\",\"4.2422\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false,"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"2a\",\"98\",\"3.7973\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false,"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"door\",\"163\",\"3.4459\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"office\",\"187\",\"3.2216\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":true}],"else":[],"comment":"radar arrays","isExpanded":{"self":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}}},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true}]},{"type":"setTimeOut","duration":10000,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false}],"disabled":false}],"name":"created","parent":null,"key":"K9s8MqqEwz","order":-1},"T67nI9d802":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}]},{"type":"return"}],"else":[],"comment":"usually for beginning of nights"},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},3],"then":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"8pdqPHOBLe","entity":{"function":"thisEntity"}},1000]},{"function":"getRandomNumberBetween","min":-100,"max":200}]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"value":{"function":"getRandomNumberBetween","min":1,"max":20},"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":false,"comment":"","disabled":true},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[]}],"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"value":true}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":830,"max":16670},1000]}}],"else":[],"comment":"when player flips down monitor"}],"comment":"when player is on cameras","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"concat","textA":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"textB":" (Locked)"}}},"color":"red","disabled":false}],"else":[]},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true},{"type":"return"}],"else":[],"comment":""},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":false}],"else":[]},{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},1]}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},4],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"2a"},{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":4},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"cameraDowntimeTime","dataType":"number","entity":"DSGuZU81MC","key":"cameraDowntimeTime"}},"value":0,"comment":""}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"cove"}]},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true}],"else":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":false}],"else":[]}],"comment":"higher aggression == more likely to move","isExpanded":{"then":true}},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}],"comment":"randomize movement time"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},4],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"thisEntity"}},0],"then":[{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":23,"max":27}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":false}],"else":[]},{"type":"setTimeOut","duration":{"function":"getRandomNumberBetween","min":23000,"max":27000},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},4],"then":[{"type":"playSoundAtPosition","sound":"Fd3tDe0eo5","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":-1200}},{"type":"runScript","scriptName":"NlusJnHVoG","isEntityScript":true}],"else":[],"isExpanded":{"then":true,"self":true}}],"disabled":true},{"type":"setTimeOut","duration":5000,"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},4],"then":[{"type":"playSoundAtPosition","sound":"Fd3tDe0eo5","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":-670},"actionId":"20b9051b"},{"type":"runScript","scriptName":"NlusJnHVoG","isEntityScript":true}],"else":[],"isExpanded":{"then":true,"self":true}}],"disabled":true}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},6],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"cameraDowntimeTime","dataType":"number","entity":"DSGuZU81MC","key":"cameraDowntimeTime"}},"value":{"function":"getMax","num1":3,"num2":{"function":"calculate","items":[{"operator":"-"},5,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"night#"},2]}}]}},"comment":""},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"leftDoorUnit"}},true],"then":[{"type":"playSoundAtPosition","sound":"6r6Jud9SWV","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":7,"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"cove"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"max":25},20],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":2}],"else":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":1}]},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true}],"else":[],"comment":""},{"type":"setTimeOut","duration":1000,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},7],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"leftDoorUnit"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"cove"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"max":25},20],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":2}],"else":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":1}]},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true}],"else":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":6}],"comment":"if door closed"}],"else":[]}],"disabled":true}],"else":[{"type":"createUnitAtPosition","unitType":"9CFwGrRnF9","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"selectedPlayer"}},"humanPlayer"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"selectedPlayer"}},"none"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"Foxy"},{"type":"playSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getPlayerId","player":{"function":"selectedPlayer"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"getLastCreatedUnit"}}}},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"value":"office"},{"type":"stopSoundForPlayer","sound":"SB8lSz31rt","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"hdpIrqkTZP","player":{"function":"selectedPlayer"}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"stopSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}},{"type":"stopSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}],"else":[],"comment":"stop garble sounds"},{"type":"playSoundForPlayer","sound":"NLCh7b42sf","player":{"function":"selectedPlayer"}},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},"value":{"function":"entityAttributeMax","attribute":"yl11AW6n5H","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"else":[]}],"else":[]}],"else":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"cove"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"max":25},20],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":2}],"else":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":1}]},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true}],"else":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":6}],"comment":""}],"comment":"if door closed","isExpanded":{"then":true}},{"type":"setTimeOut","duration":20,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}]}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},7],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"leftDoorUnit"}},false],"then":[],"else":[],"comment":"if door opens"},{"type":"setTimeOut","duration":20,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}]}],"else":[],"isExpanded":{"then":true,"self":true}}],"isExpanded":{"then":true,"self":true}}],"isExpanded":{"then":true,"self":true}}],"isExpanded":{"then":true,"self":true}}],"name":"movement","parent":null,"key":"T67nI9d802","order":1},"5girhNPEsd":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[],"comment":"failsafe"},{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"0UvdArvBbP"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},1],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":30},1],"then":[{"type":"setEntityAttributeMax","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":20},{"type":"playSoundAtPosition","sound":"zeJnGLiVUw","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}}],"else":[]}],"else":[]},{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":{"function":"entityAttributeMax","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"}}},{"type":"setEntityAttributeMax","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":4}],"else":[]},{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"UcRRvaSaDN"],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},3],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"value":false}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},4],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"playSoundAtPosition","sound":"Fd3tDe0eo5","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":-1200},"actionId":"3e27254f"}],"else":[{"type":"playSoundAtPosition","sound":"Fd3tDe0eo5","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"actionId":"279b08a0"}]},{"type":"runScript","scriptName":"NlusJnHVoG","isEntityScript":true}],"else":[],"isExpanded":{"then":true,"self":true}}],"isExpanded":{"then":true,"self":true}}],"else":[]}],"name":"attribute == 0","parent":null,"key":"5girhNPEsd","order":4},"NlusJnHVoG":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"u5IYMPTUUX"],"then":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"foxy"},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":1},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"selectedUnit"},"value":0},{"type":"break"}],"else":[]}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"2a"},{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":5},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true},{"type":"setTimeOut","duration":2500,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},5],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"door"},{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":6},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}],"else":[]}],"disabled":false},{"type":"setTimeOut","duration":{"function":"getRandomNumberBetween","min":3000,"max":5000},"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},5],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"door"},{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":6},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true},{"type":"runScript","scriptName":"T67nI9d802","isEntityScript":true}],"else":[]}],"disabled":true}],"name":"run to office","parent":null,"key":"NlusJnHVoG","order":2},"r12NPpTJQh":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"comment","comment":"since there is so many set variable location updates"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"i"},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},1]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}]},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit"},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false}],"name":"update position","parent":null,"key":"r12NPpTJQh","order":3},"zDkRoRrS6D":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},3],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":false,"comment":""},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true},{"type":"break"}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"value":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":830,"max":16670},1000]}}],"else":[],"comment":"when player flips down monitor"}],"else":[],"comment":"when player is on cameras"}],"else":[]}],"name":"every frame","parent":null,"key":"zDkRoRrS6D","order":5}},"streamMode":1,"isUnTargetable":false,"unitTypes":{"DSGuZU81MC":{"scripts":{"K9s8MqqEwz":{"name":"created"},"mMxAEOtq5o":{"name":""},"T67nI9d802":{"name":"movement"}}},"5rebr6sNk0":{"scripts":{"r12NPpTJQh":{"name":"update position"}}}}},"qSVQOVRmiE":{"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":"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"V5qN19hJGO":{"name":"aggression","min":0,"max":20,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"8pdqPHOBLe":{"name":"moveTimer","min":"3.02","max":"3.02","dataType":"","value":"3.02","regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"bd0cxHEeSW":{"name":"randomLocation#","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":["unitBarHostile","unitBarNeutral","unitBarFriendly"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#eae9e9","decimalPlaces":0,"streamMode":1},"FS6ZH9LRlS":{"name":"movementCountdown","min":0,"max":100,"dataType":"","value":0,"regenerateSpeed":"-0.2","isVisible":["unitBarNeutral","unitBarHostile","unitBarFriendly"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#e33e3e","decimalPlaces":0,"streamMode":1}},"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":"AI Freddy","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699805156796_image-1.png_(31).png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":23,"height":25,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"variables":{"movementOpportunity":{"default":0,"dataType":"number","streamMode":1},"bRadarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"radarArray":{"default":"[]","dataType":"string","streamMode":1},"locationArray":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"stage","dataType":"string","streamMode":1},"bDisabled":{"default":true,"dataType":"boolean","streamMode":1},"locationPosition":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"moveableLocationsArray":{"default":"[]","dataType":"string","streamMode":1},"tempString_L":{"default":"","dataType":"string","streamMode":1},"closetLocationIndex":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1},"locked?":{"default":false,"dataType":"boolean","streamMode":1},"previousLocation":{"default":"stage","dataType":"string","streamMode":1},"cameraDowntimeTime":{"default":2,"dataType":"number","streamMode":1}},"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":false,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"defaultItems":[],"scripts":{"tWKN8xCWjK":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"value":"[\"stage\",\"dining area\",\"restroom\",\"kitchen\",\"4a\",\"4b\",\"office\"]","comment":""},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":"[]"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"stage\",\"146\",\"0.0068\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"dining area\",\"73\",\"0.5615\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"restroom\",\"164\",\"1.3508\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"kitchen\",\"151\",\"2.2011\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"4a\",\"80\",\"2.2861\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"4b\",\"194\",\"2.8069\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"office\",\"194\",\"3.1519\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"else":[],"comment":"radar arrays","isExpanded":{"self":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}}},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true,"disabled":false},{"type":"runScript","scriptName":"6JhZelfi0T","isEntityScript":true}]},{"type":"setTimeOut","duration":10000,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false}],"disabled":true}],"name":"created","parent":null,"key":"tWKN8xCWjK","order":-1},"N2W1XgZJaY":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setTimeOut","duration":1000,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true}]},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"number","operator":"=="},{"function":"getNumberOfUnitsOfUnitType","unitType":"DSGuZU81MC"},1],[{"operandType":"number","operator":"=="},{"function":"getNumberOfUnitsOfUnitType","unitType":"6p5A3QsGMM"},1]],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unitType"},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"qSVQOVRmiE"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"stage"],"then":[{"type":"return"}],"else":[]}],"else":[]}],"else":[]}]}],"else":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"SuROWKCUkm","key":"bDisabled"}},"value":false},{"type":"return"}],"else":[],"comment":"usually for beginning of nights"},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"8pdqPHOBLe","entity":{"function":"thisEntity"}},1000]},{"function":"getRandomNumberBetween","min":0,"max":200}]},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"value":{"function":"getRandomNumberBetween","min":1,"max":20},"comment":""},{"type":"sendChatMessage","message":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" &lt;= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"office"],"then":[{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true},{"type":"return"}],"else":[],"disabled":false},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4b"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setVariable","value":{"function":"selectedUnit"},"variableName":"tempUnit_G"},{"type":"break"}],"else":[]}],"else":[]}],"disabled":true},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"saveCameraRoom","dataType":"unitType","entity":"wSfUVGAeap","key":"saveCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"tempUnit_G"}}],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"concat","textA":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"textB":" (Being watched)"}}},"color":"red","disabled":false}],"else":[]},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true},{"type":"return"}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"tempUnit_G"}}],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"concat","textA":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"textB":" (Camstalled)"}}},"color":"red","disabled":false}],"else":[]},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true},{"type":"return"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"concat","textA":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"textB":" (Locked)"}}},"color":"red","disabled":false}],"else":[]},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true},{"type":"return"}],"else":[],"disabled":true}]}],"disabled":true}],"else":[],"disabled":false,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"}},0],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"concat","textA":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"textB":" (Camstalled)"}}},"color":"red","disabled":false}],"else":[]},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true},{"type":"return"}],"else":[],"comment":"","disabled":true},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":true},{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":0.01},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":false}],"else":[]}],"else":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":false}],"else":[]}],"comment":"higher aggression == more likely to move","isExpanded":{"then":true,"self":true}}],"else":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":"(Locked)","color":"red","disabled":false}],"else":[]},{"type":"break"}],"else":[],"disabled":false}],"disabled":false},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":"(Locked)","color":"red","disabled":false}],"else":[]}],"else":[],"comment":"","disabled":true}],"isExpanded":{"then":true,"self":true}}],"else":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"}},0],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"concat","textA":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"textB":" (Locked)"}}},"color":"red","disabled":false}],"else":[]},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true},{"type":"return"}],"else":[],"comment":""},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":true},{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":{"function":"getMax","num1":0.01,"num2":{"function":"calculate","items":[{"operator":"-"},16.67,{"function":"calculate","items":[{"operator":"*"},1.67,{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}]}]}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"green","disabled":false}],"else":[]}],"else":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" is less or equal to ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}}}},"color":"red","disabled":false}],"else":[]}],"comment":"higher aggression == more likely to move","isExpanded":{"then":true,"self":true}}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":"(Locked)","color":"red","disabled":false}],"else":[]}],"else":[],"comment":""}],"isExpanded":{"then":true,"self":true}}],"isExpanded":{"then":true,"else":false}},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"moveableLocationsArray","dataType":"string","entity":"DSGuZU81MC","key":"moveableLocationsArray"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"sendChatMessage","message":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true}],"comment":"randomize movement time"}],"name":"movement","parent":null,"key":"N2W1XgZJaY","order":1},"6JhZelfi0T":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"comment","comment":"since there is so many set variable location updates"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}]},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"setVariable","value":{"function":"thisEntity"},"variableName":"movedAnimatronicUnit"},{"type":"runScript","scriptName":"mqGa3K2J1Z","isEntityScript":false}],"name":"update position","parent":null,"key":"6JhZelfi0T","order":3},"R8MFcGu1tJ":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4b"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":false,"comment":""},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getPlayerCount"},2],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setVariable","value":{"function":"selectedUnit"},"variableName":"tempUnit_G"},{"type":"break"}],"else":[]}],"else":[]}],"disabled":false},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"saveCameraRoom","dataType":"unitType","entity":"wSfUVGAeap","key":"saveCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"tempUnit_G"}}],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"concat","textA":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"textB":" (Being watched)"}}},"color":"red","disabled":false}],"else":[]},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true},{"type":"return"}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"tempUnit_G"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true,"comment":""},{"type":"break"}],"else":[]}],"disabled":false}],"else":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true,"disabled":false},{"type":"break"}],"else":[]}]}]},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"stage"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"value":false}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"thisEntity"}}}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":830,"max":16670},1000]}}],"else":[],"comment":"when player flips down monitor","disabled":true}],"else":[],"comment":"when player is on cameras","disabled":true}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4b"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setVariable","value":{"function":"selectedUnit"},"variableName":"tempUnit_G"},{"type":"break"}],"else":[]}],"else":[]}],"disabled":true},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"saveCameraRoom","dataType":"unitType","entity":"wSfUVGAeap","key":"saveCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"tempUnit_G"}}],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"radarFadingText"},true],"then":[{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"movementOpportunity","dataType":"number","entity":"QGpO8XXEWo","key":"movementOpportunity"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":" <= ","textB":{"function":"concat","textA":{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"thisEntity"}},"textB":" (Being watched)"}}},"color":"red","disabled":false}],"else":[]},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true},{"type":"return"}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}},{"function":"getUnitTypeOfUnit","entity":{"function":"getVariable","variableName":"tempUnit_G"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true,"comment":""},{"type":"break"}],"else":[]}],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"thisEntity"}}}],"else":[],"disabled":false}]}],"name":"every frame","parent":null,"key":"R8MFcGu1tJ","order":4},"rXdTdsy7X2":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[],"comment":"failsafe"},{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"FS6ZH9LRlS"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"office"],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"selectedPlayer"}},"humanPlayer"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"selectedPlayer"}},"none"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":4},1],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"Freddy"},{"type":"createUnitAtPosition","unitType":"OJLXpZwk2Y","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"value":{"function":"selectedPlayer"}},{"type":"playSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}}],"else":[]}],"else":[]}],"else":[]}],"else":[]}]},{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":1}],"else":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}},"4b"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[]}],"comment":"go to next location in array"},{"type":"runScript","scriptName":"6JhZelfi0T","isEntityScript":true}],"else":[{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":0.01}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locked?","dataType":"boolean","entity":"5rebr6sNk0","key":"locked?"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"office"],"then":[{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":0.01},{"type":"return"}],"else":[],"disabled":false}],"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"previousLocation","dataType":"string","entity":"DSGuZU81MC","key":"previousLocation"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDoor","dataType":"boolean","entity":"12rIEBXYHr","key":"bDoor"}},"entity":{"function":"getVariable","variableName":"rightDoorUnit"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"office"},{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":1}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"4a"}]},{"type":"runScript","scriptName":"6JhZelfi0T","isEntityScript":true}],"else":[{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":0.01}]}]}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"rXdTdsy7X2","order":2}},"streamMode":1,"isUnTargetable":false,"unitTypes":{"DSGuZU81MC":{"scripts":{"K9s8MqqEwz":{"name":"created"},"mMxAEOtq5o":{"name":""},"T67nI9d802":{"name":"movement"}}}}},"wSfUVGAeap":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[12],"loopCount":"","framesPerSecond":0},"jZRsiwEShV":{"name":"use","frames":[1,2,3,4,5,6,7,8,9,10,11],"framesPerSecond":30,"loopCount":1},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":30,"loopCount":1},"sJHXsFBmJG":{"name":"default2","frames":[11],"framesPerSecond":0,"loopCount":0},"hvGZyN5wPl":{"name":"invisible","frames":[12],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.45","dataType":"","value":0,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":"1.33333333","height":1,"z-index":{"layer":2,"depth":1},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/r61BGYz/image-1-png-28-1.png","rowCount":4,"columnCount":3},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"saveCameraRoom":{"default":"u12I0PEbYc","dataType":"unitType","streamMode":1},"currentCameraRoom":{"dataType":"unit","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraWidth"},600]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraWidth"},300]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"getCameraWidth"},"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"+"},{"function":"getCameraHeight"},0]},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"comment":"","disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runMode":1,"runOnClient":true}],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2750]},"runMode":1,"runOnClient":true,"comment":"","disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2000]},"runMode":1,"runOnClient":true,"comment":"","disabled":true}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"8j6BO2qJJq":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityAttribute","attribute":"8pdqPHOBLe","entity":{"function":"thisEntity"},"value":0}],"name":"created","parent":null,"key":"8j6BO2qJJq","order":0},"jcn1wLvlWc":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[],"name":"move camera x","parent":null,"key":"jcn1wLvlWc","order":1},"bwqlRmpn6L":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hvGZyN5wPl","disabled":true},{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"camera"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"sJHXsFBmJG","disabled":true},{"type":"runScript","scriptName":"5NDCP2MIJe","isEntityScript":true}],"else":[]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"bwqlRmpn6L","order":3},"7Uth6HvGSR":{"triggers":[{"type":"entityAttributeBecomesFull"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"camera"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"jZRsiwEShV"},{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"dropped"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"saveCameraRoom","dataType":"unitType","entity":"wSfUVGAeap","key":"saveCameraRoom"}},"value":{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"thisEntity"}}},"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"BG_"},true],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"radarEnabled","dataType":"boolean","entity":"humanPlayer","key":"radarEnabled"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},false],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"yz2nXDn757"],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"else":[]}]}],"else":[]}]}]},{"type":"setTimeOut","duration":10,"actions":[]},{"type":"setTimeOut","duration":50,"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unitType"},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"wSfUVGAeap"],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"cameraUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}},{"type":"break"}],"else":[]}]}],"else":[]}],"else":[]}]}]}]}],"else":[]}],"name":"attribute == full","parent":null,"key":"7Uth6HvGSR","order":4},"5NDCP2MIJe":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"createUnitAtPosition","unitType":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"saveCameraRoom","dataType":"unitType","entity":"wSfUVGAeap","key":"saveCameraRoom"}},"entity":{"function":"thisEntity"}},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"19df522e","disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"getLastCreatedUnit"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"getLastCreatedUnit"}}]}]},0]},"runMode":1,"comment":"","runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"getLastCreatedUnit"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"disabled":true},{"type":"setTimeOut","duration":200,"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"camera"],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"yz2nXDn757"},"actions":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"radarEnabled","dataType":"boolean","entity":"humanPlayer","key":"radarEnabled"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},true],"then":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[]}]}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"saveCameraRoom","dataType":"unitType","entity":"wSfUVGAeap","key":"saveCameraRoom"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getVariable","variableName":"cameraDowntimeArray"},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":4},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[{"type":"playSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}]}]}],"isExpanded":{"self":true},"comment":"garble sound"}],"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"value":{"function":"selectedUnit"},"disabled":false,"comment":""},{"type":"break"}],"else":[]}]}],"else":[]}]},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"305251de","runMode":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"getLastCreatedUnit"}}]},"runMode":0,"comment":"","disabled":true},{"type":"changeScaleOfEntityBody","entity":{"function":"getLastCreatedUnit"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runMode":0,"disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[],"else":[],"comment":"if entity smaller than screen","runMode":0,"disabled":true},{"type":"runScript","scriptName":"6dGijYeNM1","isEntityScript":true,"runMode":0,"disabled":true},{"type":"createUnitAtPosition","unitType":"vLYr76DtQk","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"27465249","disabled":false},{"type":"createEntityForPlayerAtPositionWithDimensions","entity":"vLYr76DtQk","player":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"height":{"function":"getCameraWidth"},"width":{"function":"getCameraHeight"},"angle":0,"runMode":0,"entityType":"unitTypes","disabled":true},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},{"type":"runScript","scriptName":"6dGijYeNM1","isEntityScript":true,"disabled":false},{"type":"repeat","count":4,"actions":[{"type":"createUnitAtPosition","unitType":"mQrDLYNdZR","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"45405338","runMode":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"runMode":0},{"type":"runScript","scriptName":"6dGijYeNM1","isEntityScript":true,"runMode":0}],"runMode":0},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[]},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"selectedUnit"}},{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}],"then":[{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"cameraUnits"},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},{"function":"selectedUnitType"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}},{"type":"break"}],"else":[]}]}],"else":[]}]}],"disabled":false}],"name":"create ui","parent":null,"key":"5NDCP2MIJe","order":6},"6dGijYeNM1":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"getLastCreatedUnit"}}]},"runMode":1,"comment":"","runOnClient":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[{"type":"changeScaleOfEntityBody","entity":{"function":"getLastCreatedUnit"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runMode":1,"runOnClient":true}],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true}],"name":"resize last projectile","parent":null,"key":"6dGijYeNM1","order":7}},"frames":{}},"HiWh4ssftW":{"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":0,"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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":597,"height":45,"z-index":{"layer":3,"depth":1},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699929399827_image-1.png_(32).png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Look at Camera UI","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"HiWh4ssftW":{"scripts":{"1Ggfc6RWdc":{"name":"every frame"}}}},"scripts":{"1Ggfc6RWdc":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraHeight"},50]}]}},"runMode":2,"disabled":true},{"type":"transformRegionDimensions","region":{"function":"getVariable","variableName":"dynamicRegion"},"x":{"function":"getPositionX","position":{"function":"getCameraPosition"}},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}},"width":1000,"height":1000,"runMode":2,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}}},"y":1124},"runMode":0,"actionId":"26543e07","disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2500]},"runMode":1,"runOnClient":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"name":"every frame","parent":null,"key":"1Ggfc6RWdc","order":-1},"rqeqceC9pz":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"cameraUnit","dataType":"unit","entity":"humanPlayer","key":"cameraUnit"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}},"y":1278},"runMode":2,"disabled":false,"actionId":"30ef63e7"}],"name":"every frame 2","parent":null,"key":"rqeqceC9pz","order":1}}},"mQrDLYNdZR":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1,2,3,4,5,6,7,8],"loopCount":"","framesPerSecond":20},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":7},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/1nwfX3X/output-onlinepngtools.png","rowCount":4,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Static","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"jcn1wLvlWc":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[],"name":"move camera x","parent":null,"key":"jcn1wLvlWc","order":1},"bwqlRmpn6L":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"camera"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"sJHXsFBmJG"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"bwqlRmpn6L","order":3},"7Uth6HvGSR":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"camera"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"jZRsiwEShV"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"dropped"}]}],"else":[]}],"name":"attribute == full","parent":null,"key":"7Uth6HvGSR","order":4},"3KmlusP3jj":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"comment":"","runOnClient":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false}],"name":"created","parent":null,"key":"3KmlusP3jj","order":-1}},"frames":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"vRVyeyw8sX":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[18],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"bWUMZER7Nx":{"name":7,"frames":[7],"framesPerSecond":0,"loopCount":0},"MXqwxryYSD":{"name":8,"frames":[8],"framesPerSecond":0,"loopCount":0},"zP4ybUBxiK":{"name":9,"frames":[9],"framesPerSecond":0,"loopCount":0},"vUOH9k56TA":{"name":10,"frames":[10],"framesPerSecond":0,"loopCount":0},"kKuL0JSdaB":{"name":11,"frames":[11],"framesPerSecond":0,"loopCount":0},"ebFLsXk9rL":{"name":12,"frames":[12],"framesPerSecond":0,"loopCount":0},"xi6Rtmd94o":{"name":13,"frames":[13],"framesPerSecond":0,"loopCount":0},"btt1nfWaiJ":{"name":14,"frames":[14],"framesPerSecond":0,"loopCount":0},"Fr3YKneWJx":{"name":15,"frames":[15],"framesPerSecond":0,"loopCount":0},"IkUUQ3wRJG":{"name":16,"frames":[16],"framesPerSecond":0,"loopCount":0},"JrHlx2DpzB":{"name":17,"frames":[17],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":100,"dataType":"","value":5,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":9},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/zJh82m6/image-13.png","rowCount":6,"columnCount":3},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Camera Effect","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"cameraWidth":{"default":0,"dataType":"number","streamMode":3}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"actionId":"277b70e6","disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"teleportEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"8j6BO2qJJq":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"comment":"","runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setTimeOut","duration":100,"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"}},5],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":7,"max":11}}],"else":[]},{"type":"for","variableName":"i","start":0,"stop":{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"}},"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},20]},"actions":[{"type":"runScript","scriptName":"JC0wquErk9","isEntityScript":true}]}]},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"}},1]},20]},"actions":[{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":false}]}]}],"name":"created","parent":null,"key":"8j6BO2qJJq","order":-1},"JC0wquErk9":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":0},{"type":"repeat","count":10,"actions":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":17},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"tempNum_G"}],"then":[{"type":"continue"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"getVariable","variableName":"tempNum_G"}},{"type":"break"}]}]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"8ZzjsALtC9"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},4],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},5],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},6],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},7],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bWUMZER7Nx"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},8],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"MXqwxryYSD"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},9],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"zP4ybUBxiK"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},10],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"vUOH9k56TA"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},11],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"kKuL0JSdaB"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},12],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"ebFLsXk9rL"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},13],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"xi6Rtmd94o"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},14],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"btt1nfWaiJ"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},15],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"Fr3YKneWJx"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},16],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"IkUUQ3wRJG"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},17],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"JrHlx2DpzB"}],"else":[]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],"name":"update animation","parent":null,"key":"JC0wquErk9","order":5}},"frames":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"vLYr76DtQk":{"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":0,"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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":2840,"height":1350,"z-index":{"layer":2,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1700783296074_New_Piskel-1.png_(21).png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Camera UI","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"B8taxSxRX7":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},3500]},"runMode":2,"comment":"","disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]}]},0]},"runMode":1,"comment":"","runOnClient":true,"disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"fighter","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"fighter","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"comment":"","runOnClient":true,"disabled":true},{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"numberToString","value":{"function":"getCameraWidth"}},"color":"green","runOnClient":true,"runMode":1,"disabled":true},{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"color":"green","runMode":0,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every frame","parent":null,"key":"B8taxSxRX7","order":1},"q6fpWzMXD1":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"comment":"","runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":1,"runMode":0,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"value":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},278]}},"disabled":true},{"type":"createUnitAtPosition","unitType":"yz2nXDn757","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"angle":0,"disabled":true}],"name":"created","parent":null,"key":"q6fpWzMXD1","order":-1}}},"u12I0PEbYc":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"bWUMZER7Nx":{"name":7,"frames":[7],"framesPerSecond":0,"loopCount":0},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/tDfGXcz/64405-1-png-1.png","rowCount":4,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_Showstage Camera","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"},"G0bWct6PbX":{"name":2,"animation":"bQfbysuYSs","body":"default","particles":{},"sound":{}},"01P8qCZxdt":{"name":6,"animation":"hd1WvHW4J3","body":"default","particles":{},"sound":{}}},"streamMode":1,"variables":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"stage","dataType":"string","streamMode":1},"animationScene":{"default":"normal","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},1200]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"getCameraWidth"},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraHeight"},{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraWidth"},2150]}]},"runMode":1,"runOnClient":true,"disabled":true,"comment":"2150x983"},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2150]},1],"then":[{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false}],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]}]},2]},"runMode":1,"comment":"","runOnClient":true,"disabled":true},{"type":"setFadingTextOfUnit","unit":{"function":"thisEntity"},"text":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"color":"green","runOnClient":true,"runMode":1,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runMode":2,"disabled":true},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"fighter","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"btVl9eKU56":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"runMode":1,"comment":"","runOnClient":true,"vars":[]},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity","vars":[]},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"},"vars":[]},"entity":{"function":"thisEntity","vars":[]},"vars":[]},"runOnClient":true,"runMode":1,"disabled":false,"vars":[]},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity","vars":[]},"scale":1,"runMode":0,"disabled":false,"vars":[]}],"name":"created","parent":null,"key":"btVl9eKU56","order":1},"UciQMQSeE0":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"fighter","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"getLastCreatedProjectile"}}]},"runOnClient":true,"runMode":1,"vars":[]},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"fighter","key":"scaleFactor"},"vars":[]},"entity":{"function":"thisEntity","vars":[]},"vars":[]},1],"then":[{"type":"changeScaleOfEntityBody","entity":{"function":"getLastCreatedProjectile","vars":[]},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"fighter","key":"scaleFactor"},"vars":[]},"entity":{"function":"thisEntity","vars":[]},"vars":[]},"runOnClient":true,"runMode":1,"vars":[]}],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"vars":[]}],"name":"resize last projectile","parent":null,"key":"UciQMQSeE0","order":2},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setTimeOut","duration":50,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}},{"function":"thisEntity"}],"then":[{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}]}],"else":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}]}],"isExpanded":{"self":true},"disabled":false}],"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getVariable","variableName":"cameraDowntimeArray"},"patternString":{"function":"getUnitId","unit":{"function":"thisEntity"}}},true],"then":[{"type":"return"}],"else":[],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"stage"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Freddy\""},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Bonnie\""},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"lookAll","comment":""}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":100},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"lookFreddy","comment":""}],"else":[]}]}]}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"},"value":0.05}],"else":[],"isExpanded":{"self":true},"disabled":true},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Freddy\""},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Bonnie\""},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"lookAll"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"setVariable","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":5,"textB":"\"]"}},"variableName":"tempString_G"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"thisEntity"}},"string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"placeholder","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"thisEntity"}},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"selectedPlayer"}},{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":4},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}}],"else":[{"type":"playSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}]}]}],"isExpanded":{"self":false},"comment":"garble sound"},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"2d569194","disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}],"else":[]}],"else":[]}],"isExpanded":{"self":false}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"tempString_G"}},1]},"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"variableName":"cameraDowntimeArray"}],"disabled":false}],"else":[],"comment":"garble","isExpanded":{"self":false}},{"type":"setTimeOut","duration":30,"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"value":"lookAll"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"lookFreddy"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"setVariable","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":4,"textB":"\"]"}},"variableName":"tempString_G"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"thisEntity"}},"string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"placeholder","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"thisEntity"}},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"selectedPlayer"}},{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":4},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}}],"else":[{"type":"playSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}]}]}],"isExpanded":{"self":false},"comment":"garble sound"},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"2d569194","disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}],"else":[]}],"else":[]}],"isExpanded":{"self":false}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"tempString_G"}},1]},"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"variableName":"cameraDowntimeArray"}],"disabled":false}],"else":[],"comment":"garble","isExpanded":{"self":false}},{"type":"setTimeOut","duration":30,"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"value":"lookFreddy","comment":""}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}]}]}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bWUMZER7Nx"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"value":"normal"}],"else":[]}],"else":[]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":3},"u3hcq2ulHC":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]"},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},"stage"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Freddy\""},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Bonnie\""},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"lookAll","comment":""}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":100},1],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"lookFreddy","comment":""}],"else":[]}]}]}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"},"value":0.05}],"else":[]}],"name":"every second","parent":null,"key":"u3hcq2ulHC","order":4},"H7xU3GY4Qb":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":null,"key":"H7xU3GY4Qb","order":6}},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"rDNIzdHzAN":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/61gJwqz/image-1-png-34-1.png","rowCount":3,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_Foxy'sCove Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"cove","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":1},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"5rebr6sNk0"],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":{"function":"getMax","num1":{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},"num2":{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}}},"comment":"higher value overrides lower value, cant go higher than 4 because attribute max","disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"getMax","num1":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"num2":{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"selectedUnit"}}},"comment":"higher value overrides lower value, cant go higher than 4 because attribute max"}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},4],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"itsme"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":100},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"itsme","comment":""}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}]}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},2],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},3],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}],"else":[]}]}]}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":3},"vvhjtG4l2B":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":null,"key":"vvhjtG4l2B","order":3}}},"8rFj66yv02":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/HFjCfrQ/image-1-png-35-1.png","rowCount":3,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_DiningArea Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"dining area","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getVariable","variableName":"cameraDowntimeArray"},"patternString":{"function":"getUnitId","unit":{"function":"thisEntity"}}},true],"then":[{"type":"return"}],"else":[],"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}},false],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":1,"max":2}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"pick random animation"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[]}],"comment":"remove animatronic from array if it's gone"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"comment":"check if animatronic left room"}],"comment":"dont add animatronic to array if it's already in it"}],"else":[]}],"disabled":true},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"incase theres multiple of the same ai"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":1,"max":2}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"pick random animation"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"function":"selectedUnit"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[]}],"comment":"remove animatronic from array if it's gone"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"comment":"check if animatronic left room"}],"else":[],"comment":"avoid getting the same ai that's in a different location"}],"comment":"dont add animatronic to array if it's already in it"}],"else":[]}]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},0],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":"[]","disabled":false,"comment":"reset array since every animatronic left"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"textB":"\"]"}},"disabled":false,"comment":"get the last animatronic who entered room"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},"comment":"pick random animation"}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Freddy\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Bonnie\""},true],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}]}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]}]}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":3},"b3LMUGDqSt":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":null,"key":"b3LMUGDqSt","order":3}}},"Lj3QPbwWar":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/x5tPzkT/New-Piskel.png","rowCount":4,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_Restroom Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"restroom","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}},false],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":{"function":"calculate","items":[{"operator":"+"},1,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},0.1]}}]},"max":4}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"pick random animation"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[]}],"comment":"remove animatronic from array if it's gone"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"comment":"check if animatronic left room"}],"comment":"dont add animatronic to array if it's already in it"}],"else":[]}],"disabled":true},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"incase theres multiple of the same ai"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":{"function":"calculate","items":[{"operator":"+"},1,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},0.1]}}]},"max":4}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"pick random animation"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"function":"selectedUnit"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[]}],"comment":"remove animatronic from array if it's gone"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"comment":"check if animatronic left room"}],"else":[],"comment":"avoid getting the same ai that's in a different location"}],"comment":"dont add animatronic to array if it's already in it"}],"else":[]}]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},0],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":"[]","disabled":false,"comment":"reset array since every animatronic left"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"textB":"\"]"}},"disabled":false,"comment":"get the last animatronic who entered room"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},"comment":"pick random animation"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Freddy\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},4],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}]}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":1},"MVIDFy0A0s":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":null,"key":"MVIDFy0A0s","order":3}}},"oMNyxHlIpw":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/TcjYmFj/New-Piskel-1.png","rowCount":4,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_Backstage Camera","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"},"G0bWct6PbX":{"name":2,"animation":"bQfbysuYSs","body":"default","particles":{},"sound":{}},"ySIRGUCnAY":{"name":4,"animation":"g3KasiwKaS","body":"default","particles":{},"sound":{}}},"streamMode":1,"variables":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"backstage","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1},"animationScene":{"default":"normal","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Bonnie\""},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"lookBonnie"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"setVariable","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":4,"textB":"\"]"}},"variableName":"tempString_G"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"thisEntity"}},"string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"placeholder","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"thisEntity"}},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"selectedPlayer"}},{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":4},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}}],"else":[{"type":"playSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}]}]}],"isExpanded":{"self":false},"comment":"garble sound"},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"2d569194","disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}],"else":[]}],"else":[]}],"isExpanded":{"self":false}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"tempString_G"}},1]},"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"variableName":"cameraDowntimeArray"}],"disabled":false}],"else":[],"comment":"garble","isExpanded":{"self":false}},{"type":"setTimeOut","duration":30,"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"value":"lookBonnie"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":100},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"lookBonnie","comment":""}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}]}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"lookEndo"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"setVariable","value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":4,"textB":"\"]"}},"variableName":"tempString_G"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"thisEntity"}},"string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"setVariable","value":{"function":"insertStringArrayElement","value":"placeholder","string":{"function":"getVariable","variableName":"tempString_G"}},"variableName":"tempString_G"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"thisEntity"}},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}},{"type":"playSoundForPlayer","sound":"mNBCA5ET2z","player":{"function":"selectedPlayer"}},{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":4},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playSoundForPlayer","sound":"niy2CLXkHJ","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playSoundForPlayer","sound":"SQ0o72Cc2B","player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playSoundForPlayer","sound":"FdT0ZzXN8R","player":{"function":"selectedPlayer"}}],"else":[{"type":"playSoundForPlayer","sound":"Xyg2dUwEov","player":{"function":"selectedPlayer"}}]}]}],"isExpanded":{"self":false},"comment":"garble sound"},{"type":"createUnitAtPosition","unitType":"vRVyeyw8sX","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"2d569194","disabled":false},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"getLastCreatedUnit"}}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}],"else":[]}],"else":[]}],"isExpanded":{"self":false}},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getVariable","variableName":"tempString_G"}},1]},"actions":[{"type":"setVariable","value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getVariable","variableName":"tempString_G"}},"string":{"function":"getVariable","variableName":"cameraDowntimeArray"}},"variableName":"cameraDowntimeArray"}],"disabled":false}],"else":[],"comment":"garble","isExpanded":{"self":false}},{"type":"setTimeOut","duration":30,"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"value":"lookEndo"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}]},{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"normal"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"animationScene","dataType":"string","entity":"oMNyxHlIpw","key":"animationScene"}},"value":"normal"}],"else":[]}],"else":[]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":3},"NzkJItPeLQ":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":null,"key":"NzkJItPeLQ","order":3}}},"762eiMVWy5":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/tqpFcsj/image-1-png-36.png","rowCount":2,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_Closet Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"closet","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Bonnie\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":3},"qX214uhjOK":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":null,"key":"qX214uhjOK","order":3}}},"huwWZJg2aC":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/m8kjTty/image-1-png-38-2.png","rowCount":3,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_4a Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"4a","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}},false],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":{"function":"calculate","items":[{"operator":"+"},1,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},0.1]}}]},"max":4}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"pick random animation"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[]}],"comment":"remove animatronic from array if it's gone"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"comment":"check if animatronic left room"}],"comment":"dont add animatronic to array if it's already in it"}],"else":[]}],"disabled":true},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"incase theres multiple of the same ai"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"numberToString","value":{"function":"getRandomNumberBetween","min":{"function":"calculate","items":[{"operator":"+"},1,{"function":"mathFloor","value":{"function":"calculate","items":[{"operator":"*"},{"function":"getEntityAttribute","attribute":"V5qN19hJGO","entity":{"function":"selectedUnit"}},0.1]}}]},"max":4}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"pick random animation"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"function":"selectedUnit"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[]}],"comment":"remove animatronic from array if it's gone"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"comment":"check if animatronic left room"}],"else":[],"comment":"avoid getting the same ai that's in a different location"}],"comment":"dont add animatronic to array if it's already in it"}],"else":[]}]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},0],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":"[]","disabled":false,"comment":"reset array since every animatronic left"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"textB":"\"]"}},"disabled":false,"comment":"get the last animatronic who entered room"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},"comment":"pick random animation"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Freddy\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},4],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"itsme"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"crying"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}]}]}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":3},"mz2JJyRbKt":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":null,"key":"mz2JJyRbKt","order":3}}},"viVY6ye3IT":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"bWUMZER7Nx":{"name":7,"frames":[7],"framesPerSecond":0,"loopCount":0},"MXqwxryYSD":{"name":8,"frames":[8],"framesPerSecond":0,"loopCount":0},"zP4ybUBxiK":{"name":9,"frames":[9],"framesPerSecond":0,"loopCount":0},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/DKK7gfq/image-1-png-38-3.png","rowCount":5,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_4b Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"4b","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}},"viVY6ye3IT":{"scripts":{"ot454VE8Au":{"name":"attribute == full"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"incase theres multiple of the same ai"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"night#"},4],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":"twitch","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"enable twitching"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":"none","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":""}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"function":"selectedUnit"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[]}],"comment":"remove animatronic from array if it's gone"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"comment":"check if animatronic left room"}],"else":[],"comment":"avoid getting the same ai that's in a different location"}],"comment":"dont add animatronic to array if it's already in it"}],"else":[]}]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},0],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":"[]","disabled":false,"comment":"reset array since every animatronic left"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"textB":"\"]"}},"disabled":false,"comment":"get the last animatronic who entered room"}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Freddy\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"zP4ybUBxiK"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Chica\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},0,0],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"twitch","comment":""}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}],"disabled":true}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"poster1"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"poster2"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"poster3"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"poster4"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}]}]}]}]}]}],"else":[],"isExpanded":{"then":false}}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":1},"YrHrdJflru":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":1,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"textB":"\"]"}},"disabled":false,"comment":"get the last animatronic who entered room"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},"comment":"check for twitch element"},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"AI Chica"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"twitch"},true]],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"getRandomNumberBetween","min":10,"max":40},"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":20,"max":50},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},10]}]},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"AI Chica"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"twitch"},true]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":3},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bWUMZER7Nx"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}]}],"else":[]}]}]},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":3000,"max":7500},10]},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"AI Chica"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"twitch"},true]],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"MXqwxryYSD"}],"else":[]},{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"YrHrdJflru","isEntityScript":true}]}]}],"else":[{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"YrHrdJflru","isEntityScript":true}]}]}]}],"name":"twitch","parent":null,"key":"YrHrdJflru","order":3},"7SPE2upVZ2":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"runScript","scriptName":"YrHrdJflru","isEntityScript":true}],"name":"created","parent":null,"key":"7SPE2upVZ2","order":4},"R6quSI3NLy":{"key":"R6quSI3NLy","folderName":"scroll","parent":null,"order":-1},"twz2aiCL6J":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":"R6quSI3NLy","key":"twz2aiCL6J","order":1},"NLKnxDXJaJ":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"es7ok5LhDX"],"then":[{"type":"setTimeOut","duration":{"function":"getVariable","variableName":"@cameraScrollWait"},"actions":[{"type":"setEntityAttributeRegenerationRate","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":{"function":"getVariable","variableName":"@cameraScrollRegen"}}]}],"else":[]}],"name":"scroll == 0","parent":"R6quSI3NLy","key":"NLKnxDXJaJ","order":2},"tfZixq2Pr7":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"es7ok5LhDX"],"then":[{"type":"setTimeOut","duration":{"function":"getVariable","variableName":"@cameraScrollLimit"},"actions":[{"type":"setEntityAttributeRegenerationRate","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"@cameraScrollRegen"},-1]}}]}],"else":[]}],"name":"scroll == full","parent":"R6quSI3NLy","key":"tfZixq2Pr7","order":3}}},"fDxe83JrKf":{"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":0,"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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1700973345488_image-1.png_(38)-10.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_Kitchen Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"kitchen","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}],"else":[]}],"else":[]}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":3}}},"RZtcUUAEXp":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"ui6LgM16B0":{"name":"actuallyInvisible","frames":[1065],"framesPerSecond":0,"loopCount":""},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":200,"value":1,"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":"dynamic","width":58,"height":58,"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":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1594324438736_1.png","rowCount":128,"columnCount":128},"confinedWithinMapBoundaries":false,"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":{}},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"wRv3SAzCJq":{"name":"Toreador March","file":"https://cache.modd.io/asset/sound/1699581741096_Music_box.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"New Unit","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":{"ownerUnit":{"dataType":"unit","streamMode":1}},"isUnTargetable":false,"scripts":{"pjj6rp1BAo":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"FootSoldier"],"then":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runMode":2,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"runMode":1,"runOnClient":true}],"else":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"runMode":2,"actionId":"1602b79f"}],"runMode":1,"runOnClient":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraWidth"},600]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraWidth"},300]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"getCameraWidth"},"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"+"},{"function":"getCameraHeight"},0]},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"comment":"","disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runMode":1,"runOnClient":true}],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2750]},"runMode":1,"runOnClient":true,"comment":"","disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2000]},"runMode":1,"runOnClient":true,"comment":"","disabled":true}],"name":"every frame","parent":null,"key":"pjj6rp1BAo","order":2}},"frames":{}},"u5IYMPTUUX":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"framesPerSecond":33,"loopCount":1},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/KXhwWSm/image-1-png-39-2.png","rowCount":9,"columnCount":4},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_2a Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"2a","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"foxy"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"foxy2"},{"type":"setTimeOut","duration":1000,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"none"},{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"},"value":0.05}]}],"else":[]},{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"foxy2"],"then":[{"type":"return"}],"else":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Bonnie\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"bonnie"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"flicker"}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":3},"h9vOlQwrJL":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":1,"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"foxy2"],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"bonnie"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}]},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":2000,"max":10000},500]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"foxy2"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"8ZzjsALtC9"},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":5000,"max":13500},1000]},"actions":[{"type":"runScript","scriptName":"h9vOlQwrJL","isEntityScript":true}]}],"else":[{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"h9vOlQwrJL","isEntityScript":true}]}]}]}],"else":[{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"h9vOlQwrJL","isEntityScript":true}]}]}]}],"name":"flicker","parent":null,"key":"h9vOlQwrJL","order":3},"jQNjUZBbKR":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"runScript","scriptName":"h9vOlQwrJL","isEntityScript":true}],"name":"created","parent":null,"key":"jQNjUZBbKR","order":3},"hFBs6SruHu":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":null,"key":"hFBs6SruHu","order":5}}},"hQPt6zlmKJ":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"rEw80UWcva":{"name":"invisibleAnimation","frames":[156],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":"0.5","dataType":"","value":"0.5","regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/vvFZrMv/image-1-png-39-3.png","rowCount":3,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"BG_2b Camera","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"scene":{"default":"normal","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"2b","dataType":"string","streamMode":1},"priorityArray":{"default":"[]","dataType":"string","streamMode":1},"goldenFreddyAppeared":{"default":false,"dataType":"boolean","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"u12I0PEbYc":{"scripts":{"P76c5zerCY":{"name":"attribute == 0"}}}},"scripts":{"59PGYJ4rC2":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"every frame","parent":null,"key":"59PGYJ4rC2","order":-1},"P76c5zerCY":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Bonnie\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]}],"else":[],"disabled":true},{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"yl11AW6n5H"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"stringStartsWith","sourceString":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"patternString":"AI "},true],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitId","unit":{"function":"selectedUnit"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"incase theres multiple of the same ai"},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"night#"},4],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":"twitch","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"enable twitching"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":"none","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":""}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"else":[]}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getUnitId","unit":{"function":"selectedUnit"}}},true],"then":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"selectedUnit"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getUnitFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"function":"selectedUnit"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"i"},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":{"function":"removeStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}}},{"type":"break"}],"else":[]}],"comment":"remove animatronic from array if it's gone"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getUnitTypeName","unitType":{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"comment":"counts how many animatronics there are in the room"}],"comment":"check if animatronic left room"}],"else":[],"comment":"avoid getting the same ai that's in a different location"}],"comment":"dont add animatronic to array if it's already in it"}],"else":[]}]},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},0],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"value":"[]","disabled":false,"comment":"reset array since every animatronic left"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"textB":"\"]"}},"disabled":true,"comment":"get the last animatronic who entered room"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"5rebr6sNk0","key":"priorityArray"}},"entity":{"function":"thisEntity"}},"disabled":false,"comment":""}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"\"AI Bonnie\""},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"goldenFreddyAppeared","dataType":"boolean","entity":"hQPt6zlmKJ","key":"goldenFreddyAppeared"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"yellowBear","comment":""}],"else":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"thisEntity"}},"freddyHead"],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"}]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"value":"normal","comment":""}]}]}],"else":[]}],"name":"attribute == 0","parent":null,"key":"P76c5zerCY","order":3},"LR7EZGYbXU":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":1,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]","disabled":false,"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"concat","textA":"[\"","textB":{"function":"concat","textA":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},1]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"textB":"\"]"}},"disabled":false,"comment":"get the last animatronic who entered room"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getStringArrayElement","number":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},2]},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"priorityArray","dataType":"string","entity":"8rFj66yv02","key":"priorityArray"}},"entity":{"function":"thisEntity"}}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},"comment":"check for twitch element"},{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"AI Bonnie"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"twitch"},true]],"then":[{"type":"for","variableName":"i","start":0,"stop":{"function":"getRandomNumberBetween","min":2,"max":5},"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":100,"max":600},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},100]}]},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"AI Bonnie"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"twitch"},true]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":3},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}]}],"else":[]}]}],"disabled":true},{"type":"for","variableName":"i","start":0,"stop":{"function":"getRandomNumberBetween","min":10,"max":40},"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":20,"max":50},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},10]}]},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"AI Bonnie"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"twitch"},true]],"then":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":3},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}]}],"else":[]}]}]},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":4000,"max":7000},10]},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"AI Bonnie"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"twitch"},true]],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}],"else":[]},{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"LR7EZGYbXU","isEntityScript":true}]}],"disabled":true},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"/"},{"function":"getRandomNumberBetween","min":3000,"max":7500},10]},"actions":[{"type":"condition","conditions":[{"operandType":"and","operator":"AND"},[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"AI Bonnie"},true],[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":"twitch"},true]],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}],"else":[]},{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"LR7EZGYbXU","isEntityScript":true}]}]}],"else":[{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"LR7EZGYbXU","isEntityScript":true}]}]}]}],"name":"twitch","parent":null,"key":"LR7EZGYbXU","order":3},"DFJaBUW0PR":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"runScript","scriptName":"LR7EZGYbXU","isEntityScript":true}],"name":"created","parent":null,"key":"DFJaBUW0PR","order":4},"GvLFs2pBJQ":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"@cameraScrollLimit"}]}]},"y":{"function":"getPositionY","position":{"function":"getCameraPosition"}}},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"name":"new every frame","parent":null,"key":"GvLFs2pBJQ","order":5}}},"uQ4Jhd82Vt":{"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":0,"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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":"1014.375","height":"970.53","z-index":{"layer":1,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701118771675_image-1.png_(40).png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Golden Freddy","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"tempNum_L":{"default":2,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"IxzrAoJFJA":{"scripts":{"pvykpdizKO":{"name":"attribute == 0"}}},"uQ4Jhd82Vt":{"scripts":{"cnKupvU7Vf":{"name":"every frame"}}}},"scripts":{"pvykpdizKO":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}]},{"type":"setTimeOut","duration":100,"actions":[{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":1213,"y":904}}]}]},{"type":"setEntityLifeSpan","entity":{"function":"thisEntity"},"lifeSpan":10000}],"name":"created","parent":null,"key":"pvykpdizKO","order":-1},"cnKupvU7Vf":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},1]}},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},0],"then":[{"type":"setTimeOut","duration":450,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},true],"then":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}],"else":[]}]}],"else":[]}],"else":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true}],"else":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"repeat","count":99,"actions":[{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"variable":{"function":"getEntityVariable","variable":{"text":"saveCameraRoom","dataType":"unitType","entity":"wSfUVGAeap","key":"saveCameraRoom"}},"value":{"function":"getRandomUnitTypeFromUnitTypeGroup","unitTypeGroup":{"function":"getVariable","variableName":"Camera Backgrounds"}},"comment":""},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"saveCameraRoom","dataType":"unitType","entity":"wSfUVGAeap","key":"saveCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"hQPt6zlmKJ"],"then":[{"type":"continue"}],"else":[{"type":"break"}]}]}],"else":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":false}]}],"name":"every frame","parent":null,"key":"cnKupvU7Vf","order":1}}},"g7CyGkWiy9":{"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":"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":false},"movementType":"wasd","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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"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":"AI Golden Freddy","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701134780960_image-1_(1).png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":24,"height":24,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"variables":{"movementOpportunity":{"default":0,"dataType":"number","streamMode":1},"bRadarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"radarArray":{"default":"[]","dataType":"string","streamMode":1},"locationArray":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"none","dataType":"string","streamMode":1},"bDisabled":{"default":true,"dataType":"boolean","streamMode":1},"locationPosition":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"moveableLocationsArray":{"default":"[]","dataType":"string","streamMode":1},"tempString_L":{"default":"","dataType":"string","streamMode":1},"closetLocationIndex":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1}},"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":false,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"defaultItems":[],"scripts":{"K9s8MqqEwz":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":10,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"value":"[\"none\",\"2b\"]","comment":""},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":"[]"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"none\",\"99999\",\"0\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"b2\",\"195\",\"3.3791\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"cove\",\"143\",\"-1.4871\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"cove\",\"116\",\"4.6178\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"a2\",\"68\",\"4.2422\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"2a\",\"98\",\"3.7973\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":true,"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"door\",\"163\",\"3.4459\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"office\",\"187\",\"3.2216\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":true}],"else":[],"comment":"radar arrays","isExpanded":{"self":true}},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true}]}],"name":"created","parent":null,"key":"K9s8MqqEwz","order":-1},"r12NPpTJQh":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"2b"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"value":"none"}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"string"},{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"location","dataType":"string","entity":"QGpO8XXEWo","key":"location"}},"entity":{"function":"thisEntity"}}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}]},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}}],"name":"update position","parent":null,"key":"r12NPpTJQh","order":3},"uY3oX9sh2S":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllUnits","unitGroup":{"function":"allUnitsOwnedByPlayer","player":{"function":"getVariable","variableName":"object"}},"actions":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"selectedUnit"}},"hQPt6zlmKJ"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scene","dataType":"string","entity":"u12I0PEbYc","key":"scene"}},"entity":{"function":"selectedUnit"}},"yellowBear"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":"[]"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":false},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":false}]},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"camera"],"then":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"subString","sourceString":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}},"patternString":{"function":"getPlayerId","player":{"function":"selectedPlayer"}}},false],"then":[{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"getUnitTypeOfUnit","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"currentCameraRoom","dataType":"unit","entity":"wSfUVGAeap","key":"currentCameraRoom"}},"entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"monitorCameraUnit","dataType":"unit","entity":"9SDtGUOM4N","key":"monitorCameraUnit"}},"entity":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}}}},"hQPt6zlmKJ"],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getPlayerId","player":{"function":"selectedPlayer"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},{"type":"createUnitAtPosition","unitType":"uQ4Jhd82Vt","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}},{"type":"playSoundForPlayer","sound":"SUsFQzPQf8","player":{"function":"selectedPlayer"}},{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"goldenFreddyAppeared","dataType":"boolean","entity":"hQPt6zlmKJ","key":"goldenFreddyAppeared"}},"value":false}],"else":[]}],"else":[]}],"else":[]}]},{"type":"return"}],"else":[]}],"else":[]}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":true},{"type":"runScript","scriptName":"r12NPpTJQh","isEntityScript":true}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"bDisabled","dataType":"boolean","entity":"12rIEBXYHr","key":"bDisabled"}},"value":true}]}],"name":"every frame","parent":null,"key":"uY3oX9sh2S","order":2}},"streamMode":1,"isUnTargetable":false,"unitTypes":{"DSGuZU81MC":{"scripts":{"K9s8MqqEwz":{"name":"created"},"mMxAEOtq5o":{"name":""},"T67nI9d802":{"name":"movement"}}},"5rebr6sNk0":{"scripts":{"r12NPpTJQh":{"name":"update position"}}},"g7CyGkWiy9":{"scripts":{"uY3oX9sh2S":{"name":"every frame"}}}}},"j2DNwEZlGc":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":2560,"height":1440,"z-index":{"layer":2,"depth":9},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/Zz6Fdwt/image-1-png-42-1-png-1.png","rowCount":2,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Title Screen Background","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"idealCamHeight"},0]}]},"runMode":1,"runOnClient":true,"disabled":false,"comment":""},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"teleportEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"8j6BO2qJJq":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"comment":"","runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"forAllUnitTypes","unitTypeGroup":{"function":"getVariable","variableName":"createTitleUnits"},"actions":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"31776f0f"},{"type":"condition","conditions":[{"operandType":"unitType","operator":"=="},{"function":"selectedUnitType"},"TQ5EROGDnC"],"then":[{"type":"createUnitAtPosition","unitType":{"function":"selectedUnitType"},"entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"3832419b"},{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"getLastCreatedUnit"},"value":0},{"type":"setEntityAttributeMax","attribute":"es7ok5LhDX","entity":{"function":"getLastCreatedUnit"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"entityAttributeMax","attribute":"es7ok5LhDX","entity":{"function":"getLastCreatedUnit"}},{"function":"absoluteValueOfNumber","number":{"function":"entityAttributeMin","attribute":"es7ok5LhDX","entity":{"function":"getLastCreatedUnit"}}}]},"disabled":true}],"else":[]}]},{"type":"for","variableName":"i","start":1,"stop":12,"actions":[{"type":"createUnitAtPosition","unitType":"OEGqDMgmQI","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":1472,"y":672},"angle":0},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"getVariable","variableName":"i"}}]},{"type":"setTimeOut","duration":100,"actions":[{"type":"runScript","scriptName":"ca4D0qMJcQ","isEntityScript":true}],"disabled":false}],"name":"created","parent":null,"key":"8j6BO2qJJq","order":-1},"ca4D0qMJcQ":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":1,"actions":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":2,"max":6},"variableName":"i2"},{"type":"for","variableName":"i","start":0,"stop":{"function":"getVariable","variableName":"i2"},"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"i"},{"function":"getVariable","variableName":"i2"}],"then":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},200,{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},40]}]},"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"8ZzjsALtC9"}]}],"else":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"getRandomNumberBetween","min":100,"max":200},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},40]}]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":5},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":5},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":5},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"8ZzjsALtC9"}]}]}]}]}]}]},{"type":"setTimeOut","duration":{"function":"getRandomNumberBetween","min":4000,"max":8000},"actions":[{"type":"runScript","scriptName":"ca4D0qMJcQ","isEntityScript":true}]}]}],"name":"twitch","parent":null,"key":"ca4D0qMJcQ","order":4}},"frames":{}},"OEGqDMgmQI":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1,2,3,4,5,6,7,8],"loopCount":"","framesPerSecond":36},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/1nwfX3X/output-onlinepngtools.png","rowCount":4,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Title Static","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"idealCamHeight"},300]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false}],"runOnClient":true,"runMode":1}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"3KmlusP3jj":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"comment":"","runOnClient":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setTimeOut","duration":100,"actions":[{"type":"runScript","scriptName":"rR1ojlhqjF","isEntityScript":true}]}],"name":"created","parent":null,"key":"3KmlusP3jj","order":-1},"rR1ojlhqjF":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},3],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":{"function":"calculate","items":[{"operator":"*"},{"function":"getMin","num1":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"num2":6},0.8]}},1],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"title"],"then":[{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[]}]}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":{"function":"calculate","items":[{"operator":"*"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},2]}},1],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}]}],"else":[]}],"disabled":true},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getRandomNumberBetween","min":1,"max":{"function":"calculate","items":[{"operator":"*"},{"function":"getMin","num1":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"num2":2},0.5]}},1],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"title"],"then":[{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[]}]}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":4},1],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}]}],"else":[]}]},{"type":"setTimeOut","duration":{"function":"getRandomNumberBetween","min":100,"max":300},"actions":[{"type":"runScript","scriptName":"rR1ojlhqjF","isEntityScript":true}]}],"else":[]}],"name":"hide/show","parent":null,"key":"rR1ojlhqjF","order":5}},"frames":{},"cameraOffset":{"x":0,"y":0,"z":0},"cameraPitchRange":{"min":-90,"max":90},"cameraPointerLock":false,"isBillboard":false},"3Dgv2fPnXQ":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":201,"height":212,"z-index":{"layer":3,"depth":4},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701489187292_444-1.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Title Game","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempNum2_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"idealCamHeight"},700]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},800,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamWidth"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"getVariable","variableName":"idealCamHeight"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"entityWidth","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}]},"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},800,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamHeight"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"getVariable","variableName":"idealCamWidth"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"entityHeight","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}]},"runOnClient":true,"runMode":1},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},2]}]}]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"entity":{"function":"thisEntity"}},2]}]}]}},"runOnClient":true,"runMode":1,"actionId":"298aff58","disabled":false},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"teleportEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2}},"frames":{}},"T8MpQYAoRg":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":203,"height":33,"z-index":{"layer":3,"depth":4},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701550271720_448-1.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Title New Game Button","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempNum2_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"idealCamHeight"},700]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},800,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamWidth"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"getVariable","variableName":"idealCamHeight"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"entityWidth","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}]},"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},60,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamHeight"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"getVariable","variableName":"idealCamWidth"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"entityHeight","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}]},"runOnClient":true,"runMode":1},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},2]}]}]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"entity":{"function":"thisEntity"}},2]}]}]}},"runOnClient":true,"runMode":1,"actionId":"2b9d1010","disabled":false},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},60,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamHeight"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"getVariable","variableName":"idealCamWidth"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"entityHeight","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}]},"runOnClient":true,"runMode":1},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},2]}]}]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"entity":{"function":"thisEntity"}},2]}]}]}},"runOnClient":true,"runMode":1,"actionId":"298aff58","disabled":false}],"else":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"runOnClient":true,"runMode":1,"actionId":"32ddd113","disabled":false}],"runMode":2,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"teleportEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every render frame","parent":null,"key":"NJ0VfIp2nk","order":2},"rcrXPoRboS":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[],"name":"every frame","parent":null,"key":"rcrXPoRboS","order":2}},"frames":{}},"jHAciFWXNv":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":201,"height":33,"z-index":{"layer":3,"depth":4},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701550463496_449-1.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Title Continue Button","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempNum2_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"idealCamHeight"},700]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},800,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamWidth"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"getVariable","variableName":"idealCamHeight"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"entityWidth","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}]},"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},51.75,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamHeight"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"getVariable","variableName":"idealCamWidth"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"entityHeight","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}]},"runOnClient":true,"runMode":1},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},2]}]}]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"entity":{"function":"thisEntity"}},2]}]}]}},"runOnClient":true,"runMode":1,"actionId":"298aff58","disabled":false},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},60,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamHeight"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"getVariable","variableName":"idealCamWidth"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},53.5,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamHeight"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"getVariable","variableName":"idealCamWidth"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false}],"runMode":2,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"teleportEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every render frame","parent":null,"key":"NJ0VfIp2nk","order":2},"H7KBAdO2lt":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[],"name":"every frame","parent":null,"key":"H7KBAdO2lt","order":1}},"frames":{}},"kmivtgcIYQ":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1,2,3,4,5,6,7,8],"loopCount":"","framesPerSecond":20},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701557870873_1659485604973_165948529064307241.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Fadeout","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"idealCamHeight"},999]}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":5,"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false}],"runOnClient":true,"runMode":1}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"8fOfngEhqe":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":10,"actions":[{"type":"setTimeOut","duration":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"actions":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}]}]}],"name":"created","parent":null,"key":"8fOfngEhqe","order":1}},"frames":{}},"wf96hnTFI6":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1},"hvGZyN5wPl":{"name":"invisible","frames":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],"framesPerSecond":14,"loopCount":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":2560,"height":1440,"z-index":{"layer":3,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://media.discordapp.net/attachments/908879631199907840/1182438613217189949/170156543331449517_3.png?ex=6584b2c6&is=65723dc6&hm=a3c1070eed3ec5a10ff31a29b4fe056802dd7cd2a3b9380d730f71893cc2002a","rowCount":6,"columnCount":3},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Newspaper Background","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"idealCamWidth"},250]}]},"runMode":1,"runOnClient":true,"disabled":false,"comment":""},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"teleportEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"8j6BO2qJJq":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}]}],"name":"created","parent":null,"key":"8j6BO2qJJq","order":-1}},"frames":{}},"TQ5EROGDnC":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[15],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"bWUMZER7Nx":{"name":7,"frames":[7],"framesPerSecond":0,"loopCount":0},"MXqwxryYSD":{"name":8,"frames":[8],"framesPerSecond":0,"loopCount":0},"zP4ybUBxiK":{"name":9,"frames":[9],"framesPerSecond":0,"loopCount":0},"vUOH9k56TA":{"name":10,"frames":[10],"framesPerSecond":0,"loopCount":0},"kKuL0JSdaB":{"name":11,"frames":[11],"framesPerSecond":0,"loopCount":0},"ebFLsXk9rL":{"name":12,"frames":[12],"framesPerSecond":0,"loopCount":0},"xi6Rtmd94o":{"name":13,"frames":[13],"framesPerSecond":0,"loopCount":0},"btt1nfWaiJ":{"name":14,"frames":[14],"framesPerSecond":0,"loopCount":0},"Fr3YKneWJx":{"name":15,"frames":[15],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":7,"dataType":"","value":5,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":-1400,"max":1000,"dataType":"","value":-1400,"regenerateSpeed":"8.5","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":3000,"z-index":{"layer":3,"depth":1},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701573245669_output-onlinepngtools.png","rowCount":5,"columnCount":3},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Title Camera Effect","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"cameraWidth":{"default":0,"dataType":"number","streamMode":3}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"actionId":"277b70e6","disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58","disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"getCameraPosition"}},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}]}},"runOnClient":true,"runMode":1,"disabled":false,"actionId":"251802bb"}],"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"teleportEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"8j6BO2qJJq":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"comment":"","runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setTimeOut","duration":100,"actions":[{"type":"runScript","scriptName":"JC0wquErk9","isEntityScript":true}]}],"name":"created","parent":null,"key":"8j6BO2qJJq","order":-1},"JC0wquErk9":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":{"function":"getRandomNumberBetween","min":1500,"max":3000},"actions":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":3},"variableName":"tempNum_G"},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"tempNum_G"},1]},120]},"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"},{"type":"runScript","scriptName":"JC0wquErk9","isEntityScript":true}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"getVariable","variableName":"tempNum_G"},"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},{"function":"getRandomNumberBetween","min":60,"max":120}]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":0},{"type":"repeat","count":10,"actions":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":15},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"tempNum_G"}],"then":[{"type":"continue"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"getVariable","variableName":"tempNum_G"}},{"type":"break"}]}]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"8ZzjsALtC9"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},4],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},5],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},6],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},7],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bWUMZER7Nx"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},8],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"MXqwxryYSD"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},9],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"zP4ybUBxiK"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},10],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"vUOH9k56TA"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},11],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"kKuL0JSdaB"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},12],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"ebFLsXk9rL"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},13],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"xi6Rtmd94o"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},14],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"btt1nfWaiJ"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},15],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"Fr3YKneWJx"}],"else":[]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],"name":"update animation","parent":null,"key":"JC0wquErk9","order":5},"IGwvSlHPWF":{"triggers":[{"type":"entityAttributeBecomesFull"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"es7ok5LhDX"],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":{"function":"entityAttributeMin","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}}}],"else":[]}],"name":"attribute == full","parent":null,"key":"IGwvSlHPWF","order":3}},"frames":{}},"coONQ9iTNG":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":201,"height":44,"z-index":{"layer":3,"depth":4},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701565621811_443-1.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Title 6th Night Button","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempNum2_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"idealCamHeight"},700]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},800,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamWidth"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"getVariable","variableName":"idealCamHeight"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"entityWidth","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}]},"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},60,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamHeight"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"getVariable","variableName":"idealCamWidth"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"entityHeight","entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}}]},"runOnClient":true,"runMode":1},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},2]}]}]},"y":{"function":"calculate","items":[{"operator":"-"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"-"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]},{"function":"calculate","items":[{"operator":"/"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum2_L","dataType":"number","entity":"3Dgv2fPnXQ","key":"tempNum2_L"}},"entity":{"function":"thisEntity"}},2]}]}]}},"runOnClient":true,"runMode":1,"actionId":"298aff58","disabled":false},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"bGameStarted"},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},60,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamHeight"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"getVariable","variableName":"idealCamWidth"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},53.5,{"function":"calculate","items":[{"operator":"/"},{"function":"getVariable","variableName":"idealCamHeight"},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"getVariable","variableName":"idealCamWidth"}]}]}]},"runMode":1,"runOnClient":true,"disabled":false}],"runMode":2,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"teleportEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every render frame","parent":null,"key":"NJ0VfIp2nk","order":2},"H7KBAdO2lt":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[],"name":"every frame","parent":null,"key":"H7KBAdO2lt","order":1}},"frames":{}},"oRSxHQiAf0":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[8],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"bWUMZER7Nx":{"name":7,"frames":[7],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":240,"height":100,"z-index":{"layer":3,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701811294795_New_Piskel_(4).png","rowCount":4,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Night Intro Text","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity","vars":[]},"position":{"function":"getCameraPosition","vars":[]},"runOnClient":true,"runMode":1,"actionId":"298aff58","vars":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"idealCamWidth"},250]}]},"runMode":1,"runOnClient":true,"disabled":false,"comment":"","vars":[]},{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity","vars":[]},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"},"vars":[]},"entity":{"function":"thisEntity","vars":[]},"vars":[]},"runOnClient":true,"runMode":1,"vars":[]}],"runOnClient":true,"runMode":1,"vars":[]},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true,"vars":[]},{"type":"teleportEntity","entity":{"function":"thisEntity","vars":[]},"position":{"function":"getCameraPosition","vars":[]},"disabled":true,"vars":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true,"vars":[]},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity","vars":[]},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"},"vars":[]},"entity":{"function":"thisEntity","vars":[]},"vars":[]},"runOnClient":true,"runMode":1,"disabled":true,"vars":[]}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"8j6BO2qJJq":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"selectedPlayer"}},"nightintro"],"then":[{"type":"showUnitToPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}]}],"disabled":true},{"type":"setTimeOut","duration":10,"actions":[{"type":"setVariable","value":{"function":"getVariable","variableName":"night#"},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"8ZzjsALtC9"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},4],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},5],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},6],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}],"else":[{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getVariable","variableName":"tempNum_G"},7],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bWUMZER7Nx"}],"else":[]}]}]}]}]}]}]}]}],"name":"created","parent":null,"key":"8j6BO2qJJq","order":-1}},"frames":{}},"mYk8kZF5Yb":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1},"8ZzjsALtC9":{"name":1,"frames":[1],"framesPerSecond":0,"loopCount":0,"streamMode":1},"bQfbysuYSs":{"name":2,"frames":[2],"framesPerSecond":0,"loopCount":0},"9LtAEKFTYx":{"name":3,"frames":[3],"framesPerSecond":0,"loopCount":0},"g3KasiwKaS":{"name":4,"frames":[4],"framesPerSecond":0,"loopCount":0},"P9GmkAgt06":{"name":5,"frames":[5],"framesPerSecond":0,"loopCount":0},"hd1WvHW4J3":{"name":6,"frames":[6],"framesPerSecond":0,"loopCount":0},"bWUMZER7Nx":{"name":7,"frames":[7],"framesPerSecond":0,"loopCount":0},"MXqwxryYSD":{"name":8,"frames":[8],"framesPerSecond":0,"loopCount":0},"zP4ybUBxiK":{"name":9,"frames":[9],"framesPerSecond":0,"loopCount":0},"vUOH9k56TA":{"name":10,"frames":[10],"framesPerSecond":0,"loopCount":0},"kKuL0JSdaB":{"name":11,"frames":[11],"framesPerSecond":0,"loopCount":0},"ebFLsXk9rL":{"name":12,"frames":[12],"framesPerSecond":0,"loopCount":0},"xi6Rtmd94o":{"name":13,"frames":[13],"framesPerSecond":0,"loopCount":0},"btt1nfWaiJ":{"name":14,"frames":[14],"framesPerSecond":0,"loopCount":0},"Fr3YKneWJx":{"name":15,"frames":[15],"framesPerSecond":0,"loopCount":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":7,"dataType":"","value":5,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":9},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1701811664460_image_(13).png","rowCount":5,"columnCount":3},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{}},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Night Intro Camera Effect","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1,"key":"scaleFactor","defaultKey":"scaleFactor"},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"cameraWidth":{"default":0,"dataType":"number","streamMode":3}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}},"vRVyeyw8sX":{"scripts":{"JC0wquErk9":{"name":"update animation"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runOnClient":true,"runMode":1,"actionId":"277b70e6","disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"runOnClient":true,"runMode":1,"actionId":"298aff58"}],"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},"variable":{"function":"getEntityVariable","variable":{"text":"cameraWidth","dataType":"number","entity":"vRVyeyw8sX","key":"cameraWidth"}},"value":{"function":"getCameraWidth"},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"teleportEntity","entity":{"function":"thisEntity"},"position":{"function":"getCameraPosition"},"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"8j6BO2qJJq":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"comment":"","runOnClient":true,"disabled":true},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"setTimeOut","duration":100,"actions":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"}},5],"then":[{"type":"setEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":5,"max":7}}],"else":[]},{"type":"for","variableName":"i","start":0,"stop":{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"}},"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},30]},"actions":[{"type":"runScript","scriptName":"JC0wquErk9","isEntityScript":true}]}]},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"yl11AW6n5H","entity":{"function":"thisEntity"}},1]},30]},"actions":[{"type":"destroyEntity","entity":{"function":"thisEntity"},"disabled":false}]}]}],"name":"created","parent":null,"key":"8j6BO2qJJq","order":-1},"JC0wquErk9":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":0},{"type":"repeat","count":10,"actions":[{"type":"setVariable","value":{"function":"getRandomNumberBetween","min":1,"max":15},"variableName":"tempNum_G"},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"tempNum_G"}],"then":[{"type":"continue"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"getVariable","variableName":"tempNum_G"}},{"type":"break"}]}]},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},1],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"8ZzjsALtC9"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},2],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bQfbysuYSs"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},3],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"9LtAEKFTYx"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},4],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"g3KasiwKaS"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},5],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"P9GmkAgt06"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},6],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"hd1WvHW4J3"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},7],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"bWUMZER7Nx"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},8],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"MXqwxryYSD"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},9],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"zP4ybUBxiK"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},10],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"vUOH9k56TA"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},11],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"kKuL0JSdaB"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},12],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"ebFLsXk9rL"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},13],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"xi6Rtmd94o"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},14],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"btt1nfWaiJ"}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getVariable","variableName":"tempNum_G"},15],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"Fr3YKneWJx"}],"else":[]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],"name":"update animation","parent":null,"key":"JC0wquErk9","order":5}},"frames":{}},"OB1V9ZMguS":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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":"dynamic","width":58,"height":58,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1703369793607_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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":{}},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"Uvcxf44Uw8":{"name":"Ambience2Effect","file":"https://cache.modd.io/asset/sound/1699581649577_EerieAmbienceLargeSca_MV005.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Ambience2 Music","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"isUnTargetable":false,"scripts":{"pjj6rp1BAo":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"FootSoldier"],"then":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runMode":2,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"runMode":1,"runOnClient":true}],"else":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"runMode":2,"actionId":"1602b79f"}],"runMode":1,"runOnClient":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraWidth"},600]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraWidth"},300]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"getCameraWidth"},"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"+"},{"function":"getCameraHeight"},0]},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"comment":"","disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runMode":1,"runOnClient":true}],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2750]},"runMode":1,"runOnClient":true,"comment":"","disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2000]},"runMode":1,"runOnClient":true,"comment":"","disabled":true}],"name":"every frame","parent":null,"key":"pjj6rp1BAo","order":2},"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":8},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1}}},"omROgUyiLw":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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 "},"UcRRvaSaDN":{"name":"timer","min":0,"max":100,"dataType":"","value":1,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#f4f4f4","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"dynamic","width":58,"height":58,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"tircXPGGVy":{"name":"kitchen1","file":"https://cache.modd.io/asset/sound/1700973992687_OVEN-DRA_1_GEN-HDF18119.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Kitchen1 Music","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1}},"isUnTargetable":false,"scripts":{"pjj6rp1BAo":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getPlayerName","entity":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}},"FootSoldier"],"then":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}]}},"runMode":2,"disabled":true},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"runMode":1,"runOnClient":true}],"else":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"runMode":2,"actionId":"1602b79f"}],"runMode":1,"runOnClient":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraWidth"},600]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getCameraWidth"},300]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},{"function":"entityWidth","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"getCameraWidth"},"runMode":1,"runOnClient":true,"disabled":false},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"+"},{"function":"getCameraHeight"},0]},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"runOnClient":true,"comment":"","disabled":true},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},1],"then":[{"type":"changeScaleOfEntityBody","entity":{"function":"thisEntity"},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"entity":{"function":"thisEntity"}},"runMode":1,"runOnClient":true}],"else":[],"comment":"if entity smaller than screen","runMode":1,"runOnClient":true,"disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2750]},"runMode":1,"runOnClient":true,"comment":"","disabled":true},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2000]},"runMode":1,"runOnClient":true,"comment":"","disabled":true}],"name":"every frame","parent":null,"key":"pjj6rp1BAo","order":2},"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1}}},"2wu4jRsgAX":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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 "},"UcRRvaSaDN":{"name":"timer","min":0,"max":100,"dataType":"","value":1,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#f4f4f4","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"dynamic","width":58,"height":58,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"VbRwzsf8w8":{"name":"kitchen2","file":"https://cache.modd.io/asset/sound/1700974004368_OVEN-DRA_7_GEN-HDF18121.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Kitchen2 Music","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1}},"visibilityMask":{"enabled":false,"range":700}},"N7VpsEAqiQ":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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 "},"UcRRvaSaDN":{"name":"timer","min":0,"max":100,"dataType":"","value":1,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#f6f0f0","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"dynamic","width":58,"height":58,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"cAAGanlFtQ":{"name":"kitchen3","file":"https://cache.modd.io/asset/sound/1700974023205_OVEN-DRA_7_GEN-HDF18121.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Kitchen3 Music","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1}}},"i0GX8BniRK":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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 "},"UcRRvaSaDN":{"name":"timer","min":0,"max":100,"dataType":"","value":1,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#f4f4f4","decimalPlaces":0,"streamMode":1}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"dynamic","width":58,"height":58,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"ZhG6QGAJrP":{"name":"kitchen4","file":"https://cache.modd.io/asset/sound/1700974031615_OVEN-DRAWE_GEN-HDF18122.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Kitchen4 Music","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}}},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1}}},"nJHBriUp1q":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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":"dynamic","width":58,"height":58,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"wRv3SAzCJq":{"name":"Toreador March","file":"https://cache.modd.io/asset/sound/1699581741096_Music_box.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Freddy Kitchen Music","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":8},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1}}},"vW9WExQtdx":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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":"dynamic","width":58,"height":58,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"59q3qTohRQ":{"name":"Freddy InOffice","file":"https://cache.modd.io/asset/sound/1703628911184_whispering2-output.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Freddy InOffice Music","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":25},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1}},"visibilityMask":{"enabled":false,"range":700}},"C35I7FOtMc":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"framesPerSecond":0,"loopCount":0,"frames":[1],"name":"default"}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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":"dynamic","width":44,"height":44,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"columnCount":1,"rowCount":1,"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png"},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"mpJZVyyXFG":{"name":"robotvoice","file":"https://cache.modd.io/asset/sound/1701119158398_Robotvoice.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Robotvoice Sound","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":14},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1}}},"eYUnKVuF10":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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":"dynamic","width":36,"height":36,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"8UonecIOUO":{"name":"phoneguy1","file":"https://cache.modd.io/asset/sound/1708895017881_FNaF1_Night_1_Phone_Call_(1).mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Phoneguy1 Sound","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":8},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1},"yL7idVOKzl":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityLifeSpan","entity":{"function":"thisEntity"},"lifeSpan":204000}],"name":"created","parent":null,"key":"yL7idVOKzl","order":2}}},"05ZOvgM6ar":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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":"dynamic","width":64,"height":64,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"ZuRH5c4JbK":{"name":"phoneguy2","file":"https://cache.modd.io/asset/sound/1703634177297_Voiceover2a.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Phoneguy2 Sound","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":8},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1},"AdqveFhvAq":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityLifeSpan","entity":{"function":"thisEntity"},"lifeSpan":92000}],"name":"created","parent":null,"key":"AdqveFhvAq","order":2}}},"47AxnLABsA":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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":"dynamic","width":64,"height":64,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"lRJgVGdduh":{"name":"phoneguy3","file":"https://cache.modd.io/asset/sound/1703634192097_Voiceover3.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Phoneguy3 Sound","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":8},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1},"SIyhJfsYVk":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityLifeSpan","entity":{"function":"thisEntity"},"lifeSpan":79000}],"name":"created","parent":null,"key":"SIyhJfsYVk","order":2}}},"M5cLe1bf2C":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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":"dynamic","width":64,"height":64,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"YdanJND6I9":{"name":"phoneguy4","file":"https://cache.modd.io/asset/sound/1703634204734_Voiceover4.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Phoneguy4 Sound","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":8},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1},"zwCKHuMfdO":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityLifeSpan","entity":{"function":"thisEntity"},"lifeSpan":67000}],"name":"created","parent":null,"key":"zwCKHuMfdO","order":2}}},"9Qxtd0NArg":{"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":"wander","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":150,"maxAttackRange":400,"letGoDistance":"","enabled":true},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"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":"dynamic","width":64,"height":64,"z-index":{"layer":5,"depth":3},"fixedRotation":false,"constantSpeed +DestroyedOnCollisionWithWall/unit":false,"allowSleep":true,"collidesWith":{"units":false,"items":true,"projectiles":true,"walls":true,"debris":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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1708755700711_invisiblereal.png.png","rowCount":1,"columnCount":1},"confinedWithinMapBoundaries":false,"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},"defaultItem":[],"defaultItems":[],"effects":{"idle":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"attacked":{"projectileType":"","sound":{},"animation":"","tween":"","runScript":""},"move":{"projectileType":"","sound":{"9WEsNWARei":{"name":"phoneguy5","file":"https://cache.modd.io/asset/sound/1703636242832_newphoneguy5-output.mp3","volume":100,"streamMode":1}},"animation":"","tween":"","runScript":""},"create":{"projectileType":"","sound":{},"animation":"","runScript":""},"destroy":{"projectileType":"","sound":{},"animation":"","runScript":""}},"handle":"human","inventoryImage":"","inventorySize":5,"isPurchasable":false,"name":"Phoneguy5 Sound","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":{"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1}},"isUnTargetable":false,"scripts":{"V1eoG05bZc":{"triggers":[{"type":"frameTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVelocityAtAngle","entity":{"function":"thisEntity"},"speed":{"function":"getMin","num1":{"function":"distanceBetweenPositions","positionA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}},"positionB":{"function":"getEntityPosition","entity":{"function":"thisEntity"}}},"num2":8},"angle":{"function":"angleBetweenPositions","positionA":{"function":"getEntityPosition","entity":{"function":"thisEntity"}},"positionB":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempPos_L","dataType":"position","entity":"9SDtGUOM4N","key":"tempPos_L"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"name":"every frame","parent":null,"key":"V1eoG05bZc","order":1},"XgENHKSeRC":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityLifeSpan","entity":{"function":"thisEntity"},"lifeSpan":38000}],"name":"created","parent":null,"key":"XgENHKSeRC","order":2}}},"uFuwVqucGy":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1,2,3,4,5,6,7,8],"loopCount":"","framesPerSecond":36},"dropped":{"name":"dropped","frames":[10,9,8,7,6,5,4,3,2,1,12],"framesPerSecond":20,"loopCount":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":2,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/LRq6LMm/image-12.png","rowCount":4,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Deathscreen Static","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"scaleFactor":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}},"wSfUVGAeap":{"scripts":{"4te3F7BN3U":{"name":"attribute == 0"},"ppjYlooZb7":{"name":"attribute == full"},"8j6BO2qJJq":{"name":"created"},"jcn1wLvlWc":{"name":"move camera"},"bwqlRmpn6L":{"name":"attribute == 0"}}}},"scripts":{"NJ0VfIp2nk":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity","vars":[]},"position":{"function":"xyCoordinate","x":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionX","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2]}],"vars":[]},"y":{"function":"calculate","items":[{"operator":"+"},{"function":"getPositionY","position":{"function":"getCameraPosition"}},{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},2]}],"vars":[]},"vars":[]},"runOnClient":true,"runMode":1,"disabled":true,"vars":[]},{"type":"moveEntity","entity":{"function":"thisEntity","vars":[]},"position":{"function":"getCameraPosition","vars":[]},"runOnClient":true,"runMode":1,"actionId":"298aff58","vars":[]}],"runOnClient":true,"runMode":1,"vars":[]},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraWidth"},2800]},"runMode":1,"runOnClient":true,"disabled":true,"vars":[]},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity","vars":[]},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"},"vars":[]},"entity":{"function":"thisEntity","vars":[]},"vars":[]},"runOnClient":true,"runMode":1,"disabled":true,"vars":[]}],"name":"every frame","parent":null,"key":"NJ0VfIp2nk","order":2},"3KmlusP3jj":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"}},"value":{"function":"calculate","items":[{"operator":"/"},{"function":"getCameraHeight"},{"function":"entityHeight","entity":{"function":"thisEntity"}}]},"runMode":1,"comment":"","runOnClient":true,"vars":[]},{"type":"changeScaleOfEntitySprite","entity":{"function":"thisEntity","vars":[]},"scale":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"scaleFactor","dataType":"number","entity":"9SDtGUOM4N","key":"scaleFactor"},"vars":[]},"entity":{"function":"thisEntity","vars":[]},"vars":[]},"runOnClient":true,"runMode":1,"disabled":false,"vars":[]}],"name":"created","parent":null,"key":"3KmlusP3jj","order":-1}},"frames":{}},"OJLXpZwk2Y":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28],"loopCount":1,"framesPerSecond":28}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":1,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/L516hyH/88211-1-png-1-1.png","rowCount":7,"columnCount":4},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Freddy Office Jumpscare","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"ownerPlayer":{"dataType":"player","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"xFt5jM1QnE":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":950,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}}],"else":[]}]},{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},1]}},{"type":"for","variableName":"i","start":1,"stop":7,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},"dead"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},1]}},{"type":"setTimeOut","duration":10,"actions":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},1]}}]}],"else":[]}]}]},{"type":"setTimeOut","duration":500,"actions":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}]}]},{"type":"setTimeOut","duration":5,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}]},{"type":"setTimeOut","duration":50,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"officeUnit"}}}]}]}],"name":"created","parent":null,"key":"xFt5jM1QnE","order":1}}},"9CFwGrRnF9":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],"loopCount":1,"framesPerSecond":28}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":1,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/p4MNP3J/image-1-png-33-1.png","rowCount":7,"columnCount":3},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Foxy Office Jumpscare","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"xFt5jM1QnE":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":950,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"sendChatMessage","message":"Foxy killed everyone"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"selectedPlayer"}},"humanPlayer"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"selectedPlayer"}},"none"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"selectedPlayer"},"value":0}],"else":[]}],"else":[]}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},1]}}],"disabled":false},{"type":"for","variableName":"i","start":1,"stop":7,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":0},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},"dead"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},1]}},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},10,{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i2"},2]}]},"actions":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},1]}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},1]}}]}],"else":[]}]}]}],"disabled":false},{"type":"setTimeOut","duration":500,"actions":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}]}]},{"type":"setTimeOut","duration":50,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"officeUnit"}}}]}],"name":"created","parent":null,"key":"xFt5jM1QnE","order":1}}},"yTlvW4m7Kp":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1,2,3,4,5,6,7,8,9,10,11],"loopCount":"","framesPerSecond":48}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":1,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/NFvyJSZ/image-1-png-34-1.png","rowCount":6,"columnCount":2},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Bonnie Office Jumpscare","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"ownerPlayer":{"dataType":"player","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"xFt5jM1QnE":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":500,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}}],"else":[]}]},{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},1]}},{"type":"for","variableName":"i","start":1,"stop":7,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},"dead"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},1]}},{"type":"setTimeOut","duration":10,"actions":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},1]}}]}],"else":[]}]}]},{"type":"setTimeOut","duration":500,"actions":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}]}]},{"type":"setTimeOut","duration":5,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}]},{"type":"setTimeOut","duration":50,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"officeUnit"}}}]}]}],"name":"created","parent":null,"key":"xFt5jM1QnE","order":1}}},"dHJToMtOPv":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"loopCount":"","framesPerSecond":48}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":1,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/s3zCRZH/image-1-png-35-1.png","rowCount":6,"columnCount":3},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Chica Office Jumpscare","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"ownerPlayer":{"dataType":"player","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"xFt5jM1QnE":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":500,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"value":{"function":"getOwner","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}}}],"else":[{"type":"condition","conditions":[{"operandType":"unit","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},{"function":"undefinedValue"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}}],"else":[]}]},{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},1]}},{"type":"for","variableName":"i","start":1,"stop":7,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},"dead"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},1]}},{"type":"setTimeOut","duration":10,"actions":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}}},1]}}]}],"else":[]}]}]},{"type":"setTimeOut","duration":500,"actions":[{"type":"destroyEntity","entity":{"function":"thisEntity"}}]}]},{"type":"setTimeOut","duration":5,"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"player"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerPlayer","dataType":"player","entity":"OJLXpZwk2Y","key":"ownerPlayer"}},"entity":{"function":"thisEntity"}},{"function":"selectedPlayer"}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[{"type":"condition","conditions":[{"operator":"!=","operandType":"unit"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}},{"function":"getPlayerSelectedUnit","player":{"function":"selectedPlayer"}}],"then":[{"type":"hideUnitFromPlayer","entity":{"function":"thisEntity"},"player":{"function":"selectedPlayer"}}],"else":[]}],"disabled":false}]},{"type":"setTimeOut","duration":50,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"officeUnit"}}}]}]}],"name":"created","parent":null,"key":"xFt5jM1QnE","order":1}},"frames":{}},"NgxXWVby7C":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":0},"8ZzjsALtC9":{"name":1,"frames":[2],"framesPerSecond":0,"loopCount":0,"streamMode":1}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":1,"depth":1},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/8gSFfS5/304.png","rowCount":2,"columnCount":1},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Outage Office","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"M7LCdPkP77":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":1,"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"boolean"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"8ZzjsALtC9"},{"type":"setTimeOut","duration":{"function":"getRandomNumberBetween","min":50,"max":300},"actions":[{"type":"playEntityAnimation","entity":{"function":"thisEntity"},"animation":"default"},{"type":"setTimeOut","duration":{"function":"getRandomNumberBetween","min":50,"max":400},"actions":[{"type":"runScript","scriptName":"M7LCdPkP77","isEntityScript":true}]}]}],"else":[{"type":"setTimeOut","duration":50,"actions":[{"type":"runScript","scriptName":"M7LCdPkP77","isEntityScript":true}]}]}]}],"name":"flicker","parent":null,"key":"M7LCdPkP77","order":2}},"frames":{}},"urCs12Du5G":{"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":"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"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":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "},"es7ok5LhDX":{"name":"progression","min":1,"max":3,"dataType":"","value":1,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"FS6ZH9LRlS":{"name":"movementCountdown","min":0,"max":20,"dataType":"number","value":0,"regenerateSpeed":0,"isVisible":["unitBarFriendly","unitBarNeutral","unitBarHostile"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#e33e3e","decimalPlaces":0,"streamMode":1},"0UvdArvBbP":{"name":"soundTimer","min":0,"max":20,"dataType":"","value":3,"regenerateSpeed":"-0.25","isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"UcRRvaSaDN":{"name":"timer","min":0,"max":6,"dataType":"","value":5,"regenerateSpeed":"-0.25","isVisible":["unitBarNeutral","unitBarFriendly","unitBarHostile"],"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#f4f4f4","decimalPlaces":0,"streamMode":1}},"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":"AI Outage Freddy","inventorySize":0,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1699805156796_image-1.png_(31).png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":23,"height":25,"z-index":{"layer":3,"depth":2},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"variables":{"movementOpportunity":{"default":0,"dataType":"number","streamMode":1},"bRadarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"ownerUnit":{"dataType":"unit","streamMode":1},"radarArray":{"default":"[]","dataType":"string","streamMode":1},"locationArray":{"default":"[]","dataType":"string","streamMode":1},"location":{"default":"stage","dataType":"string","streamMode":1},"bDisabled":{"default":true,"dataType":"boolean","streamMode":1},"locationPosition":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempPos_L":{"dataType":"position","default":{"x":0,"y":0},"streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1},"moveableLocationsArray":{"default":"[]","dataType":"string","streamMode":1},"tempString_L":{"default":"","dataType":"string","streamMode":1},"closetLocationIndex":{"default":0,"dataType":"number","streamMode":1},"tempBool_L":{"default":false,"dataType":"boolean","streamMode":1},"locked?":{"default":false,"dataType":"boolean","streamMode":1},"previousLocation":{"default":"stage","dataType":"string","streamMode":1},"cameraDowntimeTime":{"default":2,"dataType":"number","streamMode":1}},"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":false,"ai":{"pathFindingMethod":"simple","idleBehaviour":"stay","sensorResponse":"none","attackResponse":"none","maxTravelDistance":300,"sensorRadius":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"defaultItems":[],"scripts":{"tWKN8xCWjK":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"value":"[\"2a\",\"door\",\"office\"]","comment":""},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":"[]"},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"2a\",\"98\",\"3.7973\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false,"comment":""},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"door\",\"163\",\"3.4459\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"value":{"function":"insertStringArrayElement","value":"[\"office\",\"194\",\"3.1519\"]","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}},"disabled":false}],"else":[],"comment":"radar arrays","isExpanded":{"self":true}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":0,"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}}},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}},{"type":"runScript","scriptName":"N2W1XgZJaY","isEntityScript":true,"disabled":false},{"type":"runScript","scriptName":"6JhZelfi0T","isEntityScript":true}]}],"name":"created","parent":null,"key":"tWKN8xCWjK","order":0},"6JhZelfi0T":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"comment","comment":"since there is so many set variable location updates"},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationArray","dataType":"string","entity":"DSGuZU81MC","key":"locationArray"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getVariable","variableName":"i"},{"function":"calculate","items":[{"operator":"-"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},1]}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"value":{"function":"getPositionInFrontOfPosition","position":{"function":"getEntityPosition","entity":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"ownerUnit","dataType":"unit","entity":"DSGuZU81MC","key":"ownerUnit"}},"entity":{"function":"thisEntity"}}},"distance":{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":1,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},"angle":{"function":"calculate","items":[{"operator":"-"},{"function":"stringToNumber","value":{"function":"getStringArrayElement","number":2,"string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"radarArray","dataType":"string","entity":"DSGuZU81MC","key":"radarArray"}},"entity":{"function":"thisEntity"}}}}},1.57079633]}},"comment":""}],"else":[]}]},{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"locationPosition","dataType":"position","entity":"DSGuZU81MC","key":"locationPosition"}},"entity":{"function":"thisEntity"}}}],"name":"update position","parent":null,"key":"6JhZelfi0T","order":2},"R8MFcGu1tJ":{"triggers":[{"type":"entityAttributeBecomesZero"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"UcRRvaSaDN"],"then":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},2],"then":[{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":{"function":"getRandomNumberBetween","min":4,"max":5},"max":6}},{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":100},20],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"}],"else":[{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"}},5]}},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"}},20],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"}],"else":[],"comment":"next phase after 20 seconds","isExpanded":{"self":false}}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},true],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},1]}},{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":0},{"type":"runScript","scriptName":"6JhZelfi0T","isEntityScript":true},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},2],"then":[{"type":"playSoundAtPosition","sound":"nXUbxI7ThB","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"NgxXWVby7C"},"actions":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true,"comment":"activates entity script in outage office unit"},{"type":"break"}]}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},3],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"stopSoundForPlayer","sound":"nXUbxI7ThB","player":{"function":"selectedPlayer"}}]},{"type":"playSoundAtPosition","sound":"7AdLG5kk70","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"NgxXWVby7C"},"actions":[{"type":"for","variableName":"i","start":0,"stop":{"function":"getRandomNumberBetween","min":4,"max":5},"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},{"function":"getRandomNumberBetween","min":-15,"max":15}]},"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}}]}],"isExpanded":{"self":false},"comment":"hide office"},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},20]},"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}}]}],"isExpanded":{"self":false},"comment":"show office"}]},{"type":"setTimeOut","duration":300,"actions":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}}]},{"type":"break"}]}],"else":[]}]}],"else":[],"isExpanded":{"self":true}}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},3],"then":[{"type":"setEntityAttribute","attribute":"UcRRvaSaDN","entity":{"function":"thisEntity"},"value":2},{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":100},20],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},true],"then":[{"type":"sendChatMessage","message":"Uhh... fredy fazebore jumpscare? hur hur hur","disabled":true},{"type":"createUnitAtPosition","unitType":"fOADBYRF1m","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"41ea45a9"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"selectedPlayer"}},"humanPlayer"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"selectedPlayer"}},"none"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"Freddy2"},{"type":"playSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getPlayerId","player":{"function":"selectedPlayer"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"getLastCreatedUnit"}}}}],"else":[]}],"else":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}]}],"else":[],"comment":"jumpscare","isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":true}}],"isExpanded":{"then":true}}],"else":[]},{"type":"condition","conditions":[{"operandType":"attributeType","operator":"=="},{"function":"getAttributeTypeOfAttribute","entity":{"function":"getTriggeringAttribute"}},"0UvdArvBbP"],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},1],"then":[{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":4,"max":6}},{"type":"playSoundAtPosition","sound":"JrLCIyysEx","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":0}}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},3],"then":[{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":4,"max":10}},{"type":"playSoundAtPosition","sound":"JrLCIyysEx","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":-400}}],"else":[],"comment":"footsteps","isExpanded":{"self":true}}],"comment":"footsteps","isExpanded":{"self":true}}],"else":[],"isExpanded":{"self":false,"then":true}}],"name":"attr == 0","parent":null,"key":"R8MFcGu1tJ","order":1},"o6IL8Uzxco":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":100,"actions":[{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},2],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"calculate","items":[{"operator":"%"},{"function":"getVariable","variableName":"globalTimer"},5]},0],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},1],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"}},0],"then":[{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":4,"max":6}},{"type":"playSoundAtPosition","sound":"JrLCIyysEx","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":0}}],"else":[]}],"else":[],"comment":"footsteps","isExpanded":{"self":false}},{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":100},20],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"}],"else":[{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"}},5]}},{"type":"condition","conditions":[{"operator":">=","operandType":"number"},{"function":"getEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"}},20],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"}],"else":[],"comment":"next phase after 20 seconds","isExpanded":{"self":false}}]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},true],"then":[{"type":"setEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},1]}},{"type":"setEntityAttribute","attribute":"FS6ZH9LRlS","entity":{"function":"thisEntity"},"value":0},{"type":"runScript","scriptName":"6JhZelfi0T","isEntityScript":true},{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},2],"then":[{"type":"playSoundAtPosition","sound":"nXUbxI7ThB","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"NgxXWVby7C"},"actions":[{"type":"setEntityVariable","entity":{"function":"selectedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempBool_L","dataType":"boolean","entity":"9SDtGUOM4N","key":"tempBool_L"}},"value":true,"comment":"activates entity script in outage office unit"},{"type":"break"}]}],"else":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},3],"then":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"stopSoundForPlayer","sound":"nXUbxI7ThB","player":{"function":"selectedPlayer"}}]},{"type":"playSoundAtPosition","sound":"7AdLG5kk70","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},{"type":"forAllUnits","unitGroup":{"function":"allUnitsOfUnitType","unitType":"NgxXWVby7C"},"actions":[{"type":"for","variableName":"i","start":0,"stop":{"function":"getRandomNumberBetween","min":4,"max":5},"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},{"function":"getRandomNumberBetween","min":-15,"max":15}]},"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"hideUnitFromPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}}]}],"isExpanded":{"self":false},"comment":"hide office"},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},20]},"actions":[{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"showUnitToPlayer","entity":{"function":"selectedUnit"},"player":{"function":"selectedPlayer"}}]}],"isExpanded":{"self":false},"comment":"show office"}]},{"type":"setTimeOut","duration":300,"actions":[{"type":"destroyEntity","entity":{"function":"selectedUnit"}}]},{"type":"break"}]}],"else":[]}]}],"else":[]}],"else":[],"isExpanded":{"self":true,"then":true}}],"else":[{"type":"condition","conditions":[{"operator":"==","operandType":"number"},{"function":"getEntityAttribute","attribute":"es7ok5LhDX","entity":{"function":"thisEntity"}},3],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"calculate","items":[{"operator":"%"},{"function":"getVariable","variableName":"globalTimer"},2]},0],"then":[{"type":"condition","conditions":[{"operandType":"number","operator":"=="},{"function":"getEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"}},0],"then":[{"type":"setEntityAttribute","attribute":"0UvdArvBbP","entity":{"function":"thisEntity"},"value":{"function":"getRandomNumberBetween","min":4,"max":10}},{"type":"playSoundAtPosition","sound":"JrLCIyysEx","position":{"function":"xyCoordinate","x":{"function":"getPositionX","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}}},"y":-400}}],"else":[],"comment":"footsteps","isExpanded":{"self":false}},{"type":"setVariable","value":false,"variableName":"tempBool_G"},{"type":"condition","conditions":[{"operator":"<=","operandType":"number"},{"function":"getRandomNumberBetween","min":1,"max":100},20],"then":[{"type":"setVariable","value":true,"variableName":"tempBool_G"}],"else":[]},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getVariable","variableName":"tempBool_G"},true],"then":[{"type":"sendChatMessage","message":"Uhh... fredy fazebore jumpscare? hur hur hur","disabled":true},{"type":"createUnitAtPosition","unitType":"fOADBYRF1m","entity":{"function":"getVariable","variableName":"object"},"position":{"function":"xyCoordinate","x":-9999,"y":-9999},"angle":0,"actionId":"41ea45a9"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"selectedPlayer"}},"humanPlayer"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"selectedPlayer"}},"none"],"then":[{"type":"setPlayerVariable","player":{"function":"selectedPlayer"},"variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"value":"Freddy2"},{"type":"playSoundForPlayer","sound":"Hr3k3gpR8v","player":{"function":"selectedPlayer"}},{"type":"setEntityVariable","entity":{"function":"getLastCreatedUnit"},"variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"value":{"function":"insertStringArrayElement","value":{"function":"getPlayerId","player":{"function":"selectedPlayer"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"getLastCreatedUnit"}}}}],"else":[]}],"else":[{"type":"hideUnitFromPlayer","entity":{"function":"getLastCreatedUnit"},"player":{"function":"selectedPlayer"}}]}]}],"else":[],"comment":"jumpscare"}],"else":[],"isExpanded":{"self":true}}],"else":[]}],"isExpanded":{"then":true}}]}],"name":"old every second","parent":null,"key":"o6IL8Uzxco","order":4}},"streamMode":1,"isUnTargetable":false,"unitTypes":{"DSGuZU81MC":{"scripts":{"K9s8MqqEwz":{"name":"created"},"mMxAEOtq5o":{"name":""},"T67nI9d802":{"name":"movement"}}},"urCs12Du5G":{"scripts":{"R8MFcGu1tJ":{"name":"every second"}}}}},"fOADBYRF1m":{"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":0,"maxAttackRange":400,"letGoDistance":"","enabled":false},"animations":{"default":{"name":"default","frames":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],"loopCount":1,"framesPerSecond":28}},"attributes":{"speed":{"decimalPlaces":0,"dataType":"","name":"speed","min":0,"max":0,"value":0,"regenerateSpeed":0,"isVisible":[],"showAsHUD":true,"color":"#00fff0","displayValue":true},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":true,"isVisible":[],"regenerateSpeed":0,"value":0,"dataType":"","max":0,"min":0,"name":"health "}},"backpackSize":0,"baseSpeed":53,"bodies":{"default":{"bullet":false,"name":"default","type":"static","width":3000,"height":1350,"z-index":{"layer":1,"depth":8},"fixedRotation":true,"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":1,"friction":0,"restitution":0,"shape":{"type":"rectangle"},"isSensor":true,"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}},"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"},"canBePurchasedBy":[],"canBuyItem":true,"cellSheet":{"url":"https://i.ibb.co/tx8HBL2/image-1-png-49-1.png","rowCount":7,"columnCount":3},"confinedWithinMapBoundaries":false,"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":false},"movementType":"wasd","absoluteRotation":false,"unitAbilities":{},"clientPredictedMovement":true},"defaultItem":[],"defaultItems":[],"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":""}},"handle":"human","inventoryImage":"","inventorySize":0,"isPurchasable":false,"isUnTargetable":false,"name":"Freddy Outage Jumpscare","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":{"bCreated":{"default":false,"dataType":"boolean","streamMode":1},"tempString_L":{"default":"[]","dataType":"string","streamMode":1},"tempNum_L":{"default":0,"dataType":"number","streamMode":1}},"unitTypes":{"Fsh02UQWLb":{"scripts":{"NoNwRy6esF":{"name":"attribute == 0"}}}},"scripts":{"xFt5jM1QnE":{"triggers":[{"type":"entityCreated"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setTimeOut","duration":500,"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"entityExists","entity":{"function":"thisEntity"}},false],"then":[{"type":"return"}],"else":[]},{"type":"sendChatMessage","message":"Freddy killed everyone"},{"type":"forAllPlayers","playerGroup":{"function":"humanPlayers"},"actions":[{"type":"condition","conditions":[{"operandType":"playerType","operator":"=="},{"function":"playerTypeOfPlayer","player":{"function":"selectedPlayer"}},"humanPlayer"],"then":[{"type":"condition","conditions":[{"operandType":"string","operator":"=="},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"diedTo","dataType":"string","entity":"humanPlayer","key":"diedTo"}},"player":{"function":"selectedPlayer"}},"none"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"selectedPlayer"},"value":0}],"else":[]}],"else":[]}]},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},1]}}],"disabled":true},{"type":"for","variableName":"i","start":1,"stop":7,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":0},{"type":"for","variableName":"i","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},"dead"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},1]}},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},10,{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},2]}]},"actions":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},1]}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},1]}}]}],"else":[]}]}]}],"disabled":true},{"type":"for","variableName":"i","start":1,"stop":7,"actions":[{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i"},50]},"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":0},{"type":"for","variableName":"i2","start":0,"stop":{"function":"calculate","items":[{"operator":"-"},{"function":"getStringArrayLength","string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}},1]},"actions":[{"type":"condition","conditions":[{"operator":"!=","operandType":"string"},{"function":"getValueOfPlayerVariable","variable":{"function":"getPlayerVariable","variable":{"text":"scene","dataType":"string","entity":"humanPlayer","key":"scene"}},"player":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},"dead"],"then":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getVariable","variableName":"i2"},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},1]}},{"type":"setTimeOut","duration":{"function":"calculate","items":[{"operator":"+"},10,{"function":"calculate","items":[{"operator":"*"},{"function":"getVariable","variableName":"i2"},2]}]},"actions":[{"type":"setPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}},"value":{"function":"calculate","items":[{"operator":"-"},{"function":"getPlayerAttribute","attribute":"health","entity":{"function":"getPlayerFromId","string":{"function":"getStringArrayElement","number":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},"string":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempString_L","dataType":"string","entity":"DSGuZU81MC","key":"tempString_L"}},"entity":{"function":"thisEntity"}}}}},1]}},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"tempNum_L","dataType":"number","entity":"9SDtGUOM4N","key":"tempNum_L"}},"entity":{"function":"thisEntity"}},1]}}]}],"else":[]}]}]}],"disabled":true},{"type":"setTimeOut","duration":500,"actions":[{"type":"sendChatMessage","message":"No surviving players left, resetting game."},{"type":"runScript","scriptName":"3qb7zCLfL2","isEntityScript":false},{"type":"destroyEntity","entity":{"function":"thisEntity"}}]}]},{"type":"setTimeOut","duration":50,"actions":[{"type":"moveEntity","entity":{"function":"thisEntity"},"position":{"function":"getEntityPosition","entity":{"function":"getVariable","variableName":"officeUnit"}}}]}],"name":"created","parent":null,"key":"xFt5jM1QnE","order":1}}}},"abilities":{},"variables":{"object":{"default":"computer1","dataType":"player"},"tempPos_G":{"dataType":"position","default":{"x":0,"y":0}},"leftDoorUnit":{"dataType":"unit"},"rightDoorUnit":{"dataType":"unit"},"leftButtonUnit":{"dataType":"unit"},"rightButtonUnit":{"dataType":"unit"},"tempUnit_G":{"dataType":"unit"},"tempScaleFactor":{"default":0,"dataType":"number"},"leftLightsUnit":{"dataType":"unit"},"rightLightsUnit":{"dataType":"unit"},"officeUnit":{"dataType":"unit"},"night#":{"default":1,"dataType":"number"},"nightLevels":{"default":"[]","dataType":"string"},"i":{"default":0,"dataType":"number"},"i2":{"default":0,"dataType":"number"},"test1":{"default":0,"dataType":"number"},"test2":{"default":0,"dataType":"number"},"movedAnimatronicUnit":{"dataType":"unit"},"tempBool_G":{"default":false,"dataType":"boolean"},"musicChangeTimer":{"default":0,"dataType":"number"},"tempNum_G":{"default":0,"dataType":"number"},"cameraUnits":{"default":{"vRVyeyw8sX":{"probability":20,"quantity":1},"vLYr76DtQk":{"probability":20,"quantity":1},"mQrDLYNdZR":{"probability":20,"quantity":1},"wSfUVGAeap":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"tempString_G":{"dataType":"string"},"randomEffectsArray":{"default":"[]","dataType":"string"},"randomEffectActivate":{"default":"[]","dataType":"string"},"hideOnJoin":{"default":{"wSfUVGAeap":{"probability":20,"quantity":1},"HiWh4ssftW":{"probability":20,"quantity":1},"vRVyeyw8sX":{"probability":20,"quantity":1},"vLYr76DtQk":{"probability":20,"quantity":1},"mQrDLYNdZR":{"probability":20,"quantity":1},"6p5A3QsGMM":{"probability":20,"quantity":1},"5rebr6sNk0":{"probability":20,"quantity":1},"qSVQOVRmiE":{"probability":20,"quantity":1},"DSGuZU81MC":{"probability":20,"quantity":1},"uQ4Jhd82Vt":{"probability":20,"quantity":1},"g7CyGkWiy9":{"probability":20,"quantity":1},"Fsh02UQWLb":{"probability":20,"quantity":1},"12rIEBXYHr":{"probability":20,"quantity":1},"SuROWKCUkm":{"probability":20,"quantity":1},"p8vSwEwW4D":{"probability":20,"quantity":1},"oTJJuamiGc":{"probability":20,"quantity":1},"IxzrAoJFJA":{"probability":20,"quantity":1},"yz2nXDn757":{"probability":20,"quantity":1},"9SDtGUOM4N":{"probability":20,"quantity":1},"wf96hnTFI6":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"testeststesteeee":{"dataType":"region","default":{"x":-528,"y":-347,"width":63,"height":41,"inside":"","alpha":1}},"rightLight":{"dataType":"region","default":{"x":2296,"y":842,"width":70,"height":101}},"rightDoor":{"dataType":"region","default":{"x":2293,"y":694,"width":73,"height":101}},"leftDoor":{"dataType":"region","default":{"x":560,"y":693,"width":71,"height":101,"inside":"","alpha":1}},"leftLight":{"dataType":"region","default":{"x":557,"y":844,"width":72,"height":94,"inside":"","alpha":1}},"posterBoop":{"dataType":"region","default":{"x":1229,"y":439,"width":24,"height":9,"inside":"","alpha":1}},"Camera Backgrounds":{"default":{"u12I0PEbYc":{"probability":20,"quantity":1},"rDNIzdHzAN":{"probability":20,"quantity":1},"8rFj66yv02":{"probability":20,"quantity":1},"Lj3QPbwWar":{"probability":20,"quantity":1},"oMNyxHlIpw":{"probability":20,"quantity":1},"762eiMVWy5":{"probability":20,"quantity":1},"huwWZJg2aC":{"probability":20,"quantity":1},"viVY6ye3IT":{"probability":20,"quantity":1},"fDxe83JrKf":{"probability":20,"quantity":1},"u5IYMPTUUX":{"probability":20,"quantity":1},"hQPt6zlmKJ":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"dynamicRegion":{"dataType":"region","default":{"x":1609.5,"y":857.5,"width":5,"height":5,"inside":"#ec0e0e","alpha":0.01}},"officeUnits":{"default":{"Fsh02UQWLb":{"probability":20,"quantity":1},"12rIEBXYHr":{"probability":20,"quantity":1},"SuROWKCUkm":{"probability":20,"quantity":1},"p8vSwEwW4D":{"probability":20,"quantity":1},"oTJJuamiGc":{"probability":20,"quantity":1},"uQ4Jhd82Vt":{"probability":20,"quantity":1},"IxzrAoJFJA":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"titleUnits":{"default":{"j2DNwEZlGc":{"probability":20,"quantity":1},"OEGqDMgmQI":{"probability":20,"quantity":1},"3Dgv2fPnXQ":{"probability":20,"quantity":1},"T8MpQYAoRg":{"probability":20,"quantity":1},"jHAciFWXNv":{"probability":20,"quantity":1},"coONQ9iTNG":{"probability":20,"quantity":1},"TQ5EROGDnC":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"idealCamWidth":{"default":2795,"dataType":"number"},"idealCamHeight":{"default":1319,"dataType":"number"},"radarFadingText":{"default":false,"dataType":"boolean"},"bGameStarted":{"default":false,"dataType":"boolean"},"createTitleUnits":{"default":{"TQ5EROGDnC":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"nightIntroUnits":{"default":{"oRSxHQiAf0":{"probability":20,"quantity":1},"mYk8kZF5Yb":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"showOfficeUnits":{"default":{"Fsh02UQWLb":{"probability":20,"quantity":1},"12rIEBXYHr":{"probability":20,"quantity":1},"9SDtGUOM4N":{"probability":20,"quantity":1},"SuROWKCUkm":{"probability":20,"quantity":1},"p8vSwEwW4D":{"probability":20,"quantity":1},"oTJJuamiGc":{"probability":20,"quantity":1},"IxzrAoJFJA":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"gameTimer":{"default":0,"dataType":"number"},"createUIUnits":{"default":{},"dataType":"unitTypeGroup"},"@nightTimerEnd":{"default":535,"dataType":"number"},"@hideTitleID's":{"default":"[\"gameTitle\",\"newGameButton\",\"continueButton\",\"nightSixButton\",\"customNightButton\"]","dataType":"string"},"ambienceNoise":{"default":0,"dataType":"number"},"@hideElementID'sOnJoin":{"default":"[\"newspaper\",\"power\",\"usage\",\"usageText\",\"clock\",\"night\",\"nightEndScreen\"]","dataType":"string"},"nearbySoundSpawn":{"dataType":"region","default":{"x":1379,"y":-3923,"width":125,"height":126},"deleteKey":"Region8177"},"nearbySoundUnits":{"default":{"OB1V9ZMguS":{"probability":20,"quantity":1},"omROgUyiLw":{"probability":20,"quantity":1},"2wu4jRsgAX":{"probability":20,"quantity":1},"N7VpsEAqiQ":{"probability":20,"quantity":1},"i0GX8BniRK":{"probability":20,"quantity":1},"nJHBriUp1q":{"probability":20,"quantity":1},"vW9WExQtdx":{"probability":20,"quantity":1},"C35I7FOtMc":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"robotVoiceNoise":{"default":0,"dataType":"number"},"globalTimer":{"default":1,"dataType":"number"},"cameraDowntimeArray":{"default":"[]","dataType":"string"},"hideOnDeath":{"default":{"9SDtGUOM4N":{"probability":20,"quantity":1},"Fsh02UQWLb":{"probability":20,"quantity":1},"12rIEBXYHr":{"probability":20,"quantity":1},"SuROWKCUkm":{"probability":20,"quantity":1},"p8vSwEwW4D":{"probability":20,"quantity":1},"oTJJuamiGc":{"probability":20,"quantity":1},"DSGuZU81MC":{"probability":20,"quantity":1},"IxzrAoJFJA":{"probability":20,"quantity":1},"yz2nXDn757":{"probability":20,"quantity":1},"6p5A3QsGMM":{"probability":20,"quantity":1},"5rebr6sNk0":{"probability":20,"quantity":1},"qSVQOVRmiE":{"probability":20,"quantity":1},"wSfUVGAeap":{"probability":20,"quantity":1},"HiWh4ssftW":{"probability":20,"quantity":1},"mQrDLYNdZR":{"probability":20,"quantity":1},"vRVyeyw8sX":{"probability":20,"quantity":1},"u12I0PEbYc":{"probability":20,"quantity":1},"rDNIzdHzAN":{"probability":20,"quantity":1},"8rFj66yv02":{"probability":20,"quantity":1},"Lj3QPbwWar":{"probability":20,"quantity":1},"oMNyxHlIpw":{"probability":20,"quantity":1},"762eiMVWy5":{"probability":20,"quantity":1},"huwWZJg2aC":{"probability":20,"quantity":1},"viVY6ye3IT":{"probability":20,"quantity":1},"fDxe83JrKf":{"probability":20,"quantity":1},"u5IYMPTUUX":{"probability":20,"quantity":1},"hQPt6zlmKJ":{"probability":20,"quantity":1},"uQ4Jhd82Vt":{"probability":20,"quantity":1},"g7CyGkWiy9":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"tempString2_G":{"dataType":"string"},"Animatronics":{"default":{"DSGuZU81MC":{"probability":20,"quantity":1},"6p5A3QsGMM":{"probability":20,"quantity":1},"5rebr6sNk0":{"probability":20,"quantity":1},"qSVQOVRmiE":{"probability":20,"quantity":1},"g7CyGkWiy9":{"probability":20,"quantity":1},"urCs12Du5G":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"tempNum2_G":{"default":0,"dataType":"number"},"@cameraScrollRegen":{"default":80,"dataType":"number"},"@cameraScrollLimit":{"default":105,"dataType":"number"},"@cameraScrollWait":{"default":1500,"dataType":"number"},"cameraScrollState":{"default":"right","dataType":"string"},"@officeElementID's":{"default":"[\"power\",\"usage\",\"usageText\",\"clock\",\"night\"]","dataType":"string"},"power#":{"default":99.9,"dataType":"number"},"usage#":{"default":1,"dataType":"number"},"lastUsage#":{"default":1,"dataType":"number"},"cameraUsage#":{"default":0,"dataType":"number"},"lastCameraUsage#":{"default":0,"dataType":"number"},"destroyOnPowerOutage":{"default":{"6p5A3QsGMM":{"probability":20,"quantity":1},"5rebr6sNk0":{"probability":20,"quantity":1},"DSGuZU81MC":{"probability":20,"quantity":1},"HiWh4ssftW":{"probability":20,"quantity":1},"vRVyeyw8sX":{"probability":20,"quantity":1},"mQrDLYNdZR":{"probability":20,"quantity":1},"vLYr76DtQk":{"probability":20,"quantity":1},"uQ4Jhd82Vt":{"probability":20,"quantity":1},"g7CyGkWiy9":{"probability":20,"quantity":1},"OJLXpZwk2Y":{"probability":20,"quantity":1},"9CFwGrRnF9":{"probability":20,"quantity":1},"yTlvW4m7Kp":{"probability":20,"quantity":1},"dHJToMtOPv":{"probability":20,"quantity":1},"qSVQOVRmiE":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"powerOutage?":{"default":false,"dataType":"boolean"},"powerOutageTimer":{"default":0,"dataType":"number"},"hideOnPowerOutage":{"default":{"Fsh02UQWLb":{"probability":20,"quantity":1},"12rIEBXYHr":{"probability":20,"quantity":1},"IxzrAoJFJA":{"probability":20,"quantity":1},"p8vSwEwW4D":{"probability":20,"quantity":1},"oTJJuamiGc":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"deleteOnNightCompletion":{"default":{"DSGuZU81MC":{"probability":20,"quantity":1},"6p5A3QsGMM":{"probability":20,"quantity":1},"5rebr6sNk0":{"probability":20,"quantity":1},"qSVQOVRmiE":{"probability":20,"quantity":1},"g7CyGkWiy9":{"probability":20,"quantity":1},"urCs12Du5G":{"probability":20,"quantity":1},"OJLXpZwk2Y":{"probability":20,"quantity":1},"9CFwGrRnF9":{"probability":20,"quantity":1},"yTlvW4m7Kp":{"probability":20,"quantity":1},"dHJToMtOPv":{"probability":20,"quantity":1},"fOADBYRF1m":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"},"deleteOnNightReset":{"default":{"NgxXWVby7C":{"probability":20,"quantity":1},"uQ4Jhd82Vt":{"probability":20,"quantity":1},"yz2nXDn757":{"probability":20,"quantity":1},"DSGuZU81MC":{"probability":20,"quantity":1},"6p5A3QsGMM":{"probability":20,"quantity":1},"5rebr6sNk0":{"probability":20,"quantity":1},"qSVQOVRmiE":{"probability":20,"quantity":1},"g7CyGkWiy9":{"probability":20,"quantity":1},"urCs12Du5G":{"probability":20,"quantity":1},"OJLXpZwk2Y":{"probability":20,"quantity":1},"9CFwGrRnF9":{"probability":20,"quantity":1},"yTlvW4m7Kp":{"probability":20,"quantity":1},"dHJToMtOPv":{"probability":20,"quantity":1},"fOADBYRF1m":{"probability":20,"quantity":1}},"dataType":"unitTypeGroup"}},"attributeTypes":{"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","unitBarFriendly","unitBarNeutral","unitBarHostile"],"regenerateSpeed":".3","value":100,"dataType":"","max":100,"min":0,"name":"health "},"yl11AW6n5H":{"name":"animationTimer","min":0,"max":1,"dataType":"","value":"0.25","regenerateSpeed":"-0.25","isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"0UvdArvBbP":{"name":"soundTimer","min":0,"max":8,"dataType":"","value":0,"regenerateSpeed":"-0.25","isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"V5qN19hJGO":{"name":"aggression","min":0,"max":20,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"8pdqPHOBLe":{"name":"moveTimer","min":"4.97","max":"4.97","dataType":"","value":"4.97","regenerateSpeed":0,"isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"bd0cxHEeSW":{"name":"randomLocation#","min":0,"max":0,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"T9pKMeOlic":{"name":"footstepsTimer","min":0,"max":5,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"es7ok5LhDX":{"name":"progression","min":1,"max":6,"dataType":"","value":1,"regenerateSpeed":0,"isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"iigD8WeRo7":{"name":"New Attribute","min":0,"max":100,"dataType":"","value":100,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"UcRRvaSaDN":{"name":"timer","min":0,"max":100,"dataType":"","value":0,"regenerateSpeed":"-0.25","isVisible":false,"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#f4f4f4","decimalPlaces":0,"streamMode":1},"FS6ZH9LRlS":{"name":"movementCountdown","min":0,"max":100,"dataType":"","value":0,"regenerateSpeed":"-0.25","isVisible":false,"displayValue":true,"showWhen":"","showAsHUD":true,"color":"#e33e3e","decimalPlaces":0,"streamMode":1},"MoRinDQOMm":{"name":"sightDistance","min":0,"max":1500,"dataType":"","value":1500,"regenerateSpeed":0,"isVisible":[],"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"1GsTremIo9":{"name":"cameraDeathTimer","min":0,"max":32,"dataType":"","value":0,"regenerateSpeed":"-0.2","isVisible":false,"displayValue":false,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"bo4HZMNw3i":{"name":"Wins","min":0,"max":999999999999999,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":true,"displayValue":true,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"avHZengknl":{"name":"uiTimer","min":0,"max":100,"dataType":"time","value":0,"regenerateSpeed":"-0.25","isVisible":false,"displayValue":true,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"settings":{"menudiv":"Low quality version: https://www.modd.io/play/lqfnaf1\n\n<br><br>This game is pretty much just Five Nights at Freddy's 1, but is just missing a couple other features and also reworked a couple of mechanics so it can work with both singleplayer and multiplayer. There are a few quirky bugs, so just say /menu or rejoin just incase anything happens. I probably won't be updating this anymore though since im busy with other things. Also there are a lot of visual glitches with the UI, im too lazy to fix them and im not a total genius at HTML/CSS. (btw if u click the continue button it will activate 20/20/20/20)<br><br>\n\nCredits:\nScott Cawthon for creating Five Nights at Freddy's<br>This game is not affiliated with Scott Cawthon or the original FNAF franchise in any way.","inventory":{"isEnabled":false},"shop":{"isEnabled":false},"camera":{"trackingDelay":1.5,"zoom":{"default":1200,"type":"static"},"useBounds":true},"constants":{"currency":"Food"},"images":{"logo":"https://cache.modd.io/asset/spriteImage/1593103756304_modd_logo.png","cover":"https://cache.modd.io/1501275562940_two houses cover.png"},"gravity":{"x":0,"y":0},"scoreBoard":"n5JEoENeGg","scoreAttributeId":"bo4HZMNw3i","allowDuplicateIPs":true,"displayScoreboard":true,"prettifyingScoreboard":true,"menuHTML":"<div id='left-menu' class=\"flex-column hide-on-mobile p-3\" style=\"max-width: 320px\">\n\t<div id='user-div' class=\"flex-shrink-0 mb-3\" style=\"box-shadow: 0 0 15px rgba(0,0,0,.5);\">\n\t\t{{ loginForm }}\n\t</div>\n\n</div>\n\n<div id='right-menu' class=\"d-flex justify-content-center align-items-center flex-grow-1\">\n\t<div class=\"w-100\">\n\t\t<h1 class=\"text-center game-title\">\n\t\t</h1>\n\t\t\n\t\t<div class=\"row flex-grow-0 menu-row margin-auto justify-content-center\">\n\t\t\t\n\t\t\n\t\t\t<div id=\"menu-column-main-container\" class=\"pl-3\" style=\"{{#if constants.guestMode }} margin:auto {{/if}};\">\n\t\t\t\t<div id=\"menu-column-main\">\n\t\t\t\t\t<div class=\"white-bg\" style=\"max-width: 480px\">\n\t\t\t\t\t\t{{ playForm }}\t\t\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\n\t\t\t\n\t\t</div>\n\t</div>\n</div>","addStrokeToNameAndAttributes":true,"continuousPhysics":false,"leaderboardButton":true,"persistentScoreAttributeId":"bo4HZMNw3i"},"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":{"humanPlayer":{"name":"playing","attributes":{"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":false,"isVisible":false,"regenerateSpeed":0,"value":1,"dataType":"","max":1,"min":0,"name":"health "},"bo4HZMNw3i":{"name":"Wins","min":0,"max":999999999999999,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":true,"displayValue":true,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1}},"color":"#ffffff","relationships":{},"showNameLabel":true,"variables":{"cameraUnit":{"dataType":"unit","streamMode":1},"zoom":{"default":1200,"dataType":"number","streamMode":1,"key":"zoom","defaultKey":"zoom"},"cameraTargetUnit":{"dataType":"unit","streamMode":1},"currentMusic":{"default":"ambience1","dataType":"string","streamMode":1},"scene":{"default":"title","dataType":"string","streamMode":1},"radarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"soundOn":{"default":true,"dataType":"boolean","streamMode":1,"key":"soundOn","defaultKey":"soundOn"},"newPlayer?":{"default":true,"dataType":"boolean","streamMode":1},"diedTo":{"default":"none","dataType":"string","streamMode":1},"cursorSkin":{"default":"duWU0BDhPa","dataType":"itemType","streamMode":1},"hideElementIDs":{"default":"[]","dataType":"string","streamMode":1},"showElementsID":{"default":"[]","dataType":"string","streamMode":1},"deleteFromShowIDArray":{"default":"[]","dataType":"string","streamMode":1},"cursorSkinItem":{"dataType":"item","streamMode":1}}},"ntYQy7YpWV":{"name":"NPCs","attributes":{},"color":"white","relationships":{},"showNameLabel":true},"jF6joMbrn0":{"name":"dead","attributes":{"bo4HZMNw3i":{"name":"Wins","min":0,"max":999999999999999,"dataType":"","value":0,"regenerateSpeed":0,"isVisible":true,"displayValue":true,"showWhen":"","showAsHUD":true,"color":"white","decimalPlaces":0,"streamMode":1},"health":{"decimalPlaces":0,"color":"#ffff0f","showAsHUD":true,"displayValue":false,"isVisible":false,"regenerateSpeed":0,"value":1,"dataType":"","max":1,"min":0,"name":"health "}},"color":"#bb3c3c","relationships":{},"showNameLabel":true,"variables":{"soundOn":{"default":false,"dataType":"boolean","streamMode":1},"cameraUnit":{"dataType":"unit","streamMode":1},"zoom":{"default":1200,"dataType":"number","streamMode":1},"cameraTargetUnit":{"dataType":"unit","streamMode":1},"currentMusic":{"default":"ambience1","dataType":"string","streamMode":1},"scene":{"default":"title","dataType":"string","streamMode":1},"radarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"newPlayer?":{"default":true,"dataType":"boolean","streamMode":1,"key":"newPlayer?","defaultKey":"newPlayer?"},"diedTo":{"default":"none","dataType":"string","streamMode":1},"cursorSkin":{"default":"duWU0BDhPa","dataType":"itemType","streamMode":1},"hideElementIDs":{"default":"[]","dataType":"string","streamMode":1},"showElementsID":{"default":"[]","dataType":"string","streamMode":1},"deleteFromShowIDArray":{"default":"[]","dataType":"string","streamMode":1}}}},"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":{},"bodyTypes":{"default":{"bullet":false,"name":"default","type":"static","width":58,"height":58,"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":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},"selected":{"name":"selected","fixedRotation":false,"z-index":{"layer":3,"depth":3},"typeWhenDrop":"dynamic","type":"dynamic","collidesWith":{"units":true,"items":true,"projectiles":true,"walls":true,"debris":false},"unitAnchor":{"rotation":0,"y":20,"x":0},"rotationSpeed":3,"itemAnchor":{"y":0,"x":0},"jointType":"weldJoint","width":8,"height":20,"holdPosition":{"rotation":0,"y":33,"x":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["fighter"],"friction":0},"unselected":{"friction":0,"carriedBy":["fighter"],"isFlying":false,"isTangible":false,"density":1,"restitution":1,"angularDamping":1,"linearDamping":1,"holdPosition":{"x":0,"y":33,"rotation":0},"height":20,"width":8,"jointType":"weldJoint","itemAnchor":{"x":0,"y":0},"rotationSpeed":3,"unitAnchor":{"x":0,"y":20,"rotation":0},"collidesWith":{"debris":false,"walls":true,"projectiles":true,"items":true,"units":true},"type":"none","typeWhenDrop":"dynamic","z-index":{"depth":3,"layer":3},"fixedRotation":false,"name":"unselected","bullet":false,"allowSleep":true,"spriteScale":1,"fixtures":[{"density":1,"friction":0.01,"restitution":0,"shape":{"type":"rectangle"},"isSensor":false}]},"dropped":{"name":"dropped","fixedRotation":false,"z-index":{"layer":1,"depth":1},"typeWhenDrop":"dynamic","type":"static","collidesWith":{"units":false,"items":false,"projectiles":false,"walls":false,"debris":false},"unitAnchor":{"rotation":0,"y":20,"x":0},"rotationSpeed":3,"itemAnchor":{"y":0,"x":0},"jointType":"weldJoint","width":8,"height":20,"holdPosition":{"rotation":0,"y":33,"x":0},"linearDamping":1,"angularDamping":1,"restitution":1,"density":1,"isTangible":false,"isFlying":false,"carriedBy":["fighter"],"friction":0}},"playerTypeVariables":{"cameraUnit":{"dataType":"unit","streamMode":1},"zoom":{"default":1000,"dataType":"number","streamMode":1},"cameraTargetUnit":{"dataType":"unit","streamMode":1},"currentMusic":{"default":"ambience1","dataType":"string","streamMode":1},"scene":{"default":"office","dataType":"string","streamMode":1},"radarEnabled":{"default":false,"dataType":"boolean","streamMode":1},"soundOn":{"default":true,"dataType":"boolean","streamMode":1},"newPlayer?":{"default":true,"dataType":"boolean","streamMode":1},"diedTo":{"default":"none","dataType":"string","streamMode":1},"cursorSkin":{"default":"duWU0BDhPa","dataType":"itemType","streamMode":1},"hideElementIDs":{"default":"[]","dataType":"string","streamMode":1},"showElementsID":{"default":"[]","dataType":"string","streamMode":1},"deleteFromShowIDArray":{"default":"[]","dataType":"string","streamMode":1},"cursorSkinItem":{"dataType":"item","streamMode":1}},"ui":{"landingpage":{"key":"landingpage","folderName":"Title Screen","parent":null,"order":0,"expanded":true},"landingpagefull":{"name":"Title Screen Full","htmlData":"","parent":"landingpage","key":"landingpagefull","order":0,"type":"view","preventDelete":true},"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\">\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},"inGameUi":{"key":"inGameUi","folderName":"In-Game UI","parent":null,"order":2,"expanded":true},"inGameUiFull":{"name":"In-Game UI","htmlData":"<style>\n    #gameTitle {\n        background-image: url(https://i.ibb.co/RzG7Gpg/444-1-png.png);\n        top: 11vh;\n        left: 19vw;\n        width: 15.5vw;\n        height: 35vh;\n    }\n    #newGameButton {\n        background-image: url(https://i.ibb.co/Fxsh8NM/448-1-png.png);\n        top: 55vh;\n        left: 19vw;\n        width: 15.5vw;\n        height: 6vh;\n        cursor: pointer;\n    }\n    #continueButton {\n        background-image: url(https://i.ibb.co/4j5nHRc/449-1-png.png);\n        top: 65vh;\n        left: 19vw;\n        width: 15.5vw;\n        height: 6vh;\n        cursor: pointer;\n    }\n    #nightSixButton {\n        background-image: url(https://i.ibb.co/VN1sHcQ/443-1-png.png);\n        top: 75vh;\n        left: 19vw;\n        width: 16.5vw;\n        height: 8vh;\n        cursor: pointer;\n    }\n    #customNightButton {\n        background-image: url(https://i.ibb.co/qyNLRGz/526-1-png.png);\n        top: 85vh;\n        left: 19vw;\n        width: 21.5vw;\n        height: 12vh;\n        cursor: pointer;\n    }\n    .imageElement {\n        border: none;\n        position: fixed!important;\n        background-color: transparent;\n        background-repeat: no-repeat!important;\n        background-size: contain;\n        image-rendering: pixelated;\n    }\n    #newspaper {\n        background-image: url('https://i.ibb.co/GRTDTjz/image-1-png-43-1-png-1-png.png');\n        background-size: cover;\n        background-position: center;\n        background-repeat: no-repeat;\n        position: fixed;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: 100%;\n        z-index: 1;\n    }\n    #warningScreen {\n        background-image: url('https://i.ibb.co/wM3sfrf/image-1-png-29-1-png.png');\n        background-size: cover;\n        background-position: center;\n        background-repeat: no-repeat;\n        position: fixed;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: 100%;\n        z-index: 99;\n        image-rendering: pixelated;\n    }\n    #deathScreen {\n        background-image: url('https://i.ibb.co/1bJwpkh/image-1-png-43-1-png-4-png-1-png.png');\n        background-size: cover;\n        background-position: center;\n        background-repeat: no-repeat;\n        position: fixed;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: 100%;\n        z-index: 1;\n    }\n\t#nightEndScreen {\n        background-image: url('https://i.ibb.co/9ZtD4mj/fnaf-6am-1-1-png.png');\n        background-size: cover;\n        background-position: center;\n        background-repeat: no-repeat;\n        position: fixed;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: 100%;\n        z-index: 1;\n    }\n    p.mb-1:first-of-type b:first-child {\n        display: none;\n    }\n\t.relative flex w-full flex-col items-stretch rounded-t {\n        bottom: 100vh!important;\n        top: 4vh!important;\n    }\n\t.tailwind-layout .bottom-\\[8px\\] {\n        bottom: 100vh;\n        top: 4vh;\n    }\n\t.w-[250px] lg:w-[30vw] max-w-[320px]  fixed bottom-1 z-[1050] left-[8px] {\n        bottom: 100vh!important;\n        top: 4vh!important;\n    }\n\t#usage {\n\t\tbackground-image: url(https://i.ibb.co/VQZSxX9/455-1-png-1-png-4.png);\n\t\tbottom: 20px;\n\t\tleft: calc(5vw + 55px);\n\t\twidth: calc(3.5vw + 104px);\n\t\theight: calc(1.9vw + 15px);\n\t\tbackground-position: left;\n\t}\n\t@font-face {\n\t\tfont-family: 'FNAF';\n\t\tsrc: url('data:font/woff2;charset=utf-8;base64,d09GMgABAAAAACeYAA8AAAAAzVAAACc5AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGiobIBxeBmAAiR4RCAqCyFiB6CMLiGoAATYCJAORUAQgBYsRB51gG6eXV2ReS9xBdwCpt0dlOhJhoxYtZsIdDxsHAP2jguz///+Tko0xDA47AFVr1X4PKB4RgBlSqXqmZA2VzASREYqZLlO6jrWXHmoaHA13iVBnQhJ2A5te0hEbEJKQtOSnozFv5LLSsg4xxR+31fHud0no2HIC9wpUhmq9b0iq6ZrumqQiFWlcVM5wdUs4KdzfrxoqXkmwpP6Ai5vZbuOu1mXKA3mi634kKSW/5j9My2dSqH8PSnPZe5Pq8PZ/Wzd3tntTnxJxnrW4pcwTjwbeYOPxQvIgiwB3ehgWGXJCSGPlJJsDQvVfcMTwDEV0QOpsgYQBWeFZuRvQy/qQJhg7vJ2MQlDSc2qF0+B4H9W7uy7F7kNs//vVeBkZHACZYQP1Hwfbe59iiTwJJAnUm/J/fAO+1vaWpO14M7B7QRD5gmaD0Wgy5HzwT+73/+6PpRQ49WeqrypmJrt8xj9fdHd8ZXbBSCCwWQUSHoUmDKpw6QiP9Kl2Tb2PKwTazFHbdtO0d4A7jULI70n5rWx5FEafRTiGRhsmyMCJPrCOThh9oQ6qKoZhVdfYcV6DoIw1jRIVDsiiMFXASSe3T2y96erVliyLqlZi2PxP93+5bUismRDxRB7YWqbzqu87IjonQIdtc68mIkV1HKrWsHiHIGM7o0IX9LzvAvyUQqlSjQUQMHYNkI+0EDKXH/l/pqbtDiGIvHM6Srk7FnAMvWIuKruPLf78+f9hB4P1E0jq6UCITyFSyk5h//xZ3i6As4kLziEUtYs2VG5LlqVrty5at266xvDvXKhzo/gx4dzvW8IR/k6PUk7pufmPS2d79/Pa7cBVM4wLtWolHRmdl47FWmpuBe7qkAiLww8hkQKJ7STXpsH3TP9mMn2Sf7OqSGquOzShKZoiBHFFRMQVyVz8ZxpTO5OOldSOnTY4QBERUQiCAhr1f0/q+fRf5x73M0ZURFVVVVRERMSsRnXW3oNc+D8pTgfku/PXe+vdAb/yw1+3w5Uw0PxLFIfoPaL394Dqwz0mGKD43z1IWZVseO44gB8DaANmV101z/SC0v/qOosfMhLsaVnw/+gqJUiaYHqfUj6bB2b7r6sUHObsY4sK0EfL4MCTm48v/zxsu8Pb07Y4fH9nPpgjP4M16j8zKPnDIXhD6Mviu/FwAOragmvA/KiAPrMDLv8Tm3LAGxK7KYJrPiRJnjlbKU0001Zuz/dt/2db7OSW5IrcRYpMReo06Gc1W44VZfEuC/gkMysHFzdUuGgJI5Jo4kgkXbsENQhZk365ebeFi0dvfgxxpJDhFwmREhVRkx/yU+KTXMdaG2sHQF1LdDJZzz2pwaZbX36leGVrNQyjONF0AeZ74rxTVxZ2zqenwEDSSm33z/jK4l1PiAjfiI/kJ8cmsY42G/5/Ue3ly5MrSQIrJLj/Prrm0KmA1eAO9AQ9QDMAAOvAPDAFdEALNEAysE9fp5eTWpaE44cvPnjhCBY0UD7xgfe85TUvNC0Ueuuli+bi6nBsxGpMRhbX2EeKC53oeP/nv23IMjtb1u+rYNcVGd7G7/yfRgWejO6cX0IN/Pr/r55gBUhFSVb8ARCCERTDCZKiWbBsDpfHFwhFYolUJlcoVWqNVqc3GE1mi9Vmdzhdbo/L7QFACEZQDCdIimZYjhdESVZUTTdMr+Xz2xyUVDR0bFx48ecnQJBAwUKFCxMhUrQoMWLFS5QgSYpkGdJlKjirSlQXXNRTNbYWsr5WRb077z63nTa6C7uoyyQA5N3O6Hc5uxBpJOAGd6qvO7eTBlypFsxNCs6d6CRAflZWYUVSOfBDXtbaZM217NEeV4VTceXVkdOTMdAyMbMwcuTEgac8eHI337nwhkOHCWsmQrjgQNrh815dsHR/g3Uv+b8+zvxvLPnf2pK0QjHfO/1eRpZh7JvMUER0Qnu2k0G4brQ9gelSp47JSTo4sd502dohnc/DXyBVHTPkLWdfguTLRuAHY3kyqRkTPQ0j2Lo1aRsMthvA2Z3vQZmjnZs/H+agOoTYZHLppvdNZ0ve1Nece0HvBYRvYBDbbWSS8G7aZugM53wDbjDaTE6VEEAZEYE8SQlPFmzL25WsGaxhYBxqDpQzXuoiGX78twbYEtCkNEQ7XF2ikED/xqlUotgRCI45Q+PFqBLSimCZYmiwxdQR9wsqyhhkAHoTG9zYW1ie5qzHnq2SNItxM+wbLAxCkHoiHFy/R7yssCxyjAYnkrUpc/dkn1xrnlTm++C+IPuSEmaaDIOOKTjDlAE1iPJx7tvbvv+Cg9Z2hVb9+CFCcOonPnxIkosJTtSa/tNHCgrn3UCfcs/xoBCOR8AmZIgbMBX9ZOeDyFDgZxlOp6CUmW95LFMR2Cp8HoKkUrGub5f2Jq0WG560UUvNBw3qvML2la9BDwsg0PO6Axf9+5j9xRW3wU9T4Ksf6in2ypiU2kylPfg7eqVA/Flz6UpLJ0JZ+4kF65GFf6HLhRCUUx41dANc8HxQ8tgGQgvqgTxc61e+wYf3S2sUhR3vPwpsVhEosuRxO6eu9kfFre9d86yufdIhaJlMYKzINL3lSWhD+AVfqELMHwIoeUY7AGYopChWl5Cg1Bpsg9tZhVnxwat6lVEL5mYPXvFDOOkYnjAha4xVw4y8Roy4DQGAEUMX6sgD+0j9BuwTuxZS0zETggYpUnK/kCk+R0haGVW8sTTFtIku/Aua65PA2/BxI/XhDYAN1cTcSa2GzV0dmlF2T17zk/inohJ1/HYPrKlZqKEwrUORX41ENi0kNW4F7VOST80+84aADk36DViqQz9HgYOPxd/0eY3QdII5yaBUu3HQgLWAKLQ16Pc4qZNUBFH9MkyBKNGxONpIatxnGwimgJPE13GbYsNTzbBX5bluBNc06JVCWZ+2yiP5oBtf7gHg/numL2GT/nT12+fR/2OvDRQMbOQl2QI87GBLaNm1ZSN6Kn9Ug0o1zoNIkhOEtRiF5tKs7MmHHhG4m/3trcRx9cpp6spvQFaEHa9gPAJEAsC8br6n6EXA0dDQwAC5cF9QxHb5vpZdNOc0bmyj0jkpdfaVdsg/v9WNoaPRgDyDpqX22zvgFQPbpHmDImDbeCbAqkfFEzG2dZ9wBuxSe2oRmuUBpa9m4EHMKz8ZmuY7rnZdhN6ZjFzFFZZa7GTM/hfy0HXEf620CiYEa0Ad9Qy0JnlrlBxJqGltkTofadSi4Y4ldtQFFKctTW8FDOlVhg/ufqf1nqMymO5l4YN10ULCzA94c+uvPB6O1WZHxO29Sn4bvvI8anOz5Zw1cO39spGXVm8sW2iQf6jhWB7Dtc03cPB8p9AM1yNPJqEnywcWKxTnpIYCHvB86sE0BSRCwBlCwyBb/c5GK86iDZjNkAh9i+yJzWvwg7reQespSwF7kbIxcY4cbek5yHjh0/ccb+SuoYMFoziodsALPswb7RCQ00cW8tYnJyNfWuLqGoB2EGBib/7nrekYL9/HabUrN+gRxKHXVcuO9Rr+PAnww/PgE/KgOGYHL0mokUDHzYsjv1pIvVvK3m6IRjEwXoTqIprOeRudbGDAZT+V475KrqYFFCxA29IbikFbgwuVDCSFTjqYgd6Th8SME1zYODX75CCgWSeGM9hrWVb7nAV5WvK4iI010rKjrS7owGrAyxi2LrCwtTaNQDnMid7ygKu4pt9O85CC9HmmgMuTHFhrF1sAZcIpHTb4RqIWTtzbidVCwtcvDdAzeEs0zLtVczW8LOM+SCRMSCkcgMILGRB1j8//T7IRulBEFkQ+6ruvqXDZkFxm/FUneA1v31r64kYCkoeXt3AqsCRfOhZySTZ5t6pAUg2CWUUb7SS+HrcOUCsFna+/0YVXWJjlwtc5Goyxm/AAY0oMhEJbPGk0CZ4+hICVGhtJLXFdZzkHnbXYXocjSt4LE+Bt5ymhRvYIJo0lbJnp7tclafp0g5kvrR+ZPvG8qo3WR6gcsre0lLuJ/T0GFfdKI6HSIe5dycvlvthwAaHDCJWkVqi88P0GW8356O0gSftAFM3dOdZ1ST3krejQWQsXWYqp6B1EYQO4aEmCwk+TCdZu9Cyzh3P6LNR1QbX7WVDIqITak6as3IKNRK1tAhjZ/W+Wz4EnH9fKwddeOnjW5LWkUfz0nZeaRNXBwRXvu9bbq18mxBqqcvgJRk9gMYqK83z627Mnl+QKq08drzaLr2R5ZcPYu0a4NdKsnFL3J7klShvAM+mQjuV5NHjGqU98X/5cWUonQPyrX7qxNkp2or2L3M5EZvkUAIqVKFObWjDgfgwXF10AFO5hESgf6VBL34JWZ5qDeGx6y6HqxxUPU7OaG2HJUiyq3KKksKTpRW5Z0rhlaq+k8ahdEqUBeUfNycthkewrdvtNj1QDiZKmTOqTfuZ9UcEQHWJ1U1FYl+1SBMLuuJYw+wxgt/bfxihS1+DZxpa8MHScJ0HiZtAsXHEdfCIaqZXTOkL4Om0M3b30DgisUWAFVsXNSY9c3w4X9UgSvv9LCmgXX8I0x4aTEQQAxSmo5QD0lJ1oSXcO9fzb3xbCxeQOtm9wGbceKwi244foa/NZGPzG8l2/gDfPsIK8mgi/2FNnTNorfHF8i9rABVyQHiYgPBPdJEMYOZmuFECEBYmIjZZfo1zhTdPTLQcrbNe1WxhfxW2U4X+1769N91sdum1yIvZmOjXkYMvCSme6AmebMqBxHYzU2+kKOr0LAK6Cb576t4u1TVykKcQ3Qhn5LjCkGbLwtzR7eiijYrOamn/ZFQD+znnUhSJskoyGSJCtOk4REJDW0JojgRIAk+7Rels+fLU1z6DHU/bkLUYNK1jtFZqUS/27/F6yjtPORWS2oobQM9eBqbU+NE3NHjoghoPLBBvBAIj6seMcW6Ks+6FTBK5626DQw59sYwyU+ny1HymS0lwJUDqP3ldjlP0uKsRcUS3x+4YlIKga2dzZohKi9mLyde8zw2gJeXmoSBvUKA1x1mz5wWhp4aVoLYMsWXSHxSTFgFb6zrWUCDREruvBWDhWdJpjlE6p0ovH0Wly+V1geIUW6QbN5tN3sNv5bzO05+iaRjF7QBV69Pa3fy+gMj7lcTYgWSj82AwwAtyxOwqIPLINFcLOeMJpHIBExg/67Ug3LJVcmJzVeWR0omeqGx7+lhboS5VJ02Gdq2UVEQB/V2dGGdipS+MaYiW+r+8WMOt7SpMfmXR02hx/xqIshOfMC5uAwtqS5sWJYxE/OOgjbSi2tvSv+G9l51jbaVGiTM/xg4BYXkOfrRHfhe1yyddLVaGDpFdifL2Nyyce07BBm5xqJH9QnMj5e5c46bLIioYiIDXbwFytJX1pNgBu6mU7O3LO26vsZuy1bMltiedXyMfi1IIFzN7D2NO3vYVnt4spkcDXd6NVz+Z6bP8ub9joQ2/px9KyIzER5awiNxMTJiVzOIHsuz053YER//XCLgAPbzG7s67GrLBQchrKvGAJjql6guayWH/S9kW7oNVTObskl7jDoUx1l/aNGtqmqxocsO0PqyUniF4XdaNQA9TUlONlU2A5aA61iUNaWwo1YRel0js6Hg3XFDXRIwq2pA9Va5m3hUgJS4PaIbpY6uJdHlbvjW+a38JJQCZtRhNPVkgMLee8HVAMUM8ypiSAB6Z6hw29uhSGKIJqCy9uLTqJZZdYNOD9k5UBRq328UM4vb4KhQlDutJM8hMuihJ88o51tyPqyBalHXk3etZwTUcrodu+6Wr5SOeT0GfPsyfPIooAOIy/o/fQj+qR85Bq0NnGNKoEchALp4daFjdpe223xSRcyBSEZlg5781tDfXiNmH/mnp6ooOLU1RPs1J11NvpTCm2AoOpyxOc0py8uuOEM0K7F0x43iAbHeXbSTS6WdM5yM32C02prSz9Kfz6JjrYfjIvTc9hd+tAGLNl3mpymPPuFSOBEYEvaC78Xkw9lMDBfeU7UtBzho5oyU7bwPwH0TgXdj7vwYNJIMmP73p576jmVCs8u2VAij4P26R9eRyzhZlV14da9ec0uN/uUqIMYsl1TPGxHYyfTW+YO83beSte9uAnTmFF6GF9dFPc6fHS/bpq6cpR4/h8FJhrX5J4ao575MdsSal5xq+13s7UtdcXHjDmekqhsRlH7eyGQY3CUVYcJfOL5kzIZ+P7MtJl7vCiRxkzqCnjZOP6gZL0LVeojGkOJv/pQ5SPrr5nGL3JuX4+u1nc6hjN3BOEwejG7THXE/giNefjTf9epNYKXjx2qPZtO8cxk0VauaEVFQh70TnWj8u7mUNpJkL95mUjj3fysNQ9FGp4U1dQWtYD6tVvWsbh0q/Evph6Goq+b828ufw9vzB5oWPxG/am9mEqUfwhRvF2PKFVwz+zf3PXUWmc8oOhkKDwlKH1ble9PCYyo+6L3JsAgQu0iVCA174cLv4eyh1jGL8ytbQWcxV9TNVYrtjnACRueWzZ/S/WrcsfZ1LH39sRoNp05VreAj4K+saT68doalI/60Pxdbss7SDAe/HeoC3zw9jg2lhPu2z7LMS+tumGGPd+MC6n93FrX69elw6/ApCD/HYDA17BHMENDi0KGE4cfKWhBhiJ7mbVJ2N4HfeyX7sjnrr8EPQR9KIYs2iMBB8no5nr0QzuWPLhWyTT1V6CzGKmS4Zt30H/7jtunsAdFItr1jMU18l85BytV/kJ9cxJf+H5F59fvssqpBINf0OVGsIYBFUVIBITcl/6NdLGrxXBmD8RYwOSAwTri65F6AsNDwDkQc9iUVdE0Hh2D5EOxCxKN9QhA277htoKUQWdkQXuKAoUiL9DbpD2LO75Ws2QkVq5zks0vmMW8QGF32g8S2Z63yyODTx4Bd3I1++vfHc7+kIN182oL0rt59IaCIvYHI4sSuK4KuHLVAlRHHZC0DLneuH89kFuGghqiU/ZRvshScE4ailQHriGsjUJx8MVty4mK046sBapkVLDm9Uk/DwGFajmFhfjSrE//IRGqc9gEKKnT9WWbcOSWzb8M0UilS6MsWsrY7BeA/AxWNuWQ50j8YlDDB3+YTx/k4NXAJKnGMXzw6tGa5bWqAxYEphk2NgkWR8YsgYEeLQinSihXrwdQN2nxBgXLpChkbm8Vjg7tIFrVlXRCCcFMs0oihITT6ElBlJAIcU+WYs0OXVIG0aEbtJWrHbESG3pB8vS2rJ2ZDoHHBiz5tGBUlGlDOLtyDpH4ZuKmm7AZJu0hjWPWaIsFv/TCFBtvlFFItOOY2XBC9a2qypRkyKoZ7QpKB0PrEQ4G6DyJiFxfoNIEYraWrZN/84RokVIucd2tSvcAceoFKLnuGbRFrhVVZ8QF9Su/TRmFr9alxTWUuyO6hKhzG2zutpHZlnrj9ztCiKxFl5YQuzmulHIkQTYnayfpBAgmdzqoomGAvbwlgAxZQIGW65Gb3hIyCW3QO7Mjp51NTLGUmM4Jl1cqTe7VeeBUeSNC4Y1RY1DeiPRmMzU8Wbe2agiJNZjoSPKbT4fOIbtE00LjzBXtetFK8kW4XjRPKg8mN2ZAT+rswo60qz6/pgLrTioKAY3UBKZDtI2fDTUocu+xpW/jcQyAJzE71t52FxHTnn8LayOfZuqFFo75sEqoqxWdMQdMwhxLQ2sq1addFbqQXPttci8B668LX0DFneobI5n0dR2raz10NiOw69PN/w71oAeNxC5KdJ0Q3KgwDMBFkelmGJQUVN/eTwiVMw/t4Uak4w0U6JhT9lmyjUqq05yffUTpbS/2zwg2RW3gNyQrIjFehW2yHIAszgDqYPPXHhPcWdVOTcpCvMmRAQNeBZqxeQsyjrOg0/l0qDrTococd0eynAnAYq5pfMg7VDkSrNruPUTE9LQZszd3FoikJRZuWevpB0BvDtkDn/oRmGMgU9ANljUYqKCtwvIta0nYEeePlgqotkWdHCQmcK2HxZ9o1lx8rYzQwY8xSzJNscxd9OTTbd3bzkEj57EfUjJdQB9dpNPpB2ngp44jDj9RD6jdTuNK7ztW2aherJ0xdRDaf50gBR8rCF2FVl84tbdxDSIMtxjJrc7hiunJ+oikY6DlUFT5yL9FRpRGgPJYKWVVqSU1spRpleN0beMgrYz2vSPIkHngRAqktqr2SdVMTBQoJ9JBiCEpnF2bMlYUYR0SyS53hJQGinJg+dQ9ZoUsdHQz3EUraPiYCLVaEivAhdRJQeGi0xerIUUwszqLiNEzxgTrCFwqNoOWUnr2uSECpkGQkpKP0NIZDVVR7JkNQxfALopiKklgZQ8vDrqMYtSbA2MdWNCzRnojrdUcj2HVp8lWd+9uTzRjs5FlMC3dCOGSmZKQzhSmOaaW70KKZMJh51rsnfNnhkxzGHPEgs/sbQB4Ew1MtBkD0/qeMUC9RJTNmjwQ7EliNLDxoRaMqEAj7OB4qxbuqZwLjv1gLksp/A5Adeyo39SgP1sCLuANznCFh/Q7Vi20mxz286WKUaOTx/JkdM8sA9Y4pExyhOqpNQMCGQasKbeT0SzuGYy47j8YkVZG20qkg7CJdH0/K1BB38hxJLehEzusOtTZaSUKZeDlvkx+DiTUJnPnKl6QUczJjGOPvNJf3YDH17IXDljbBlFc1XwSbV/joxTu1bUg0OMS3XMYw7b5GD8k3zgbB6A/GW3f0ADQkmMRwzDtenqWpg+qh5jhZOm2uhj3hh9+NEzphfInV8yUY5PnFQfA5Ap05rMST0HrV/Sd7F73a2RsC5RnzM8JLFiejolMfEIK6DZBUu2malcPgc4BnxtYdcLOJy1tFGF8TWSbjFxO3GQduY+R7XZzeJY3Rd3PZFEweMoFCuV8ihPQ+yO3Vh530hRV4Jd3NSRA/pM91G4TYAAziNSPozkiwW2x5qVeR5ZrDLVLu+SJy5kHqrHsx07TpM+e1REJdWxfO6vDgEMx8DIXJW86VXzKIAonSkyKVvcdngG1044V3vvACFNLef0hhJW58ENRs8jZ55iJW65W35DEI0Pxvq5xUk5l4q4Lc2YzJbrlYzt/VRZyXr3o1u+8q7S2VvRu1ebK6ML/QSSBjsC5l0in5yuOcwYbPHAWRUFX4bZmUboPBbLq9ODrPr2PCOkTaJjC8nxbnd2VBrxClNqKC/6BEzwvOLYULAPwJhtnLKRhu4YyNXRkCsfaNQn9cevwE4ZsEsjcKPACpFJbaQ3VGn6jM8wc6/Wb54NgTiRYopEUCtT1++HVFH+MTM2tRmCQu33nTO+Fozwdk8s0lBeThjBMc4i8bwFrgPq7SJceAdaqNLxdLvsIDy8Sbsd+nq7KKTZVA0irKMh2sKthCGdgksTJAZ2NmXVtnNZCjvSdBYeAGKGUhsBSTYcmmMeW88kNYl0VyuuRzHFcUGW72CtTsnaCZACYTuy46wwW8iavoYliS/zYTFK4uKQcVEti2JnshYM27gERYgr91IoITNV6QKMKXNmlQcnvOpuFNxvnQzUMopFK+PYqp4S/1Ouj+O2QAqRXHudk5TODPGckXh8+x6YCeK44h/ysCap9N2vuta07UkwS6xKTOMY8tYfq0mOgUxySMFnc6adrZeNY/PHKsToq7u3UD1i5vuq3LH6mEGXOZITPnL9vwLdcJCk7FEmpvFwZgDHQdeq1BZ5T2szGqKicM8VIxOs9yay3IACjNTOJVFs0TdqrcQgkcOJhMqjJQAkq4ztzmQHZLb4HkRkd6JKZU73feTsK2JI129cqmpzRycUJa2XLyrAJsXW1OBGtgehimPKheljgGWXQns4BT3sqzOpzmAiDnzllVn05000sGKZ6eVQlF/5PIy2lGfYJjog6SxxM/GQP2iZtuQrGicilinkQa4qGidGFXqoyK7MwZoJ8JtbPFbM6ZU5Qr8oC5sp7vrii50uRGyyLPNFkYslF0Uumlxc8WpRrZQrgT4yUmYNy+vh51Yfdjg46hUMyMLECB7bIh8UgWf9N4T8Jvtd7qCbw7F/fcSbtR+Zh8KOLB3vMC3UWHJa9nNCqobem1iJJRbei24c5y60ZWXhxDZkT5YUiZbqwc87s5MFdFJI8WWjG7uRSBJq+lgUoW+JKAaBeEfMkRL3vXtzG1iDNj+moJT945lZ8rZ+IunYaCkoyMjOHtCtkYaDlmaWVtQOIquHBKxQLufFMOId+2kHlmNZyvVTbv1ZVQynl6R2rkA9pLbPE3dNSnoLYh1QvXxCu1lE3lwByMAZpVZ0nuuZWPQZFW09kqM9ySQyNlwcXlXeFb7Ts8mFj9X3219OYpr1wbsTvEaoxMgQ9Rp7d3HuzYqQnt311sx/zmm+hxF9mISCRQdP4cuAX7k0Mj3NoSkhWImfLnlAJWlPGEm3D0hpEEBS7PodzOsqEtj+EKM+jG008BFYgeKK5sZSpgV4JIVxOEny9iD7Ii/O7s26ex0IROO0KFmlIZJB0CvWkB+u4Zj6G8SxifN1nXb2opPy4sCch9hAPdpxkZqOTDUbi3Q40eP7PJGitAptxRTEBJs8ZIM79Yb+sYyng8QrD2TsT99XRxr2f1UnhhQZhSfwFwaICIeEe+Cy70yGH32Rxgl5chHdBAOW88Ekz6NNIf7tbxHFmsZsPIIXOfxr6ernpadeevEC/FvHcvz8eHzycsVNb+8/sn8Ejx4dXzrihucgAPhN1t8HCfDTp+s/XuH235Cy4xMfkOC2BPIMAc932yBCJmT+K1kGRm/91P6hX98/V6/L21I7OK8/fF76P0/S+sWR0BwC/xp5dYMJPIu3B+TTbd/qmvOdENJsS8RFyDTpYXQ+ct+uyhwt53qMpeOOmaiVKRSqo8kdNsFlt+V1lLvMdbp+1DyHnR0614jzoGP7j6DQMUdIYi+DjxHDrYL02aomWdM9m530B4H7hjSX9d2Q++otBbv7S1DtUHYZNVLeQF+9oq/RvlcKyao5RY5EVqGKLiODHLNDY3WvXrM1k7sv6+nRPHrsYqp7+9qmW8BamI93kSWMNddAF1JpTmuU/QmpryuO1DBCu3m16tjFVHkV7jJuaXV6s0WWi6K3gGO2V/kqYewB/J+tnQ5Wq76GeLXXUNdKP664tMGr08siBF2DKuO24CI7IkOKFrSVZwwTx9gKwyw86n79py/tLI36Mq5GfumO5h4rROjbO57FNZvNvO+BxiVLxI6Qdauj+HjbcSzsUseoZu14UEnueCk20/GherTjJ7uPnQBhpfWCeVtpQuRHL0ztjU6EjkN0oqizd+KyV/iTE3xuwg7E9jnAIogdYZ4DHSXK646j19eOsaKfHQ8msR0vC0rr+DDd3/Ezbyc6AfL71wu248R7HEJtTS+MdlUnwp473oliztiJm3fOf92EqHuOeTje2cYYaaz3haVsyFHvv7MF2fTu3Lj1QOCSOlBxgHvNN3DAP0WITYwD0vvJsVjQQ6wCP69VFN9xKRD0r4By6g2hz/hD/X8zdb7chNiHjKIF2ogvxPEievdl3pvrWcdoFjz46rtiEfYWjYl9eA67xWPqcu5Zit4zvMW26GN38MKr5HGvOV9PNC8EHthBbKAObG8deaD0tit3k/JnNlF/6qKu7K4AD74Hfv3SIBWh+TZarZnsw7EBQcDRMhpEO8uO3fpHQ5dg3lvEzANBStYhs5WRzizSTc7QDOGc2M1Hz9Erq3/DdQGBAHTif2+DRQAFpSzORqmY6HkJE0innZw9imHkQqNAd8FbuCWLlvmLUqZENBg4C4QKSKXK1ahUpdoYlAa16sRAm2XVrFETjAlTtHCw8IgISHyRUVHQ0DExsLCN4+Dh4hMSSOVHTERCatK0dFVVBgmyEgjNP7CXREmSTZT2HzTkLIqTNMuLsqpbVq1ld7q9/mA4Gk+ms/liubKuZU0jxJRLbX3Mz6/vH4m0/e//9f4EYRQnaZYXYu2SVd20XT+Mkw2bBuXlZd324/xev79R54tlWK03293+ICPxFM+GlYHr7Z4EZz1f78/X98/v339pWXlFZVV1TW1dfUNjU3NLqw+C7R0Z9ydfEencpWu37j169urdp2+//gMGDho8ZOiw4SNGjho9Zuy48RMmTpo8Zeq06TNmzpo9Z26a5UVZ1U3b9cM4zctqtn7bj/O63R/P1/vz/f1zT6az+WK5Wm8kS1G4lShJ0Y5MPnVTIhQfjqdz/uTIbP7CxUuXr1y9dv3GzUDwFiIrqqYbpmU7rufzh2HHABCCERTDCZKiWWwOl8cXCEViiVQmj1BBbDx3J0KYOXLaXZVao9XpDUaT2WK12R1Ol9ujsYRsyuXTELwka25uitg94O2UzPrXp9MymwAz/L3GDmS9fKIcbk9kFp3ZhvtK2/LfcAs1hXi85pRj3H+YZ6PobQC/R+90eSgc+b6NLIXAAEwgCNWCJ1Eo1GUUGOQhfNNwCDdShPiak2J1KdGTWyL2li/ZJdcczeUBt7y5b4LCZlEE7dBJJe5omWLazILC2k9T5W/aTo3qP9eJ8B0bG/mjB+eR/wX6iz3ouI9MMPSksa1OtSci+TQczXXlOB+eAEwX/JQWzYqtJk3DZkJAn/z+2WvKBDtmYEdpJQ3ILMJ/dZaOdsQtrgtG7lAWgBsqv6bVsuqrS2sAnj3awo2XNTk3Z8TGvPoOzZ5e5ReOv7OAEQIQC4jaRUDaqF3QfrYLUrKCnAwK0VKt56OXp8gn3B1Amjp6QnVaDWOPKjCITBi4AAYCsztTCmOemTJWkHKGaqljo4NEQ2EO75rJDRHRRiaMJfOjm8rodGOFBYMWgeWSntxhdJBorNLsGQVpJ51kS8/rpQ6acJvvFjoQ6F/nsjvrQlca+sDnokzX6N2lka3+deUlWshgK/hstDg7nJQCt53i+E5rUZkS7XAbWKzWYUDjPPHBPA2HCpXji58qJFxXjNQkZQtrWZ4SYzYofL1VPv1toaH3CDqug8LUiKkZ09jI0H+R2iZztSs8M66Y+RhlTI5ktjYZp2M7mCDet2yV2Nh3lsryXp1lwkwLSY9CtA0+R7NnEkaZn/u1LghmOQkD//GAdr+l3h9kPnxTPZ1iehmJaWtma0vCNrottvR5O8ibvSIytwvM9Jm2neUg2/onuq+oxGIooqBH/fvw9gfcrNH/YBkTnAcTHat0dqvI22518sJNNn+sCd26g7eSpLCUMt+6u8GbjYlXSlkGsKqEjmNtM8s4ACHQsh04gqULaANBYAgUBkdIv4Ytc4LxUmJmJ1MIQSCpzd2CZpBhzPOlxkGbS6icQgd4SDtaQs7arPaj69ugbbUDgyOQh+1AS7hdHd0ibQlxITSVOegW5Uv2j1XZtrkj9Swt+VH0dbf03kUYFKG0RLdIastWVgJlg3NpDI7o5E7YazcQV4hdpqI09tXgTiDf3YHz9uEhozF6+5PH4jbMOXw7+S2Qb1+UeYURU/moZLr9ZHlRFSue415eiBM1LMZ2MEy6559ntLPD3TrYBXPaUUbTpWzIO220/fPrzU0Xt+oOAAA=') format('woff2'),\n\t\t\turl('data:font/woff;charset=utf-8;base64,d09GRgABAAAAADugAA8AAAAAzVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAA7hAAAABoAAAAclDf3H0dERUYAADroAAAAKgAAACoElQabR1BPUwAAO2QAAAAgAAAAIER2THVHU1VCAAA7FAAAAE0AAABes+62ek9TLzIAAAHMAAAASwAAAGDYMFznY21hcAAAA2QAAANAAAAEntMpdeVnYXNwAAA64AAAAAgAAAAI//8AA2dseWYAAAr0AAAlZAAApFgvIL6maGVhZAAAAVgAAAAwAAAANhwQGi1oaGVhAAABiAAAACEAAAAkEUII9WhtdHgAAAIYAAABSwAACNBXR/ulbG9jYQAABqQAAARNAAAEah9N9UxtYXhwAAABrAAAAB8AAAAgAoMAP25hbWUAADBYAAACFAAABZFMAwA7cG9zdAAAMmwAAAhxAAAO4Gif9xp42mNgZGBgAOIpXZ5u8fw2Xxm42RhA4LbEswgY/a+BgYHDgQtIMnAwMIFEAR9UChx42mNgZGDgavh7gIGBk+FfAwMDhwMDUAQZMJkAAG5QBE8AAAB42mNgZGBgMmGwYeBlAAEmIGYEQgYGBzCfAQAO9ADFAHjaY2BmcWT8wsDKwMDUxbSbgYGhB0Iz3mcwZGRiQAILGBj2BzAkVMP4EUDA4MCg8JuJq+HvAQYGrgawMCOIYG/gBFEKDEwA3/oOQAB42q1VQY7DIAyE0BD13gdx2X/lMfsQX/uoboqBSQ1JCEtTaWSECtieGUc/1UP53+Ch5wjj17c5R9inD7AnYyu0uO8m4ujOz+7l1gPcI+8bDt5HfrJW3htcf658Hj3gupkFXbxVvEdWxTvBgVXbWhgyr8QnGXHWCtTynyp1SdR4M9TP0XSon8VxjYPjuLgr9NALm+pv0W4P+F5DiwtQseY8Rg506hc0gXykX6ELRKmb0dX1alUbX9NFvrza7zV9svdqWt3jt6br6cQ7HPEm1tJPUdvrmqSnkS/+o8WMsEkHHMEX1mF20LlXvu330bejhQf95byo5S/7XQP6unJABQRHRvS4/J58OPyb4c9ybv4XLbNone+Cd9Yu5v1d5fO/CWoLfyft7Yc8KJ8X8A58VNaD3kqfjS7fK+dY8MPv8rI/ntlHqtHf+QaP/QVTAHjazdRrUFVVFMDx/9pHsKzoAQKi3fY9dC+V5QN8IZlIUvamhyU9TEWGEElstGQqh3yVZmJINaYWZC+JSEXEKBtryjKK9Is4QXPPEZqpJJuhL47MvafNhWls+tDX9szZa68Pa89vzlnrABYDzyjE7Khqk0k0H6JWmPg6FcSSYk4rqZcKWS2VUiXNckr+EE+NVJNVnspXVWq3+lq1qp+sMmu5tdLaYG20aq02q92Hb63vDd+fOlUH9TidoSfpqXqmXqrL9Xq9S9frBr1H79Mt/hh/vD/Jr/22f4x/rn+rHWun2D57tD3BnmXPswsDtYHGQHOgNfBDMDuYEywJLkn71ZE+5Xn9ajQ1NMiqqK1JuuW0nFXJ59gOqyPqhLEtM7Y1xrbJ2hm1VRhbr06O2tL1RJ1pbGV6ma44x3YgaksctOX5N9sx/7AtDNQE9gb2/20rDpam/eLQR7/N6/K+8D73DnlNXqP3slfoFXj53gwv6MV5sZG2yJ7I9si2SGU4HD4b7g3/Hu4Jnwr/Fj7Z1dKV1ZV68qhb79a5tW6N+6a7w612i90id76b42a7091pbpY7xTntuE7IaXeOO61OnVPuxIX6QmdCPaHu0LFQS6i589nO0s6Szjmdszt+7uju+Kzj4I+59tih4we+9f90xaph/UH4l1JQgyf1H3cMVFoMIcZ071DO43yGcQEXchFxXMwlXMplxJPAcBJJIpkRpsdHmq6/HB9XmH7yY5PKlQQIksZVXM01jOZarmMMYxnHeNLJYAITmcRkppDJVLK4nmncwHSymUEONzKTXG7iZmZxC7dyG7dzB3dyF3nczT3cy33M5n4eYA75PMhDPMwjzOVR5jHf+NeyjhfYQBWvsYO3qGUn7/A27/I+deziA+pp4EM+Yjd72UcjTTSzn09o4VMOyncsZSGFFEsbT5kJWUKJnGE5i1QKz7NVJfKEmeBRFPHk4GurU0ks5mnZwnt8bCa/gMfVcMlVI1QCpTwjR1nAc6zhVYmXhGjFN3JEvpSvOGCSQ5IpJ6RHjku7SlcZ8j0r5LB8K8dYzYusYiPr2UQlm3mJal4xFVvYxnbzj+mVBVJCmRTJY1JMuSyWRVLwF4F8H3F42i3Ce0RrDQAA8D3Pzh6d1jqdrbXW3q3t1NZ29mivzs7WWmttZ7mSJFfmk0kmSTJXkk+SJMlM0h9XriRJJrkySea6kuTKJFeSSa5J5kry9cfn96NQKMj/tBQXJUFJU/JUkIpQHdQh6iw1Q/1GzVJPqQ80hNZCG6Kt0LK0GzpI19AH6P/SM/RdeoH+hyFiEIwEY56xw7hkPDEBpoSJM/uZSeYC84B5xnwEIMAIhIEpIAOcAQWgzJKwcFaKtcnKs25Y76AAtIJ+sA+cAjNgDrxjA2wVO8geYU+zM+wT9hX7L4fPMXH6OSnOOueEc8N54Yq5Vm6Su8I94Ba4RR6Ph37w8D7z5nh7vHteuQKtwCsmKtIVpxVXEADBkAnqhcageSgDZaFzqAA9VlIqNZVk5WrlNV/GD/KT/DQ/xy9ViavwqnjVctVB1bWAItAIgoIRwYJgV3BZDVQbqweq56oPqx9gDhyEx+BVOAcXa5AarGaoZqEmW1NEZEgE+YIcIQ9CWEgIJ4VbwmPhL+GLiCciREnRuigveq011X6una49rC3UvolV4qB4QpwWH4lv64A6bd2nulTdVt2VhCExSUYkq5KcpFyP1vfXz9R/rT+v/yMVSR3SEem8dE96IX1r0DQMNCw05BoeZSIZIRuVrcqOZUW5SG6S98tn5VvyU/m1/EXBU+gUuGJIMapYU5wonpSIMqCcUG4oj5SXyqKKohKpTKqQKq6aU22qzlXPaonaoR5Tp9VZ9W/1u0ajiWgmNJuai0awEW2MNy43HjXeaUGtQ5vQbmovmsAmT1Oyab3pWgfptLqALqFb1H3T/dC96BV6v35YP6/f1l/oy6gW7UOn0DX0B1pu1jUPNi82Hzc/tYhbiJZUy15L/sO9gWHQGsKGScOa4buhaBQYA8aU8dD43CpuJVqnW3dar0yAyWpKmU7MHLPDHDenzOvm7IeC+dX8igkwHWbHQtggNoalsGVsE/uOFT48Ye8WvkVqsVuGLAnLgmXbkreUrBIraU1al6z71hNr0Uaz6WyELWGbte3YLm1lu9jusg/Zx+1L9kP7T3upTdLW35Zq+9b2s+3NoXKQjjHHjGPXceF4dcqcIWfSmXHuO6+dDy6+y+gKu8ZdG66c68r14obdmDvojrsX3Xn3k0fgQT2fPJOetOfMU/KU2qXt/vbx9nR7vr2EwziBj+Ez+Ar+Fc/iv/CyF/FavWFvwjvlXfJue++8fwkZYSeGiWlihTggLol74tWH+Kw+0jfqW/Rt+3K+G1/Zz/Nr/UH/sP+Lf8N/5i93oB2hjvGOxY69jvsAFhgMpAOngedOuNPeOdl5GlQE48GdYKnL1TXXlQ/BoZHQfjelm+zOdJ91v4Rl4Uh4LnwULvbAPURPsues5ymCRMKRfyIzkcNIIQpEsSgR7YuORpej29ELEiS1ZD85Q6bJQ/KGfIvJYuFYPJaKbcduY7e9QC/6H4p8cHkAAAB42s09PY9bSXL92OTjjGRh8MAlBEFYLAiCGAiHw92BIDaQAwLOnPkHGL7gMv8JBvcDHNjZBT7cJgbswIHDMxq2f4aT+wmGYcCQhly/ru/q7sehtFqctTuSZsRXr7q6uqq6PsMsfBVC9y+z34UYliGsNsPm2/Hrq+63l7/6eXe8pNnvzn/589mfhfHXLISYQroP9NntYX/YDvuUf0X4gs8sT7OjfmbYd/iZ7pTS8tSdLuMXwYoI65sRgwxp/C9DPOwH+m+9XY9f+ef5Yf+rD+kc4McI8pL/irAXAnsZXoaHsApvxzdsD5vDZr3djfC3m8O78fv9u2583369mR3HJ2MAFNM5zY7nvJpwDhl4NC/NEBVvhv46w8/UWIwrHb/ej7Dfd/j38euwB2gZMv86008i0kX+T+Gugv92pM82PI4rGPHP0DYj1M34Z9we8n/7TK8O3n7Y/2Rc0eyYyZCh5QXk19CvTCIiJCxq/PuZ/gF/PO5xl/eP9hh2L+Gu5f1Huga39owV0PInHaw703QTg+xISrJD+Z0jpdMknM2e6JZXMe7RBp9LZgEGCuDTV3BWRAneY6J/fiQxVvmbXve0Q5qP636Z+WQY3zxy34b4AnZmZI9Ef0nw+RDS4mhoFMPsGJB+i2McuTP/W15TTE/j94sjv6d8LlnapmotmR7MT0Df4hhEZqAKxgPyJeAwPpfpmk/UAk8Z0HdkcSZMSsIq+WeRuCMCh8BnEP/fzn559weg02LkO+K+2S/Pf/+f40f+I/7DHUD5CGvqBZ/FuEmvwhDW4U3GaMRjsyNe2RFuW6JVPnfCMnxOCCfmBdiUK2exk71HuO4dQQ84gSreQrKK3wI7ad6zAlkCe5F5Ja9lpMOGcMtUC5lg3Slz2Ec8ibO8/WFe4LsqMc08ty4xPI8PnQMhNjsq77u9ziunM4QSN0NayXmkfc4CAUHrmQTmDrjmcq0PcB6Y/0bpOWwADsmw/ElYKjLxM/sx8B7Yv1erLb+JjCr/UZ8Vs3bcZ5T1CB+locpcpATvdN4dFPNJ9NvdUXXXoPqtg61kPRimPjfuFH9u2ZBzr0kXgYyjL6Iv8pSR1/6Ys7SC989PIK/g/Xnlg0ia/DVHiTD5/tXWv9Pgsk/XX9839xhWdCBo9rRZbinOmJ4wOBfzk+Fl5ZhNPmEIa37C9WV0SPWPZ2N8NOEBuZzwmBnbIuMH+7PeZGk1bDKtSKAhp82QXONBjRlk66wPYJNEOp3jad8Q/vntDGWeXz5CWcAxS215zjzKdoGTwaKshUKRNtzaSqihCBvChPHITAEYPB1ZpwENssQ1uGcqZvrlYw+aCRAOwTxzD1SjZ5jeWQcujsSDVpahbGfpk/X2iKGVO3lncHm0YeMPs1hLweMJJ2kDp0l3Kb80M8qH8XH6PNiXsC7QQVku7VFszIA7gHJPx1p2v/QS18seoOX8NCVfyC45sC4dKQPn1dp0LEsjbmnejAuexc7oQtCAA2u7vD7Ul9HtM+oZlOWj3u5IbyM9VV33eaV5W56AaW6EM1yDM/4TGDPziodLSd6S3kB+QCYUvPtKMCHOisj2DGR54gMUJuUM2cB5JxYGD7V5J2RNhFNSnu9Bz7fHyuEVyaZh5p/GzVod7zqnfRsajg6Ds6/43kJ2KN9N4Gt+SukKTyM1Kp6enz6e5tM2Jtnu8OyGYJDUhiuEAiKLAdCe5jG0MQ9NHhsJeB5/ezomui2CpGnaDPnOI7fHjbnd4M4f5GfmbtWZC4fFHCW0vcVN0mKo4DdpEQXSorJxXxsL12pZb9+K1IDHBXMj35Yst7PNlReA9hqK9+t7iXTCP+P0haF4F1oR+V15p+kg6z0rte9Zdm/qvegtzeHelLH2d6N8LLOcuBsNp/tENg1BJDB3R2Obgt0DGifjkOHAfyAH6FzxjqNWJB5snB06/1tYO/Iu6dQLGYas2rNsPOcfK++Q/fV5up2OfI3PinQn7AecIjHWM0bwHGGU4GbRoAvLA7B6NkhpMBICqV62fEg70z1nJvbiS7L8t+gfWQMM3Av2tmRexFMNT0fcW6IJWQPGFkdqBGR+MsPPWfsFb4O37h/oCyDZortD7DxCoM1p+qhQuvNngehzxHVKr4G152V2AjQvp2jOvLWrXyvHHvRuiPgae/5sjWlAOoh917H9qxJZXDWj+J47nnvFnEtfowW0IVlFfh+8dI7SItMWKO9sSYBzLzC8Lo6JHlAbwPD6jTYAHUE+c8wbImfZHmHuovcnfjJvccb+KR9gPDAlrCXKITovoC/RH2ZODN33gBBwG0/u3AEc4na1kXYFPhkU+BtjqT/aMqDQ/gF5oKH4Dc+Sz/RB9h/P3oiNUV2R+bHcR9CUcOcVCThyTQygb6bx3Vp9ek33y7aEgodeybvJZyue08QIoFGsut7hYHR9rU8+Q9e7XxW/PFRyaV9JJTzrM7BSZvYOMcJQrw3IxZ1o9iyX8AHUNWe+hXg7oek7HcgHMFz3nYqbj/2Pzkcbs1V6xUebb2bvWbJc8a3yW+bZDyx3crpHj7swYjxDExxeirjm3zPfLE9C91vkMNI1GLpmu5F89OSbB34EG1g8V5as5n7BK92j1kTLif0iTElRfOzMBZmONn2+PpNPR2x65srdiP1ojVmPsnKiFX8orODGW9iHhtc79NvLCc9fcdu0O5/hctYubXqL7wpvdHeTtnYluRY3SLEpkUb4jLQUPgwMs6MQxB37EcBHtTg2fYabR4OB1TjoCRJ3PvmKmfpgU6p1jVfRmPdX4lIrlgNgP+4PyHd71jwIEqmOvjSxIPHuN9rDtf/LSlGWXLxeI7LyH1FPttrGiyOchQXf/UAexQCaC98rdPJUQqtzPDdwuy+pBFcwvokVBMIfM426bIMTfxj7/O6I8qBPs6OzmYz2MLa6t/xLHwBJ4J2JsuBb4CxKrEUPKMrfPtA9hS0QODkHsrNJMJAU682ZoOfQ94A8Tnut8m/8nR4J1T2EPKXkFcVrCPp/SR88sNdq/a6jW6/xA+WTMed7ROGTy3HNTT6jaGvk3YngBz2TKYw8ESiWtEIsciCpCxAHiAl9SegV4rgWPkfrJh8ZRwmFTj0dZZBP5lwYffFo/AIYVdRLNG3xXKOvSeM91dlYiUb3t3l/JM7towHyoVd9lrn+MfyEYzAD2dqZl4AfyGusa+6cLCVNQuf7zCFZ8XCQ6YxSHWmEi7N4cEyZ8chaEfhxo3c/sIUWDTwwomZvhPCdR0SILJYA43FX0APjw+/CT4UiIC0XLaoI72+UJqq8S9IgCkqZZGijF+orfjq6DUuUQe9VYlonF4xOSfxzL07sdy2890DnncZ0WQPh+bGu/GRsjGfgHRrwmtCehQf0Zl9IAc8BZME/N/AewpvwtYc4qIbarFkSIVy2hxA5hc376Pz0BL9FAYiOLkoKsBpskSEWMB3EFVpKG4MnmUgFihIvH/k5889a4IDfE6MVa4Z0HpmegxZP4JMlSwvikCDHZkeKXZhIM1Fuuys8MyIvXZrEmeKrypWsu8a1kmQcZfZ+LfhhBODpCNqK8QOLCEMlCRyeKTwHJ7bgNMAYOCv2NAIHZzuywIksIISFx2Oh4bjFseJnwcxCWhA0jRmppKbYEfvF6R6ra+QMAcjiIQl4ttkockmC0EN4HsbgYdQQms/jqcx/xvJ5BJCXczkxElFgvHRYbHgVC4HCdlV3MnEnRw+6Q60kbpdthExf8DXOT6ILzuRsjHBEOBfJ3N1fnMjXjhY7+iu2qFvQ19RtVE6wL8h6MegHvQR5PoynSn7s3mPj6tbbI/K38vrYLX3isMvtMA8TMCuI4RaYKofbMBUoCeK+gEmy2ELdVbLYw9bkChbJgnelL1+cWrEjtd1ZJjd8a47dLFn47u/sL5MPNVzNh1IlXOVxrJyPhvKJcvbZgLwH52u3EbeApFzIHYPtDGPgodw+gyIw+nXRoI+jzmbb2teL8ZXmcFeTT1qwGvvYhHXDvlnPVcEZySbeMdTbcGxzgrGWHTjeuxenOuekjm3x+hs+PyFCtHd6f49jj6mP5pL5cNaIcmrk7GQN7fKV0BZDfzJn7ARxqJF3KqcRzNH6NDG8RHEP0Pl1TOjRRqd8bCjxPUb9bZ8Ely2y2+D2DbhftyDvypiah27yON0rbNxc3/F12Ey+Y+PsyvI9Z682infVcdQrtNpZv1l7NR58KQuuwO7U4mzD9lFA8OaA8dmj7Sn+6DdIK8gxUD8YvAcjaRH/hSIe+PsH4zmG2FrSf7PuaOPrIVt1fO+XslXR2djk2zoWyOehGRMU7SiRwStnogkbJeqnwJ44FzV0ey6ab/AZzvY1pQy6sgaRuNfeUIIHW/r7I/hgWf+K19vm1UVJ60I7U3xN+nmX52s+P//+6D5PvqdHLy2srlHjINKzwb7rUU+l6BMKcS0bOVDsKX5HPheJodhYjeop8n2a3AtW/+hnYbPT8VY+EbgvEpkcCkllIpVOPknYUnfc89YVe+txO2EtOq7lbz8JbsPCuAJ32YT7dtpCnMC6PAn6xvY7zN4W79hM2bstHVG8y+9B+BI2rwEfijgu5kLlaA1BwzsQeZf1MDwfh0Qelzi+lcbOxr0Y/2UwRnWnryOnNiM8L3h9sLHbXanzWWdJKFfyF67B8Pq8DWNRwViXmFQWiLVjLTSLU5hal9P+AsmBYZ0fhDeNN9HGbHd6qorYLZutNoQrfsBQ5vXavBLJ/NPcksxqlDfQo4P2i8aT2/4ztm0Kb1yVqTwiM6/0WcM6OrSzorxN5OI05NtsejZLr6ZFCaIP80KXv2njJNBaNqc1BTvNeST/3oLvDnDrLCiHJ53PIi8Ub5g2zZvhwT5KlAK8coTnsF3vI9PuIqFjDoHOT5yDDrpo4o4oMboiM6zweFTxAJIesa47a+mFKu/Ma50y/8y8QHXCzbiXnpUG7oo88undBO7ftLGvNVu5grKQzaib6Xt6i0rTFLL0DzfFOT4BrtFfyybdv5nmGq8lK+obTekSBQLHjm7fh8dtadW1OUleZ7X+3KzrQTPoI/q99967TH7q8j4YOedaXaoId3GkNYjW8hmTi20raxKBmszJXLX0pXy00dWwvKmx0myPGrPkczqL3BbSE76KQ6LzEixADaEu+dDSD/Vt5zCVHVpmiCZbIwLxB6xjQN/63taXuMhDRB2KEv1c2kCkI1p4IeQJ3MobHuuJKzTrqkjGpYhihBtp9njlhluQrBO9NSA2ik/O+8n66pzMLqasqwij5PTUvUR8IN9svS8zfC8EocCJ3Kuon8uaRoqTvG5HthZT0a3uVIam2r6niXu8kyzTnoLWPbv0mWZb02gqqMSEkzdQVGxnpRdmCXF+4kXgn0M0NnrvbFC7jiKjudBUdXazdfy6ROdGfJbXMrGSYWoVugIklOY3M/5vWrg/8vlq4Y26pEAZjlhJe+vH3Wrl1wTV+chJAZjciYLJgV9P0bqJKybOeOICTDp3S8FyO5B/zWJKqQ+4QMWTTo0Uqs0rnmjiONyMY3eais1zBdzK38FMNJ0sH62LE/dBYf8477+97aycJ83depz/SHLr+YZW1CKuQLsN8IVyOWYsqZILS/YK3fjaYeNyIOenEhPGQQpuwI8VA6wP/EScIUE6dtTZOR6F2VIc6eUDdx/Sh0BWkYZ70a82snMy9acceTHeD1Zi3uVU5qJK3NhFjQfJUjPVx9EEvmfOPwd88C3ePujTUfozSHy7im6byHbkIsQzFkLOjO/wJcOXWxidd870wfdk1SF6a6tryXtFYRnkOzgruBimQ/4R1USRlQA9CNhhMjvmmse88is0iy7KnnyAXWyRgHc47acQVa72et839Xn2HTljqxd/0+XEb5uTTXvhheUKuj6vq8pVFbibImI3Pylcvn3inxhvlbDd1dgi2uS3xhY5ARl12PzU9k8izMdpD6LVWnoN6kWm+jsi0bFVHatZCEWFbGaQskYW4fvc9bfSgaBZXVNkSbPfhl6pJTYcG1/6nAGFqjkUtgb/wqUnKUo+8UXy8NWGwto/quuVSn6s9ruouKZoMvn9XzifJfdP0cB5TGSTdia3KWDPCelOAi9Am/Gj+DUKP7/k/SeNyUNms8nNTeasgpYw2CPq2KmEcmM0ZsGwoRrXZTjPqS2E0xn3FDeG97B/FqoXRuJSIXQ09TDyjhX3djjZ7CGIL8xPPtdmkHdQLyGo6gv0LmRrCE5DfiNW9TVrcA7yvK/BQZdQMzdH+juU9dY21m5rYi+SLu3Kryf8vBoVUS6TaIhR2xIHIVlozu0Da+Bhoirc45dZhcwAWxtu/WdLrOyW+mHkTfaKo2ihwuHKT2YjS22qyU1hgnL5NTX1Jn3cjoLmFlJSkaJhNqIkZ550wD2vG+Fl6y/jQHAuFgCcBG/nPrCtHxvrlhwIu+AYUrUT3h/9yuVUQC8ZzaWA0r5gavuezT1h/3Ez7mMr/a/VVH8SPLn+lXcj1y/HZ3m1MrwENUqJd7ygNZsVbhMQrccBEeSz1Tdy0d5OZ6MtJrPcfE6XXEav++wmI4LPxNFSK5ym9j3ZTSsTwzE5uVA/8CH4nFz0ibGaTFVuhblDLwzezbwK8Ah8IEdjM6eCsb408qjz+ySCzJ0dND9We3ZQOvtZoLk+Dwnr0i3fuGofWyv66GVxkQJnKkcFV2dHrVV6+k4ULodTe82AQDb9KOZOFpsKW4+lkcmCIZlhWtm6qOj49RQlV9Z/66lp5KcnaBU7L7oiFVQt5XNBWRD9jro2hu7kmstdKDp0QC3n43R8mzsBVuGGcENcxlbR+bhlXRN8OaWywLG1Fs5Saqyl9npNrCZpSNzY6DfFCIoVFR6welXlDcXmqlU5+1+3MqHsGyUbinwq5dvqnKiJXKtWN0iE3u4FaUBrTKvise11LruS42A57dwOq3ze/hh9cI3rTM6C6gKJub7iSrPR1gddwM9hcxq+M+MzYEcvqAvEfiiq2U2WHzjeJPhf1yJgTT/Im6h1sVInmGyFirj+pIdE0n4DvqJ+p3Xu5n4nN1/fC0s6YeC65TaAC0/SAi9dTsnX8r92b3aeruLeGm1B+2R+u+TK1jk5NltWMnFyZjCJ3naOVZGh0coGLcH6vI+2nVb0iHic7BFh8qtjkT9icHu0GQwcfRcsfrCdiEh0RW8lpNPg8SiyFgiGItOdCj62tcYjB0Tj3UVsxB9GLQNGanxIc8gsyjfuOj7gMKoyX01BumCl+a7TueETWezTeeet9PNKt9/brN1WZlE7J6iVGmRjYaIv0C8psTDsfkXFzoywRL+oDdbM2EoPjBfVIo9wTLYH7ewHrIIcMXnu3mo7X21cP15/jTPrLBpiXc8/t102GvlZBWjXfGNaZ8kamtUBbg1FhcC5kWiqORhlDtfbZhbXdPQslaEzk801ZRdN1jnspnt5nYvE1zofhvt6kY5td/YSC7LV4YsTAE2fr0Im+5tj3VvEehR9j5GiP2fjXqp9yd5O47+bwp11nMHcxMitdmphPYGxQ9fupaX19jq1dyY+3aa4bm3RPdznBZfZzc116D1kYge89aT+Iu2pteSq//wGyAw52f4udDlSu+OV9n+DTiaSu0DXVYi/U9cE+57IXbOieZo0Hvq38hNziLIxBK9/bQ8xm1vHmgDPjfqAAnijupPpt0N4rExs2HUSkzucaScWyn5iSfL9bE+97YHuoFVPPam+KZrq8ZnQPt8rvWUcKJtiTZ0oErV89J1qqxxXvrd7W59uFVWPadMPiJyTc+ev5ltJtt+xi9WGenUXfVRJlLhmquYyR/Sfn8gXUOXOImzoN2NxJFMkBhembtUssu34dSPq37jhFNkK7mZj/A6fkXfhbzWNeDu/qJ13cdf021F3nnYsa1P4I6qYlrtIFcEt/95Q5fttpzvIOT911U2uq25vFPWK1j4v7tkNy4kr75z1lFwCEfeJmVd36s+Dxy3iSh/qm6aHY8+SHynSuEXDOeukX091geb74RU+2/tz3Lw983FOnse83Ld3AMzswAkXOT9hIxnLVHsD5g7dAQKlKfTITznPMDsiy1q4RuUg9aiyHS1MdvXZNDWxCdZk6kr+Qp/fYftQyA1cOzJIHwrKb/eNGZJpzkDtGcCVSr1L1HeB+7wL726pudu5nGbnI27W3p1T5XGySWQvJm1hwMdXgUifxYzbe+n4ov04pmpBsO7ZIJILWCkOo7Lo5aRPZ4s9Zm6pSTF1H8/XpnhHoy1R8XH+0rK+4pW77pPrTk2fnOugNUx45K7447Rv7sz41F+yDGdPlfVTdRKDJz+V1oO8L/1E3m7ENJfQqgO53lc8ULfjqT6tlI/StrFQx2O9vMk7qHqt7ksLpJBWIqPg+bujjeEXmWam6S77M/znrUYy+ocf6Ojz0kcMBcXdMd3cX+vZXsCd4LTkWhDp7HF3RIuvC/BXwoNwvZM+I/l5Ov/BdK1B98kog8Fr0mE+Bffayu/hnglsp0LPNI5l8Fn1/XrEBrg76h0K+uOlor+i94xUxGX69C5XDGVU4kQCvg+EnBXS+gzwgsyx4DkSvmdgwPx4oDPVtHKOVSZqCH7tjo8W3JMSJc3dUf2qGj83PbdZH+7Qt8nSJHEQ3Rc/WXu+2R9tZmL0xsdj4pfYGo/V1hKyKHUQQut5P5mgOzGC/KxOKKj63YnnhnLOUjL3FXxeBxYsGv0QnX9uQTSau7aTHw2dOCgPZOqb/RWdl4Q1ibFr86NPRzFuxDui9o3CXRSexD1m92BtlsUYzXK8O3MZicObFDTJLtxln5vJfanFo8NZR6x4LtaV4+eM/fFmgbjZDzhXgwYSlHUaZseR32w/SbidFp4xya7hxP7Pmfvxo/Sw/4SZHpOzUqLM8xnqeVV+QhAApakTnzoj5MeY9zExz8vPWWj3zKekoSCb+v9tLkhnetoGqW/CDBHqoP9EJT+RbmJRb2Hnan7M584WcfMyVpyFjhnomcM+YIrjZ88gef5c8KQF9h35cxFtXYnp3XzLjI8vNZ/Cy7C3yoO036a3GlSmGT8GJa8gG1IREFmUf7y5HdHpVj1Tkqm502mTyUyd/MAt/MkQsXtrs6Mr7cW9skvN1VZaX6x33I8d35i7O6erc6M+tlTPopdJ8SFLDY+pZbnaDwNuciYnYTBVXzq90xUIsQKPRTzR5W8OZd6mSdjk2k7px1L2xI7P4+3z+eubHfMC972TSxfymO9NMbQo3KCupaz2Q/ihfbMyZ9m+WaGeBTDcNAuAa2kx7FDJ8VZ3vy1qhkb8Hba7auoxNVuh4qRpLoq2508oahaCnUOY4eylh7/xMXCQgm7PIv4+fYZGdLEZY8+zXdQ5TkDNKX3/Y2L5OzumqzUvP2KNg/Q9ZnnrJ+6w+xLn+/AxCD+gV/bUvIr37GPhbtLiZ/P9k8HnT/02+ooHVg0uMFzletsUPe6FEb7MbJTOzJaobRgwdoL3+ZjOT5x1vuWbzNm8JrDtJfZWKHAtTkFsDCkJPA/CyzK/Ujg7yr/ssTPnulhnw+6hVJ5GP59rs81oGFnlE1u76ThYzb/l6UESCoLfFkecC/GR5rRSXcd9Q0Z+YfsmlCM4mrNybrBvFkdBH1n22rwX24md62lsTU0wLdjtrDdfj6PVY75cIt1cC/BsX0vVpuELzSGaV7q+wGhodAKNxiFxpe9Xg7K7NnUvp4rC5BubF7ONiqy/YS9x773T9dKNQ6ZUcWrkM/VJZcZSK1vpMpGp1OjjsG5lKRUZSpd2dtIn4Xmtjupz8bRZj18ET2uTt7K/2qlf7Z5OrcyvRtZXlfLVnF1t64Mg9uAtR5irgmNxshmKGSLpk/vKTmWNtfrK3trzayJTbLLnV+UntxPUe5n5/KV86f30DLee6/2LefWiSdo+/97PiGk+7+VO+bw11Um+hMXx1ueBi9zz5fvLuTflvBuHQSezRkwmlI2zzZVv9bM8F6rwVVjFORcpe6G5llmr9zRncqB8o/wz9g0uT+ybXGNO9ta327S2iNDL+k722uASfJ9ssEuOR2Om0TdMb/GL82R18cHTKWH/u5+dHZOZhU7/83wcp5/NfG+t+e05tts3+liVsac2P9pNTTILoq9qddkeUudNb+IG/cT88FbuqdQspQZfOR8X7ff1emrNUXOf5xPt5p/Lx8MiS8NyRk7U+TMyh2Z61CqcndCan6Tnv5ifFGS0Dswxmpil1geOddqZPzr5ZaNjXXqKAJt5Sq5mFLq75ewaMUshN6QPhm7mucHfxw44f0ptHSrO0rSb+r0rF1nQNI3ZsQ8m1hmq2YggB0Z5YKUALe9yqt4ls2JX4CuB6A/Rj12dyxO3TzP3pXHP+3TrfkUdhdTJs1Pzl6RMkm3rPt022yq6XuyE3/XZVtrEzuPV5BEuRDF43cIjMbmzJc/dwiMxFTzi3zvNI7Hou9KnZ3kkpoJHDA2f5ZHFseARG1d4K71wKL6IE/7W45/Q8801MnFxlQ9VPrj2LCk6MHIWVteaL8w6yM8Z1jlvta9uhys+kLzVqYQDxnS2XK0krpULb110iefnII3VHa9x37MVRVvIE47xz2CbfnI8MpR9TV+WPdgwg5jWL/4/sgqDeqG0rNHsE99ewfuAXjfyQGCb4Mjat6DVg+0YSzm6hAHFfu3vZS8xr+8wt9FMn8iyZEXTp3Ei7kBxRhOIoXse1tkBeAo24iaEP5m0OTCH7Gf2jurj/huTceXmh51cNxhOIhO/sl5oeYRYLBpIedvV+UA1NuA8G2jh2wmovs/nmScBL6s5aK+l+tLNrivjm3llffBN5j6YQSVcyUjnCYOB2Qtn+p+Z/g/ij88TDYfGlMoz+uKr4Yv4Q4lmgn1g5jv6CmKQnJ12enLyl2c962A/yiPNwf7AOnSB8xNXmsfn4aUknTMyGM1GRSjUwwvmo7oZ49iNppP1Ph2pIkAc8bif5IXpi31bQwZo6IQfB8z/hAmuzfl5QQxiNAafjsXsPHbQVrPz7qt3YwbqT8MvdHrewukA59dpTxU0bTpMe4XGaEGjPer5gpADeleeXzy734b3jZsW+R9LrDYT8w8XR862QWQ+6kBdPd8l1rY+I7GzQYprGPtyT99QTq9krVLEi3wYa6wVqPaVG7+poqm2Vqt+i62t5iJm6u1kLqLgYXsve5w6yqP1uNh2zPjKjxyXsWML8bIGWJHvYdmY02jnRWq33c2B5xVvp+nio3qwGbdNjLxvyMm3TiMYXBx1DF41bVgjCRKM19PRkUfPQ/D0qedYrswcS4cVddEVbHbVHEuH04U2SCnlJlkaS8WM2f68/doYG3rx3H6Jid3cMLYY7ht0sTJKM9DpzrkSu3qYOPmkw3XiJrUUSU0OOjNW/oy/bOD1mrL3fxb2FW5iRSh+IuM3RLsSOzUkzG0fLTq5ZVjKnTWMI86Q9nxUZ/9sLOXojnCNdufiWt8SkoQLKONStDf3NNsqdk9BbjuaWcwaHI94OZKZsiDL74ZWhJ+ZD/piArfH27Cb3tMmdlMbWqKoG3rf3M+tkRQTO7qz1oQ5neV+cg7HmS6VrT1NboRHkaNrYgDk95Jax5XUrFin0NOxKE3pTi24uFbxzLFHzPpNyfVJJpdcF3gA9tMxPouzr6rda82T4PxkiyBvw7mrcFYrn28VT2Rn827waFLYj/yvNJt6cbw7Uu6aVMkRbKIzddUY17BqeA2TDG2QKInd/k5yYpLpUZvXYd618+uo/NBlLlAq1pS0dP08kZPtOUi+KE9xu/D9Qrjxo1bwcPx8AvbK5/G+l+mhxqdiKIIpwuYONzl/nmszcGaGRH6krzBGkbTtFJPFtGp2sIt+UHQvzjdih7vxeiRHb8pPk0T1V8/ei/euvsrNReT7gI31mxlAdejaOOs7czDTmfpQxGQdWHaIgo/9/fA88L6pryVaR7z13nbBtuM6JR+ek5Ey1CWex2Wrf4jr6iZeBMlrwt/5GLAK4J+b+za7DGKRsyNxS6ycl1sUVY7PTY5KX9WjdBpZMdF3vTdIvXQdqxlXNZMCO/ttYlNPldzTsf5Z9IeryJ2mE3ggLgfvFhmmXO995tT6TuZe9q6ftptFcgAE5f8Ndj1RlHgMq/4ei54Xbbi7JlzcQwvNvsWWdmNMboa8AzE5ZLD8s+yfkH9r1WL1WotF+/uSJ1+DHNZp11EO/lw+685S1haul3LrLNk68U78Vg8mXgj6RmKGdrJ26evinEjj62OPlO8ra7zM7Bk+c88W8rs0+z96r4CVUupHmx1Zrxa1oNH0YEjafwLeh7kCMOUX/E9gV+XKwospdZYhP+xTn5u+WSrHue/Adk15u+wj425eM0xbKOs6tPCS5drc0eOVz1seUDZvMabh8tGkn3+0601mf1/SevfYC8gNnctYfdS+YHBGVvbza7HWXZNNfpbKMN1M8AXgvocaZ7JlcvbfGuMxNqHxkn2Q1Ls446F5/cHG4lCyD+xJ3vDNKlH/I7iFQmuAZPuF3IskoipU6pi8524cXMIcyQzOzdCpa4iPgXwD69kOGkfIVJGeZ0UsJpnumMm47ZCTeDamyznDmO7gYrrYw7L+/Iq0m+t7LR8P/ffn7mn+Ny/+wsu6ONLgW6xzf9dl/1/O6s1f3333Xfzrp7/Dr1//+uk38VdPv1nmb+//6eOv7v4xLv79438t//m7//3v78ad/Sr+a/8LqjnTDktkN76G6QuvKV8od7qEvIK/zQj+zyL7ov8AXP+nxKWcFTHu/7/BLIbfp6c/j26ugp1wATYxZxVrhh74SzszhRuAZjetj71J3eNavLKap4En7KjJCQAVbUVObwJ39v8BMQTd+3jatZNBaxNBFMf/M7ttmjQNqUIQRRlyqYfQtKWKBC/Lwp6lycHrlh2StZvdsJm07EkQBC8eRBC8ePemF6H3Xv0EfgQPfgAvvllf2lJTpFh3Lr95897//WdmB0BbfIDA7+8OHjELtPCCWaKCj8wOHoi7zC7uiTfMS5DiC/MybosfzBVI2WReQUt6zFXUZc5co5yXzKuUM9epE/9kXsN9J2JuQDpvmZtoOSfM66g438mhcKs0e1i6tSzQwYBZUvV7ZgfP8JnZxWPRZ16CKz4xL2NXHDNX4Moa8wo68iZzFbfkU+Ya5TxnXqWcV8x14q/Ma3ji3GBuwHVeMzfRcd4xr6PhfIOPDBMUyBFjiBEMFDykiCiicUSzAa0mxDnxDrawjV3AzyZFHg9HRnlplOsjNSgSnaudrW1aDEjrkCoUUUZaBlPisNQOSt2IRoENiiOID7UKstRMVWhUkOsoKjYovkdpQ8yodUgl2NPDWRISWIuGLPfQpRGes2pOjW5SVNO8dyUr6mLPkTGTXrcbljs0doObqTa9xY7VqcN/6vk38TYNtNtnXc562A4X9Reol+KhmUv/qXyVE77kjHDpP4Tz/8t1N70WEb8ssYc5v0b7RsY07EFPy/dh29gXs09Ha/PsikKfDIRltc1JKH5ADD/XobHX6mfjcZZOlWdMHu/PTJylqj8Kc628JD7QCy73f7ygX+bJAdZ42n2Wd5gTxxnG33ckrU5XwGDcwN0GU1xUTncSrtIh4DBwGDhjcMF70p60IO0e0i4HuPfeWxKXuNe4JW5xTdx7iXvvvcRJbMfdWe3McbL/iJ5H+/tmZ77yzszOLgT+70+0exdCIIAgQtAQRhMiaEYLWtGGERiJdTAKo7EuxmA9rI8NsCE2wliMw8bYBJtiM2yOLbAltsLWGI8J2AYTMQmTMQXbYjtsjx0QRQxxJNCOJDrQiRTSmIodsRN2xi7YFbshgyy6MA05TMcMzEQ3ZmF3zMYczEUP5mEPzMcCLEQv9sQi7IXFWIK9sQ/2xX5Yiv2hU+ASHImjcBfOxkc4GifjBJyPq3ApjscrOAJnMMAgTsI5OBb34Q2GcAGuxtf4Ct/gYlyLR/AQrkMf8jgVBTwGAw/jUTyFx/EEnsTH6MezeBrP4HoU8SVOwwt4Ds+jhE/xOY7DMphYjgrKsHAhbKzAAKqowYWDlRjEJ1iFNViNA3AQDsRtuAiH4GAcisPwGb7A7dQYZhMjbGYLfsLPbGUbR3AkfiG4DkdxNMl1OYbrcX1uwA25EcdyHDfmJtwU3+I7bsbNuQW35FbcmuM5gdtwIidxMqdwW27H7fE9XuQOjDLGOBNsZ5Id7GSKaU7ljtyJO+MdvMtduCt3Y4ZZdnEac5zOGZzJbs7i7pyNG3Aj53AueziPe3A+F3Ahe7knfsCPeA/vcxH34mIu4d7ch/tyPy7l/tTZxzwLNNjPIks0uYzLWcYdrNCizQF8gA+5glXW6NDF5VzJQa7iaq7hATyQB/FgHsJDeRgP5xE8kkfxaB7DY3kcj+cJPJEn8WSewlN5Gl7C2zydZ/BMvIrX8Drewst4k2fxbJ7D3/H3/APP5Xk8nxfwj7yQF/FiXsJLeRkv5xW8klfxal7DP/FaXsfreQNv5J/5F97Em3kLb+Vt/Ctv5x28k3fxbt7Dv/HvvJf38X4+wAf5EB/mI3yUj/FxPsEn+RSf5jM4l//gs3yOz/MFvsiX+DJf4at8ja/zDb7Jt/g23+G7fI/v8wN+yI/4MT/BLbgV9/NT3ISb8QA/w+G4F8fwc1yDB/kF/8kv+S/cjXtwJ//N//Arfs1v+F9+y+/4PX/gj/yJP/MXAUEhREAERUhoIiyaREQ0ixbRKtrECDFSrIMTxSgxWqwrxoj1xPpiA7Gh2EiMFePExmITsanYTGwuthBbiq3E1mK8mCC2ERPFJDFZTMGVuAyn4zyxLa7AKTgTZ4ntxPZiBxEVMREXCdEukqJDdIqUSIupYkexk9hZ7CJ2FbuJjMiKrqDVVxsIu5YZjWbjignFdDhT0fNV2wrrklqmr2qsNDTdRzhjF23LWB7WJVu68mY171b6y8aqlvyw3dxVsB09nzcspzm/1tSm5fV6yILENC++7oRzKqGhEuZkQsNHc244kLHWDOdUGYaklpMRDR8tMxqKKjYUNWM4VnE4Vl14LB5XTLTMbPAuDdvBmX16NVjyLlq3Y5YLhmb6CHer+k1Vf7es35QT1q0qNSVF9yxhLmuZ1ZBj2bAta0h0KHa2Li9WDcMq61bBzGuz9bzrGFrZhxqSVezSZsspKPsIzvb0BcveRZsrvawGr/akYoc2V3pZcuIsfcCuOVV7oGQEclYxYFjFcI+SZyt5PVKe7aOtp+RaRb3qVsq667TZjS1tvsxcbcicVNKSndp8mbkqsUCOrfloWdAwPbXfTk+HWqqOhLZQOjtS88L6Ajn1BeqVC+TKBepVClyloFcqcH2EequmVQy59Wtb76/UuI2tcK9aSFft/EUNNQ422Isb7NXDtrZEKlzjo3nJ8FZcs9YMlW2rWJPqUlFFpTaVUJwumVVrmFUzmu2UzLUrJrUZcnaKPtTdlGJaMaOo9lEupzi9OVOfEVmsvtYMZ3KSuiFXqqdW1msladvDth8lHkspphUzijJbPCFrjiejimpcWmqOZ9X9LnW/S/l3Sf9EZ1SxXTGpmAs5tmXX2gqmUTVqZs1vNWfKAyXdNyO6ZTtG2TD11txAzfSm3b/dlHNUf7etrNaeilnfNLLR2zC4uadiFOWgUaY3/Fe5Qn6uYNZw9NAMvVLRZWHp9rDKF1zidQW8fKGFJc8K1hOGdtcHBnTvMa/0FXQxxxVzXbGXGVYViHlmYH7JDi0wixU9sFB3w6qawLySGejy/vNqpkyTSbd2N1Q0Ug0cajfrayei1WiUbwzJN4fkj3F/7SrF+f7Bvrq4Yl1cqGCUHT2sYgXX1KXVOx1fWj1YaLkvrexLk0Vmu4TlilWmd7D4+gLVkq3V6uJiIR8Bx9Oo8gcGPH157+81Q3Z94lsb53zkb8pstRtXzW1cNXvtqskypvl7MJaLRrVFxarunQuDEovk8zroI7JoKHRkcMiSfumctlg6rPbRtsL1tlb9ZKnWjEJ9TDwamy4ZT2gV0/LPOSPvVSvvJpKKHZJyV3uMKbYrqnGdQ+M6FVOKacmU8k8pf3mCeEwoqngpFS+l4qVUvJSKl1LxMulgzq3aqpGTzKrgWRUsq5yyyinrP6rxWFQmicUSih2KMlksHo0YNcd7dTpqsmLyMPAYU4w3eeetUzKrhYgzaPtGTXWp4EkVNKmCJlOKacVMxAthmMWSU2p1St4rVdq1ln5z5ZDdWvPWzFKNiF6t2oNlo98J+5Y70OyzWu+WnQV70JJWn1dURA0rWDJlWpWUViWlVUnpdJNRGXBW1wwn4j0eVaPfrhqRfrNcNgp99iptZtxbyETYqZp60fU/0uJJ+XHmsUOxU6u/V8qGNjOWSiYSWr/36VQ2gvWLP6KjI91ScWtmXi/Xz7kRDXahr6yGTFPMKco92infEB7TbWWzqC+tmauWWqZlNPktZ2mp3j09G40qxhTj/wNiMW7FAAAAAAAAAf//AAIAAQAAAAwAAAAiAAAAAgADAAECLgABAi8CMAACAjECMwABAAQAAAACAAAAAHjaY2BkYGDgYpBj0GFgdHHzCWHgYGABijD8/88AkmHMyUxPBIoxQHhAORYwzQHEcgxMQJ0iIFEmfSBbBswyALK8gSwmBkmGcACFmwbPAAAAAAEAAAAKABwAHgABREZMVAAIAAQAAAAA//8AAAAAAAB42mNgYGBkAIJ7bFp5IPq2xLMIGA0AOXkF4AAA') format('woff');\n\t\tfont-weight: 500;\n\t\tfont-style: normal;\n\t\tfont-display: swap;\n\t}\n\t.w-full flex flex-row {\n\t\tfont-family: 'FNAF'!important;\n\t}\n\t#leaderboard-title {\n\t\tfont-family: 'FNAF';\n\t}\n\t#players-attribute-div {\n\t\tfont-family: 'FNAF';\n\t}\n    p.mb-1:first-of-type b:first-child {\n        display: none;\n    }\n    div.relative.flex.w-full.flex-col.items-stretch.rounded-t {\n        bottom: 100vh!important;\n        top: 4vh!important;\n    }\n\t.w-[250px] lg:w-[30vw] max-w-[320px]  fixed bottom-1 z-[1050] left-[8px] {\n        bottom: 100vh!important;\n        top: 4vh!important;\n    }\n</style>\n<div id=\"gameTitle\" class=\"imageElement\"></div>\n\t<div id=\"newGameButton\" class=\"trigger imageElement\"></div>\n\t<div id=\"continueButton\" class=\"trigger imageElement\"></div>\n\t<div id=\"nightSixButton\" class=\"trigger imageElement\"></div>\n\t<div id=\"customNightButton\" class=\"trigger imageElement\"></div>\n<div id=\"newspaper\" class=\"trigger\" style=\"display: none;\"></div>\n<div id=\"warningScreen\"></div>\n<div id=\"deathScreen\" style=\"display: none;\"></div>\n<div id=\"nightEndScreen\" style=\"display: none;\"></div>\n<h5 id=\"power\" style=\"font-family: 'FNAF';bottom: 70px;left: 40px;position: fixed;display: revert;font-size: 1.3vw;color: white; display: none;\">Power left: 99%</h5>\n<h5 id=\"usageText\" style=\"font-family: 'FNAF';bottom: 20px;left: 40px;position: fixed;display: revert;/* width: 1000px; *//* height: 1000px; */font-size: 1.3vw;color: white; display: none;\">Usage: </h5>\n<div id=\"usage\" class=\"imageElement\" style=\"display: none;\"></div>","parent":"inGameUi","key":"inGameUiFull","order":0,"type":"view","preventDelete":true},"defaultInGameUI":{"name":"Default In-Game UI","htmlData":"<style>\n\t@font-face {\n    font-family: 'FNAF';\n    src: url('data:font/woff2;charset=utf-8;base64,d09GMgABAAAAACeYAA8AAAAAzVAAACc5AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGiobIBxeBmAAiR4RCAqCyFiB6CMLiGoAATYCJAORUAQgBYsRB51gG6eXV2ReS9xBdwCpt0dlOhJhoxYtZsIdDxsHAP2jguz///+Tko0xDA47AFVr1X4PKB4RgBlSqXqmZA2VzASREYqZLlO6jrWXHmoaHA13iVBnQhJ2A5te0hEbEJKQtOSnozFv5LLSsg4xxR+31fHud0no2HIC9wpUhmq9b0iq6ZrumqQiFWlcVM5wdUs4KdzfrxoqXkmwpP6Ai5vZbuOu1mXKA3mi634kKSW/5j9My2dSqH8PSnPZe5Pq8PZ/Wzd3tntTnxJxnrW4pcwTjwbeYOPxQvIgiwB3ehgWGXJCSGPlJJsDQvVfcMTwDEV0QOpsgYQBWeFZuRvQy/qQJhg7vJ2MQlDSc2qF0+B4H9W7uy7F7kNs//vVeBkZHACZYQP1Hwfbe59iiTwJJAnUm/J/fAO+1vaWpO14M7B7QRD5gmaD0Wgy5HzwT+73/+6PpRQ49WeqrypmJrt8xj9fdHd8ZXbBSCCwWQUSHoUmDKpw6QiP9Kl2Tb2PKwTazFHbdtO0d4A7jULI70n5rWx5FEafRTiGRhsmyMCJPrCOThh9oQ6qKoZhVdfYcV6DoIw1jRIVDsiiMFXASSe3T2y96erVliyLqlZi2PxP93+5bUismRDxRB7YWqbzqu87IjonQIdtc68mIkV1HKrWsHiHIGM7o0IX9LzvAvyUQqlSjQUQMHYNkI+0EDKXH/l/pqbtDiGIvHM6Srk7FnAMvWIuKruPLf78+f9hB4P1E0jq6UCITyFSyk5h//xZ3i6As4kLziEUtYs2VG5LlqVrty5at266xvDvXKhzo/gx4dzvW8IR/k6PUk7pufmPS2d79/Pa7cBVM4wLtWolHRmdl47FWmpuBe7qkAiLww8hkQKJ7STXpsH3TP9mMn2Sf7OqSGquOzShKZoiBHFFRMQVyVz8ZxpTO5OOldSOnTY4QBERUQiCAhr1f0/q+fRf5x73M0ZURFVVVVRERMSsRnXW3oNc+D8pTgfku/PXe+vdAb/yw1+3w5Uw0PxLFIfoPaL394Dqwz0mGKD43z1IWZVseO44gB8DaANmV101z/SC0v/qOosfMhLsaVnw/+gqJUiaYHqfUj6bB2b7r6sUHObsY4sK0EfL4MCTm48v/zxsu8Pb07Y4fH9nPpgjP4M16j8zKPnDIXhD6Mviu/FwAOragmvA/KiAPrMDLv8Tm3LAGxK7KYJrPiRJnjlbKU0001Zuz/dt/2db7OSW5IrcRYpMReo06Gc1W44VZfEuC/gkMysHFzdUuGgJI5Jo4kgkXbsENQhZk365ebeFi0dvfgxxpJDhFwmREhVRkx/yU+KTXMdaG2sHQF1LdDJZzz2pwaZbX36leGVrNQyjONF0AeZ74rxTVxZ2zqenwEDSSm33z/jK4l1PiAjfiI/kJ8cmsY42G/5/Ue3ly5MrSQIrJLj/Prrm0KmA1eAO9AQ9QDMAAOvAPDAFdEALNEAysE9fp5eTWpaE44cvPnjhCBY0UD7xgfe85TUvNC0Ueuuli+bi6nBsxGpMRhbX2EeKC53oeP/nv23IMjtb1u+rYNcVGd7G7/yfRgWejO6cX0IN/Pr/r55gBUhFSVb8ARCCERTDCZKiWbBsDpfHFwhFYolUJlcoVWqNVqc3GE1mi9Vmdzhdbo/L7QFACEZQDCdIimZYjhdESVZUTTdMr+Xz2xyUVDR0bFx48ecnQJBAwUKFCxMhUrQoMWLFS5QgSYpkGdJlKjirSlQXXNRTNbYWsr5WRb077z63nTa6C7uoyyQA5N3O6Hc5uxBpJOAGd6qvO7eTBlypFsxNCs6d6CRAflZWYUVSOfBDXtbaZM217NEeV4VTceXVkdOTMdAyMbMwcuTEgac8eHI337nwhkOHCWsmQrjgQNrh815dsHR/g3Uv+b8+zvxvLPnf2pK0QjHfO/1eRpZh7JvMUER0Qnu2k0G4brQ9gelSp47JSTo4sd502dohnc/DXyBVHTPkLWdfguTLRuAHY3kyqRkTPQ0j2Lo1aRsMthvA2Z3vQZmjnZs/H+agOoTYZHLppvdNZ0ve1Nece0HvBYRvYBDbbWSS8G7aZugM53wDbjDaTE6VEEAZEYE8SQlPFmzL25WsGaxhYBxqDpQzXuoiGX78twbYEtCkNEQ7XF2ikED/xqlUotgRCI45Q+PFqBLSimCZYmiwxdQR9wsqyhhkAHoTG9zYW1ie5qzHnq2SNItxM+wbLAxCkHoiHFy/R7yssCxyjAYnkrUpc/dkn1xrnlTm++C+IPuSEmaaDIOOKTjDlAE1iPJx7tvbvv+Cg9Z2hVb9+CFCcOonPnxIkosJTtSa/tNHCgrn3UCfcs/xoBCOR8AmZIgbMBX9ZOeDyFDgZxlOp6CUmW95LFMR2Cp8HoKkUrGub5f2Jq0WG560UUvNBw3qvML2la9BDwsg0PO6Axf9+5j9xRW3wU9T4Ksf6in2ypiU2kylPfg7eqVA/Flz6UpLJ0JZ+4kF65GFf6HLhRCUUx41dANc8HxQ8tgGQgvqgTxc61e+wYf3S2sUhR3vPwpsVhEosuRxO6eu9kfFre9d86yufdIhaJlMYKzINL3lSWhD+AVfqELMHwIoeUY7AGYopChWl5Cg1Bpsg9tZhVnxwat6lVEL5mYPXvFDOOkYnjAha4xVw4y8Roy4DQGAEUMX6sgD+0j9BuwTuxZS0zETggYpUnK/kCk+R0haGVW8sTTFtIku/Aua65PA2/BxI/XhDYAN1cTcSa2GzV0dmlF2T17zk/inohJ1/HYPrKlZqKEwrUORX41ENi0kNW4F7VOST80+84aADk36DViqQz9HgYOPxd/0eY3QdII5yaBUu3HQgLWAKLQ16Pc4qZNUBFH9MkyBKNGxONpIatxnGwimgJPE13GbYsNTzbBX5bluBNc06JVCWZ+2yiP5oBtf7gHg/numL2GT/nT12+fR/2OvDRQMbOQl2QI87GBLaNm1ZSN6Kn9Ug0o1zoNIkhOEtRiF5tKs7MmHHhG4m/3trcRx9cpp6spvQFaEHa9gPAJEAsC8br6n6EXA0dDQwAC5cF9QxHb5vpZdNOc0bmyj0jkpdfaVdsg/v9WNoaPRgDyDpqX22zvgFQPbpHmDImDbeCbAqkfFEzG2dZ9wBuxSe2oRmuUBpa9m4EHMKz8ZmuY7rnZdhN6ZjFzFFZZa7GTM/hfy0HXEf620CiYEa0Ad9Qy0JnlrlBxJqGltkTofadSi4Y4ldtQFFKctTW8FDOlVhg/ufqf1nqMymO5l4YN10ULCzA94c+uvPB6O1WZHxO29Sn4bvvI8anOz5Zw1cO39spGXVm8sW2iQf6jhWB7Dtc03cPB8p9AM1yNPJqEnywcWKxTnpIYCHvB86sE0BSRCwBlCwyBb/c5GK86iDZjNkAh9i+yJzWvwg7reQespSwF7kbIxcY4cbek5yHjh0/ccb+SuoYMFoziodsALPswb7RCQ00cW8tYnJyNfWuLqGoB2EGBib/7nrekYL9/HabUrN+gRxKHXVcuO9Rr+PAnww/PgE/KgOGYHL0mokUDHzYsjv1pIvVvK3m6IRjEwXoTqIprOeRudbGDAZT+V475KrqYFFCxA29IbikFbgwuVDCSFTjqYgd6Th8SME1zYODX75CCgWSeGM9hrWVb7nAV5WvK4iI010rKjrS7owGrAyxi2LrCwtTaNQDnMid7ygKu4pt9O85CC9HmmgMuTHFhrF1sAZcIpHTb4RqIWTtzbidVCwtcvDdAzeEs0zLtVczW8LOM+SCRMSCkcgMILGRB1j8//T7IRulBEFkQ+6ruvqXDZkFxm/FUneA1v31r64kYCkoeXt3AqsCRfOhZySTZ5t6pAUg2CWUUb7SS+HrcOUCsFna+/0YVXWJjlwtc5Goyxm/AAY0oMhEJbPGk0CZ4+hICVGhtJLXFdZzkHnbXYXocjSt4LE+Bt5ymhRvYIJo0lbJnp7tclafp0g5kvrR+ZPvG8qo3WR6gcsre0lLuJ/T0GFfdKI6HSIe5dycvlvthwAaHDCJWkVqi88P0GW8356O0gSftAFM3dOdZ1ST3krejQWQsXWYqp6B1EYQO4aEmCwk+TCdZu9Cyzh3P6LNR1QbX7WVDIqITak6as3IKNRK1tAhjZ/W+Wz4EnH9fKwddeOnjW5LWkUfz0nZeaRNXBwRXvu9bbq18mxBqqcvgJRk9gMYqK83z627Mnl+QKq08drzaLr2R5ZcPYu0a4NdKsnFL3J7klShvAM+mQjuV5NHjGqU98X/5cWUonQPyrX7qxNkp2or2L3M5EZvkUAIqVKFObWjDgfgwXF10AFO5hESgf6VBL34JWZ5qDeGx6y6HqxxUPU7OaG2HJUiyq3KKksKTpRW5Z0rhlaq+k8ahdEqUBeUfNycthkewrdvtNj1QDiZKmTOqTfuZ9UcEQHWJ1U1FYl+1SBMLuuJYw+wxgt/bfxihS1+DZxpa8MHScJ0HiZtAsXHEdfCIaqZXTOkL4Om0M3b30DgisUWAFVsXNSY9c3w4X9UgSvv9LCmgXX8I0x4aTEQQAxSmo5QD0lJ1oSXcO9fzb3xbCxeQOtm9wGbceKwi244foa/NZGPzG8l2/gDfPsIK8mgi/2FNnTNorfHF8i9rABVyQHiYgPBPdJEMYOZmuFECEBYmIjZZfo1zhTdPTLQcrbNe1WxhfxW2U4X+1769N91sdum1yIvZmOjXkYMvCSme6AmebMqBxHYzU2+kKOr0LAK6Cb576t4u1TVykKcQ3Qhn5LjCkGbLwtzR7eiijYrOamn/ZFQD+znnUhSJskoyGSJCtOk4REJDW0JojgRIAk+7Rels+fLU1z6DHU/bkLUYNK1jtFZqUS/27/F6yjtPORWS2oobQM9eBqbU+NE3NHjoghoPLBBvBAIj6seMcW6Ks+6FTBK5626DQw59sYwyU+ny1HymS0lwJUDqP3ldjlP0uKsRcUS3x+4YlIKga2dzZohKi9mLyde8zw2gJeXmoSBvUKA1x1mz5wWhp4aVoLYMsWXSHxSTFgFb6zrWUCDREruvBWDhWdJpjlE6p0ovH0Wly+V1geIUW6QbN5tN3sNv5bzO05+iaRjF7QBV69Pa3fy+gMj7lcTYgWSj82AwwAtyxOwqIPLINFcLOeMJpHIBExg/67Ug3LJVcmJzVeWR0omeqGx7+lhboS5VJ02Gdq2UVEQB/V2dGGdipS+MaYiW+r+8WMOt7SpMfmXR02hx/xqIshOfMC5uAwtqS5sWJYxE/OOgjbSi2tvSv+G9l51jbaVGiTM/xg4BYXkOfrRHfhe1yyddLVaGDpFdifL2Nyyce07BBm5xqJH9QnMj5e5c46bLIioYiIDXbwFytJX1pNgBu6mU7O3LO26vsZuy1bMltiedXyMfi1IIFzN7D2NO3vYVnt4spkcDXd6NVz+Z6bP8ub9joQ2/px9KyIzER5awiNxMTJiVzOIHsuz053YER//XCLgAPbzG7s67GrLBQchrKvGAJjql6guayWH/S9kW7oNVTObskl7jDoUx1l/aNGtqmqxocsO0PqyUniF4XdaNQA9TUlONlU2A5aA61iUNaWwo1YRel0js6Hg3XFDXRIwq2pA9Va5m3hUgJS4PaIbpY6uJdHlbvjW+a38JJQCZtRhNPVkgMLee8HVAMUM8ypiSAB6Z6hw29uhSGKIJqCy9uLTqJZZdYNOD9k5UBRq328UM4vb4KhQlDutJM8hMuihJ88o51tyPqyBalHXk3etZwTUcrodu+6Wr5SOeT0GfPsyfPIooAOIy/o/fQj+qR85Bq0NnGNKoEchALp4daFjdpe223xSRcyBSEZlg5781tDfXiNmH/mnp6ooOLU1RPs1J11NvpTCm2AoOpyxOc0py8uuOEM0K7F0x43iAbHeXbSTS6WdM5yM32C02prSz9Kfz6JjrYfjIvTc9hd+tAGLNl3mpymPPuFSOBEYEvaC78Xkw9lMDBfeU7UtBzho5oyU7bwPwH0TgXdj7vwYNJIMmP73p576jmVCs8u2VAij4P26R9eRyzhZlV14da9ec0uN/uUqIMYsl1TPGxHYyfTW+YO83beSte9uAnTmFF6GF9dFPc6fHS/bpq6cpR4/h8FJhrX5J4ao575MdsSal5xq+13s7UtdcXHjDmekqhsRlH7eyGQY3CUVYcJfOL5kzIZ+P7MtJl7vCiRxkzqCnjZOP6gZL0LVeojGkOJv/pQ5SPrr5nGL3JuX4+u1nc6hjN3BOEwejG7THXE/giNefjTf9epNYKXjx2qPZtO8cxk0VauaEVFQh70TnWj8u7mUNpJkL95mUjj3fysNQ9FGp4U1dQWtYD6tVvWsbh0q/Evph6Goq+b828ufw9vzB5oWPxG/am9mEqUfwhRvF2PKFVwz+zf3PXUWmc8oOhkKDwlKH1ble9PCYyo+6L3JsAgQu0iVCA174cLv4eyh1jGL8ytbQWcxV9TNVYrtjnACRueWzZ/S/WrcsfZ1LH39sRoNp05VreAj4K+saT68doalI/60Pxdbss7SDAe/HeoC3zw9jg2lhPu2z7LMS+tumGGPd+MC6n93FrX69elw6/ApCD/HYDA17BHMENDi0KGE4cfKWhBhiJ7mbVJ2N4HfeyX7sjnrr8EPQR9KIYs2iMBB8no5nr0QzuWPLhWyTT1V6CzGKmS4Zt30H/7jtunsAdFItr1jMU18l85BytV/kJ9cxJf+H5F59fvssqpBINf0OVGsIYBFUVIBITcl/6NdLGrxXBmD8RYwOSAwTri65F6AsNDwDkQc9iUVdE0Hh2D5EOxCxKN9QhA277htoKUQWdkQXuKAoUiL9DbpD2LO75Ws2QkVq5zks0vmMW8QGF32g8S2Z63yyODTx4Bd3I1++vfHc7+kIN182oL0rt59IaCIvYHI4sSuK4KuHLVAlRHHZC0DLneuH89kFuGghqiU/ZRvshScE4ailQHriGsjUJx8MVty4mK046sBapkVLDm9Uk/DwGFajmFhfjSrE//IRGqc9gEKKnT9WWbcOSWzb8M0UilS6MsWsrY7BeA/AxWNuWQ50j8YlDDB3+YTx/k4NXAJKnGMXzw6tGa5bWqAxYEphk2NgkWR8YsgYEeLQinSihXrwdQN2nxBgXLpChkbm8Vjg7tIFrVlXRCCcFMs0oihITT6ElBlJAIcU+WYs0OXVIG0aEbtJWrHbESG3pB8vS2rJ2ZDoHHBiz5tGBUlGlDOLtyDpH4ZuKmm7AZJu0hjWPWaIsFv/TCFBtvlFFItOOY2XBC9a2qypRkyKoZ7QpKB0PrEQ4G6DyJiFxfoNIEYraWrZN/84RokVIucd2tSvcAceoFKLnuGbRFrhVVZ8QF9Su/TRmFr9alxTWUuyO6hKhzG2zutpHZlnrj9ztCiKxFl5YQuzmulHIkQTYnayfpBAgmdzqoomGAvbwlgAxZQIGW65Gb3hIyCW3QO7Mjp51NTLGUmM4Jl1cqTe7VeeBUeSNC4Y1RY1DeiPRmMzU8Wbe2agiJNZjoSPKbT4fOIbtE00LjzBXtetFK8kW4XjRPKg8mN2ZAT+rswo60qz6/pgLrTioKAY3UBKZDtI2fDTUocu+xpW/jcQyAJzE71t52FxHTnn8LayOfZuqFFo75sEqoqxWdMQdMwhxLQ2sq1addFbqQXPttci8B668LX0DFneobI5n0dR2raz10NiOw69PN/w71oAeNxC5KdJ0Q3KgwDMBFkelmGJQUVN/eTwiVMw/t4Uak4w0U6JhT9lmyjUqq05yffUTpbS/2zwg2RW3gNyQrIjFehW2yHIAszgDqYPPXHhPcWdVOTcpCvMmRAQNeBZqxeQsyjrOg0/l0qDrTococd0eynAnAYq5pfMg7VDkSrNruPUTE9LQZszd3FoikJRZuWevpB0BvDtkDn/oRmGMgU9ANljUYqKCtwvIta0nYEeePlgqotkWdHCQmcK2HxZ9o1lx8rYzQwY8xSzJNscxd9OTTbd3bzkEj57EfUjJdQB9dpNPpB2ngp44jDj9RD6jdTuNK7ztW2aherJ0xdRDaf50gBR8rCF2FVl84tbdxDSIMtxjJrc7hiunJ+oikY6DlUFT5yL9FRpRGgPJYKWVVqSU1spRpleN0beMgrYz2vSPIkHngRAqktqr2SdVMTBQoJ9JBiCEpnF2bMlYUYR0SyS53hJQGinJg+dQ9ZoUsdHQz3EUraPiYCLVaEivAhdRJQeGi0xerIUUwszqLiNEzxgTrCFwqNoOWUnr2uSECpkGQkpKP0NIZDVVR7JkNQxfALopiKklgZQ8vDrqMYtSbA2MdWNCzRnojrdUcj2HVp8lWd+9uTzRjs5FlMC3dCOGSmZKQzhSmOaaW70KKZMJh51rsnfNnhkxzGHPEgs/sbQB4Ew1MtBkD0/qeMUC9RJTNmjwQ7EliNLDxoRaMqEAj7OB4qxbuqZwLjv1gLksp/A5Adeyo39SgP1sCLuANznCFh/Q7Vi20mxz286WKUaOTx/JkdM8sA9Y4pExyhOqpNQMCGQasKbeT0SzuGYy47j8YkVZG20qkg7CJdH0/K1BB38hxJLehEzusOtTZaSUKZeDlvkx+DiTUJnPnKl6QUczJjGOPvNJf3YDH17IXDljbBlFc1XwSbV/joxTu1bUg0OMS3XMYw7b5GD8k3zgbB6A/GW3f0ADQkmMRwzDtenqWpg+qh5jhZOm2uhj3hh9+NEzphfInV8yUY5PnFQfA5Ap05rMST0HrV/Sd7F73a2RsC5RnzM8JLFiejolMfEIK6DZBUu2malcPgc4BnxtYdcLOJy1tFGF8TWSbjFxO3GQduY+R7XZzeJY3Rd3PZFEweMoFCuV8ihPQ+yO3Vh530hRV4Jd3NSRA/pM91G4TYAAziNSPozkiwW2x5qVeR5ZrDLVLu+SJy5kHqrHsx07TpM+e1REJdWxfO6vDgEMx8DIXJW86VXzKIAonSkyKVvcdngG1044V3vvACFNLef0hhJW58ENRs8jZ55iJW65W35DEI0Pxvq5xUk5l4q4Lc2YzJbrlYzt/VRZyXr3o1u+8q7S2VvRu1ebK6ML/QSSBjsC5l0in5yuOcwYbPHAWRUFX4bZmUboPBbLq9ODrPr2PCOkTaJjC8nxbnd2VBrxClNqKC/6BEzwvOLYULAPwJhtnLKRhu4YyNXRkCsfaNQn9cevwE4ZsEsjcKPACpFJbaQ3VGn6jM8wc6/Wb54NgTiRYopEUCtT1++HVFH+MTM2tRmCQu33nTO+Fozwdk8s0lBeThjBMc4i8bwFrgPq7SJceAdaqNLxdLvsIDy8Sbsd+nq7KKTZVA0irKMh2sKthCGdgksTJAZ2NmXVtnNZCjvSdBYeAGKGUhsBSTYcmmMeW88kNYl0VyuuRzHFcUGW72CtTsnaCZACYTuy46wwW8iavoYliS/zYTFK4uKQcVEti2JnshYM27gERYgr91IoITNV6QKMKXNmlQcnvOpuFNxvnQzUMopFK+PYqp4S/1Ouj+O2QAqRXHudk5TODPGckXh8+x6YCeK44h/ysCap9N2vuta07UkwS6xKTOMY8tYfq0mOgUxySMFnc6adrZeNY/PHKsToq7u3UD1i5vuq3LH6mEGXOZITPnL9vwLdcJCk7FEmpvFwZgDHQdeq1BZ5T2szGqKicM8VIxOs9yay3IACjNTOJVFs0TdqrcQgkcOJhMqjJQAkq4ztzmQHZLb4HkRkd6JKZU73feTsK2JI129cqmpzRycUJa2XLyrAJsXW1OBGtgehimPKheljgGWXQns4BT3sqzOpzmAiDnzllVn05000sGKZ6eVQlF/5PIy2lGfYJjog6SxxM/GQP2iZtuQrGicilinkQa4qGidGFXqoyK7MwZoJ8JtbPFbM6ZU5Qr8oC5sp7vrii50uRGyyLPNFkYslF0Uumlxc8WpRrZQrgT4yUmYNy+vh51Yfdjg46hUMyMLECB7bIh8UgWf9N4T8Jvtd7qCbw7F/fcSbtR+Zh8KOLB3vMC3UWHJa9nNCqobem1iJJRbei24c5y60ZWXhxDZkT5YUiZbqwc87s5MFdFJI8WWjG7uRSBJq+lgUoW+JKAaBeEfMkRL3vXtzG1iDNj+moJT945lZ8rZ+IunYaCkoyMjOHtCtkYaDlmaWVtQOIquHBKxQLufFMOId+2kHlmNZyvVTbv1ZVQynl6R2rkA9pLbPE3dNSnoLYh1QvXxCu1lE3lwByMAZpVZ0nuuZWPQZFW09kqM9ySQyNlwcXlXeFb7Ts8mFj9X3219OYpr1wbsTvEaoxMgQ9Rp7d3HuzYqQnt311sx/zmm+hxF9mISCRQdP4cuAX7k0Mj3NoSkhWImfLnlAJWlPGEm3D0hpEEBS7PodzOsqEtj+EKM+jG008BFYgeKK5sZSpgV4JIVxOEny9iD7Ii/O7s26ex0IROO0KFmlIZJB0CvWkB+u4Zj6G8SxifN1nXb2opPy4sCch9hAPdpxkZqOTDUbi3Q40eP7PJGitAptxRTEBJs8ZIM79Yb+sYyng8QrD2TsT99XRxr2f1UnhhQZhSfwFwaICIeEe+Cy70yGH32Rxgl5chHdBAOW88Ekz6NNIf7tbxHFmsZsPIIXOfxr6ernpadeevEC/FvHcvz8eHzycsVNb+8/sn8Ejx4dXzrihucgAPhN1t8HCfDTp+s/XuH235Cy4xMfkOC2BPIMAc932yBCJmT+K1kGRm/91P6hX98/V6/L21I7OK8/fF76P0/S+sWR0BwC/xp5dYMJPIu3B+TTbd/qmvOdENJsS8RFyDTpYXQ+ct+uyhwt53qMpeOOmaiVKRSqo8kdNsFlt+V1lLvMdbp+1DyHnR0614jzoGP7j6DQMUdIYi+DjxHDrYL02aomWdM9m530B4H7hjSX9d2Q++otBbv7S1DtUHYZNVLeQF+9oq/RvlcKyao5RY5EVqGKLiODHLNDY3WvXrM1k7sv6+nRPHrsYqp7+9qmW8BamI93kSWMNddAF1JpTmuU/QmpryuO1DBCu3m16tjFVHkV7jJuaXV6s0WWi6K3gGO2V/kqYewB/J+tnQ5Wq76GeLXXUNdKP664tMGr08siBF2DKuO24CI7IkOKFrSVZwwTx9gKwyw86n79py/tLI36Mq5GfumO5h4rROjbO57FNZvNvO+BxiVLxI6Qdauj+HjbcSzsUseoZu14UEnueCk20/GherTjJ7uPnQBhpfWCeVtpQuRHL0ztjU6EjkN0oqizd+KyV/iTE3xuwg7E9jnAIogdYZ4DHSXK646j19eOsaKfHQ8msR0vC0rr+DDd3/Ezbyc6AfL71wu248R7HEJtTS+MdlUnwp473oliztiJm3fOf92EqHuOeTje2cYYaaz3haVsyFHvv7MF2fTu3Lj1QOCSOlBxgHvNN3DAP0WITYwD0vvJsVjQQ6wCP69VFN9xKRD0r4By6g2hz/hD/X8zdb7chNiHjKIF2ogvxPEievdl3pvrWcdoFjz46rtiEfYWjYl9eA67xWPqcu5Zit4zvMW26GN38MKr5HGvOV9PNC8EHthBbKAObG8deaD0tit3k/JnNlF/6qKu7K4AD74Hfv3SIBWh+TZarZnsw7EBQcDRMhpEO8uO3fpHQ5dg3lvEzANBStYhs5WRzizSTc7QDOGc2M1Hz9Erq3/DdQGBAHTif2+DRQAFpSzORqmY6HkJE0innZw9imHkQqNAd8FbuCWLlvmLUqZENBg4C4QKSKXK1ahUpdoYlAa16sRAm2XVrFETjAlTtHCw8IgISHyRUVHQ0DExsLCN4+Dh4hMSSOVHTERCatK0dFVVBgmyEgjNP7CXREmSTZT2HzTkLIqTNMuLsqpbVq1ld7q9/mA4Gk+ms/liubKuZU0jxJRLbX3Mz6/vH4m0/e//9f4EYRQnaZYXYu2SVd20XT+Mkw2bBuXlZd324/xev79R54tlWK03293+ICPxFM+GlYHr7Z4EZz1f78/X98/v339pWXlFZVV1TW1dfUNjU3NLqw+C7R0Z9ydfEencpWu37j169urdp2+//gMGDho8ZOiw4SNGjho9Zuy48RMmTpo8Zeq06TNmzpo9Z26a5UVZ1U3b9cM4zctqtn7bj/O63R/P1/vz/f1zT6az+WK5Wm8kS1G4lShJ0Y5MPnVTIhQfjqdz/uTIbP7CxUuXr1y9dv3GzUDwFiIrqqYbpmU7rufzh2HHABCCERTDCZKiWWwOl8cXCEViiVQmj1BBbDx3J0KYOXLaXZVao9XpDUaT2WK12R1Ol9ujsYRsyuXTELwka25uitg94O2UzPrXp9MymwAz/L3GDmS9fKIcbk9kFp3ZhvtK2/LfcAs1hXi85pRj3H+YZ6PobQC/R+90eSgc+b6NLIXAAEwgCNWCJ1Eo1GUUGOQhfNNwCDdShPiak2J1KdGTWyL2li/ZJdcczeUBt7y5b4LCZlEE7dBJJe5omWLazILC2k9T5W/aTo3qP9eJ8B0bG/mjB+eR/wX6iz3ouI9MMPSksa1OtSci+TQczXXlOB+eAEwX/JQWzYqtJk3DZkJAn/z+2WvKBDtmYEdpJQ3ILMJ/dZaOdsQtrgtG7lAWgBsqv6bVsuqrS2sAnj3awo2XNTk3Z8TGvPoOzZ5e5ReOv7OAEQIQC4jaRUDaqF3QfrYLUrKCnAwK0VKt56OXp8gn3B1Amjp6QnVaDWOPKjCITBi4AAYCsztTCmOemTJWkHKGaqljo4NEQ2EO75rJDRHRRiaMJfOjm8rodGOFBYMWgeWSntxhdJBorNLsGQVpJ51kS8/rpQ6acJvvFjoQ6F/nsjvrQlca+sDnokzX6N2lka3+deUlWshgK/hstDg7nJQCt53i+E5rUZkS7XAbWKzWYUDjPPHBPA2HCpXji58qJFxXjNQkZQtrWZ4SYzYofL1VPv1toaH3CDqug8LUiKkZ09jI0H+R2iZztSs8M66Y+RhlTI5ktjYZp2M7mCDet2yV2Nh3lsryXp1lwkwLSY9CtA0+R7NnEkaZn/u1LghmOQkD//GAdr+l3h9kPnxTPZ1iehmJaWtma0vCNrottvR5O8ibvSIytwvM9Jm2neUg2/onuq+oxGIooqBH/fvw9gfcrNH/YBkTnAcTHat0dqvI22518sJNNn+sCd26g7eSpLCUMt+6u8GbjYlXSlkGsKqEjmNtM8s4ACHQsh04gqULaANBYAgUBkdIv4Ytc4LxUmJmJ1MIQSCpzd2CZpBhzPOlxkGbS6icQgd4SDtaQs7arPaj69ugbbUDgyOQh+1AS7hdHd0ibQlxITSVOegW5Uv2j1XZtrkj9Swt+VH0dbf03kUYFKG0RLdIastWVgJlg3NpDI7o5E7YazcQV4hdpqI09tXgTiDf3YHz9uEhozF6+5PH4jbMOXw7+S2Qb1+UeYURU/moZLr9ZHlRFSue415eiBM1LMZ2MEy6559ntLPD3TrYBXPaUUbTpWzIO220/fPrzU0Xt+oOAAA=') format('woff2'),\n        url('data:font/woff;charset=utf-8;base64,d09GRgABAAAAADugAA8AAAAAzVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAA7hAAAABoAAAAclDf3H0dERUYAADroAAAAKgAAACoElQabR1BPUwAAO2QAAAAgAAAAIER2THVHU1VCAAA7FAAAAE0AAABes+62ek9TLzIAAAHMAAAASwAAAGDYMFznY21hcAAAA2QAAANAAAAEntMpdeVnYXNwAAA64AAAAAgAAAAI//8AA2dseWYAAAr0AAAlZAAApFgvIL6maGVhZAAAAVgAAAAwAAAANhwQGi1oaGVhAAABiAAAACEAAAAkEUII9WhtdHgAAAIYAAABSwAACNBXR/ulbG9jYQAABqQAAARNAAAEah9N9UxtYXhwAAABrAAAAB8AAAAgAoMAP25hbWUAADBYAAACFAAABZFMAwA7cG9zdAAAMmwAAAhxAAAO4Gif9xp42mNgZGBgAOIpXZ5u8fw2Xxm42RhA4LbEswgY/a+BgYHDgQtIMnAwMIFEAR9UChx42mNgZGDgavh7gIGBk+FfAwMDhwMDUAQZMJkAAG5QBE8AAAB42mNgZGBgMmGwYeBlAAEmIGYEQgYGBzCfAQAO9ADFAHjaY2BmcWT8wsDKwMDUxbSbgYGhB0Iz3mcwZGRiQAILGBj2BzAkVMP4EUDA4MCg8JuJq+HvAQYGrgawMCOIYG/gBFEKDEwA3/oOQAB42q1VQY7DIAyE0BD13gdx2X/lMfsQX/uoboqBSQ1JCEtTaWSECtieGUc/1UP53+Ch5wjj17c5R9inD7AnYyu0uO8m4ujOz+7l1gPcI+8bDt5HfrJW3htcf658Hj3gupkFXbxVvEdWxTvBgVXbWhgyr8QnGXHWCtTynyp1SdR4M9TP0XSon8VxjYPjuLgr9NALm+pv0W4P+F5DiwtQseY8Rg506hc0gXykX6ELRKmb0dX1alUbX9NFvrza7zV9svdqWt3jt6br6cQ7HPEm1tJPUdvrmqSnkS/+o8WMsEkHHMEX1mF20LlXvu330bejhQf95byo5S/7XQP6unJABQRHRvS4/J58OPyb4c9ybv4XLbNone+Cd9Yu5v1d5fO/CWoLfyft7Yc8KJ8X8A58VNaD3kqfjS7fK+dY8MPv8rI/ntlHqtHf+QaP/QVTAHjazdRrUFVVFMDx/9pHsKzoAQKi3fY9dC+V5QN8IZlIUvamhyU9TEWGEElstGQqh3yVZmJINaYWZC+JSEXEKBtryjKK9Is4QXPPEZqpJJuhL47MvafNhWls+tDX9szZa68Pa89vzlnrABYDzyjE7Khqk0k0H6JWmPg6FcSSYk4rqZcKWS2VUiXNckr+EE+NVJNVnspXVWq3+lq1qp+sMmu5tdLaYG20aq02q92Hb63vDd+fOlUH9TidoSfpqXqmXqrL9Xq9S9frBr1H79Mt/hh/vD/Jr/22f4x/rn+rHWun2D57tD3BnmXPswsDtYHGQHOgNfBDMDuYEywJLkn71ZE+5Xn9ajQ1NMiqqK1JuuW0nFXJ59gOqyPqhLEtM7Y1xrbJ2hm1VRhbr06O2tL1RJ1pbGV6ma44x3YgaksctOX5N9sx/7AtDNQE9gb2/20rDpam/eLQR7/N6/K+8D73DnlNXqP3slfoFXj53gwv6MV5sZG2yJ7I9si2SGU4HD4b7g3/Hu4Jnwr/Fj7Z1dKV1ZV68qhb79a5tW6N+6a7w612i90id76b42a7091pbpY7xTntuE7IaXeOO61OnVPuxIX6QmdCPaHu0LFQS6i589nO0s6Szjmdszt+7uju+Kzj4I+59tih4we+9f90xaph/UH4l1JQgyf1H3cMVFoMIcZ071DO43yGcQEXchFxXMwlXMplxJPAcBJJIpkRpsdHmq6/HB9XmH7yY5PKlQQIksZVXM01jOZarmMMYxnHeNLJYAITmcRkppDJVLK4nmncwHSymUEONzKTXG7iZmZxC7dyG7dzB3dyF3nczT3cy33M5n4eYA75PMhDPMwjzOVR5jHf+NeyjhfYQBWvsYO3qGUn7/A27/I+deziA+pp4EM+Yjd72UcjTTSzn09o4VMOyncsZSGFFEsbT5kJWUKJnGE5i1QKz7NVJfKEmeBRFPHk4GurU0ks5mnZwnt8bCa/gMfVcMlVI1QCpTwjR1nAc6zhVYmXhGjFN3JEvpSvOGCSQ5IpJ6RHjku7SlcZ8j0r5LB8K8dYzYusYiPr2UQlm3mJal4xFVvYxnbzj+mVBVJCmRTJY1JMuSyWRVLwF4F8H3F42i3Ce0RrDQAA8D3Pzh6d1jqdrbXW3q3t1NZ29mivzs7WWmttZ7mSJFfmk0kmSTJXkk+SJMlM0h9XriRJJrkySea6kuTKJFeSSa5J5kry9cfn96NQKMj/tBQXJUFJU/JUkIpQHdQh6iw1Q/1GzVJPqQ80hNZCG6Kt0LK0GzpI19AH6P/SM/RdeoH+hyFiEIwEY56xw7hkPDEBpoSJM/uZSeYC84B5xnwEIMAIhIEpIAOcAQWgzJKwcFaKtcnKs25Y76AAtIJ+sA+cAjNgDrxjA2wVO8geYU+zM+wT9hX7L4fPMXH6OSnOOueEc8N54Yq5Vm6Su8I94Ba4RR6Ph37w8D7z5nh7vHteuQKtwCsmKtIVpxVXEADBkAnqhcageSgDZaFzqAA9VlIqNZVk5WrlNV/GD/KT/DQ/xy9ViavwqnjVctVB1bWAItAIgoIRwYJgV3BZDVQbqweq56oPqx9gDhyEx+BVOAcXa5AarGaoZqEmW1NEZEgE+YIcIQ9CWEgIJ4VbwmPhL+GLiCciREnRuigveq011X6una49rC3UvolV4qB4QpwWH4lv64A6bd2nulTdVt2VhCExSUYkq5KcpFyP1vfXz9R/rT+v/yMVSR3SEem8dE96IX1r0DQMNCw05BoeZSIZIRuVrcqOZUW5SG6S98tn5VvyU/m1/EXBU+gUuGJIMapYU5wonpSIMqCcUG4oj5SXyqKKohKpTKqQKq6aU22qzlXPaonaoR5Tp9VZ9W/1u0ajiWgmNJuai0awEW2MNy43HjXeaUGtQ5vQbmovmsAmT1Oyab3pWgfptLqALqFb1H3T/dC96BV6v35YP6/f1l/oy6gW7UOn0DX0B1pu1jUPNi82Hzc/tYhbiJZUy15L/sO9gWHQGsKGScOa4buhaBQYA8aU8dD43CpuJVqnW3dar0yAyWpKmU7MHLPDHDenzOvm7IeC+dX8igkwHWbHQtggNoalsGVsE/uOFT48Ye8WvkVqsVuGLAnLgmXbkreUrBIraU1al6z71hNr0Uaz6WyELWGbte3YLm1lu9jusg/Zx+1L9kP7T3upTdLW35Zq+9b2s+3NoXKQjjHHjGPXceF4dcqcIWfSmXHuO6+dDy6+y+gKu8ZdG66c68r14obdmDvojrsX3Xn3k0fgQT2fPJOetOfMU/KU2qXt/vbx9nR7vr2EwziBj+Ez+Ar+Fc/iv/CyF/FavWFvwjvlXfJue++8fwkZYSeGiWlihTggLol74tWH+Kw+0jfqW/Rt+3K+G1/Zz/Nr/UH/sP+Lf8N/5i93oB2hjvGOxY69jvsAFhgMpAOngedOuNPeOdl5GlQE48GdYKnL1TXXlQ/BoZHQfjelm+zOdJ91v4Rl4Uh4LnwULvbAPURPsues5ymCRMKRfyIzkcNIIQpEsSgR7YuORpej29ELEiS1ZD85Q6bJQ/KGfIvJYuFYPJaKbcduY7e9QC/6H4p8cHkAAAB42s09PY9bSXL92OTjjGRh8MAlBEFYLAiCGAiHw92BIDaQAwLOnPkHGL7gMv8JBvcDHNjZBT7cJgbswIHDMxq2f4aT+wmGYcCQhly/ru/q7sehtFqctTuSZsRXr7q6uqq6PsMsfBVC9y+z34UYliGsNsPm2/Hrq+63l7/6eXe8pNnvzn/589mfhfHXLISYQroP9NntYX/YDvuUf0X4gs8sT7OjfmbYd/iZ7pTS8tSdLuMXwYoI65sRgwxp/C9DPOwH+m+9XY9f+ef5Yf+rD+kc4McI8pL/irAXAnsZXoaHsApvxzdsD5vDZr3djfC3m8O78fv9u2583369mR3HJ2MAFNM5zY7nvJpwDhl4NC/NEBVvhv46w8/UWIwrHb/ej7Dfd/j38euwB2gZMv86008i0kX+T+Gugv92pM82PI4rGPHP0DYj1M34Z9we8n/7TK8O3n7Y/2Rc0eyYyZCh5QXk19CvTCIiJCxq/PuZ/gF/PO5xl/eP9hh2L+Gu5f1Huga39owV0PInHaw703QTg+xISrJD+Z0jpdMknM2e6JZXMe7RBp9LZgEGCuDTV3BWRAneY6J/fiQxVvmbXve0Q5qP636Z+WQY3zxy34b4AnZmZI9Ef0nw+RDS4mhoFMPsGJB+i2McuTP/W15TTE/j94sjv6d8LlnapmotmR7MT0Df4hhEZqAKxgPyJeAwPpfpmk/UAk8Z0HdkcSZMSsIq+WeRuCMCh8BnEP/fzn559weg02LkO+K+2S/Pf/+f40f+I/7DHUD5CGvqBZ/FuEmvwhDW4U3GaMRjsyNe2RFuW6JVPnfCMnxOCCfmBdiUK2exk71HuO4dQQ84gSreQrKK3wI7ad6zAlkCe5F5Ja9lpMOGcMtUC5lg3Slz2Ec8ibO8/WFe4LsqMc08ty4xPI8PnQMhNjsq77u9ziunM4QSN0NayXmkfc4CAUHrmQTmDrjmcq0PcB6Y/0bpOWwADsmw/ElYKjLxM/sx8B7Yv1erLb+JjCr/UZ8Vs3bcZ5T1CB+locpcpATvdN4dFPNJ9NvdUXXXoPqtg61kPRimPjfuFH9u2ZBzr0kXgYyjL6Iv8pSR1/6Ys7SC989PIK/g/Xnlg0ia/DVHiTD5/tXWv9Pgsk/XX9839xhWdCBo9rRZbinOmJ4wOBfzk+Fl5ZhNPmEIa37C9WV0SPWPZ2N8NOEBuZzwmBnbIuMH+7PeZGk1bDKtSKAhp82QXONBjRlk66wPYJNEOp3jad8Q/vntDGWeXz5CWcAxS215zjzKdoGTwaKshUKRNtzaSqihCBvChPHITAEYPB1ZpwENssQ1uGcqZvrlYw+aCRAOwTxzD1SjZ5jeWQcujsSDVpahbGfpk/X2iKGVO3lncHm0YeMPs1hLweMJJ2kDp0l3Kb80M8qH8XH6PNiXsC7QQVku7VFszIA7gHJPx1p2v/QS18seoOX8NCVfyC45sC4dKQPn1dp0LEsjbmnejAuexc7oQtCAA2u7vD7Ul9HtM+oZlOWj3u5IbyM9VV33eaV5W56AaW6EM1yDM/4TGDPziodLSd6S3kB+QCYUvPtKMCHOisj2DGR54gMUJuUM2cB5JxYGD7V5J2RNhFNSnu9Bz7fHyuEVyaZh5p/GzVod7zqnfRsajg6Ds6/43kJ2KN9N4Gt+SukKTyM1Kp6enz6e5tM2Jtnu8OyGYJDUhiuEAiKLAdCe5jG0MQ9NHhsJeB5/ezomui2CpGnaDPnOI7fHjbnd4M4f5GfmbtWZC4fFHCW0vcVN0mKo4DdpEQXSorJxXxsL12pZb9+K1IDHBXMj35Yst7PNlReA9hqK9+t7iXTCP+P0haF4F1oR+V15p+kg6z0rte9Zdm/qvegtzeHelLH2d6N8LLOcuBsNp/tENg1BJDB3R2Obgt0DGifjkOHAfyAH6FzxjqNWJB5snB06/1tYO/Iu6dQLGYas2rNsPOcfK++Q/fV5up2OfI3PinQn7AecIjHWM0bwHGGU4GbRoAvLA7B6NkhpMBICqV62fEg70z1nJvbiS7L8t+gfWQMM3Av2tmRexFMNT0fcW6IJWQPGFkdqBGR+MsPPWfsFb4O37h/oCyDZortD7DxCoM1p+qhQuvNngehzxHVKr4G152V2AjQvp2jOvLWrXyvHHvRuiPgae/5sjWlAOoh917H9qxJZXDWj+J47nnvFnEtfowW0IVlFfh+8dI7SItMWKO9sSYBzLzC8Lo6JHlAbwPD6jTYAHUE+c8wbImfZHmHuovcnfjJvccb+KR9gPDAlrCXKITovoC/RH2ZODN33gBBwG0/u3AEc4na1kXYFPhkU+BtjqT/aMqDQ/gF5oKH4Dc+Sz/RB9h/P3oiNUV2R+bHcR9CUcOcVCThyTQygb6bx3Vp9ek33y7aEgodeybvJZyue08QIoFGsut7hYHR9rU8+Q9e7XxW/PFRyaV9JJTzrM7BSZvYOMcJQrw3IxZ1o9iyX8AHUNWe+hXg7oek7HcgHMFz3nYqbj/2Pzkcbs1V6xUebb2bvWbJc8a3yW+bZDyx3crpHj7swYjxDExxeirjm3zPfLE9C91vkMNI1GLpmu5F89OSbB34EG1g8V5as5n7BK92j1kTLif0iTElRfOzMBZmONn2+PpNPR2x65srdiP1ojVmPsnKiFX8orODGW9iHhtc79NvLCc9fcdu0O5/hctYubXqL7wpvdHeTtnYluRY3SLEpkUb4jLQUPgwMs6MQxB37EcBHtTg2fYabR4OB1TjoCRJ3PvmKmfpgU6p1jVfRmPdX4lIrlgNgP+4PyHd71jwIEqmOvjSxIPHuN9rDtf/LSlGWXLxeI7LyH1FPttrGiyOchQXf/UAexQCaC98rdPJUQqtzPDdwuy+pBFcwvokVBMIfM426bIMTfxj7/O6I8qBPs6OzmYz2MLa6t/xLHwBJ4J2JsuBb4CxKrEUPKMrfPtA9hS0QODkHsrNJMJAU682ZoOfQ94A8Tnut8m/8nR4J1T2EPKXkFcVrCPp/SR88sNdq/a6jW6/xA+WTMed7ROGTy3HNTT6jaGvk3YngBz2TKYw8ESiWtEIsciCpCxAHiAl9SegV4rgWPkfrJh8ZRwmFTj0dZZBP5lwYffFo/AIYVdRLNG3xXKOvSeM91dlYiUb3t3l/JM7towHyoVd9lrn+MfyEYzAD2dqZl4AfyGusa+6cLCVNQuf7zCFZ8XCQ6YxSHWmEi7N4cEyZ8chaEfhxo3c/sIUWDTwwomZvhPCdR0SILJYA43FX0APjw+/CT4UiIC0XLaoI72+UJqq8S9IgCkqZZGijF+orfjq6DUuUQe9VYlonF4xOSfxzL07sdy2890DnncZ0WQPh+bGu/GRsjGfgHRrwmtCehQf0Zl9IAc8BZME/N/AewpvwtYc4qIbarFkSIVy2hxA5hc376Pz0BL9FAYiOLkoKsBpskSEWMB3EFVpKG4MnmUgFihIvH/k5889a4IDfE6MVa4Z0HpmegxZP4JMlSwvikCDHZkeKXZhIM1Fuuys8MyIvXZrEmeKrypWsu8a1kmQcZfZ+LfhhBODpCNqK8QOLCEMlCRyeKTwHJ7bgNMAYOCv2NAIHZzuywIksIISFx2Oh4bjFseJnwcxCWhA0jRmppKbYEfvF6R6ra+QMAcjiIQl4ttkockmC0EN4HsbgYdQQms/jqcx/xvJ5BJCXczkxElFgvHRYbHgVC4HCdlV3MnEnRw+6Q60kbpdthExf8DXOT6ILzuRsjHBEOBfJ3N1fnMjXjhY7+iu2qFvQ19RtVE6wL8h6MegHvQR5PoynSn7s3mPj6tbbI/K38vrYLX3isMvtMA8TMCuI4RaYKofbMBUoCeK+gEmy2ELdVbLYw9bkChbJgnelL1+cWrEjtd1ZJjd8a47dLFn47u/sL5MPNVzNh1IlXOVxrJyPhvKJcvbZgLwH52u3EbeApFzIHYPtDGPgodw+gyIw+nXRoI+jzmbb2teL8ZXmcFeTT1qwGvvYhHXDvlnPVcEZySbeMdTbcGxzgrGWHTjeuxenOuekjm3x+hs+PyFCtHd6f49jj6mP5pL5cNaIcmrk7GQN7fKV0BZDfzJn7ARxqJF3KqcRzNH6NDG8RHEP0Pl1TOjRRqd8bCjxPUb9bZ8Ely2y2+D2DbhftyDvypiah27yON0rbNxc3/F12Ey+Y+PsyvI9Z682infVcdQrtNpZv1l7NR58KQuuwO7U4mzD9lFA8OaA8dmj7Sn+6DdIK8gxUD8YvAcjaRH/hSIe+PsH4zmG2FrSf7PuaOPrIVt1fO+XslXR2djk2zoWyOehGRMU7SiRwStnogkbJeqnwJ44FzV0ey6ab/AZzvY1pQy6sgaRuNfeUIIHW/r7I/hgWf+K19vm1UVJ60I7U3xN+nmX52s+P//+6D5PvqdHLy2srlHjINKzwb7rUU+l6BMKcS0bOVDsKX5HPheJodhYjeop8n2a3AtW/+hnYbPT8VY+EbgvEpkcCkllIpVOPknYUnfc89YVe+txO2EtOq7lbz8JbsPCuAJ32YT7dtpCnMC6PAn6xvY7zN4W79hM2bstHVG8y+9B+BI2rwEfijgu5kLlaA1BwzsQeZf1MDwfh0Qelzi+lcbOxr0Y/2UwRnWnryOnNiM8L3h9sLHbXanzWWdJKFfyF67B8Pq8DWNRwViXmFQWiLVjLTSLU5hal9P+AsmBYZ0fhDeNN9HGbHd6qorYLZutNoQrfsBQ5vXavBLJ/NPcksxqlDfQo4P2i8aT2/4ztm0Kb1yVqTwiM6/0WcM6OrSzorxN5OI05NtsejZLr6ZFCaIP80KXv2njJNBaNqc1BTvNeST/3oLvDnDrLCiHJ53PIi8Ub5g2zZvhwT5KlAK8coTnsF3vI9PuIqFjDoHOT5yDDrpo4o4oMboiM6zweFTxAJIesa47a+mFKu/Ma50y/8y8QHXCzbiXnpUG7oo88undBO7ftLGvNVu5grKQzaib6Xt6i0rTFLL0DzfFOT4BrtFfyybdv5nmGq8lK+obTekSBQLHjm7fh8dtadW1OUleZ7X+3KzrQTPoI/q99967TH7q8j4YOedaXaoId3GkNYjW8hmTi20raxKBmszJXLX0pXy00dWwvKmx0myPGrPkczqL3BbSE76KQ6LzEixADaEu+dDSD/Vt5zCVHVpmiCZbIwLxB6xjQN/63taXuMhDRB2KEv1c2kCkI1p4IeQJ3MobHuuJKzTrqkjGpYhihBtp9njlhluQrBO9NSA2ik/O+8n66pzMLqasqwij5PTUvUR8IN9svS8zfC8EocCJ3Kuon8uaRoqTvG5HthZT0a3uVIam2r6niXu8kyzTnoLWPbv0mWZb02gqqMSEkzdQVGxnpRdmCXF+4kXgn0M0NnrvbFC7jiKjudBUdXazdfy6ROdGfJbXMrGSYWoVugIklOY3M/5vWrg/8vlq4Y26pEAZjlhJe+vH3Wrl1wTV+chJAZjciYLJgV9P0bqJKybOeOICTDp3S8FyO5B/zWJKqQ+4QMWTTo0Uqs0rnmjiONyMY3eais1zBdzK38FMNJ0sH62LE/dBYf8477+97aycJ83depz/SHLr+YZW1CKuQLsN8IVyOWYsqZILS/YK3fjaYeNyIOenEhPGQQpuwI8VA6wP/EScIUE6dtTZOR6F2VIc6eUDdx/Sh0BWkYZ70a82snMy9acceTHeD1Zi3uVU5qJK3NhFjQfJUjPVx9EEvmfOPwd88C3ePujTUfozSHy7im6byHbkIsQzFkLOjO/wJcOXWxidd870wfdk1SF6a6tryXtFYRnkOzgruBimQ/4R1USRlQA9CNhhMjvmmse88is0iy7KnnyAXWyRgHc47acQVa72et839Xn2HTljqxd/0+XEb5uTTXvhheUKuj6vq8pVFbibImI3Pylcvn3inxhvlbDd1dgi2uS3xhY5ARl12PzU9k8izMdpD6LVWnoN6kWm+jsi0bFVHatZCEWFbGaQskYW4fvc9bfSgaBZXVNkSbPfhl6pJTYcG1/6nAGFqjkUtgb/wqUnKUo+8UXy8NWGwto/quuVSn6s9ruouKZoMvn9XzifJfdP0cB5TGSTdia3KWDPCelOAi9Am/Gj+DUKP7/k/SeNyUNms8nNTeasgpYw2CPq2KmEcmM0ZsGwoRrXZTjPqS2E0xn3FDeG97B/FqoXRuJSIXQ09TDyjhX3djjZ7CGIL8xPPtdmkHdQLyGo6gv0LmRrCE5DfiNW9TVrcA7yvK/BQZdQMzdH+juU9dY21m5rYi+SLu3Kryf8vBoVUS6TaIhR2xIHIVlozu0Da+Bhoirc45dZhcwAWxtu/WdLrOyW+mHkTfaKo2ihwuHKT2YjS22qyU1hgnL5NTX1Jn3cjoLmFlJSkaJhNqIkZ550wD2vG+Fl6y/jQHAuFgCcBG/nPrCtHxvrlhwIu+AYUrUT3h/9yuVUQC8ZzaWA0r5gavuezT1h/3Ez7mMr/a/VVH8SPLn+lXcj1y/HZ3m1MrwENUqJd7ygNZsVbhMQrccBEeSz1Tdy0d5OZ6MtJrPcfE6XXEav++wmI4LPxNFSK5ym9j3ZTSsTwzE5uVA/8CH4nFz0ibGaTFVuhblDLwzezbwK8Ah8IEdjM6eCsb408qjz+ySCzJ0dND9We3ZQOvtZoLk+Dwnr0i3fuGofWyv66GVxkQJnKkcFV2dHrVV6+k4ULodTe82AQDb9KOZOFpsKW4+lkcmCIZlhWtm6qOj49RQlV9Z/66lp5KcnaBU7L7oiFVQt5XNBWRD9jro2hu7kmstdKDp0QC3n43R8mzsBVuGGcENcxlbR+bhlXRN8OaWywLG1Fs5Saqyl9npNrCZpSNzY6DfFCIoVFR6welXlDcXmqlU5+1+3MqHsGyUbinwq5dvqnKiJXKtWN0iE3u4FaUBrTKvise11LruS42A57dwOq3ze/hh9cI3rTM6C6gKJub7iSrPR1gddwM9hcxq+M+MzYEcvqAvEfiiq2U2WHzjeJPhf1yJgTT/Im6h1sVInmGyFirj+pIdE0n4DvqJ+p3Xu5n4nN1/fC0s6YeC65TaAC0/SAi9dTsnX8r92b3aeruLeGm1B+2R+u+TK1jk5NltWMnFyZjCJ3naOVZGh0coGLcH6vI+2nVb0iHic7BFh8qtjkT9icHu0GQwcfRcsfrCdiEh0RW8lpNPg8SiyFgiGItOdCj62tcYjB0Tj3UVsxB9GLQNGanxIc8gsyjfuOj7gMKoyX01BumCl+a7TueETWezTeeet9PNKt9/brN1WZlE7J6iVGmRjYaIv0C8psTDsfkXFzoywRL+oDdbM2EoPjBfVIo9wTLYH7ewHrIIcMXnu3mo7X21cP15/jTPrLBpiXc8/t102GvlZBWjXfGNaZ8kamtUBbg1FhcC5kWiqORhlDtfbZhbXdPQslaEzk801ZRdN1jnspnt5nYvE1zofhvt6kY5td/YSC7LV4YsTAE2fr0Im+5tj3VvEehR9j5GiP2fjXqp9yd5O47+bwp11nMHcxMitdmphPYGxQ9fupaX19jq1dyY+3aa4bm3RPdznBZfZzc116D1kYge89aT+Iu2pteSq//wGyAw52f4udDlSu+OV9n+DTiaSu0DXVYi/U9cE+57IXbOieZo0Hvq38hNziLIxBK9/bQ8xm1vHmgDPjfqAAnijupPpt0N4rExs2HUSkzucaScWyn5iSfL9bE+97YHuoFVPPam+KZrq8ZnQPt8rvWUcKJtiTZ0oErV89J1qqxxXvrd7W59uFVWPadMPiJyTc+ev5ltJtt+xi9WGenUXfVRJlLhmquYyR/Sfn8gXUOXOImzoN2NxJFMkBhembtUssu34dSPq37jhFNkK7mZj/A6fkXfhbzWNeDu/qJ13cdf021F3nnYsa1P4I6qYlrtIFcEt/95Q5fttpzvIOT911U2uq25vFPWK1j4v7tkNy4kr75z1lFwCEfeJmVd36s+Dxy3iSh/qm6aHY8+SHynSuEXDOeukX091geb74RU+2/tz3Lw983FOnse83Ld3AMzswAkXOT9hIxnLVHsD5g7dAQKlKfTITznPMDsiy1q4RuUg9aiyHS1MdvXZNDWxCdZk6kr+Qp/fYftQyA1cOzJIHwrKb/eNGZJpzkDtGcCVSr1L1HeB+7wL726pudu5nGbnI27W3p1T5XGySWQvJm1hwMdXgUifxYzbe+n4ov04pmpBsO7ZIJILWCkOo7Lo5aRPZ4s9Zm6pSTF1H8/XpnhHoy1R8XH+0rK+4pW77pPrTk2fnOugNUx45K7447Rv7sz41F+yDGdPlfVTdRKDJz+V1oO8L/1E3m7ENJfQqgO53lc8ULfjqT6tlI/StrFQx2O9vMk7qHqt7ksLpJBWIqPg+bujjeEXmWam6S77M/znrUYy+ocf6Ojz0kcMBcXdMd3cX+vZXsCd4LTkWhDp7HF3RIuvC/BXwoNwvZM+I/l5Ov/BdK1B98kog8Fr0mE+Bffayu/hnglsp0LPNI5l8Fn1/XrEBrg76h0K+uOlor+i94xUxGX69C5XDGVU4kQCvg+EnBXS+gzwgsyx4DkSvmdgwPx4oDPVtHKOVSZqCH7tjo8W3JMSJc3dUf2qGj83PbdZH+7Qt8nSJHEQ3Rc/WXu+2R9tZmL0xsdj4pfYGo/V1hKyKHUQQut5P5mgOzGC/KxOKKj63YnnhnLOUjL3FXxeBxYsGv0QnX9uQTSau7aTHw2dOCgPZOqb/RWdl4Q1ibFr86NPRzFuxDui9o3CXRSexD1m92BtlsUYzXK8O3MZicObFDTJLtxln5vJfanFo8NZR6x4LtaV4+eM/fFmgbjZDzhXgwYSlHUaZseR32w/SbidFp4xya7hxP7Pmfvxo/Sw/4SZHpOzUqLM8xnqeVV+QhAApakTnzoj5MeY9zExz8vPWWj3zKekoSCb+v9tLkhnetoGqW/CDBHqoP9EJT+RbmJRb2Hnan7M584WcfMyVpyFjhnomcM+YIrjZ88gef5c8KQF9h35cxFtXYnp3XzLjI8vNZ/Cy7C3yoO036a3GlSmGT8GJa8gG1IREFmUf7y5HdHpVj1Tkqm502mTyUyd/MAt/MkQsXtrs6Mr7cW9skvN1VZaX6x33I8d35i7O6erc6M+tlTPopdJ8SFLDY+pZbnaDwNuciYnYTBVXzq90xUIsQKPRTzR5W8OZd6mSdjk2k7px1L2xI7P4+3z+eubHfMC972TSxfymO9NMbQo3KCupaz2Q/ihfbMyZ9m+WaGeBTDcNAuAa2kx7FDJ8VZ3vy1qhkb8Hba7auoxNVuh4qRpLoq2508oahaCnUOY4eylh7/xMXCQgm7PIv4+fYZGdLEZY8+zXdQ5TkDNKX3/Y2L5OzumqzUvP2KNg/Q9ZnnrJ+6w+xLn+/AxCD+gV/bUvIr37GPhbtLiZ/P9k8HnT/02+ooHVg0uMFzletsUPe6FEb7MbJTOzJaobRgwdoL3+ZjOT5x1vuWbzNm8JrDtJfZWKHAtTkFsDCkJPA/CyzK/Ujg7yr/ssTPnulhnw+6hVJ5GP59rs81oGFnlE1u76ThYzb/l6UESCoLfFkecC/GR5rRSXcd9Q0Z+YfsmlCM4mrNybrBvFkdBH1n22rwX24md62lsTU0wLdjtrDdfj6PVY75cIt1cC/BsX0vVpuELzSGaV7q+wGhodAKNxiFxpe9Xg7K7NnUvp4rC5BubF7ONiqy/YS9x773T9dKNQ6ZUcWrkM/VJZcZSK1vpMpGp1OjjsG5lKRUZSpd2dtIn4Xmtjupz8bRZj18ET2uTt7K/2qlf7Z5OrcyvRtZXlfLVnF1t64Mg9uAtR5irgmNxshmKGSLpk/vKTmWNtfrK3trzayJTbLLnV+UntxPUe5n5/KV86f30DLee6/2LefWiSdo+/97PiGk+7+VO+bw11Um+hMXx1ueBi9zz5fvLuTflvBuHQSezRkwmlI2zzZVv9bM8F6rwVVjFORcpe6G5llmr9zRncqB8o/wz9g0uT+ybXGNO9ta327S2iNDL+k722uASfJ9ssEuOR2Om0TdMb/GL82R18cHTKWH/u5+dHZOZhU7/83wcp5/NfG+t+e05tts3+liVsac2P9pNTTILoq9qddkeUudNb+IG/cT88FbuqdQspQZfOR8X7ff1emrNUXOf5xPt5p/Lx8MiS8NyRk7U+TMyh2Z61CqcndCan6Tnv5ifFGS0Dswxmpil1geOddqZPzr5ZaNjXXqKAJt5Sq5mFLq75ewaMUshN6QPhm7mucHfxw44f0ptHSrO0rSb+r0rF1nQNI3ZsQ8m1hmq2YggB0Z5YKUALe9yqt4ls2JX4CuB6A/Rj12dyxO3TzP3pXHP+3TrfkUdhdTJs1Pzl6RMkm3rPt022yq6XuyE3/XZVtrEzuPV5BEuRDF43cIjMbmzJc/dwiMxFTzi3zvNI7Hou9KnZ3kkpoJHDA2f5ZHFseARG1d4K71wKL6IE/7W45/Q8801MnFxlQ9VPrj2LCk6MHIWVteaL8w6yM8Z1jlvta9uhys+kLzVqYQDxnS2XK0krpULb110iefnII3VHa9x37MVRVvIE47xz2CbfnI8MpR9TV+WPdgwg5jWL/4/sgqDeqG0rNHsE99ewfuAXjfyQGCb4Mjat6DVg+0YSzm6hAHFfu3vZS8xr+8wt9FMn8iyZEXTp3Ei7kBxRhOIoXse1tkBeAo24iaEP5m0OTCH7Gf2jurj/huTceXmh51cNxhOIhO/sl5oeYRYLBpIedvV+UA1NuA8G2jh2wmovs/nmScBL6s5aK+l+tLNrivjm3llffBN5j6YQSVcyUjnCYOB2Qtn+p+Z/g/ij88TDYfGlMoz+uKr4Yv4Q4lmgn1g5jv6CmKQnJ12enLyl2c962A/yiPNwf7AOnSB8xNXmsfn4aUknTMyGM1GRSjUwwvmo7oZ49iNppP1Ph2pIkAc8bif5IXpi31bQwZo6IQfB8z/hAmuzfl5QQxiNAafjsXsPHbQVrPz7qt3YwbqT8MvdHrewukA59dpTxU0bTpMe4XGaEGjPer5gpADeleeXzy734b3jZsW+R9LrDYT8w8XR862QWQ+6kBdPd8l1rY+I7GzQYprGPtyT99QTq9krVLEi3wYa6wVqPaVG7+poqm2Vqt+i62t5iJm6u1kLqLgYXsve5w6yqP1uNh2zPjKjxyXsWML8bIGWJHvYdmY02jnRWq33c2B5xVvp+nio3qwGbdNjLxvyMm3TiMYXBx1DF41bVgjCRKM19PRkUfPQ/D0qedYrswcS4cVddEVbHbVHEuH04U2SCnlJlkaS8WM2f68/doYG3rx3H6Jid3cMLYY7ht0sTJKM9DpzrkSu3qYOPmkw3XiJrUUSU0OOjNW/oy/bOD1mrL3fxb2FW5iRSh+IuM3RLsSOzUkzG0fLTq5ZVjKnTWMI86Q9nxUZ/9sLOXojnCNdufiWt8SkoQLKONStDf3NNsqdk9BbjuaWcwaHI94OZKZsiDL74ZWhJ+ZD/piArfH27Cb3tMmdlMbWqKoG3rf3M+tkRQTO7qz1oQ5neV+cg7HmS6VrT1NboRHkaNrYgDk95Jax5XUrFin0NOxKE3pTi24uFbxzLFHzPpNyfVJJpdcF3gA9tMxPouzr6rda82T4PxkiyBvw7mrcFYrn28VT2Rn827waFLYj/yvNJt6cbw7Uu6aVMkRbKIzddUY17BqeA2TDG2QKInd/k5yYpLpUZvXYd618+uo/NBlLlAq1pS0dP08kZPtOUi+KE9xu/D9Qrjxo1bwcPx8AvbK5/G+l+mhxqdiKIIpwuYONzl/nmszcGaGRH6krzBGkbTtFJPFtGp2sIt+UHQvzjdih7vxeiRHb8pPk0T1V8/ei/euvsrNReT7gI31mxlAdejaOOs7czDTmfpQxGQdWHaIgo/9/fA88L6pryVaR7z13nbBtuM6JR+ek5Ey1CWex2Wrf4jr6iZeBMlrwt/5GLAK4J+b+za7DGKRsyNxS6ycl1sUVY7PTY5KX9WjdBpZMdF3vTdIvXQdqxlXNZMCO/ttYlNPldzTsf5Z9IeryJ2mE3ggLgfvFhmmXO995tT6TuZe9q6ftptFcgAE5f8Ndj1RlHgMq/4ei54Xbbi7JlzcQwvNvsWWdmNMboa8AzE5ZLD8s+yfkH9r1WL1WotF+/uSJ1+DHNZp11EO/lw+685S1haul3LrLNk68U78Vg8mXgj6RmKGdrJ26evinEjj62OPlO8ra7zM7Bk+c88W8rs0+z96r4CVUupHmx1Zrxa1oNH0YEjafwLeh7kCMOUX/E9gV+XKwospdZYhP+xTn5u+WSrHue/Adk15u+wj425eM0xbKOs6tPCS5drc0eOVz1seUDZvMabh8tGkn3+0601mf1/SevfYC8gNnctYfdS+YHBGVvbza7HWXZNNfpbKMN1M8AXgvocaZ7JlcvbfGuMxNqHxkn2Q1Ls446F5/cHG4lCyD+xJ3vDNKlH/I7iFQmuAZPuF3IskoipU6pi8524cXMIcyQzOzdCpa4iPgXwD69kOGkfIVJGeZ0UsJpnumMm47ZCTeDamyznDmO7gYrrYw7L+/Iq0m+t7LR8P/ffn7mn+Ny/+wsu6ONLgW6xzf9dl/1/O6s1f3333Xfzrp7/Dr1//+uk38VdPv1nmb+//6eOv7v4xLv79438t//m7//3v78ad/Sr+a/8LqjnTDktkN76G6QuvKV8od7qEvIK/zQj+zyL7ov8AXP+nxKWcFTHu/7/BLIbfp6c/j26ugp1wATYxZxVrhh74SzszhRuAZjetj71J3eNavLKap4En7KjJCQAVbUVObwJ39v8BMQTd+3jatZNBaxNBFMf/M7ttmjQNqUIQRRlyqYfQtKWKBC/Lwp6lycHrlh2StZvdsJm07EkQBC8eRBC8ePemF6H3Xv0EfgQPfgAvvllf2lJTpFh3Lr95897//WdmB0BbfIDA7+8OHjELtPCCWaKCj8wOHoi7zC7uiTfMS5DiC/MybosfzBVI2WReQUt6zFXUZc5co5yXzKuUM9epE/9kXsN9J2JuQDpvmZtoOSfM66g438mhcKs0e1i6tSzQwYBZUvV7ZgfP8JnZxWPRZ16CKz4xL2NXHDNX4Moa8wo68iZzFbfkU+Ya5TxnXqWcV8x14q/Ma3ji3GBuwHVeMzfRcd4xr6PhfIOPDBMUyBFjiBEMFDykiCiicUSzAa0mxDnxDrawjV3AzyZFHg9HRnlplOsjNSgSnaudrW1aDEjrkCoUUUZaBlPisNQOSt2IRoENiiOID7UKstRMVWhUkOsoKjYovkdpQ8yodUgl2NPDWRISWIuGLPfQpRGes2pOjW5SVNO8dyUr6mLPkTGTXrcbljs0doObqTa9xY7VqcN/6vk38TYNtNtnXc562A4X9Reol+KhmUv/qXyVE77kjHDpP4Tz/8t1N70WEb8ssYc5v0b7RsY07EFPy/dh29gXs09Ha/PsikKfDIRltc1JKH5ADD/XobHX6mfjcZZOlWdMHu/PTJylqj8Kc628JD7QCy73f7ygX+bJAdZ42n2Wd5gTxxnG33ckrU5XwGDcwN0GU1xUTncSrtIh4DBwGDhjcMF70p60IO0e0i4HuPfeWxKXuNe4JW5xTdx7iXvvvcRJbMfdWe3McbL/iJ5H+/tmZ77yzszOLgT+70+0exdCIIAgQtAQRhMiaEYLWtGGERiJdTAKo7EuxmA9rI8NsCE2wliMw8bYBJtiM2yOLbAltsLWGI8J2AYTMQmTMQXbYjtsjx0QRQxxJNCOJDrQiRTSmIodsRN2xi7YFbshgyy6MA05TMcMzEQ3ZmF3zMYczEUP5mEPzMcCLEQv9sQi7IXFWIK9sQ/2xX5Yiv2hU+ASHImjcBfOxkc4GifjBJyPq3ApjscrOAJnMMAgTsI5OBb34Q2GcAGuxtf4Ct/gYlyLR/AQrkMf8jgVBTwGAw/jUTyFx/EEnsTH6MezeBrP4HoU8SVOwwt4Ds+jhE/xOY7DMphYjgrKsHAhbKzAAKqowYWDlRjEJ1iFNViNA3AQDsRtuAiH4GAcisPwGb7A7dQYZhMjbGYLfsLPbGUbR3AkfiG4DkdxNMl1OYbrcX1uwA25EcdyHDfmJtwU3+I7bsbNuQW35FbcmuM5gdtwIidxMqdwW27H7fE9XuQOjDLGOBNsZ5Id7GSKaU7ljtyJO+MdvMtduCt3Y4ZZdnEac5zOGZzJbs7i7pyNG3Aj53AueziPe3A+F3Ahe7knfsCPeA/vcxH34mIu4d7ch/tyPy7l/tTZxzwLNNjPIks0uYzLWcYdrNCizQF8gA+5glXW6NDF5VzJQa7iaq7hATyQB/FgHsJDeRgP5xE8kkfxaB7DY3kcj+cJPJEn8WSewlN5Gl7C2zydZ/BMvIrX8Drewst4k2fxbJ7D3/H3/APP5Xk8nxfwj7yQF/FiXsJLeRkv5xW8klfxal7DP/FaXsfreQNv5J/5F97Em3kLb+Vt/Ctv5x28k3fxbt7Dv/HvvJf38X4+wAf5EB/mI3yUj/FxPsEn+RSf5jM4l//gs3yOz/MFvsiX+DJf4at8ja/zDb7Jt/g23+G7fI/v8wN+yI/4MT/BLbgV9/NT3ISb8QA/w+G4F8fwc1yDB/kF/8kv+S/cjXtwJ//N//Arfs1v+F9+y+/4PX/gj/yJP/MXAUEhREAERUhoIiyaREQ0ixbRKtrECDFSrIMTxSgxWqwrxoj1xPpiA7Gh2EiMFePExmITsanYTGwuthBbiq3E1mK8mCC2ERPFJDFZTMGVuAyn4zyxLa7AKTgTZ4ntxPZiBxEVMREXCdEukqJDdIqUSIupYkexk9hZ7CJ2FbuJjMiKrqDVVxsIu5YZjWbjignFdDhT0fNV2wrrklqmr2qsNDTdRzhjF23LWB7WJVu68mY171b6y8aqlvyw3dxVsB09nzcspzm/1tSm5fV6yILENC++7oRzKqGhEuZkQsNHc244kLHWDOdUGYaklpMRDR8tMxqKKjYUNWM4VnE4Vl14LB5XTLTMbPAuDdvBmX16NVjyLlq3Y5YLhmb6CHer+k1Vf7es35QT1q0qNSVF9yxhLmuZ1ZBj2bAta0h0KHa2Li9WDcMq61bBzGuz9bzrGFrZhxqSVezSZsspKPsIzvb0BcveRZsrvawGr/akYoc2V3pZcuIsfcCuOVV7oGQEclYxYFjFcI+SZyt5PVKe7aOtp+RaRb3qVsq667TZjS1tvsxcbcicVNKSndp8mbkqsUCOrfloWdAwPbXfTk+HWqqOhLZQOjtS88L6Ajn1BeqVC+TKBepVClyloFcqcH2EequmVQy59Wtb76/UuI2tcK9aSFft/EUNNQ422Isb7NXDtrZEKlzjo3nJ8FZcs9YMlW2rWJPqUlFFpTaVUJwumVVrmFUzmu2UzLUrJrUZcnaKPtTdlGJaMaOo9lEupzi9OVOfEVmsvtYMZ3KSuiFXqqdW1msladvDth8lHkspphUzijJbPCFrjiejimpcWmqOZ9X9LnW/S/l3Sf9EZ1SxXTGpmAs5tmXX2gqmUTVqZs1vNWfKAyXdNyO6ZTtG2TD11txAzfSm3b/dlHNUf7etrNaeilnfNLLR2zC4uadiFOWgUaY3/Fe5Qn6uYNZw9NAMvVLRZWHp9rDKF1zidQW8fKGFJc8K1hOGdtcHBnTvMa/0FXQxxxVzXbGXGVYViHlmYH7JDi0wixU9sFB3w6qawLySGejy/vNqpkyTSbd2N1Q0Ug0cajfrayei1WiUbwzJN4fkj3F/7SrF+f7Bvrq4Yl1cqGCUHT2sYgXX1KXVOx1fWj1YaLkvrexLk0Vmu4TlilWmd7D4+gLVkq3V6uJiIR8Bx9Oo8gcGPH157+81Q3Z94lsb53zkb8pstRtXzW1cNXvtqskypvl7MJaLRrVFxarunQuDEovk8zroI7JoKHRkcMiSfumctlg6rPbRtsL1tlb9ZKnWjEJ9TDwamy4ZT2gV0/LPOSPvVSvvJpKKHZJyV3uMKbYrqnGdQ+M6FVOKacmU8k8pf3mCeEwoqngpFS+l4qVUvJSKl1LxMulgzq3aqpGTzKrgWRUsq5yyyinrP6rxWFQmicUSih2KMlksHo0YNcd7dTpqsmLyMPAYU4w3eeetUzKrhYgzaPtGTXWp4EkVNKmCJlOKacVMxAthmMWSU2p1St4rVdq1ln5z5ZDdWvPWzFKNiF6t2oNlo98J+5Y70OyzWu+WnQV70JJWn1dURA0rWDJlWpWUViWlVUnpdJNRGXBW1wwn4j0eVaPfrhqRfrNcNgp99iptZtxbyETYqZp60fU/0uJJ+XHmsUOxU6u/V8qGNjOWSiYSWr/36VQ2gvWLP6KjI91ScWtmXi/Xz7kRDXahr6yGTFPMKco92infEB7TbWWzqC+tmauWWqZlNPktZ2mp3j09G40qxhTj/wNiMW7FAAAAAAAAAf//AAIAAQAAAAwAAAAiAAAAAgADAAECLgABAi8CMAACAjECMwABAAQAAAACAAAAAHjaY2BkYGDgYpBj0GFgdHHzCWHgYGABijD8/88AkmHMyUxPBIoxQHhAORYwzQHEcgxMQJ0iIFEmfSBbBswyALK8gSwmBkmGcACFmwbPAAAAAAEAAAAKABwAHgABREZMVAAIAAQAAAAA//8AAAAAAAB42mNgYGBkAIJ7bFp5IPq2xLMIGA0AOXkF4AAA') format('woff');\n    font-weight: 500;\n    font-style: normal;\n    font-display: swap;\n\t}\n\t.w-full flex flex-row {\n\t\tfont-family: 'FNAF'!important;\n\t}\n\t#leaderboard-title {\n\t\tfont-family: 'FNAF';\n\t}\n\t#players-attribute-div {\n\t\tfont-family: 'FNAF';\n\t}\n    p.mb-1:first-of-type b:first-child {\n        display: none;\n    }\n    div.relative.flex.w-full.flex-col.items-stretch.rounded-t {\n        bottom: 100vh!important;\n        top: 4vh!important;\n    }\n\t.w-[250px] lg:w-[30vw] max-w-[320px]  fixed bottom-1 z-[1050] left-[8px] {\n        bottom: 100vh!important;\n        top: 4vh!important;\n    }\n</style>\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        display: none\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,"key":"defaultInGameUI"}},"folders":{"units":{"name":"Units","type":"folder"},"9SDtGUOM4N":{"type":"unit","parent":"units"},"items":{"name":"Items","type":"folder"},"projectiles":{"name":"Projectiles","type":"folder"},"Fsh02UQWLb":{"type":"unit","parent":"units"},"duWU0BDhPa":{"type":"item","parent":"items"},"QGpO8XXEWo":{"type":"unit","parent":"units"},"RZtcUUAEXp":{"type":"unit","parent":"units"},"M5cLe1bf2C":{"type":"unit","parent":"units"}},"title":"FNAF 1 (Beta)","isDeveloper":false,"isGameDeveloper":false,"releaseId":"654d6b2b0b5e33b737a0e0bb","defaultData":{"_id":"654d6b2b0b5e33b737a0e0bd","gameSlug":"fnaf1","title":"FNAF 1 (Beta)","tier":"1","allowDuplicateIPS":false,"access":"public","owner":"60a9b9a6f4e7d273e06718c4","solanaWalletLoginEnabled":false,"isDeleted":false,"playCount":322,"totalPlayCount":5994,"reasonForTakingDown":"","cover":"https://cache.modd.io/asset/spriteImage/1589327274851_cover_blank.png","coverUpdated":false,"link":null,"discordInviteLink":null,"twitterLink":null,"facebookLink":null,"youtubeLink":null,"androidLink":null,"iosLink":null,"redirect":"off","hidden":false,"patchNotes":null,"clientSidePredictionEnabled":false,"clientPhysicsEngine":"","enableMiniMap":false,"dontResize":false,"releases":[{"isStable":false,"_id":"654d6b2b0b5e33b737a0e0be","version":0.01,"release":"654d6b2b0b5e33b737a0e0bb"}],"defaultMaxPlayers":20,"lifeSpanHours":5,"sandboxMode":"advanced","physicsEngine":"planck","frameRate":15,"extrapolation":true,"moreIoGames":false,"allowGuestMode":false,"revenueSharing":false,"mobileReady":false,"autoSave":true,"canHostPrivateServers":false,"privateServerIdleTimeout":0.1,"enableVideoChat":false,"isGuestPlayerAllowed":true,"enablePersistedData":true,"allowVerifiedUserToChat":false,"isFeatured":false,"featuredOrderNo":-1,"isLobbyEnabled":false,"lobbyUnitKey":"","minLobbySize":2,"maxLobbySize":4,"heightBasedZIndex":false,"preferredRegion":"","isMod":false,"isModdable":false,"allowLateJoining":false,"parentGameId":"5dd7806d1aae9c5bbc066b10","dailyCoinTransferLimit":0,"isPublished":true,"contextMenuEnabled":true,"disableAdsPortals":false,"createdAt":"2023-11-09T23:28:43.583Z","updatedAt":"2025-06-15T22:12:00.040Z","invitedUsers":[],"banUsers":[],"banChat":[],"banIps":[],"highScores":[{"_id":"65da5036a225790e9d58b07e","name":"FootSoldier","score":11},{"_id":"65d9b272889f643f311f9608","name":"MU-5","score":2},{"_id":"65da60e3341c5b5c30a51483","name":"-din-","score":2},{"_id":"65da515120f7886450ec09f0","name":"billyboy","score":2},{"_id":"65da6a0311e238fa8e681ae3","name":"symptomatic","score":2},{"_id":"65da58e7c9d432ec6786121a","name":"AtamerA_mozV","score":2},{"_id":"66b1042573732a71efb5a2b2","name":"isrw","score":2},{"_id":"66b104a47dde7e31f18b29ff","name":"_Thebro_","score":2},{"_id":"67a397102ef6d25c953cc7b0","name":"symptomatic2","score":2},{"_id":"6808f687521deb128e21f179","name":"UNKNOW2","score":2},{"_id":"65d9b5e07a56c053aa07f461","name":"RaffyAr_BDAl","score":1},{"_id":"65da4ff07152e7e4602e51cc","name":"R2SE","score":1},{"_id":"65da5442aa2fc1d17351485b","name":"kirstenm","score":1},{"_id":"65da5eab425ac48aa7fb80ab","name":"SON_Vincent3","score":1},{"_id":"65da6476c71fd42124f62006","name":"dol_stuuf2","score":1},{"_id":"65da65ec40f4ec9d16f699e5","name":"Johanes_hnGQ","score":1},{"_id":"65da6fc7425ac48aa7fc3d12","name":"Demon_Loki","score":1},{"_id":"65da70b364e0e8f6fa9f0992","name":"Sandra__KxJG","score":1},{"_id":"65da7434425ac48aa7fc6ddd","name":"son_crewsimo","score":1},{"_id":"65da74353fce426cbb4bad05","name":"B0B_Mc_B0B","score":1},{"_id":"65da74a264e0e8f6fa9f34d8","name":"GD_ALESON","score":1},{"_id":"65da752aaa2fc1d17352ba7b","name":"MxP_MbQL","score":1},{"_id":"65da763911e238fa8e687925","name":"njkluyyt","score":1},{"_id":"662d64d6219c15292d044751","name":"JohnDaCow","score":1},{"_id":"662d652c8e4b7804964350a2","name":"gameboymatty","score":1}],"lastPlayedAt":"2025-06-15T22:12:03.663Z","__v":4373,"renderingFilter":"smooth","gamePlayInstructions":"use space, C, or click your second inventory slot (2) to open cameras!","engineVersion":"2.1.3","defaultRenderer":"2d","prefRegionOnly":false,"isWorld":false,"tags":[]},"roles":[{"permissions":{"serverChat":true,"playGame":true},"order":4,"_id":"654d6b2eef275b425ccf0c0a","name":"Logged-In Users","color":"#99F000","gameId":"654d6b2b0b5e33b737a0e0bd","type":4,"__v":0,"createdAt":"2023-11-09T23:28:46.414Z","updatedAt":"2023-11-10T03:08:40.660Z"},{"permissions":{"contributor":true},"order":1,"_id":"654d6b2eef275b425ccf0c07","name":"Contributor","color":"#dc9d1c","gameId":"654d6b2b0b5e33b737a0e0bd","type":1,"icon":"","__v":0,"createdAt":"2023-11-09T23:28:46.414Z","updatedAt":"2024-07-18T15:07:37.686Z"},{"permissions":{"moderator":true},"order":2,"_id":"654d6b2eef275b425ccf0c08","name":"Moderator","color":"#9762b1","gameId":"654d6b2b0b5e33b737a0e0bd","type":2,"icon":"","__v":0,"createdAt":"2023-11-09T23:28:46.414Z","updatedAt":"2023-11-10T03:09:14.704Z"},{"permissions":{"communityChat":true},"order":3,"_id":"654d6b2eef275b425ccf0c09","name":"Community Member","color":"#45FCB7","gameId":"654d6b2b0b5e33b737a0e0bd","type":3,"icon":"https://cache.modd.io/asset/spriteImage/1690821591518_icons8-star-96.png","__v":0,"createdAt":"2023-11-09T23:28:46.414Z","updatedAt":"2023-11-10T03:08:40.660Z"},{"permissions":{"playGame":true},"order":5,"_id":"654d6b2eef275b425ccf0c0b","name":"Guest Users","color":"#E6FFB9","gameId":"654d6b2b0b5e33b737a0e0bd","type":5,"__v":0,"createdAt":"2023-11-09T23:28:46.414Z","updatedAt":"2023-11-10T03:08:40.660Z"},{"permissions":{"contributor":true,"moderator":true,"serverChat":true,"communityChat":true,"playGame":true},"order":0,"_id":"654d9eb59de0124f9163d4dd","name":"Owner","color":"#ea2525","gameId":"654d6b2b0b5e33b737a0e0bd","createdAt":"2023-11-10T03:08:37.464Z","updatedAt":"2023-11-10T03:08:50.257Z","__v":0}]}}}