I tried remaking a non-generated shield but it comes up as a PGI, anyone have any idea how to fix the code? http://pastebin.com/c63g74BR
Randomly generated shields are vanilla, not preset ones. And no, it didn't work (or I wouldn't be asking)
Did you just change .generatedshield to .shield or something? What did you do and what is error being thrown?
I can double check I made it a .shield when I can, fairly positive I did but I could be wrong. Edit: It IS a .shield after all There is no error I saw, it's simply not appearing at all
1) Name collision 2) Level 3) Image 4) "baseline" : { params and stuff } does nothing in a static item. Everything inside those brackets? Not really there. Remove everything surrounding the parameters so they're on the same level as the item name. tl;dr: take .gun, compare to .generatedgun, draw conclusions.
Unfortunately I did do that I turned one into a pastebin, maybe you'll have more luck then I will at spotting the issue - I'm not entirely observant http://pastebin.com/yQ7ydXJs
This part? Code: 25 "baseline" : { 26 "recoilTime" : 0.2, 27 "knockbackPower" : 10, 28 "knockbackDamageKind" : "", 29 "statusEffects" : [ 30 { 31 "stat" : "encumberance", 32 "amount" : 1.0 33 } 34 ], 35 "shieldPoly" : [ [-8, 0], [-8, 12], [8, 20], [8, -24], [-8, -12] ], 36 "damagePoly" : [ [-8, 0], [8, 18], [8, -18] ] 37 },