I would like to make an element that stacks like concrete, but I have had no luck.
Here is my code:
local as = elements.allocate("ELEMENT", "A") elements.element(as, elements.element(elements.DEFAULT_PT_CNCT)) elements.property(as, "Name", "A") elements.property(as, "Description", "A!")
Hmm, I used all of those properties, but still no luck... Maybe there is something hard-coded just for CNCT?
Code:
local as = elements.allocate("ELEMENT", "A") --elements.element(as, elements.element(elements.DEFAULT_PT_CNCT)) elements.property(as, "Name" , "A") elements.property(as, "Description" , "A!") elements.property(as, "MenuSection" , 8) elements.property(as, "Gravity" , 0.3) elements.property(as, "Falldown" , 1) elements.property(as, "Flammable" , 0) elements.property(as, "Explosive" , 0) elements.property(as, "Diffusion" , 0) elements.property(as, "Collision" , -0.1) elements.property(as, "Weight" , 55) elements.property(as, "Advection" , 0.4) elements.property(as, "AirLoss" , 0.94) elements.property(as, "AirDrag" , 0.04) elements.property(as, "HotAir" , 0) elements.property(as, "Loss" , 0.95) elements.property(as, "Temperature" , 273.15) elements.property(as, "HeatConduct" , 100) elements.property(as, "MenuVisible" , 1) elements.property(as, "Hardness" , 2) elements.property(as, "Meltable" , 2) elements.property(as, "Color", 0xC0C0C0)