{"gameJson":{"status":"success","data":{"entityTypeVariables":{"isLMBdown":{"default":false,"dataType":"boolean","streamMode":1},"x1":{"default":0,"dataType":"number","streamMode":1},"x2":{"default":0,"dataType":"number","streamMode":1},"y1":{"default":0,"dataType":"number","streamMode":1},"y2":{"default":0,"dataType":"number","streamMode":1},"left":{"default":50,"dataType":"number","streamMode":1},"top":{"default":50,"dataType":"number","streamMode":1},"leftPrev":{"default":0,"dataType":"number","streamMode":1},"topPrev":{"default":0,"dataType":"number","streamMode":1},"isRdown":{"default":false,"dataType":"boolean","streamMode":1},"isCdown":{"default":false,"dataType":"boolean","streamMode":1},"isiDown":{"default":false,"dataType":"boolean","streamMode":1},"isHdown":{"default":false,"dataType":"boolean","streamMode":1}},"shops":{},"animationTypes":{"dropped":{"name":"dropped","frames":[1],"framesPerSecond":0,"loopCount":0},"default":{"name":"default","frames":[1],"loopCount":0,"framesPerSecond":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":{}}},"map":{"originalTileHeight":64,"originalTileWidth":64,"width":32,"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":true,"rows":20}],"tileheight":64,"tiledversion":"1.1.5","renderorder":"right-down","orientation":"orthogonal","nextobjectid":167,"layers":[{"y":0,"x":0,"width":32,"visible":true,"type":"tilelayer","opacity":1,"name":"floor","height":32,"data":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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":32},"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":{},"music":{},"sound":{},"scripts":{"playerJoins":{"order":1,"parent":null,"key":"playerJoins","actions":[{"type":"createUnitAtPosition","unitType":"homie","position":{"function":"centerOfRegion","region":{"function":"getEntireMapRegion"}},"entity":{"function":"getTriggeringPlayer"},"angle":0},{"unit":{"function":"getLastCreatedUnit"},"fighter":{"function":"getTriggeringPlayer"},"type":"playerCameraTrackUnit","player":{"function":"getTriggeringPlayer"}},{"type":"assignPlayerType","entity":{"function":"getTriggeringPlayer"},"playerType":"humanPlayers"},{"type":"comment","comment":"----------"},{"type":"updateUiTextForTimeForPlayer","target":"top","value":"Press R for Progress Tree 2 (Drag)","player":{"function":"getTriggeringPlayer"},"time":-1}],"conditions":[],"triggers":[{"type":"playerJoinsGame"}],"name":"player joins"},"playerLeaves":{"triggers":[{"type":"playerLeavesGame"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"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":null,"key":"playerLeaves","order":2},"initialize":{"isProtected":true,"triggers":[{"type":"gameStart"}],"actions":[{"type":"assignPlayerType","entity":{"function":"getVariable","variableName":"ai player 1"},"playerType":"npCs"}],"name":"initialize","parent":null,"key":"initialize","order":-1}},"unitTypes":{"homie":{"backpackSize":12,"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":true,"controls":{"permittedInventorySlots":[],"abilities":{"movementWheel":{"mobilePosition":{"y":204,"x":35}},"lookWheel":{"mobilePosition":{"y":204,"x":407}},"button1":{"keyUp":{"scriptName":"YrpveWo4dq","cost":{},"isEntityScript":true},"keyDown":{"scriptName":"Tn3pdjirxn","cost":{},"isEntityScript":true}},"e":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"w2VrnZHyom","cost":{},"isEntityScript":true}},"g":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"yP67J1MMRN","cost":{},"isEntityScript":true}},"r":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"2QuXX5BNfr","cost":{},"isEntityScript":true}},"i":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"WfQorPqwcd","cost":{},"isEntityScript":true}},"c":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"1sTgkfDCoo","cost":{},"isEntityScript":true}},"h":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"r0ortshQGg","cost":{},"isEntityScript":true}},"wheelDown":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"ZyGU19v4zq","cost":{},"isEntityScript":true}},"wheelUp":{"keyUp":{"scriptName":"","cost":{}},"keyDown":{"scriptName":"p6KtrLh46j","cost":{},"isEntityScript":true}}},"mouseBehaviour":{"flipSpriteHorizontallyWRTMouse":false,"rotateToFaceMouseCursor":true},"movementType":"wasd","movementControlScheme":"wasd","movementMethod":"velocity","absoluteRotation":false,"clientPredictedMovement":true,"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":200,"value":30,"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 "}},"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":"Homie","inventorySize":5,"cellSheet":{"url":"https://cache.modd.io/asset/spriteImage/1588303353803_Human%20Circle%20Person.png","rowCount":1,"columnCount":1},"bodies":{"default":{"bullet":false,"name":"default","type":"dynamic","width":50,"height":50,"z-index":{"layer":3,"depth":3},"fixedRotation":false,"bulletDestroyedOnCollisionWithWall/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}},"variables":{"isLMBdown":{"default":false,"dataType":"boolean","streamMode":1},"x1":{"default":0,"dataType":"number","streamMode":1},"y1":{"default":0,"dataType":"number","streamMode":1},"x2":{"default":0,"dataType":"number","streamMode":1},"y2":{"default":0,"dataType":"number","streamMode":1},"top":{"default":50,"dataType":"number","streamMode":1},"left":{"default":50,"dataType":"number","streamMode":1},"topPrev":{"default":50,"dataType":"number","streamMode":1},"leftPrev":{"default":50,"dataType":"number","streamMode":1},"isRdown":{"default":false,"dataType":"boolean","streamMode":1},"isiDown":{"default":false,"dataType":"boolean","streamMode":1},"isCdown":{"default":false,"dataType":"boolean","streamMode":1},"isHdown":{"default":false,"dataType":"boolean","streamMode":1}},"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":0,"expanded":false},"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},"Tn3pdjirxn":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"x1","dataType":"number","entity":"homie","key":"x1"}},"value":{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"y1","dataType":"number","entity":"homie","key":"y1"}},"value":{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isLMBdown","dataType":"boolean","entity":"homie","key":"isLMBdown"}},"value":true,"runOnClient":true,"runMode":1}],"name":"LMB Down","parent":null,"key":"Tn3pdjirxn","order":5},"YrpveWo4dq":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isLMBdown","dataType":"boolean","entity":"homie","key":"isLMBdown"}},"value":false,"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"leftPrev","dataType":"number","entity":"homie","key":"leftPrev"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"topPrev","dataType":"number","entity":"homie","key":"topPrev"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false}],"name":"LMB Up","parent":null,"key":"YrpveWo4dq","order":6},"1R51J2U8V2":{"triggers":[{"type":"renderTick"}],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isLMBdown","dataType":"boolean","entity":"homie","key":"isLMBdown"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"x2","dataType":"number","entity":"homie","key":"x2"}},"value":{"function":"getPositionX","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"y2","dataType":"number","entity":"homie","key":"y2"}},"value":{"function":"getPositionY","position":{"function":"getMouseCursorPosition","player":{"function":"getOwner","entity":{"function":"thisEntity"}}}},"runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"value":{"function":"calculate","items":[{"operator":"*"},100,{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"x2","dataType":"number","entity":"homie","key":"x2"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"x1","dataType":"number","entity":"homie","key":"x1"}},"entity":{"function":"thisEntity"}}]},{"function":"getCameraWidth"}]}]},"comment":"","runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"leftPrev","dataType":"number","entity":"homie","key":"leftPrev"}},"entity":{"function":"thisEntity"}}]},"comment":"","runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"value":{"function":"calculate","items":[{"operator":"*"},100,{"function":"calculate","items":[{"operator":"/"},{"function":"calculate","items":[{"operator":"-"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"y2","dataType":"number","entity":"homie","key":"y2"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"y1","dataType":"number","entity":"homie","key":"y1"}},"entity":{"function":"thisEntity"}}]},{"function":"getCameraHeight"}]}]},"comment":"","runOnClient":true,"runMode":1},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"value":{"function":"calculate","items":[{"operator":"+"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"topPrev","dataType":"number","entity":"homie","key":"topPrev"}},"entity":{"function":"thisEntity"}}]},"comment":"","runOnClient":true,"runMode":1},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"min"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"value":{"function":"getVariable","variableName":"min"},"comment":"","runOnClient":true,"runMode":1}],"else":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"max"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"value":{"function":"getVariable","variableName":"max"},"comment":"","runOnClient":true,"runMode":1}],"else":[],"runOnClient":true,"runMode":1}],"runOnClient":true,"runMode":1,"isExpanded":{"self":true}},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"min"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"value":{"function":"getVariable","variableName":"min"},"comment":"","runOnClient":true,"runMode":1}],"else":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"max"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"value":{"function":"getVariable","variableName":"max"},"comment":"","runOnClient":true,"runMode":1}],"else":[],"runOnClient":true,"runMode":1}],"runOnClient":true,"runMode":1,"isExpanded":{"self":true}},{"type":"comment","comment":"----------"},{"type":"setVariable","value":"","variableName":"innerStyling","runOnClient":true,"runMode":1},{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"innerElements"},"textB":{"function":"concat","textA":"<style> #_p2_0 { left: ","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"% !important; top: ","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"% !important; width: ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"width"},"textB":{"function":"concat","textA":"% !important; height: ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"height"},"textB":"% !important; } </style>"}}}}}}}}},"variableName":"innerStyling","runOnClient":true,"runMode":1,"comment":"","disabled":false},{"type":"setUIElementHtml","htmlStr":{"function":"getVariable","variableName":"innerStyling"},"elementId":"_p2_0","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"else":[],"runOnClient":true,"runMode":1}],"name":"Render Frame (Local)","parent":null,"key":"1R51J2U8V2","order":1},"2QuXX5BNfr":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isRdown","dataType":"boolean","entity":"homie","key":"isRdown"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isRdown","dataType":"boolean","entity":"homie","key":"isRdown"}},"value":true,"runOnClient":true,"runMode":1},{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},true,true],"then":[{"type":"setVariable","value":"","variableName":"innerElements","comment":"","runOnClient":true,"runMode":1,"disabled":false},{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"innerElements"},"textB":{"function":"getVariable","variableName":"innerElements2"}},"variableName":"innerElements","comment":"","runMode":1,"runOnClient":true},{"type":"setVariable","value":"","variableName":"innerStyling","runOnClient":true,"runMode":1},{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"innerElements"},"textB":{"function":"concat","textA":"<style> #_p2_0 { left: ","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"% !important; top: ","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"% !important; width: ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"width"},"textB":{"function":"concat","textA":"% !important; height: ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"height"},"textB":"% !important; } </style>"}}}}}}}}},"variableName":"innerStyling","runOnClient":true,"runMode":1,"comment":""},{"type":"setUIElementHtml","htmlStr":{"function":"getVariable","variableName":"innerStyling"},"elementId":"_p2_0","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"else":[],"runOnClient":true,"runMode":1,"isExpanded":{"self":true}},{"type":"addClassToUIElement","className":"-zindex10000","elementId":"custom-ingame-ui-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true},{"type":"showUiElementForPlayer","elementId":"_p2_f","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isRdown","dataType":"boolean","entity":"homie","key":"isRdown"}},"value":false,"runOnClient":true,"runMode":1},{"type":"hideUiElementForPlayer","elementId":"_p2_f","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1},{"type":"removeClassFromUIElement","className":"-zindex10000","elementId":"custom-ingame-ui-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":true}],"runMode":1,"runOnClient":true}],"name":"R Down","parent":null,"key":"2QuXX5BNfr","order":7},"WfQorPqwcd":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isiDown","dataType":"boolean","entity":"homie","key":"isiDown"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isiDown","dataType":"boolean","entity":"homie","key":"isiDown"}},"value":true,"runMode":1,"runOnClient":true},{"type":"comment","comment":"Main Interface"},{"type":"hideUiElementForPlayer","elementId":"nav-bar-for-all","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"hideUiElementForPlayer","elementId":"game-editor","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"hideUiElementForPlayer","elementId":"game-editor-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"hideUiElementForPlayer","elementId":"default-ingame-ui-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isiDown","dataType":"boolean","entity":"homie","key":"isiDown"}},"value":false,"runMode":1,"runOnClient":true},{"type":"comment","comment":"Main Interface"},{"type":"showUiElementForPlayer","elementId":"nav-bar-for-all","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1},{"type":"showUiElementForPlayer","elementId":"game-editor","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1},{"type":"showUiElementForPlayer","elementId":"game-editor-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1},{"type":"showUiElementForPlayer","elementId":"default-ingame-ui-container","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"runMode":1,"runOnClient":true}],"name":"i Down","parent":null,"key":"WfQorPqwcd","order":9},"1sTgkfDCoo":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isCdown","dataType":"boolean","entity":"homie","key":"isCdown"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isCdown","dataType":"boolean","entity":"homie","key":"isCdown"}},"value":true,"runMode":0},{"type":"updateRealtimeCSSForPlayer","value":".chat-main { display: none; }","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"comment":"The Action - \"update realtime CSS\" - only works on the server"}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isCdown","dataType":"boolean","entity":"homie","key":"isCdown"}},"value":false,"runMode":0},{"type":"updateRealtimeCSSForPlayer","value":"","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"comment":"The Action - \"update realtime CSS\" - only works on the server"}]}],"name":"C Down","parent":null,"key":"1sTgkfDCoo","order":10},"r0ortshQGg":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isHdown","dataType":"boolean","entity":"homie","key":"isHdown"}},"entity":{"function":"thisEntity"}},false],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isHdown","dataType":"boolean","entity":"homie","key":"isHdown"}},"value":true,"runMode":1,"runOnClient":true},{"type":"hideUiElementForPlayer","elementId":"_p2_info","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false}],"else":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"isHdown","dataType":"boolean","entity":"homie","key":"isHdown"}},"value":false,"runMode":1,"runOnClient":true},{"type":"showUiElementForPlayer","elementId":"_p2_info","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"runMode":1,"runOnClient":true}],"name":"H Down","parent":null,"key":"r0ortshQGg","order":11},"ZyGU19v4zq":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isRdown","dataType":"boolean","entity":"homie","key":"isRdown"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getVariable","variableName":"width"},50],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"width"},10]},"variableName":"width","runOnClient":true,"runMode":1},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"min"},{"function":"getVariable","variableName":"scrollExpansion"}]},"variableName":"min","runOnClient":true,"runMode":1,"disabled":false},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"max"},{"function":"getVariable","variableName":"scrollExpansion"}]},"variableName":"max","runOnClient":true,"runMode":1,"disabled":false}],"else":[],"runOnClient":true,"runMode":1},{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getVariable","variableName":"height"},50],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"height"},10]},"variableName":"height","runOnClient":true,"runMode":1}],"else":[],"runOnClient":true,"runMode":1},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"min"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"value":{"function":"getVariable","variableName":"min"},"comment":"","runOnClient":true,"runMode":1,"disabled":false}],"else":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"max"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"value":{"function":"getVariable","variableName":"max"},"comment":"","runOnClient":true,"runMode":1,"disabled":false}],"else":[],"runOnClient":true,"runMode":1,"disabled":false}],"runOnClient":true,"runMode":1,"disabled":false},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"min"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"value":{"function":"getVariable","variableName":"min"},"comment":"","runOnClient":true,"runMode":1,"disabled":false}],"else":[{"type":"condition","conditions":[{"operator":">","operandType":"number"},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},{"function":"getVariable","variableName":"max"}],"then":[{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"value":{"function":"getVariable","variableName":"max"},"comment":"","runOnClient":true,"runMode":1,"disabled":false}],"else":[],"runOnClient":true,"runMode":1,"disabled":false}],"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"leftPrev","dataType":"number","entity":"homie","key":"leftPrev"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setEntityVariable","entity":{"function":"thisEntity"},"variable":{"function":"getEntityVariable","variable":{"text":"topPrev","dataType":"number","entity":"homie","key":"topPrev"}},"value":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1,"disabled":false},{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"innerElements"},"textB":{"function":"concat","textA":"<style> #_p2_0 { left: ","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"% !important; top: ","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"% !important; width: ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"width"},"textB":{"function":"concat","textA":"% !important; height: ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"height"},"textB":"% !important; } </style>"}}}}}}}}},"variableName":"innerStyling","runOnClient":true,"runMode":1,"comment":""},{"type":"setUIElementHtml","htmlStr":{"function":"getVariable","variableName":"innerStyling"},"elementId":"_p2_0","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"else":[],"runOnClient":true,"runMode":1}],"name":"Scroll Down","parent":null,"key":"ZyGU19v4zq","order":2},"p6KtrLh46j":{"triggers":[],"conditions":[{"operator":"==","operandType":"boolean"},true,true],"actions":[{"type":"condition","conditions":[{"operandType":"boolean","operator":"=="},{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"isRdown","dataType":"boolean","entity":"homie","key":"isRdown"}},"entity":{"function":"thisEntity"}},true],"then":[{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"width"},400],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"width"},10]},"variableName":"width","runOnClient":true,"runMode":1},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"-"},{"function":"getVariable","variableName":"min"},{"function":"getVariable","variableName":"scrollExpansion"}]},"variableName":"min","runOnClient":true,"runMode":1,"disabled":false},{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"max"},{"function":"getVariable","variableName":"scrollExpansion"}]},"variableName":"max","runOnClient":true,"runMode":1,"disabled":false}],"else":[],"runOnClient":true,"runMode":1},{"type":"condition","conditions":[{"operator":"<","operandType":"number"},{"function":"getVariable","variableName":"height"},400],"then":[{"type":"setVariable","value":{"function":"calculate","items":[{"operator":"+"},{"function":"getVariable","variableName":"height"},10]},"variableName":"height","runOnClient":true,"runMode":1}],"else":[],"runOnClient":true,"runMode":1},{"type":"setVariable","value":{"function":"concat","textA":{"function":"getVariable","variableName":"innerElements"},"textB":{"function":"concat","textA":"<style> #_p2_0 { left: ","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"left","dataType":"number","entity":"homie","key":"left"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"% !important; top: ","textB":{"function":"concat","textA":{"function":"getValueOfEntityVariable","variable":{"function":"getEntityVariable","variable":{"text":"top","dataType":"number","entity":"homie","key":"top"}},"entity":{"function":"thisEntity"}},"textB":{"function":"concat","textA":"% !important; width: ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"width"},"textB":{"function":"concat","textA":"% !important; height: ","textB":{"function":"concat","textA":{"function":"getVariable","variableName":"height"},"textB":"% !important; } </style>"}}}}}}}}},"variableName":"innerStyling","runOnClient":true,"runMode":1,"comment":"","disabled":false},{"type":"setUIElementHtml","htmlStr":{"function":"getVariable","variableName":"innerStyling"},"elementId":"_p2_0","player":{"function":"getOwner","entity":{"function":"thisEntity"}},"runOnClient":true,"runMode":1}],"else":[],"runOnClient":true,"runMode":1}],"name":"Scroll Up","parent":null,"key":"p6KtrLh46j","order":3}},"isUnTargetable":false,"id":"homie","streamMode":1,"unitTypes":{"homie":{"scripts":{"TOG2d19Hqt":{"name":"F Down"},"Tn3pdjirxn":{"name":"LMB Down"},"YrpveWo4dq":{"name":"LMB Up"},"1R51J2U8V2":{"name":"Render Frame (Local)"},"2QuXX5BNfr":{"name":"R Down"},"WfQorPqwcd":{"name":"i Down"},"r0ortshQGg":{"name":"H Down"},"ZyGU19v4zq":{"name":"Scroll Down"},"p6KtrLh46j":{"name":"Scroll Up"}}}}}},"abilities":{},"variables":{"ai player 1":{"default":"computer1","dataType":"player"},"innerElements":{"default":"","dataType":"string"},"innerStyling":{"default":"null","dataType":"string"},"max":{"default":150,"dataType":"number"},"min":{"default":-50,"dataType":"number"},"innerElements2":{"default":"<div style=\"left: 20cqw; top: 20cqh\"></div>  <div style=\"left: 40cqw; top: 20cqh\"></div> <div style=\"left: 50cqw; top: 20cqh\"></div> <div style=\"left: 60cqw; top: 20cqh\"></div> <div style=\"left: 70cqw; top: 20cqh\"></div>  <div style=\"left: 20cqw; top: 30cqh\"> <svg style=\"pointer-events: none; width: 8cqw;height: .5cqh;position: absolute; left: calc(100% + 1px); top: 50%;transform: translateY(-50%);\">   <line x2=\"0\" y1=\"0\" y2=\"0\" x1=\"100%\" style=\"stroke:#ffff0060;stroke-width:calc(min(2cqh,2cqw));\"></line> </svg> </div>  <div style=\"left: 30cqw; top: 30cqh\"></div> <div style=\"left: 40cqw; top: 30cqh\"></div> <div style=\"left: 50cqw; top: 30cqh\"></div>  <div style=\"left: 20cqw; top: 40cqh\"></div> <div style=\"left: 30cqw; top: 40cqh\"></div> <div style=\"left: 40cqw; top: 40cqh\"></div> <div style=\"left: 50cqw; top: 40cqh\"></div> <div style=\"left: 60cqw; top: 40cqh\"></div> <div style=\"left: 70cqw; top: 40cqh\"></div> <div style=\"left: 80cqw; top: 40cqh\"></div> <div style=\"left: 90cqw; top: 40cqh\"></div>  <div style=\"left: 10cqw; top: 50cqh\"></div> <div style=\"left: 30cqw; top: 50cqh\"></div> <div style=\"left: 50cqw; top: 50cqh\"></div> <div style=\"left: 70cqw; top: 50cqh\"></div> <div style=\"left: 90cqw; top: 50cqh\"></div>  <div style=\"left: 90cqw; top: 70cqh\"></div> <div style=\"left: 90cqw; top: 90cqh\"></div>","dataType":"string"},"width":{"default":200,"dataType":"number"},"height":{"default":200,"dataType":"number"},"scrollExpansion":{"default":5,"dataType":"number"}},"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 "}},"settings":{"menudiv":"Simple game with no rules. Players can move using WASD or Arrow keys.","inventory":{"isEnabled":false},"shop":{"isEnabled":false},"camera":{"trackingDelay":3,"zoom":{"default":2000,"type":"static"}},"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":"points","allowDuplicateIPs":true,"displayScoreboard":true,"prettifyingScoreboard":true},"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":{"humanPlayers":{"name":"Human Players","attributes":{},"color":"#ffffff","relationships":{},"showNameLabel":true},"npCs":{"name":"NPCs","attributes":{},"color":"white","relationships":{},"showNameLabel":true}},"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":"dynamic","width":54,"height":44,"z-index":{"layer":3,"depth":3},"fixedRotation":false,"bulletDestroyedOnCollisionWithWall/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}},"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":{},"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":{"folderName":"In-Game UI","parent":null,"order":2,"expanded":true},"inGameUiFull":{"name":"Full Screen Overlay","htmlData":"<!-- #region R for Progress Tree 2 -->\n<div id=\"_p2_f\" style=\"display: none;\">\n    <div id=\"_p2_info\">\n        Left Mouse Button to Click and Drag<br>\n\t\tMouse Wheel to Zoom<br>\n\t\tPress i to Hide the Interface<br>\n\t\tPress C to Hide the Chat<br>\n\t\tPress H to Hide this Box<br>\n\t\tPress R to Exit\n        <br><br>\n\t\tThis Progress Tree 2 requires the mouse to be able to access\n\t\tthe map to acquire the mouse coordinates for the draggable ability. So, the background must have { pointer-events: none; }.\n        <br><br>\n\t\tTherefore, if you give this Progress Tree 2 a z-index above the default game user interface,\n\t\twhich you can enable in the \"R Down\" unit script (it is disabled now),\n\t\tthen you will notice that you can still click through Progress Tree 2 to access the main interface buttons and also the chat.\n        <br><br>\n\t\tThus, you can combine this Progress Tree 2 with my previous Ui Example: Hide Interface\n\t\tin order to prevent this unwanted click problem.\n        <br><br>\n\t\tThis could be a Skill/Attribute Tree, an Item or Weapon Tree, a Leveling/Experience Tree, a Boss Tree, or any other type of Progress Tree.\n        <br><br>\n\t\tYou could draw lines between the squares, animate them, have different hover effects, etc.\n        <br><br>\n\t\tThis can be quite customizable. Have fun! :)\n    </div>\n    <div id=\"_p2_c\">\n        <div id=\"_p2_0\">\n\t\t\t<!--\n\t\t\t\tAll of the contents of Progress Tree 2 (Drag) are in the global variable \"innerElements2\".\n\t\t\t\tThis allows you to change the contents dynamically via updating that variable.\n\t\t\t-->\n        </div>\n    </div>\n</div>\n\n<style>\n\t.-zindex10000 {\n        z-index: 10000 !important;\n    }\n\n    #_p2_f {\n        pointer-events: none;\n        position: fixed;\n        width: 100%;\n        height: 100%;\n        background-image: radial-gradient(black, black, maroon, #203460);\n        color: white;\n        text-shadow: 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black;\n    }\n\n    #_p2_info {\n        z-index: 1;\n        position: absolute;\n        right: 40px;\n        top: 40px;\n        width: 20%;\n        border: 1px solid gray;\n        background: #20809925;\n        padding: 10px;\n        border-radius: .375rem\n    }\n\n    #_p2_c {\n        position: absolute;\n        left: 20px;\n        top: 20px;\n        width: calc(100% - 40px);\n        height: calc(100% - 40px);\n        overflow: hidden;\n        background-image: url(\"https://cache.modd.io/asset/spriteImage/1709923674281_Cloudy_Sky-Night_03-1024x512.png\");\n        background-repeat: repeat;\n        background-clip: content-box;\n        border-radius: .375rem;\n    }\n\n    #_p2_0 {\n        pointer-events: none;\n        container-type: size;\n        position: absolute;\n        top: 50%;\n        left: 50%;\n        transform: translate(-50%, -50%);\n        width: 200%;\n        height: 200%;\n        border: 1px solid gray;\n        padding: 10px;\n    }\n\n    #_p2_0>div {\n        pointer-events: auto;\n        width: 2cqw;\n        height: 2cqw;\n        background: #0000ff50;\n        border: 1px solid transparent;\n        border-radius: .375rem;\n        position: absolute;\n        transform: translate(-50%, -50%);\n    }\n\n    #_p2_0>div:hover {\n        cursor: pointer;\n        border: 1px solid white;\n    }\n\n    #_p2_0>div:hover>svg>line {\n        animation: _animate1 1s linear 0s infinite alternate;\n    }\n\n    @keyframes _animate1 {\n        0% {\n            stroke: #ffff0060;\n        }\n\n        100% {\n            stroke: #ff000060;\n        }\n    }\n</style>\n<!-- #endregion R for Progress Tree 2 -->","parent":"inGameUi","order":0,"type":"view","preventDelete":true,"key":"inGameUiFull"}},"folders":{"units":{"name":"Units","type":"folder"},"homie":{"type":"unit","parent":"units"},"items":{"name":"Items","type":"folder"},"projectiles":{"name":"Projectiles","type":"folder"}},"title":"🟢Ui Progress Tree 2 (Drag)","isDeveloper":false,"isGameDeveloper":false,"releaseId":"65f1f82de183c13260163d4b","defaultData":{"_id":"65f1f82de183c13260163d4f","gameSlug":"squisher-ui-011","title":"🟢Ui Progress Tree 2 (Drag)","tier":"1","allowDuplicateIPS":false,"access":"public","owner":"63f2344e5839056406b4e092","solanaWalletLoginEnabled":false,"isDeleted":false,"playCount":22,"totalPlayCount":254,"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":true,"clientPhysicsEngine":"box2dwasm","enableMiniMap":false,"dontResize":false,"releases":[{"isStable":false,"_id":"65f1f82de183c13260163d50","version":0.01,"release":"65f1f82de183c13260163d4b"}],"defaultMaxPlayers":32,"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":false,"allowVerifiedUserToChat":false,"isFeatured":false,"featuredOrderNo":-1,"isLobbyEnabled":false,"lobbyUnitKey":"","minLobbySize":2,"maxLobbySize":4,"heightBasedZIndex":false,"preferredRegion":"","prefRegionOnly":false,"isMod":false,"isModdable":false,"allowLateJoining":false,"parentGameId":"5dd7806d1aae9c5bbc066b10","dailyCoinTransferLimit":0,"isPublished":true,"contextMenuEnabled":false,"disableAdsPortals":false,"engineVersion":"2.1.4","defaultRenderer":"2d","createdAt":"2024-03-13T19:02:05.940Z","updatedAt":"2024-08-15T00:24:50.233Z","invitedUsers":[],"banUsers":[],"banChat":[],"banIps":[],"highScores":[],"lastPlayedAt":"2025-05-04T21:16:24.454Z","__v":4,"gamePlayInstructions":"Background Sky is CC0/Public Domain from\n<br>\n<a href=\"https://screamingbrainstudios.itch.io/seamless-sky-backgrounds\">Screaming Brain Studios (itch.io)</a>","version":"0.01","isWorld":false},"roles":[]}}}