Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /spawnitem chargegun 1 '{ "itemName": "chargegun", "price": 1500, "maxStack": 1, "rarity": "Legendary", "description": "People say that pigs cannot fly. They were wrong.", "shortdescription": "^pink;Pig Launcher^reset;", "tooltipKind": "gun", "category": "^red;Custom Weapon^reset;", "twoHanded": true, "itemTags": ["weapon", "ranged"], "level": 6, "inventoryIcon": "/items/active/weapons/ranged/unrand/snowgun/snowgun.png?replace;FFFFFF=FF8EFD;F3F9FB=F771F7;CFE0EE=EA56E3;B1D0E6=FF00F2;A6955A=828282;7A673B=2D2D2D;4B3D25=000000", "animation": "chargegun.animation", "animationParts": { "gun": "chargegun.png", "gunfullbright": "chargegunfullbright.png" }, "animationCustom": { "animatedParts": { "stateTypes": { "firing": { "default": "off", "states": { "off": { }, "charge": { "frames": 4, "cycle": 1.0, "mode": "transition", "transition": "fullcharge" }, "fullcharge": { "frames": 3, "cycle": 0.2, "mode": "loop" }, "fire": { "frames": 1, "cycle": 0.07, "mode": "transition", "transition": "off" } } } }, "parts": { "gun": { "properties": { "centered": true, "offset": [1.0, -1.0], "zLevel": -1, "transformationGroups": ["weapon"] }, "partStates": { "firing": { "off": { "properties": { "image": "/items/active/weapons/ranged/unrand/snowgun/snowgun.png?replace;FFFFFF=FF8EFD;F3F9FB=F771F7;CFE0EE=EA56E3;B1D0E6=FF00F2;A6955A=828282;7A673B=2D2D2D;4B3D25=000000" } }, "charge": { "properties": { "image": "/items/active/weapons/ranged/unrand/snowgun/snowgun.png?replace;FFFFFF=FF8EFD;F3F9FB=F771F7;CFE0EE=EA56E3;B1D0E6=FF00F2;A6955A=828282;7A673B=2D2D2D;4B3D25=000000" } }, "fullcharge": { "properties": { "image": "/items/active/weapons/ranged/unrand/snowgun/snowgun.png?replace;FFFFFF=FF8EFD;F3F9FB=F771F7;CFE0EE=EA56E3;B1D0E6=FF00F2;A6955A=828282;7A673B=2D2D2D;4B3D25=000000" } }, "fire": { "properties": { "image": "/items/active/weapons/ranged/unrand/snowgun/snowgun.png?replace;FFFFFF=FF8EFD;F3F9FB=F771F7;CFE0EE=EA56E3;B1D0E6=FF00F2;A6955A=828282;7A673B=2D2D2D;4B3D25=000000" } } } } }, "gunfullbright": { "properties": { "centered": true, "offset": [3.25, -1.0], "transformationGroups": ["weapon"], "zLevel": -2, "fullbright": true }, "partStates": { "firing": { "off": { "properties": { "image": "/assetmissing.png" } }, "charge": { "properties": { "image": "/projectiles/guns/grenades/pig/icon.png" } }, "fullcharge": { "properties": { "image": "/projectiles/guns/grenades/pig/icon.png?scalenearest=1.2" } }, "fire": { "properties": { "image": "/projectiles/guns/grenades/pig/icon.png?scalenearest=2" } } } } } } }, "transformationGroups": { "weapon": { }, "muzzle": { } }, "sounds": { "fire": ["/sfx/gun/grapplegun.ogg"] } }, "muzzleOffset": [2.5, 0.5], "scripts": ["/items/active/weapons/ranged/gun.lua"], "elementalType": "physical", "primaryAbilityType": "chargefire", "primaryAbility": { "chargeLevels": [{ "time": 0, "energyCost": 10, "cooldown": 0.25, "projectileType": "mechhomingmissile", "projectileCount": 1, "projectileParameters": { "processing": "?hueshift=?0", "periodicActions": [{ "action": "projectile", "type": "pig", "time": 0.0, "bounces": 0, "repeat": true, "config": { "damageTeam": { "type": "enemy" }, "processing": "?hueshift=0", "damageKind": "physical", "power": 50, "knockback": 15, "speed": 0, "timeToLive": 0.01, "actionOnReap": [] } }] }, "inaccuracy": 0, "baseDamage": 50, "fireSound": "fire" }, { "time": 1, "energyCost": 10, "cooldown": 0.25, "projectileType": "mechhomingmissile", "projectileCount": 1, "projectileParameters": { "processing": "?hueshift=?0", "periodicActions": [{ "action": "projectile", "type": "pig", "time": 0.0, "bounces": 0, "repeat": true, "config": { "damageTeam": { "type": "enemy" }, "processing": "?hueshift=0?scalenearest=2", "damageKind": "physical", "power": 100, "knockback": 30, "speed": 0, "timeToLive": 0.01, "actionOnReap": [] } }] }, "inaccuracy": 0, "baseDamage": 100, "fireSound": "fire" }], "stances": { "idle": { "armRotation": 0, "weaponRotation": 0, "twoHanded": true, "allowRotate": true, "allowFlip": true }, "charge": { "armRotation": 0, "weaponRotation": 0, "twoHanded": true, "allowRotate": true, "allowFlip": true }, "fire": { "duration": 0, "armRotation": 5, "weaponRotation": 5, "twoHanded": true, "allowRotate": false, "allowFlip": false }, "cooldown": { "duration": 0.25, "armRotation": 5, "weaponRotation": 5, "twoHanded": true, "allowRotate": false, "allowFlip": false } } }, "builder": "/items/buildscripts/buildunrandweapon.lua" }'
Advertisement
Add Comment
Please, Sign In to add comment