I recently made a script for a Radioactive liquid,but for one im not really good at lua element creating, and two i ran out of ideas for it. if anyone wants to critique the script, please do. GO WILD!
local radi = elements.allocate("ELEMENT", "Radi")
elements.element(radi, elements.element(elements.DEFAULT_PT_DMND))
elements.property(radi, "Name", "Radi")
elements.property(radi, "Description", "Radioactive Fluid. Enough Pressure Makes It Explode!")
elements.property(radi, "Colour", 0xFFA9FF00)
elements.property(radi, "MenUVisible", 1)
elements.property(radi, "MenuSection", elem.SC_Radioactive)
elements.property(radi, "HotAir", 0.0009)
elements.property(radi, "Weight", 33)
elements.property(radi, "Properties", TYPE_LIQUID+PROP_RADIOACTIVE+PROP_BLACK)
elements.property(radi, "Temperature", 600)
elements.property(radi, "HighPressure", 100)
elements.property(radi, "HighPressureTransition", elements.DEFAULT_PT_NEUT)
local function graphics1(i, colr, colg, colb)
return 1,ren.PMODE_GLOW+PMODE_FLAT,25,100,5,210,255,255,255,255
end
elements.property(radi, "Graphics", graphics1)