Theese suggestions will be given in the format of code and uses
(Note that I don't actually know how to put them in that code-box thingy.)
local lhyg = elements.allocate("RADM", "LHYG")
elements.element(lhyg, elements.element(elements.DEFAULT_PT_LOXY))
elements.property(lhyg, "Name" , "LHYG")
elements.property(lhyg, "Description" , "Liquid Hydrogen, very cold. Violently reacts with liquid oxygen.")
elements.property(lhyg, "Flammable", 923.65)
elements.property(lhyg, "Temperature", 14.15)
elements.property(lhyg, "Color", 0x4060EE)
elements.property(lhyg, "MenuSection", 7)
elements.property(lhyg, "Diffusion", 0.1)
elements.property(lhyg, "HighTemperature", 18.15)
elements.property(lhyg, "HighTemperatureTransition", elements.DEFAULT_PT_HYGN)
elements.property(elem.RADM_PT_LHYG, "Update",
function(i,x,y,s,nt) --1
if math.random(1,2) == 2 then --2
if s ~=8 and nt ~=0 and nt - s > 0 then --3
for r in sim.neighbors(x,y,1,1) do --4
if sim.partProperty(r, "type") == elements.DEFAULT_PT_LOXY then --5
sim.partCreate(-1, math.random(-1,1)+x, math.random(-1,1)+y, elements.DEFAULT_PT_FIRE)
end --5
end --4
end --3
end --2
end --1
) --*1
Liquid hydrogen is one of the highly suggested elements in the tpt community, it would be useful for fuels since you can start an extremely powerful fire with it and loxy all alone, without an initial fire.
3. Neptunium.
local nept = elements.allocate("RADM" , "NEPT")
elements.element(nept, elements.element(elements.DEFAULT_PT_PLUT))
elements.property(nept, "Name" , "NEPT")
elements.property(nept, "Description" , "Neptunium, very radioactive.")
elements.property(nept, "Color", 0x557020)
elements.property(nept, "MenuSection", 10)
function neptunium(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 --1
if math.random(1,2) == 1 then --2/3
tpt.parts[i].type = elements.DEFAULT_PT_URAN
elseif math.random(1,5) == 1 then --2/2
tpt.parts[i].type = elements.DEFAULT_PT_NBLE
tpt.set_property("temp", math.huge, x ,y)
elseif math.random(1,10) == 1 then --2/1
tpt.parts[i].type = elements.RADM_PT_XE
tpt.set_property("temp", math.huge, x ,y)
end --2
end --1
if sim.pressure(x/4,y/4) > 1 then --3
if math.random(1,250) == 10 then --4
tpt.create(x + math.random(-2,2), y + math.random(-2,2), 'neut')
tpt.set_property("temp", math.huge, x ,y)
end --4
end --3
if math.random(1,10000) == 10 then --5
sim.pressure(x/4,y/4,0.1)
end --5
end --*1
tpt.element_func(neptunium,nept)
function neutron2(i,x,y,s,n) --*2
if tpt.get_property("type", x + math.random(-2,2), y + math.random(-2,2)) == nept then --1
if math.random(1,35) == 10 then --2
tpt.create(x, y, 'neut')
tpt.set_property("temp", math.huge, x ,y)
end --2
end --1
end --*2
tpt.element_func(neutron2,tpt.el.neut.id)
Once again, like tritium, except that it is less messy and much more easy to produce heat with it
4. & 5. Berrylium and Lead.
local be = elements.allocate("RADM" , "BE")
elements.element(be, elements.element(elements.DEFAULT_PT_CRMC))
elements.property(be, "Name" , "BE")
elements.property(be, "Description" , "Berrylium, allows neutrons to pass.")
elements.property(be, "Color", 0x006621)
elements.property(be, "Properties", elements.PROP_NEUTPASS+elements.TYPE_SOLID)
local pb = elements.allocate("RADM" , "LEAD")
elements.element(pb, elements.element(elements.DEFAULT_PT_METL))
elements.property(pb, "Name" , "PB")
elements.property(pb, "Description" , "Lead, absorbs neutrons. Conducts electricity.")
elements.property(pb, "Color", 0x686868)
elements.property(pb, "HighTemperature", 601.25)
elements.property(pb, "Properties", elements.PROP_NEUTABSORB+elements.PROP_CONDUCTS+elements.PROP_LIFE_DEC+elements.TYPE_SOLID+elements.PROP_DEADLY)
Both of theese elements would be useful in reactors, Berrylium is basically dmnd that allows neut to pass and Lead (which i noted with pb because reasons, you can rename it lead in the game) absorbs neutrons instead, yet it melts at a freakishly low temperature
6. Mercury Vapour.
local mrcv = elements.allocate("RADM", "MRCV")
elements.element(mrcv,elem.element(elem.DEFAULT_PT_WTRV))
elements.property(mrcv, "Name" , "MRCV")
elements.property(mrcv, "Description" , "Mercury Vapor.")
elements.property(mrcv, "Color", 0x6D6567)
elements.property(mrcv, "Temperature", 637.85)
elements.property(mrcv, "LowTemperature", 618.32)
elements.property(mrcv, "LowTemperatureTransition", elements.DEFAULT_PT_MERC)
elements.property(elements.DEFAULT_PT_MERC, "Update", --*1
function(i,x,y) --1
if sim.partProperty(i, "temp") > 628.91 then --2
if math.random(1,450) == 1 then --3
velocity(i,30,360)
sim.partChangeType(i, elements.RADM_PT_MRCV)
end --3
end --2
end --1
) --*1
Oh yes i even wrote a code for the mercury to boil nicely instead of a fierce gas explosion.
Mercury vapour could be useful to distill mercury from stuff like glow, stne, deut, cnct, etc. since you do need clean mercury after all, and if not, then why should you be able to get dstw from wtrv?
97. Lead Oxide/Powder.
local pbo = elements.allocate("RADM" , "LDOX")
elements.element(pbo, elements.element(elements.DEFAULT_PT_BRMT))
elements.property(pbo, "Name" , "LDOX")
elements.property(pbo, "Description" , "Lead oxide, absorbs neutrons. Conducts electricity.")
elements.property(pbo, "Color", 0x7D7D7D)
elements.property(pbo, "Meltable", 1)
elements.property(pbo, "HighTemperature", 623.45)
elements.property(pbo, "HighTemperatureTransition", elements.DEFAULT_PT_LAVA)
elements.property(pbo, "Properties", elements.PROP_NEUTABSORB+elements.PROP_CONDUCTS+elements.PROP_LIFE_DEC+elements.TYPE_PART+elements.PROP_DEADLY)
Eh, not so much on this one, just thought that radioactive elements in the future could use this.
8. Velocity sensor.
local vsns = elements.allocate("RADM" , "VSNS")
elements.element(vsns, elements.element(elements.DEFAULT_PT_DMND))
elements.property(vsns, "Name" , "VSNS")
elements.property(vsns, "Description" , "Velocity sensor, creates a spark when something's velocity is higher than its temperature.")
elements.property(vsns, "Color", 0x3D3125)
elements.property(vsns, "MenuSection", 3)
elements.property(vsns, "HeatConduct", 0)
elements.property(elem.RADM_PT_VSNS, "Update",
function(i,x,y,s,nt) --1
for r in sim.neighbors(x,y,1,1) do --2
if math.sqrt(math.pow(sim.partProperty(r, "vx"),2)+math.pow(sim.partProperty(r, "vy"),2)) > sim.partProperty(i, "temp")-273.15 then --3
sim.partCreate(-1, x, y+1, elements.DEFAULT_PT_SPRK)
sim.partCreate(-1, x+1, y+1, elements.DEFAULT_PT_SPRK)
sim.partCreate(-1, x-1, y+1, elements.DEFAULT_PT_SPRK)
sim.partCreate(-1, x, y-1, elements.DEFAULT_PT_SPRK)
sim.partCreate(-1, x+1, y-1, elements.DEFAULT_PT_SPRK)
sim.partCreate(-1, x-1, y-1, elements.DEFAULT_PT_SPRK)
sim.partCreate(-1, x+1, y, elements.DEFAULT_PT_SPRK)
sim.partCreate(-1, x-1, y, elements.DEFAULT_PT_SPRK)
end --3
end --2
end --1
) --*1
Okay, this one is much better than the lazy DTEC or Detector wall turbines that you normally find, and you can also make some sort of element detector that sorts it by weight, dropping them then seeing how fast they fall. No seriously, those turbines are garbage.
10. Heat insulator/blocker
local hins = elements.allocate("RADM" , "HINS")
elements.element(hins, elements.element(elements.DEFAULT_PT_DMND))
elements.property(hins, "Name" , "HINS")
elements.property(hins, "Description", "Heat blocker.")
elements.property(hins, "Color", 0xABB4E9)
elements.property(hins, "HeatConduct", 0)
This is basically like jacob1's mod's IDIN (If I spelled it correctly) but without the annoying sprk blocking.
11. Xenon.
local xe = elements.allocate("RADM", "XE")
elements.element(xe,elem.element(elem.DEFAULT_PT_NBLE))
elements.property(xe, "Name" , "XE")
elements.property(xe, "Description" , "Xenon, heavy noble gas.")
elements.property(xe, "Color", 0x400050)
elements.property(xe, "Temperature", 224.8)
elements.property(xe, "Diffusion", 0.80)
elements.property(xe, "Gravity", 0.04)
elements.property(xe, "Falldown", 2)
elements.property(xe, "HotAir", 0)
elements.property(xe, "Weight", 15)
You know how nble has that boring plasma cooldown that is super slow and quite annoying actually, for that, I've created xenon! It is exactly like nble, except its as heavy as desl, doesn't have any cooldown and falls down in the pattern that gasses actually should (for real now though. they should). It would be useful for ion engines.
And that's my 11 elements I think would make a great addition to tpt.
Wow, what a huge thread! I like this elements.
Wishlist. But hey, nice stuff.