I'm creating a weapon and was wondering if there was a way to either A. Randomize the elemental type on each attack (fire,ice,poison,electric) B. Randomize the Status Effect granted on the attack, or C. Randomize the special attack on each right click, or even better, all three. I don't know much about Lua, I've been mainly trying to stick to JSON for the project, so doing it through JSON is optimal, however I understand if its only possible through Lua.
Yes, but all that would require writing the randomization code through Lua only. I have a Lua tutorial here that can get you started, https://community.playstarbound.com/threads/lua-part-1-terms-and-strings-v1-2.84833/