Guest User

Portable Mech Deployer

a guest
Jul 25th, 2018
1,208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.88 KB | None | 0 0
  1. /spawnitem durasteelrevolver 1 '{"twoHanded" : false, "price" : 50000,"maxStack" : 1000, "animationParts" : { "middle" : "/items/active/stationtransponder/stationtransponder.png", "muzzleFlash" : "" }, "description" : "Deploy a mech anywhere!", "shortdescription" : "Portable Mech Deployer", "tooltipKind" : "base", "category" : "tool", "rarity" : "Legendary", "inventoryIcon" : "/items/active/stationtransponder/stationtransponder.png", "largeImage" : "/items/active/stationtransponder/stationtransponder.png", "muzzleOffset" : [-1.1875, 0], "primaryAbility" : { "inaccuracy" : 0, "projectileType" : "standardbullet", "projectileParameters" : { "processing" : "?crop=0;0;0;0", "timeToLive" : 0, "power" : 0, "piercing" : true, "damageType" : "NoDamage", "movementSettings" : { "collisionEnabled" : false }, "knockback" : 0, "speed" : 0, "actionOnReap":[{"action":"spawnmonster","type":"punchy","offset":[0,0],"arguments":{"animationCustom":{ "sounds" : { "deathPuff" : [ ] } },"scale":0, "behavior": { "name": "deployMech", "description": "", "scripts": [ "/scripts/actions/entity.lua", "/scripts/actions/world.lua", "/scripts/behavior.lua", "/scripts/actions/status.lua", "/scripts/actions/query.lua" ], "parameters": { "queryRange": 3, "trackingRange": 3, "entityTypes": [ "player" ], "keepInSight": true, "arguments": [ ], "message": "deployMech" }, "root": { "title": "sequence", "type": "composite", "name": "sequence", "parameters": {}, "children": [ { "title": "selector", "type": "composite", "name": "selector", "parameters": {}, "children": [ { "title": "sequence", "type": "composite", "name": "sequence", "parameters": {}, "children": [ { "title": "selector", "type": "composite", "name": "selector", "parameters": {}, "children": [ { "title": "sequence", "type": "composite", "name": "sequence", "parameters": {}, "children": [ { "title": "wasDamaged", "type": "action", "name": "wasDamaged", "parameters": {} }, { "title": "entityInTypes", "type": "action", "name": "entityInTypes", "parameters": { "entity": { "key": "damageSource" }, "types": { "key": "<entityTypes>" } } }, { "title": "setEntity", "type": "action", "name": "setEntity", "parameters": { "entity": { "key": "damageSource" } }, "output": { "entity": "newTarget" } } ] }, { "title": "sequence", "type": "composite", "name": "sequence", "parameters": {}, "children": [ { "title": "inverter", "type": "decorator", "name": "inverter", "parameters": {}, "child": { "title": "listGet", "type": "action", "name": "listGet", "parameters": { "list": { "key": "targets" } } } }, { "title": "cooldown", "type": "decorator", "name": "cooldown", "parameters": { "cooldown": { "value": 1 } }, "child": { "title": "queryEntity", "type": "action", "name": "queryEntity", "parameters": { "entityTypes": { "key": "<entityTypes>" }, "range": { "key": "<queryRange>" } }, "output": { "entity": "newTarget" } } }, { "title": "entityInSight", "type": "action", "name": "entityInSight", "parameters": { "entity": { "key": "newTarget" } } } ] } ] }, { "title": "selector", "type": "composite", "name": "selector", "parameters": {}, "children": [ { "title": "listContains", "type": "action", "name": "listContains", "parameters": { "entity": { "key": "newTarget" }, "list": { "key": "targets" } } }, { "title": "listPush", "type": "action", "name": "listPush", "parameters": { "entity": { "key": "newTarget" }, "list": { "key": "targets" } }, "output": { "list": "targets" } } ] } ] }, { "title": "repeater", "type": "decorator", "name": "repeater", "parameters": { "untilSuccess": { "value": true } }, "child": { "title": "selector", "type": "composite", "name": "selector", "parameters": {}, "children": [ { "title": "sequence", "type": "composite", "name": "sequence", "parameters": {}, "children": [ { "title": "listGet", "type": "action", "name": "listGet", "parameters": { "list": { "key": "targets" } }, "output": { "entity": "target" } }, { "title": "entityExists", "type": "action", "name": "entityExists", "parameters": { "entity": { "key": "target" } } }, { "title": "entityInRange", "type": "action", "name": "entityInRange", "parameters": { "entity": { "key": "target" }, "range": { "key": "<trackingRange>" } } }, { "title": "inverter", "type": "decorator", "name": "inverter", "parameters": {}, "child": { "title": "optional", "type": "decorator", "name": "optional", "parameters": { "shouldRun": { "key": "<keepInSight>" } }, "child": { "title": "inverter", "type": "decorator", "name": "inverter", "parameters": {}, "child": { "title": "entityInSight", "type": "action", "name": "entityInSight", "parameters": { "entity": { "key": "target" } } } } } } ] }, { "title": "inverter", "type": "decorator", "name": "inverter", "parameters": {}, "child": { "title": "listPop", "type": "action", "name": "listPop", "parameters": { "list": { "key": "targets" } }, "output": { "list": "targets" } } } ] } } ] }, { "title": "sequence", "type": "composite", "name": "sequence", "parameters": {}, "children": [ { "title": "", "type": "action", "name": "listGet", "parameters": { "list": { "key": "targets" } }, "output": { "entity": "target" } }, { "title": "sendEntityMessage", "type": "action", "name": "sendEntityMessage", "parameters": { "arguments": { "value": "<arguments>" }, "entity": { "key": "target" }, "message": { "value": "<message>" } } }, { "title": "setResource", "type": "action", "name": "setResource", "parameters": { "amount": { "value": 0 }, "resource": { "value": "health" } } } ] } ] } } , "behaviorUpdateDelta": 1, "initialScriptDelta": 1,"movementSettings": { "gravityEnabled" : false, "collisionEnabled" : false, "collisionPoly" : [[0, 0]] },"statusSettings" : { "stats" : { "maxHealth" : { "baseValue" : 1 }, "healthRegen" : { "baseValue" : -1 } } }}}] }, "stances" : { "idle" : { "armRotation" : 0, "weaponRotation" : 0, "twoHanded" : false, "allowRotate" : false, "allowFlip" : true }, "fire" : { "duration" : 0, "armRotation" : 0, "weaponRotation" : 0, "twoHanded" : false, "allowRotate" : false, "allowFlip" : false }, "cooldown" : { "duration" : 0, "armRotation" : 0, "weaponRotation" : 0, "twoHanded" : false, "allowRotate" : false, "allowFlip" : false } } }, "animationCustom":{ "animatedParts" : { "parts" : { "butt" : { "properties" : { "centered" : true, "image" : "/assetmissing.png", "offset" : [0, 0], "transformationGroups" : ["weapon"] } }, "middle" : { "properties" : { "centered" : true, "image" : "<partImage><paletteSwaps>", "offset" : [0, 0], "transformationGroups" : ["weapon"] } }, "barrel" : { "properties" : { "centered" : true, "image" : "/assetmissing.png", "offset" : [0, 0], "transformationGroups" : ["weapon"] } }, "muzzleFlash" : { "properties" : { "zLevel" : -1, "centered" : true, "offset" : [0.75, 0], "fullbright" : true, "transformationGroups" : ["muzzle"] }, "partStates" : { "firing" : { "fire" : { "properties" : { "image" : "/assetmissing.png" } } } } } } }, "lights" : { "muzzleFlash" : { "active" : false, "position" : [0, 0], "color" : [0, 0, 0] } }, "sounds" : { "fire" : ["/sfx/tech/mech_activate4.ogg"] } }}'
Advertisement
Add Comment
Please, Sign In to add comment