Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local a = elements.allocate("RADM" , "TRIT")
- elements.element(a, elements.element(elements.DEFAULT_PT_HYGN))
- elements.property(a, "Name" , "TRIT")
- elements.property(a, "Description" , "Tritium, reacts with neutrons and creates fusion.")
- elements.property(a, "Color", 0xA2A0BF)
- elements.property(a, "MenuSection", 10)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.neut.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.neut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.deut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.hygn.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- if sim.pressure(x/4,y/4) > 1 then
- if math.random(1,250) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-1,1), 'neut')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.neut.id)
- local a = elements.allocate("RADM" , "QUDR")
- elements.element(a, elements.element(elements.DEFAULT_PT_HYGN))
- elements.property(a, "Name" , "QUDR")
- elements.property(a, "Description" , "Quadrium, reacts with electrons and creates deuterium.")
- elements.property(a, "Color", 0x968999)
- elements.property(a, "MenuSection", 10)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.elec.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.elec.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.neut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.deut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- if sim.pressure(x/4,y/4) > 1 then
- if math.random(1,250) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'elec')
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'elec')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.elec.id)
- local a = elements.allocate("RADM" , "PENT")
- elements.element(a, elements.element(elements.DEFAULT_PT_HYGN))
- elements.property(a, "Name" , "PENT")
- elements.property(a, "Description" , "Pentium, reacts with protons.")
- elements.property(a, "Color", 0x8BC2C4)
- elements.property(a, "MenuSection", 10)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.prot.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.prot.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.grvt.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.brmt.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- if sim.pressure(x/4,y/4) > 1 then
- if math.random(1,250) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'prot')
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'prot')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.prot.id)
- local a = elements.allocate("RADM" , "PHCL")
- elements.element(a, elements.element(elements.DEFAULT_PT_BOYL))
- elements.property(a, "Name" , "PHCL")
- elements.property(a, "Description" , "Photon cloud. reacts with Phot and expands.")
- elements.property(a, "Color", 0xFFF6F6)
- elements.property(a, "MenuSection", 10)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.phot.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.phot.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.phot.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.phot.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- if sim.pressure(x/4,y/4) > 0.4 then
- if math.random(1,250) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'phot')
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-1,1), 'phot')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.phot.id)
- local a = elements.allocate("RADM" , "UUO")
- elements.element(a, elements.element(elements.DEFAULT_PT_URAN))
- elements.property(a, "Name" , "UUO")
- elements.property(a, "Description" , "Ununoctium, very heavy and reactive.")
- elements.property(a, "Color", 0x063521)
- elements.property(a, "MenuSection", 10)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.neut.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.neut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.plut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.uran.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- if sim.pressure(x/4,y/4) > 1 then
- if math.random(1,250) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.neut.id)
- local a = elements.allocate("RADM" , "FRAL")
- elements.element(a, elements.element(elements.DEFAULT_PT_IRON))
- elements.property(a, "Name" , "FRAL")
- elements.property(a, "Description" , "Fralium, reactive to electricity.")
- elements.property(a, "Color", 0x9EAFA0)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.sprk.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.elec.id
- sim.pressure(x/4,y/4,0.01)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.brmt.id
- sim.pressure(x/4,y/4,0.01)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.pscn.id
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'elec')
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'elec')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.elec.id)
- local a = elements.allocate("RADM" , "RCFL")
- elements.element(a, elements.element(elements.DEFAULT_PT_GEL))
- elements.property(a, "Name" , "RCFL")
- elements.property(a, "Description" , "Reactor Fluid, used for reactors, reactive.")
- elements.property(a, "Color", 0xD289FF)
- elements.property(a, "MenuSection", 10)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.neut.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.neut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.neut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.grvt.id
- sim.pressure(x/4,y/4,-2)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- if sim.pressure(x/4,y/4) > 1 then
- if math.random(1,250) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.neut.id)
- local a = elements.allocate("RADM" , "NIHO")
- elements.element(a, elements.element(elements.DEFAULT_PT_GOLD))
- elements.property(a, "Name" , "NIHO")
- elements.property(a, "Description" , "Nihonium, very explosive and reactive.")
- elements.property(a, "Color", 0x2B4D9B)
- elements.property(a, "MenuSection", 10)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.neut.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.neut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.plut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.uran.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- if sim.pressure(x/4,y/4) > 1 then
- if math.random(1,250) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.neut.id)
- local a = elements.allocate("RADM", "ROPE")
- elements.element(a, elements.element(elements.DEFAULT_PT_COAL))
- elements.property(a, "Name" , "ROPE")
- elements.property(a, "Description" , "Rope, flammable.")
- elements.property(a, "Flammable", 16)
- elements.property(a, "Color", 0xA58A66)
- local a = elements.allocate("RADM", "MTHN")
- elements.element(a, elements.element(elements.DEFAULT_PT_CO2))
- elements.property(a, "Name" , "MTHN")
- elements.property(a, "Description" , "Methane, flammable.")
- elements.property(a, "Flammable", 2.55)
- elements.property(a, "Color", 0x000A23)
- elements.property(a, "Temperature", 366.8)
- elements.property(a, "MenuSection", 5)
- elements.property(a, "HighPressure", 1.32)
- elements.property(a, "HighPressureTransition", elements.RADM_PT_PRPN)
- local a = elements.allocate("RADM" , "AL26")
- elements.element(a, elements.element(elements.DEFAULT_PT_URAN))
- elements.property(a, "Name" , "AL26")
- elements.property(a, "Description" , "Aluminium 26, very reactive.")
- elements.property(a, "Color", 0x727272)
- elements.property(a, "MenuSection", 10)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.neut.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.brmt.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.grvt.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.phot.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- if sim.pressure(x/4,y/4) > 1 then
- if math.random(1,250) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.neut.id)
- local a = elements.allocate("RADM", "PTOL")
- elements.element(a, elements.element(elements.DEFAULT_PT_SOAP))
- elements.property(a, "Name" , "PTOL")
- elements.property(a, "Description" , "Petrol, flammable, burns slow.")
- elements.property(a, "Flammable", 18.55)
- elements.property(a, "Color", 0x1A3000)
- elements.property(a, "Temperature", 293.4)
- elements.property(a, "MenuSection", 5)
- elements.property(a, "LowPressure", -1.45)
- elements.property(a, "LowPressureTransition", elements.RADM_PT_MTHN)
- local a = elements.allocate("RADM" , "BLPD")
- elements.element(a, elements.element(elements.DEFAULT_PT_GUN))
- elements.property(a, "Name" , "BLPD")
- elements.property(a, "Description" , "Black Powder, flammable, burns fast.")
- elements.property(a, "Color", 0x2D2B33)
- elements.property(a, "MenuSection", 5)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == tpt.el.fire.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.embr.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.fire.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.smke.id
- sim.pressure(x/4,y/4,0.01)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-1,1), 'embr')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.embr.id)
- local a = elements.allocate("RADM", "GSOL")
- elements.element(a, elements.element(elements.DEFAULT_PT_SOAP))
- elements.property(a, "Name" , "GSOL")
- elements.property(a, "Description" , "Gasoline, flammable, burns fast.")
- elements.property(a, "Flammable", 68.73)
- elements.property(a, "Color", 0xFF8F2D)
- elements.property(a, "Temperature", 314.65)
- elements.property(a, "MenuSection", 5)
- elements.property(a, "LowPressure", -0.43)
- elements.property(a, "LowPressureTransition", elements.RADM_PT_PTOL)
- local a = elements.allocate("RADM", "PRPN")
- elements.element(a, elements.element(elements.DEFAULT_PT_HYGN))
- elements.property(a, "Name" , "PRPN")
- elements.property(a, "Description" , "Propane, highly flammable gas.")
- elements.property(a, "Flammable", 5.55)
- elements.property(a, "Color", 0x820000)
- elements.property(a, "Temperature", 366.8)
- elements.property(a, "MenuSection", 5)
- elements.property(a, "HighPressure", 1.32)
- elements.property(a, "HighPressureTransition", elements.RADM_PT_GSOL)
- elements.property(a, "Diffusion", 1.03)
- local a = elements.allocate("RADM", "LHYG")
- elements.element(a, elements.element(elements.DEFAULT_PT_LOXY))
- elements.property(a, "Name" , "LHYG")
- elements.property(a, "Description" , "Liquid Hydrogen, very cold, makes water with liquid oxygen when burnt.")
- elements.property(a, "Flammable", 23.65)
- elements.property(a, "Color", 0x75ABE5)
- elements.property(a, "Temperature", 14.15)
- elements.property(a, "MenuSection", 7)
- elements.property(a, "HighTemperature", 18.15)
- elements.property(a, "HighTemperatureTransition", elements.DEFAULT_PT_HYGN)
- local a = elements.allocate("RADM", "SHXF")
- elements.element(a, elem.element(elem.DEFAULT_PT_HYGN))
- elements.property(a, "Name", "SHXF")
- elements.property(a, "Description", "Sulfur Hexaflouride, extremely heavy gas")
- elements.property(a, "Color", 0xC6B02F)
- elements.property(a, "Weight", 999.99)
- elements.property(a, "Gravity", 0.9)
- elements.property(a, "Diffusion", 0.45)
- elements.property(a, "Falldown", 2)
- local a = elements.allocate("RADM" , "DETR")
- elements.element(a, elements.element(elements.DEFAULT_PT_HYGN))
- elements.property(a, "Name" , "DETR")
- elements.property(a, "Description" , "Deuterium, reacts with neutrons. Rarely decays.")
- elements.property(a, "Color", 0xB2FFB6)
- elements.property(a, "MenuSection", 10)
- function plutonium(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-1,1), y + math.random(-1,1)) == tpt.el.sprk.id then
- if math.random(1,3) == 1 then
- tpt.parts[i].type = tpt.el.neut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,6) == 3 then
- tpt.parts[i].type = tpt.el.neut.id
- sim.pressure(x/4,y/4,75)
- tpt.set_property("temp", math.huge, x, y)
- elseif math.random(1,3) == 3 then
- tpt.parts[i].type = tpt.el.trit
- sim.pressure(x/4,y/4,35)
- tpt.set_property("temp", math.huge, x ,y)
- end
- end
- if math.random(1,64000) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'hygn')
- end
- if math.random(1,65990) == 100 then
- tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
- end
- end
- tpt.element_func(plutonium,a)
- function neutron(i,x,y,s,n)
- if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == a then
- if math.random(1,30) == 10 then
- tpt.create(x + math.random(-2,2), y + math.random(-1,1), 'neut')
- end
- end
- end
- tpt.element_func(neutron,tpt.el.neut.id)
- local a = elements.allocate("RADM" , "EMRP")
- elements.element(a, elements.element(elements.DEFAULT_PT_PLUT))
- elements.property(a, "Name" , "EMRP")
- elements.property(a, "Description" , "Emerald powder, lets neut pass.")
- elements.property(a, "Color", 0xFAFAFA)
- elements.property(a, "MenuSection", 8)
- local a = elements.allocate("RADM" , "EMER")
- elements.element(a, elements.element(elements.DEFAULT_PT_GOLD))
- elements.property(a, "Name" , "EMER")
- elements.property(a, "Description" , "Emerald, turns into emerald powder at high temperatures")
- elements.property(a, "Color", 0xFAFAFA)
- elements.property(a, "MenuSection", 9)
- elements.property(a, "HighTemperature", 1900)
- elements.property(a, "HighTemperatureTransition", elements.RADM_PT_EMRP)
- local a = elements.allocate("RADM", "ETHN")
- elements.element(a, elements.element(elements.DEFAULT_PT_HYGN))
- elements.property(a, "Name" , "ETHN")
- elements.property(a, "Description" , "Ethane, flammable gas.")
- elements.property(a, "Flammable", 157.55)
- elements.property(a, "Color", 0x89FFE3)
- elements.property(a, "Temperature", 366.8)
- elements.property(a, "MenuSection", 5)
- elements.property(a, "LowPressure", -1.07)
- elements.property(a, "LowPressureTransition", elements.RADM_PT_PRPN)
- elements.property(a, "Diffusion", 1.03)
- elements.property(a, "AirDrag", 0.01)
- local a = elements.allocate("RADM", "BTAN")
- elements.element(a, elements.element(elements.DEFAULT_PT_HYGN))
- elements.property(a, "Name" , "BTAN")
- elements.property(a, "Description" , "Butane, flammable gas.")
- elements.property(a, "Flammable", 89.55)
- elements.property(a, "Color", 0xD3A50C)
- elements.property(a, "Temperature", 366.8)
- elements.property(a, "MenuSection", 5)
- elements.property(a, "HighPressure", 1.07)
- elements.property(a, "HighPressureTransition", elements.RADM_PT_ETHN)
- elements.property(a, "Diffusion", 1.50)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement