Its Fixed Thanks to Yoraiz0r, Grox The Great and Arkhlis for all the help.
Code is now working.
Code is now working.
{
"displayName": "Basics1",
"author": "SilentNJ",
"info": "Test",
"version": "0.0.0",
"internalName": "NJMod",
"includePDB" : true
}
"displayName": "Basics1",
"author": "SilentNJ",
"info": "Test",
"version": "0.0.0",
"internalName": "NJMod",
"includePDB" : true
}
{
"displayName": "Mega Gun",
"size": [52, 28],
"maxStack": 1,
"value": [0, 10, 0, 0],
"rare": 9,
"tooltip": "A very awesome gun.",
"useStyle": 5,
"useAnimation": 15,
"useTime": 15,
"damage": 77,
"knockback": 30,
"useSound": 11,
"autoReuse": true,
"ranged": true,
"noMelee": true,
"shoot": "NJMod:MegaAmmoProj",
"shootSpeed": 7,
"useAmmo": "MegaAmmo",
"recipes":
[{
"items": { "Dirt Block": 1 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
}
"displayName": "Mega Gun",
"size": [52, 28],
"maxStack": 1,
"value": [0, 10, 0, 0],
"rare": 9,
"tooltip": "A very awesome gun.",
"useStyle": 5,
"useAnimation": 15,
"useTime": 15,
"damage": 77,
"knockback": 30,
"useSound": 11,
"autoReuse": true,
"ranged": true,
"noMelee": true,
"shoot": "NJMod:MegaAmmoProj",
"shootSpeed": 7,
"useAmmo": "MegaAmmo",
"recipes":
[{
"items": { "Dirt Block": 1 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
}
{
"displayName": "Mega Ammo",
"size": [ 12, 20 ],
"value": [ 1, 3, 2, 1 ],
"rare": 5,
"tooltip": "Mega Ammo!",
"maxStack": 500,
"damage": 75,
"shoot": "NJMod:MegaAmmoProj",
"ammo": "MegaAmmo",
"ranged": true,
"consumable": true,
"shootSpeed": 10,
"recipes":
[{
"items": { "Dirt Block": 1 },
"tiles": [ "Work Bench" ],
"creates": 250
}]
}
"displayName": "Mega Ammo",
"size": [ 12, 20 ],
"value": [ 1, 3, 2, 1 ],
"rare": 5,
"tooltip": "Mega Ammo!",
"maxStack": 500,
"damage": 75,
"shoot": "NJMod:MegaAmmoProj",
"ammo": "MegaAmmo",
"ranged": true,
"consumable": true,
"shootSpeed": 10,
"recipes":
[{
"items": { "Dirt Block": 1 },
"tiles": [ "Work Bench" ],
"creates": 250
}]
}
{
"displayName": "Mega Ammo Projectile",
"size": [ 32, 32 ],
"aiStyle": 11,
"timeLeft": 3600,
"friendly": true,
"hostile": false,
"tileCollide": false,
"damage": 50,
"ranged": true
}
"displayName": "Mega Ammo Projectile",
"size": [ 32, 32 ],
"aiStyle": 11,
"timeLeft": 3600,
"friendly": true,
"hostile": false,
"tileCollide": false,
"damage": 50,
"ranged": true
}
Last edited: