Well its been awhile since i've even commented on a lua forum.
So i'll just give you this element I made while bored.
local ElementOne = elements.allocate("MILL", "ONE")
elements.element(elements.MILL_PT_ONE, elements.element(elements.DEFAULT_PT_DUST))
elements.property(elements.MILL_PT_ONE, "Name", "BEAM")
elements.property(elements.MILL_PT_ONE, "Description", "Pure Plasmatic Energy Fused With Mass And Gravity.")
elements.property(elements.MILL_PT_ONE, "Colour", 0xFFFFFF)
elements.property(elements.MILL_PT_ONE, "Gravity",9)
elements.property(elements.MILL_PT_ONE, "MenuSection", 10)
elements.property(elements.MILL_PT_ONE, "Diffusion",0.3)
elements.property(elements.MILL_PT_ONE, "Weight",300)
elements.property(elements.MILL_PT_ONE, "Temperature",9999)
elements.property(elements.MILL_PT_ONE, "HeatConduct",9999)
elements.property(elements.MILL_PT_ONE, "Flammable", 0.0)
local function graphics(i, colr, colg, colb)
return 1,0x00010000,255,100,155,210,255,255,255,255
end
tpt.graphics_func(graphics,ElementOne)
local function sprk(i,x,y,s,n)
cc=math.random(1,255)
if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.wood.id then
tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'thdr')
end
end
tpt.element_func(sprk,ElementOne)
nice script works well!
another doge avatar....
I've had this avatar for about 5 months. Just I have been inactive.
im a noob at this so dont make fun of me but i dont know how to put it in