so why doesn't it make errors when you use: tpt.get_property("type", x + math.random(-1,1), y + math.random(-1,1) ?
Yes I did (Heres the entire element)
local BRAS = elements.allocate("METAL", "BRAS")
elements.element(elements.METAL_PT_BRAS, elements.element
(elements.DEFAULT_PT_METL))
elements.property(elements.METAL_PT_BRAS, "Name", "BRAS")
elements.property(elements.METAL_PT_BRAS, "Description", "Brass, brittle
metal")
elements.property(elements.METAL_PT_BRAS, "Colour", 0xFFB46224)
elements.property(elements.METAL_PT_BRAS, "MenuSection", elem.SC_SOLID)
elements.property(elements.METAL_PT_BRAS, "MenuVisible", 1)
elements.property(elements.METAL_PT_BRAS, "Weight", 1000)
elements.property(elements.METAL_PT_BRAS, "Temperature", 293)
elements.property(elements.METAL_PT_BRAS, "HeatConduct", 100)
elements.property(elements.METAL_PT_BRAS, "HighTemperature",1170)
elements.property(elements.METAL_PT_BRAS, "HighPressure", 5)
elements.property(elements.METAL_PT_BRAS, "HighPressureTransition",
elem.METAL_PT_BRSS)
(funny organiseation because of funny editor)