Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /spawnitem durasteelrevolver 1
- '{
- "itemName": "durasteelrevolver",
- "price": 640,
- "maxStack": 1,
- "rarity": "Uncommon",
- "description": "A large handgun that packs a punch.",
- "shortdescription": "Test Homing Gun",
- "tooltipKind": "gun",
- "category": "pistol",
- "twoHanded": false,
- "itemTags": ["weapon",
- "ranged",
- "pistol"],
- "level": 4,
- "inventoryIcon": "durasteelrevolver.png",
- "animation": "/items/active/weapons/ranged/gun.animation",
- "animationParts": {
- "butt": "",
- "middle": "durasteelrevolver.png",
- "barrel": "",
- "muzzleFlash": "/items/active/weapons/ranged/muzzleflash.png"
- },
- "animationCustom": {
- "sounds": {
- "fire": ["/sfx/gun/revolver2.ogg"]
- }
- },
- "baseOffset": [0.5,
- 0.15],
- "muzzleOffset": [1.5,
- 0.3],
- "scripts": ["/items/active/weapons/ranged/gun.lua"],
- "elementalType": "physical",
- "primaryAbility": {
- "scripts": ["/items/active/weapons/ranged/gunfire.lua"],
- "class": "GunFire",
- "fireTime": 0.6,
- "baseDps": 6.25,
- "energyUsage": 18.75,
- "inaccuracy": 0.025,
- "projectileCount": 1,
- "fireType": "auto",
- "projectileType": "mechhomingmissile",
- "projectileParameters": {
- "knockback": 6,
- "processing": "?hueshift=?0",
- "periodicActions": [{
- "action": "projectile",
- "type": "carrot",
- "time": 0.0,
- "angle": 0,
- "bounces": 0,
- "repeat": true,
- "config": {
- "damageTeam": {
- "type": "enemy",
- "processing": "?hueshift=0",
- "damageKind": "physical",
- "power": 30,
- "knockback": 0,
- "speed": 0,
- "angle": 0,
- "timeToLive": 0.01,
- "actionOnReap": []
- }
- }
- }]
- },
- "stances": {
- "idle": {
- "armRotation": 0,
- "weaponRotation": 0,
- "twoHanded": false,
- "allowRotate": true,
- "allowFlip": true
- },
- "fire": {
- "duration": 0,
- "armRotation": 3,
- "weaponRotation": 3,
- "twoHanded": false,
- "allowRotate": false,
- "allowFlip": false
- },
- "cooldown": {
- "duration": 0.15,
- "armRotation": 3,
- "weaponRotation": 3,
- "twoHanded": false,
- "allowRotate": false,
- "allowFlip": false
- }
- }
- },
- "builder": "/items/buildscripts/buildunrandweapon.lua"
- }'
Advertisement
Add Comment
Please, Sign In to add comment