<name> expected near (
stupid nonsense errors
whole code
local unobt = elements.allocate("ELEMENT", "UNBT")
elements.element(unobt, elements.element(elements.DEFAULT_PT_SING))
elements.property(unobt, "Name", "UNBT")
elements.property.(unobt, "Description", "Unobtainium, So cold and hardened.")
elements.property(unobt, "Colour", #231F20)
elements.property(unobt, "MenuSection", elem.SC_SOLIDS)
elements.property(unobt, "HotAir", -0.009)
elements.property(unobt, "Weight", 560)
elements.property(unobt, "Temperature", -237)
elements.property(unobt, "HighPressure", 200)
elements.property(unobt, "HighPressureTransition",
elements.DEFAULT_PT_ICE)
number elements.allocate(solid, unobtanium)
local function graphics1(i, colr, colg, colb)
return 1,ren.ICE_ADD,255,100,155,210,255,255,255,255
end
elements.property(unobt, "Graphics", graphics1)
elements.property.(unobt, "Description", "Unobtainium, So cold and hardened.") you have an extra . before
@Lord_Bowserinator (View Post)
malformed number near "231F20"
Try 0x231F20
lua:13 : = expected near elements
Code: