Pretty much the title; is there any way to add more than one blocking stat? Doesn't work because it counts both as a duplicate line Code: { "name" : "testglow", "effectConfig" : {}, "defaultDuration" : 5, "blockingStat" : "testlight", "blockingStat" : "testlight2", "scripts" : [ "testglow.lua" ], "animationConfig" : "testglow.animation", "label" : "Test Glow", "icon" : "/interface/statuses/icon.png" } Doesn't work because it isn't properly done Code: { "name" : "testglow", "effectConfig" : {}, "defaultDuration" : 5, "blockingStat" : { "testlight", "testlight2" }, "scripts" : [ "testglow.lua" ], "animationConfig" : "testglow.animation", "label" : "Test Glow", "icon" : "/interface/statuses/icon.png" }
I'm guessing it's hardcoded like the mainItemGrid function in inventories, but you could try: "blockingStat" : [ { "testlight", "testlight2" } ] Tho I doubt that'll work.
That is not even syntactically correct. Ditch the { }. Wulf I dont think this system is made to do that though.
Code: { "name" : "testglow", "effectConfig" : {}, "defaultDuration" : 5, "blockingStat" : [ "testlight", "testlight2" ], "scripts" : [ "testglow.lua" ], "animationConfig" : "testglow.animation", "label" : "Test Glow", "icon" : "/interface/statuses/icon.png" } don't know if it would accept multiple stats but this is how it would be written if it did.