Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[The Powder Toy: Ultra]]--
- --[[Created By RadioActiveLua]]--
- --[[Version 2]]--
- --HUD--
- local Version = "2"
- local Main = Window:new(-1,-1,300,300)
- local Title = Label:new(10,5,120,16, "The Powder Toy: Ultra")
- local Title2 = Label:new(10,15,121,16, "Created By RadioActiveLua")
- local Title3 = Label:new(10,25,140,16, "Email: GimTheFroob@gmail.com")
- local Title4 = Label:new(233,5,88,16, ("TPTU V."..Version))
- local CloseButton = Button:new(10, 274, 60, 16, "Close")
- CloseButton:action(function() interface.closeWindow(Main) end)
- Main:onTryExit(function() interface.closeWindow(Main) end)
- Main:addComponent(CloseButton);
- local ButtonMenu = Button:new(0, 0, 55, 15, "Commands", "Open Commands.")
- ButtonMenu:action(function() interface.showWindow(Main) end)
- -- Commands Start Here --
- local ButtonFire = Button:new(10,45,60,16, "Set Fire")
- local ButtonMelt = Button:new(10, 65, 60, 16, "Melt")
- local CheckBox = Checkbox:new(10, 85, 60, 16, "Non-Burnable Acid.")
- local CheckBox1 = Checkbox:new(10, 105, 60, 16, "Show LOVE (Special)")
- local CheckBox2 = Checkbox:new(10, 125, 60, 16, "Show MORT (Gas/Smoke)")
- local CheckBox3 = Checkbox:new(10, 145, 60, 16, "Deadly Super Ball.")
- local CheckBox4 = Checkbox:new(10, 165, 60, 16, "Super Deadly Fire")
- local MeltType = Textbox:new(71, 65,60,16)
- local FireNumber = Textbox:new(71,45,60,16)
- CheckBox:action(function()
- if CheckBox:checked() then
- elements.property(elements.DEFAULT_PT_ACID, "Flammable", 0)
- else
- elements.property(elements.DEFAULT_PT_ACID, "Flammable", 40)
- end
- end)
- CheckBox1:action(function()
- if CheckBox1:checked() then
- elements.property(elements.DEFAULT_PT_LOVE, "MenuSection", 11)
- else
- elements.property(elements.DEFAULT_PT_LOVE, "MenuSection", 12)
- end
- end)
- CheckBox2:action(function()
- if CheckBox2:checked() then
- elements.property(elements.DEFAULT_PT_MORT, "MenuSection", 6)
- else
- elements.property(elements.DEFAULT_PT_MORT, "MenuSection", 12)
- end
- end)
- CheckBox3:action(function()
- if CheckBox3:checked() then
- elements.property(elements.RADIO_PT_FOUR, "Temperature", math.huge)
- else
- elements.property(elements.RADIO_PT_FOUR, "Temperature", 0)
- end
- end)
- CheckBox4:action(function()
- if CheckBox4:checked() then
- tpt.el.fire.flammable=9999
- tpt.el.fire.explosive=9999
- else
- tpt.el.fire.flammable=0
- tpt.el.fire.explosive=0
- end
- end)
- ButtonMelt:action(function()
- local txt2=MeltType:text()
- if txt2=="all" then
- tpt.set_property("temp",10000)
- else
- tpt.set_property("temp",10000,txt2)
- end
- end)
- ButtonFire:action(function()
- local txt1=FireNumber:text()
- tpt.setfire(txt1)
- end)
- -- Commands End Here --
- Main:addComponent(CheckBox)
- Main:addComponent(CheckBox1)
- Main:addComponent(CheckBox2)
- Main:addComponent(CheckBox3)
- Main:addComponent(CheckBox4)
- Main:addComponent(ButtonMelt)
- Main:addComponent(MeltType)
- Main:addComponent(FireNumber)
- Main:addComponent(ButtonFire)
- Main:addComponent(Title)
- Main:addComponent(Title2)
- Main:addComponent(Title3)
- Main:addComponent(Title4)
- -- Interface --
- interface.addComponent(ButtonMenu)
- -- End Interface --
- --END HUD--
- --Elements--
- local ElementOne = elements.allocate("RADIO", "ONE")
- elements.element(elements.RADIO_PT_ONE, elements.element(elements.DEFAULT_PT_DUST))
- elements.property(elements.RADIO_PT_ONE, "Name", "ANUB")
- elements.property(elements.RADIO_PT_ONE, "Description", "Anubial, a self replicating smoke producer.")
- elements.property(elements.RADIO_PT_ONE, "Colour", 0x333333)
- elements.property(elements.RADIO_PT_ONE, "Gravity",0.4)
- elements.property(elements.RADIO_PT_ONE, "MenuSection", 8)
- elements.property(elements.RADIO_PT_ONE, "Diffusion",0.4)
- elements.property(elements.RADIO_PT_ONE, "Weight",-500)
- elements.property(elements.RADIO_PT_ONE, "Flammable", 0.3)
- local function smke(i,x,y,s,n)
- if math.random(1,10) == 10 then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'smke')
- end
- end
- tpt.element_func(smke,ElementOne)
- local ElementTwo = elements.allocate("RADIO", "TWO")
- elements.element(elements.RADIO_PT_TWO, elements.element(elements.DEFAULT_PT_HYGN))
- elements.property(elements.RADIO_PT_TWO, "Name", "HELI")
- elements.property(elements.RADIO_PT_TWO, "Description", "Helium, When Mixed With HYGN Creates SUN")
- elements.property(elements.RADIO_PT_TWO, "Gravity", 0)
- elements.property(elements.RADIO_PT_TWO, "Loss", 0.01)
- elements.property(elements.RADIO_PT_TWO, "HotAir", 0.001)
- elements.property(elements.RADIO_PT_TWO, "Temperature", 293.15)
- elements.property(elements.RADIO_PT_TWO, "Colour", 0x9999CC)
- elements.property(elements.RADIO_PT_TWO, "Collision", 0.01)
- elements.property(elements.RADIO_PT_TWO, "Diffusion", 0.000001)
- local function start(i,x,y,s,n)
- if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.hygn.id then
- elements.property(elements.RADIO_PT_TWO, "Flammable", 400)
- tpt.create(x + math.random(1,2), y + math.random(1,2), 'sun')
- end
- end
- tpt.element_func(start,ElementTwo)
- local ElementTWO2 = elements.allocate("RADIO", "TWO2")
- elements.element(elements.RADIO_PT_TWO2, elements.element(elements.DEFAULT_PT_NEUT))
- elements.property(elements.RADIO_PT_TWO2, "Name", "UVL")
- elements.property(elements.RADIO_PT_TWO2, "Description", "Ultra Violet Lights. (Sun Radiation)")
- elements.property(elements.RADIO_PT_TWO2, "MenuSection", 10)
- elements.property(elements.RADIO_PT_TWO2, "Colour", 0x993399)
- elements.property(elements.RADIO_PT_TWO2, "Weight", 99999)
- elements.property(elements.RADIO_PT_TWO2, "Temperature", math.huge)
- elements.property(elements.RADIO_PT_TWO2, "Collision", 0.0000000000099)
- elements.property(elements.RADIO_PT_TWO2, "Diffusion", 0.7)
- local ElementTHREE = elements.allocate("RADIO", "THREE")
- elements.element(elements.RADIO_PT_THREE, elements.element(elements.DEFAULT_PT_DMND))
- elements.property(elements.RADIO_PT_THREE, "Name", "SUN")
- elements.property(elements.RADIO_PT_THREE, "Description", "Big Ball Of Burning Gas. A Member Of The Star Family")
- elements.property(elements.RADIO_PT_THREE, "MenuSection", 11)
- elements.property(elements.RADIO_PT_THREE, "HotAir", -0.40)
- elements.property(elements.RADIO_PT_THREE, "Colour", 0xFFFF00)
- elements.property(elements.RADIO_PT_THREE, "Temperature", math.huge)
- tpt.set_property("life",65535,"sun")
- local function fire(i, x, y, s, n)
- if math.random(1,10) == 10 then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'fire')
- end
- if math.random(1,60) == 10 then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'lava')
- end
- if math.random(1,34) == 14 then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'smke')
- end
- if math.random(1,250) == 10 then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'uvl')
- end
- end
- tpt.element_func(fire,ElementTHREE)
- local ElementFour = elements.allocate("RADIO","FOUR")
- elements.element(elements.RADIO_PT_FOUR, elements.element(elements.DEFAULT_PT_PHOT))
- elements.property(elements.RADIO_PT_FOUR, "Name", "SPRB")
- elements.property(elements.RADIO_PT_FOUR, "Colour", 0xFF0099)
- elements.property(elements.RADIO_PT_FOUR, "MenuSection", 8)
- elements.property(elements.RADIO_PT_FOUR, "Advection", 0.2)
- elements.property(elements.RADIO_PT_FOUR, "Collision", 1.0)
- elements.property(elements.RADIO_PT_FOUR, "Gravity", 3.0)
- elements.property(elements.RADIO_PT_FOUR, "Diffusion", 0.3)
- elements.property(elements.RADIO_PT_FOUR, "Weight", 40.45)
- elements.property(elements.RADIO_PT_FOUR, "Description", "Super Ball. Very Hot. Bounces.")
- elements.property(elements.RADIO_PT_FOUR, "Properties", PROP_DEADLY)
- local ElementFive = elements.allocate("RADIO", "FIVE")
- elements.element(elements.RADIO_PT_FIVE, elements.element(elements.DEFAULT_PT_SAND))
- elements.property(elements.RADIO_PT_FIVE, "Colour", 0x996633)
- elements.property(elements.RADIO_PT_FIVE, "Description", "SOIL. Creates VINE when mixed with GRAS and WATR")
- elements.property(elements.RADIO_PT_FIVE, "Diffusion", 0.4)
- elements.property(elements.RADIO_PT_FIVE, "Gravity", 0.5)
- elements.property(elements.RADIO_PT_FIVE, "Weight", 24)
- elements.property(elements.RADIO_PT_FIVE, "Collision", 0.2)
- elements.property(elements.RADIO_PT_FIVE, "Name", "SOIL")
- elements.property(elements.RADIO_PT_FIVE, "MenuSection", 8)
- local ElementSix = elements.allocate("RADIO", "SIX")
- elements.element(elements.RADIO_PT_SIX, elements.element(elements.DEFAULT_PT_DUST))
- elements.property(elements.RADIO_PT_SIX, "Name", "GRAS")
- elements.property(elements.RADIO_PT_SIX, "Description", "GRASS. Put on SOIL and add water to create VINE.")
- elements.property(elements.RADIO_PT_SIX, "Weight", 10)
- elements.property(elements.RADIO_PT_SIX, "Gravity", 0.5)
- elements.property(elements.RADIO_PT_SIX, "Collision", 0.2)
- elements.property(elements.RADIO_PT_SIX, "MenuSection", 8)
- elements.property(elements.RADIO_PT_SIX, "Colour", 0x009966)
- elements.property(elements.RADIO_PT_SIX, "Flammable", 30)
- local function start1(i,x,y,s,n)
- if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.watr.id then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'vine')
- end
- end
- tpt.element_func(start1,ElementSix)
- local ElementSeven = elements.allocate("RADIO", "SEVEN")
- elements.element(elements.RADIO_PT_SEVEN, elements.element(elements.DEFAULT_PT_BCOL))
- elements.property(elements.RADIO_PT_SEVEN, "Name", "DARM")
- elements.property(elements.RADIO_PT_SEVEN, "Description", "Dark-Matter. Very Heavy.")
- elements.property(elements.RADIO_PT_SEVEN, "Colour", 0x000000)
- elements.property(elements.RADIO_PT_SEVEN, "Weight", 999999999)
- elements.property(elements.RADIO_PT_SEVEN, "Collision", 0.01)
- elements.property(elements.RADIO_PT_SEVEN, "Loss", 0.001)
- elements.property(elements.RADIO_PT_SEVEN, "Gravity", 0.8)
- elements.property(elements.RADIO_PT_SEVEN, "MenuSection", 11)
- local ElementEight = elements.allocate("RADIO", "EIGHT")
- elements.element(elements.RADIO_PT_EIGHT, elements.element(elements.DEFAULT_PT_GLOW))
- elements.property(elements.RADIO_PT_EIGHT, "Name", "LDM")
- elements.property(elements.RADIO_PT_EIGHT, "Description", "Liquid Dark-Matter. Heavy.")
- elements.property(elements.RADIO_PT_EIGHT, "Colour", 0x000000)
- elements.property(elements.RADIO_PT_EIGHT, "Weight", 9999)
- elements.property(elements.RADIO_PT_EIGHT, "Gravity", 0.6)
- elements.property(elements.RADIO_PT_EIGHT, "Diffusion", 0.3)
- elements.property(elements.RADIO_PT_EIGHT, "MenuSection", 7)
- local ElementNine = elements.allocate("RADIO", "NINE")
- elements.property(elements.RADIO_PT_NINE, "Name", "LAZR")
- elements.property(elements.RADIO_PT_NINE, "Color", 0x990000)
- elements.property(elements.RADIO_PT_NINE, "Description", "LAZR. Destructive.")
- elements.property(elements.RADIO_PT_NINE, "MenuVisible", 1)
- elements.property(elements.RADIO_PT_NINE, "MenuSection", 10)
- elements.property(elements.RADIO_PT_NINE, "Advection", 1)
- elements.property(elements.RADIO_PT_NINE, "AirDrag", 0)
- elements.property(elements.RADIO_PT_NINE, "AirLoss", 0)
- elements.property(elements.RADIO_PT_NINE, "Loss", 1)
- elements.property(elements.RADIO_PT_NINE, "Collision", 3)
- elements.property(elements.RADIO_PT_NINE, "Meltable", 0)
- elements.property(elements.RADIO_PT_NINE, "Hardness", 0)
- elements.property(elements.RADIO_PT_NINE, "Weight", 83)
- elements.property(elements.RADIO_PT_NINE, "Temperature", 99999)
- elements.property(elements.RADIO_PT_NINE, "HeatConduct", 99999)
- elements.property(elements.RADIO_PT_NINE, "HotAir", 0.3)
- elements.property(elements.RADIO_PT_NINE, "Falldown", 0)
- elements.property(elements.RADIO_PT_NINE, "Flammable", 0)
- elements.property(elements.RADIO_PT_NINE, "State", ST_NONE)
- elements.property(elements.RADIO_PT_NINE, "Gravity", 0.3)
- elements.property(elements.RADIO_PT_NINE, "Diffusion", 0)
- elements.property(elements.RADIO_PT_NINE, "Explosive", 0)
- elements.property(elements.RADIO_PT_NINE, "Properties", PROP_DEADLY)
- local function graphics3(i, colr, colg, colb)
- return 1,0x00000010,255,255,0,0,0,0,0,0
- end
- tpt.graphics_func(graphics3,ElementNine)
- local ElementTen = elements.allocate("RADIO", "TEN")
- elements.element(elements.RADIO_PT_TEN, elements.element(elements.DEFAULT_PT_TTAN))
- elements.property(elements.RADIO_PT_TEN, "Name", "LEAD")
- elements.property(elements.RADIO_PT_TEN, "Description", "Lead. Melts at high temperature. Absorbs Protons.")
- elements.property(elements.RADIO_PT_TEN, "Colour", 0xCCCCFF)
- elements.property(elements.RADIO_PT_TEN, "MenuSection", 9)
- elements.property(elements.RADIO_PT_TEN, "AirLoss", 0.99)
- elements.property(elements.RADIO_PT_TEN, "Weight", 430)
- elements.property(elements.RADIO_PT_TEN, "Temperature", 195.15)
- elements.property(elements.RADIO_PT_TEN, "HighTemperature", 500.0)
- elements.property(elements.RADIO_PT_TEN, "HighTemperatureTransition", elements.RADIO_PT_TENM)
- elements.property(elements.RADIO_PT_TEN, "Properties", PROP_BLACK)
- local ElementTenM = elements.allocate("RADIO", "TENM")
- elements.element(elements.RADIO_PT_TENM, elements.element(elements.DEFAULT_PT_MWAX))
- elements.property(elements.RADIO_PT_TENM, "Name", "MLED")
- elements.property(elements.RADIO_PT_TENM, "Colour", 0x999999)
- elements.property(elements.RADIO_PT_TENM, "Description", "Molten Lead. When Cooled Down Forms LEAD.")
- elements.property(elements.RADIO_PT_TENM, "MenuSection", 7)
- elements.property(elements.RADIO_PT_TENM, "Gravity", 0.8)
- elements.property(elements.RADIO_PT_TENM, "Loss", 0.10)
- elements.property(elements.RADIO_PT_TENM, "AirLoss", 0.1)
- elements.property(elements.RADIO_PT_TENM, "AirDrag", 0.01)
- elements.property(elements.RADIO_PT_TENM, "Advection", 0.6)
- elements.property(elements.RADIO_PT_TENM, "Weight", 230)
- elements.property(elements.RADIO_PT_TENM, "Falldown", 1)
- elements.property(elements.RADIO_PT_TENM, "Properties", TYPE_LIQUID)
- elements.property(elements.RADIO_PT_TENM, "Temperature", 390)
- elements.property(elements.RADIO_PT_TENM, "LowTemperature", 380.0)
- elements.property(elements.RADIO_PT_TENM, "LowTemperatureTransition", elements.RADIO_PT_TEN)
- local ElementEleven = elements.allocate("RADIO", "ELEVEN")
- elements.element(elements.RADIO_PT_ELEVEN, elements.element(elements.DEFAULT_PT_BOYL))
- elements.property(elements.RADIO_PT_ELEVEN, "Name", "RSTR")
- elements.property(elements.RADIO_PT_ELEVEN, "Description", "Ruptured Star. Very Destructive. Created When STAR Explodes.")
- elements.property(elements.RADIO_PT_ELEVEN, "Colour", 0xFFFFFF)
- elements.property(elements.RADIO_PT_ELEVEN, "MenuSection", 6)
- elements.property(elements.RADIO_PT_ELEVEN, "Diffusion", 5.14)
- elements.property(elements.RADIO_PT_ELEVEN, "Loss", 0.4)
- elements.property(elements.RADIO_PT_ELEVEN, "Explosive", 1)
- elements.property(elements.RADIO_PT_ELEVEN, "Advection", 0.15)
- elements.property(elements.RADIO_PT_ELEVEN, "Weight", 0.04)
- elements.property(elements.RADIO_PT_ELEVEN, "Gravity", math.random(1,3))
- elements.property(elements.RADIO_PT_ELEVEN, "Temperature", 10000.0)
- elements.property(elements.RADIO_PT_ELEVEN, "HeatConduct", 10000.0)
- elements.property(elements.RADIO_PT_ELEVEN, "AirDrag", 0.008)
- local function graphics2(i, colr, colg, colb)
- return 1,0x00000020,255,255,255,255,255,255,255,255
- end
- tpt.graphics_func(graphics2,ElementEleven)
- local ElementTwelve = elements.allocate("RADIO", "TWELVE")
- elements.element(elements.RADIO_PT_TWELVE, elements.element(elements.DEFAULT_PT_TTAN))
- elements.property(elements.RADIO_PT_TWELVE, "Name", "STAR")
- elements.property(elements.RADIO_PT_TWELVE, "Description", "STAR. Explodes Into RSTR.")
- elements.property(elements.RADIO_PT_TWELVE, "Colour", 0xFFFFFF)
- elements.property(elements.RADIO_PT_TWELVE, "MenuSection", 9)
- elements.property(elements.RADIO_PT_TWELVE, "Weight", 333)
- elements.property(elements.RADIO_PT_TWELVE, "Temperature", 4556)
- elements.property(elements.RADIO_PT_TWELVE, "HighTemperature", 7080.0)
- elements.property(elements.RADIO_PT_TWELVE, "HighTemperatureTransition", elements.RADIO_PT_ELEVEN)
- local function graphics1(i, colr, colg, colb)
- return 1,0x00000008,255,255,255,255,255,255,255,255
- end
- tpt.graphics_func(graphics1,ElementTwelve)
- local ElementTT = elements.allocate("RADIO", "TT")
- elements.element(elements.RADIO_PT_TT, elements.element(elements.DEFAULT_PT_GLOW))
- elements.property(elements.RADIO_PT_TT, "Name", "RANB")
- elements.property(elements.RADIO_PT_TT, "Description", "Rainbow.")
- elements.property(elements.RADIO_PT_TT, "Colour", 0x003300)
- elements.property(elements.RADIO_PT_TT, "MenuSection", 7)
- elements.property(elements.RADIO_PT_TT, "Weight", 30)
- elements.property(elements.RADIO_PT_TT, "Properties", PROP_DEADLY)
- function pls(i,colr, colg, colb)
- local c=math.random(0,300)
- if c<=60 then
- return 0, 1, 255, 0xFB, 0x66, 0x15, 255, 0xFB, 0x66, 0x15
- end
- if c>=60 and c<=120 then
- return 0, 1, 255, 0xF5, 0x93, 0x45, 255, 0xF5, 0x93, 0x45
- end
- if c>=120 and c<=180 then
- return 0, 1, 255, 0x54, 0x40, 0xFD, 255, 0x54, 0x40, 0xFD
- end
- if c>=180 and c<=240 then
- return 0, 1, 255, 0x32, 0x12, 0xEF, 255, 0x32, 0x12, 0xEF
- end
- if c>=240 then
- return 0, 1, 255, 0x00, 0xFF, 0x00, 255, 0x00, 0xFF, 0x00
- end
- end
- tpt.graphics_func(pls,ElementTT)
- local ElementFT = elements.allocate("RADIO", "FT")
- elements.element(elements.RADIO_PT_FT, elements.element(elements.DEFAULT_PT_STNE))
- elements.property(elements.RADIO_PT_FT, "Name", "SPRT")
- elements.property(elements.RADIO_PT_FT, "Description", "Sprite. When COOLED it shoots up.")
- elements.property(elements.RADIO_PT_FT, "Colour", 0x99FF33)
- elements.property(elements.RADIO_PT_FT, "Flammable", 0)
- elements.property(elements.RADIO_PT_FT, "MenuSection", 4)
- elements.property(elements.RADIO_PT_FT, "Weight", 60)
- elements.property(elements.RADIO_PT_FT, "Gravity", -5)
- elements.property(elements.RADIO_PT_FT, "HotAir", 0.001)
- elements.property(elements.RADIO_PT_FT, "Temperature", math.huge)
- elements.property(elements.RADIO_PT_FT, "Properties", PROP_DEADLY)
- local function graphics4(i, colr, colg, colb)
- return 1,0x00000002,0,255,0,0,0,255,0,0
- end
- tpt.graphics_func(graphics4,ElementFT)
- local ElementFif = elements.allocate("RADIO", "FIF")
- elements.element(elements.RADIO_PT_FIF, elements.element(elements.DEFAULT_PT_DMND))
- elements.property(elements.RADIO_PT_FIF, "Name", "TORN")
- elements.property(elements.RADIO_PT_FIF, "Description", "Tornado.")
- elements.property(elements.RADIO_PT_FIF, "MenuSection", 11)
- elements.property(elements.RADIO_PT_FIF, "HotAir", -0.90)
- elements.property(elements.RADIO_PT_FIF, "Colour", 0x999999)
- elements.property(elements.RADIO_PT_FIF, "Temperature", 40)
- local function things(i, x, y, s, n)
- if math.random(1,44) == 10 then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'co2')
- end
- if math.random(1,34) == 14 then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'smke')
- end
- if math.random(1,10) == 10 then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'dbri')
- end
- end
- tpt.element_func(things,ElementFif)
- local ElementST = elements.allocate("RADIO", "ST")
- elements.element(elements.RADIO_PT_ST, elements.element(elements.DEFAULT_PT_HYGN))
- elements.property(elements.RADIO_PT_ST, "Name", "DBRI")
- elements.property(elements.RADIO_PT_ST, "Description", "Debris. Forms From Tornado")
- elements.property(elements.RADIO_PT_ST, "Colour", 0x663300)
- local ElementSev = elements.allocate("RADIO", "SEV")
- elements.element(elements.RADIO_PT_SEV, elements.element(elements.DEFAULT_PT_NEUT))
- elements.property(elements.RADIO_PT_SEV, "Name", "A-PO")
- elements.property(elements.RADIO_PT_SEV, "Description", "A-Positive Neutrons. Massive heat conductor. Appears RED.")
- elements.property(elements.RADIO_PT_SEV, "Temperature", 10000)
- elements.property(elements.RADIO_PT_SEV, "HeatConduct", 6000)
- elements.property(elements.RADIO_PT_SEV, "Weight", 232)
- elements.property(elements.RADIO_PT_SEV, "Colour", 0xFF9900)
- elements.property(elements.RADIO_PT_SEV, "Diffusion", 0.25)
- elements.property(elements.RADIO_PT_SEV, "LowTemperature", 180.0)
- elements.property(elements.RADIO_PT_SEV, "LowTemperatureTransition", elements.RADIO_PT_ET)
- local function yes(i, colr, colg, colb)
- return 1,0x00000008,255,102,0,0,255,102,0,0
- end
- tpt.graphics_func(yes,ElementSev)
- local ElementET = elements.allocate("RADIO", "ET")
- elements.element(elements.RADIO_PT_ET, elements.element(elements.DEFAULT_PT_NEUT))
- elements.property(elements.RADIO_PT_ET, "Name", "A-NE")
- elements.property(elements.RADIO_PT_ET, "Description", "A-Negative Neutrons. Massive Cold Producer. Appears GREEN.")
- elements.property(elements.RADIO_PT_ET, "Temperature", -10000)
- elements.property(elements.RADIO_PT_ET, "HeatConduct", -6000)
- elements.property(elements.RADIO_PT_ET, "Weight", -232)
- elements.property(elements.RADIO_PT_ET, "Colour", 0x66FFFF)
- elements.property(elements.RADIO_PT_ET, "Diffusion", -0.25)
- elements.property(elements.RADIO_PT_ET, "HighTemperature", 180.0)
- elements.property(elements.RADIO_PT_ET, "HighTemperatureTransition", elements.RADIO_PT_SEV)
- local function no(i, colr, colg, colb)
- return 1,0x00000008,255,0,255,0,0,255,0,0
- end
- tpt.graphics_func(no,ElementET)
- local ElementNT = elements.allocate("RADIO", "NT")
- elements.element(elements.RADIO_PT_NT, elements.element(elements.DEFAULT_PT_STNE))
- elements.property(elements.RADIO_PT_NT, "Name", "CSRT")
- elements.property(elements.RADIO_PT_NT, "Description", "Cool Sprite. Shoots up.")
- elements.property(elements.RADIO_PT_NT, "Colour", 0x99FF33)
- elements.property(elements.RADIO_PT_NT, "Flammable", 0)
- elements.property(elements.RADIO_PT_NT, "MenuSection", 4)
- elements.property(elements.RADIO_PT_NT, "Weight", 60)
- elements.property(elements.RADIO_PT_NT, "Gravity", -0.5)
- elements.property(elements.RADIO_PT_NT, "HotAir", 0)
- elements.property(elements.RADIO_PT_NT, "Temperature", 0)
- local ElementSecret1 = elements.allocate("RADIO", "SONE")
- elements.element(elements.RADIO_PT_SONE, elements.element(elements.DEFAULT_PT_DUST))
- elements.property(elements.RADIO_PT_SONE, "Name", "WTYM")
- elements.property(elements.RADIO_PT_SONE, "Colour", 0xFF0000)
- elements.property(elements.RADIO_PT_SONE, "Description", "WORDDDD TO YO MUTHA")
- elements.property(elements.RADIO_PT_SONE, "MenuVisible", 0)
- elements.property(elements.RADIO_PT_SONE, "Flammable", 0)
- elements.property(elements.RADIO_PT_SONE, "Gravity", 0.5)
- elements.property(elements.RADIO_PT_SONE, "Loss", 0.10)
- elements.property(elements.RADIO_PT_SONE, "AirLoss", 0.1)
- elements.property(elements.RADIO_PT_SONE, "AirDrag", 0.01)
- elements.property(elements.RADIO_PT_SONE, "Advection", 0.6)
- elements.property(elements.RADIO_PT_SONE, "Weight", 10)
- elements.property(elements.RADIO_PT_SONE, "Falldown", 1)
- elements.property(elements.RADIO_PT_SONE, "Temperature", 390)
- elements.property(elements.RADIO_PT_SONE, "LowTemperature", 380.0)
- elements.property(elements.RADIO_PT_SONE, "LowTemperatureTransition", elements.DEFAULT_PT_VINE)
- local ElementSecret2 = elements.allocate("RADIO", "STWO")
- elements.element(elements.RADIO_PT_STWO, elements.element(elements.DEFAULT_PT_DUST))
- elements.property(elements.RADIO_PT_STWO, "Name", "WSFC")
- elements.property(elements.RADIO_PT_STWO, "Colour", 0x66FFFF)
- elements.property(elements.RADIO_PT_STWO, "Description", "Want Some Free Candy?")
- elements.property(elements.RADIO_PT_STWO, "MenuVisible", 0)
- elements.property(elements.RADIO_PT_STWO, "Flammable", 10)
- elements.property(elements.RADIO_PT_STWO, "Gravity", 0.0001)
- elements.property(elements.RADIO_PT_STWO, "Advection", 0.6)
- elements.property(elements.RADIO_PT_STWO, "Weight", 10)
- elements.property(elements.RADIO_PT_STWO, "Temperature", 390)
- elements.property(elements.RADIO_PT_STWO, "LowTemperature", 380.0)
- elements.property(elements.RADIO_PT_STWO, "LowTemperatureTransition", elements.DEFAULT_PT_METL)
- local function sprk(i,x,y,s,n)
- if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.metl.id then
- tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'sprk')
- end
- end
- tpt.element_func(sprk,ElementSecret2)
- local ElementSecret3 = elements.allocate("RADIO", "STHREE")
- elements.element(elements.RADIO_PT_STHREE, elements.element(elements.DEFAULT_PT_DUST))
- elements.property(elements.RADIO_PT_STHREE, "Name", "TNISFLICBSI")
- elements.property(elements.RADIO_PT_STHREE, "Colour", 0xDD0EFC)
- elements.property(elements.RADIO_PT_STHREE, "Description", "This Name Is So Freaking Long I Can Barely Understand It.")
- elements.property(elements.RADIO_PT_STHREE, "MenuVisible", 0)
- elements.property(elements.RADIO_PT_STHREE, "Flammable", 0)
- elements.property(elements.RADIO_PT_STHREE, "Gravity", 0.70)
- elements.property(elements.RADIO_PT_STHREE, "Advection", 3.30)
- elements.property(elements.RADIO_PT_STHREE, "Weight", 90)
- elements.property(elements.RADIO_PT_STHREE, "Temperature", 390)
- elements.property(elements.RADIO_PT_STHREE, "LowTemperature", 380.0)
- elements.property(elements.RADIO_PT_STHREE, "LowTemperatureTransition", elements.DEFAULT_PT_DMND)
- local ElementSecret4 = elements.allocate("RADIO", "SFOUR")
- elements.element(elements.RADIO_PT_SFOUR, elements.element(elements.DEFAULT_PT_STNE))
- elements.property(elements.RADIO_PT_SFOUR, "Name", "???")
- elements.property(elements.RADIO_PT_SFOUR, "Description", "???")
- elements.property(elements.RADIO_PT_SFOUR, "Weight", 123)
- elements.property(elements.RADIO_PT_SFOUR, "MenuVisible", 0)
- elements.property(elements.RADIO_PT_SFOUR, "Colour", 0x123456)
- elements.property(elements.RADIO_PT_SFOUR, "Flammable", 123)
- elements.property(elements.RADIO_PT_SFOUR, "Gravity", 0.0123)
- elements.property(elements.RADIO_PT_SFOUR, "Advection", 0.0123)
- elements.property(elements.RADIO_PT_SFOUR, "Temperature", 8000)
- elements.property(elements.RADIO_PT_SFOUR, "LowTemperature", 180.0)
- elements.property(elements.RADIO_PT_SFOUR, "LowTemperatureTransition", elements.DEFAULT_PT_ELEC)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement