i'm trying to add a light source to a weapon I'm making as part of a Starbound modding learning exercise. A lightsaber, specifically, because hey, it's easy. I've tried utilizing a statusEffect as per this thread, but to no avail. I also tried the "light" code from torches, and again to no avail. Is there yet a known way to pull this off? Some quick forum searches aren't yielding anything relevant.
Code: "statusEffects" : [ { "kind" : "glow", "amount" : "1" } 1 is quite a large glow radius though (about 5-8 blocks each direction from item) so you might want to lower it to something like 0.5 or less depending on how you want to glow.
I tried this with my lantern mod to make the lanterns themselves daggers that could be swung to set stuff on fire. Unfortunately, I couldn't get it to work with any of my tinkering.
If you put the status effect in the various stances it seems to work, but you don't seem to have much control over it.