local a1 = elements.allocate("CYBR1" , "ATTC1")
elements.element(a1, elements.element(elements.DEFAULT_PT_DMND))
elements.property(a1, "Name" , "???")
elements.property(a1, "Description" , "???")
elements.property(a1, "MenuSection" , 11)
elements.property(a1, "Gravity" , 0.5)
elements.property(a1, "Flammable" , 0)
elements.property(a1, "Diffusion" , 0)
elements.property(a1, "Weight" , 100)
elements.property(a1, "Advection" , 0.1)
elements.property(a1, "Color" , 0xFF0000)
elements.property(a1, "Temperature", 14235346465462432)
elements.property(a1, "AirLoss" , 0.95)
elements.property(a1, "Loss" , 0.15)
elements.property(a1, "MenuVisible" , 1)
local function glow(i, colr, colg, colb)
return 1,0x0000008,255,255,0,0,255,255,0,0
end
tpt.graphics_func(glow,a1)
function swag1(i,x,y,s,n)
type = tpt.get_property("ctype", x, y)
if type == 0 then
tpt.set_property("type", a1, x + math.random(-1,1), y + math.random(-1,1))
end
end
tpt.element_func(swag1,a1)
Nice script although I like it a bit better if you add: elements.property(a1, "Falldown" , 2)
That is what he is going for.