So I made a mod in Lua. This allows me to only add and edit elements, but I don't have to recompile every time a new version of TPT comes out.
Download: http://www.mediafire.com/download/dvl901taeaqe9r6/autorun.lua
Latest version: 1.5.1 (Weather update)
Added Elements:
CLUD: Gas, creates WATR. (And a bit of lag, to be honest.)
SCLD: Gas, creates more WATR and eventually LIGH. (You should use this carefully as it is a bit... destructive)
PRPN: Yet another gas! Explodes under high temperature/pressure, when sparked or in contact with sulfur.
DNMT: Dynamite. Explosive dust, NOT TNT!!! Can be created by pouring NITR over DUST.
Changes:
No changes.
--------------------------------------------------
Mod elements up to date:
Added elements:
Explosives:
BPDR - Black powder, like GUN but hotter and more smoke.
PHOS - Phosphorus. Burns very quickly.
NPLM - Dense liquid, buns for a long time. Thanks FeynmanLogomaker for the update function.
RDX - Explodes for pretty much anything, just like normal TPT C4 which I changed to be more realistic.
DNMT - Dynamite. Explosive dust, NOT TNT!!! Can be created by pouring NITR over DUST.
Gases:
HYPE - Hyperactivity, flies around very very fast. (Not really useful, just for fun)
N2O - Nitrous oxide. Gas, burns at high temperature.
SLFD - Sulphur Dioxide. Highly flammable toxic gas, released by hot SLFR.
CLUD - Creates WATR. (And a bit of lag, to be honest.)
SCLD - Creates more WATR and eventually LIGH. (You should use this carefully as it is a bit... destructive)
PRPN - Yet another gas! Explodes under high temperature/pressure, when sparked or in contact with sulfur.
Liquids:
COIL - Coking oil, boils at 110 C and goes bubbly. (Again not a really useful element)
PTRL - Petrol. Like DESL, but it doesn't explode under pressure and burns a bit faster.
MRBR - Molten rubber, heavy, sticks to surfaces when it solidifies into RUBR. Flammable.
MPLA - Molten plastic, flammable, heavy liquid. Hardens into PLAS if cooled down.
LN2O - Liquid Nitrous oxide.
MUD - Mud. Liquid, hardens into SOIL at 100 C.
Powders:
ASH - Ashes, very very light dust that floats over liquids.
BSLT - Basalt. Volcanic stone. It's actually just STNE at 300 C.
BCBF - Broken Carbon fibre. Medium weight dust, temperature resistant.
WGHT - Very very very heavy powder.
SLFR - Sulphur. Toxic, highly flammable. Releases SLFD when at 444 C +.
SOIL - Good for growing plants. Turns into MUD when mixed with any kind of water.
SEED - Grows PLNT in contact with SOIL or MUD.
WUT - Trippy powdery thing.
Solids:
LEAD - Lead, basically IRON that absorbs neutrons. Good for nuclear reactors and stuff.
PLAS - Plastic. Flammable. Melts into MPLA at high temps.
RUBR - Rubber. Flammable, deformed by pressure like GOO, melts into MRBR at high temp.
CFBR - Carbon fibre. Doesn't melt, but breaks into BCBF at high pressure.
ALUM - Aluminium. Melts at a medium-low temperature (For a metal).
SLVR - Silver. Melts at medium temperature (Again, for metals).
Special:
TRBM - Tractor Beam. Fancy powder-y material that brings elements towards its source.
Changes:
> DMND is back into solids, where it should be.
> Many hidden elements like MORT, VRSS, VRSG (People not using the beta were having issues with that so I'll add them back when they're released) are shown in the menu.
> INSL is now not flammable and immune to ACID.
> ACID is no longer flammable.
> WOOD burns slower, making it more realistic.
> C-4 now is realistic and doesn't explode under pressure. Instead, it deforms very slightly. (If you miss the old C-4, use RDX, it's pretty much the old C-4 buffed up)
********************************
Feedback/suggestions are appreciated.
Thanks! I'll keep working on it. I'm having some trouble making WOOD drop ASH, and for now I only made it burn slower. But I won't update until I have a few more changes.
About the WOOD dropping ASH issue... Does anyone know what should go in the update function so that when the temperature is above, say, 150 C, WOOD incinerates and has x chance of creating FIRE and y chance of creating ASH?
All I know is the process involves ifs and math.random().
EDIT: I am now making Neon, Helium, Sulfur and a bunch more stuff, I'm looking forward to making bronze too. This mod will likely have updates very often, because I have too much free time.
Thanks. I have no idea what could be causing those issues, but it's more likely to be on the side of the c++ as the Lua is very simple.
Good. I'm no chemistry expert, but for what I've read sulphur melts and burns in blue flames. I'll make it burn slowly, as well as add many some new materials in my next update, released in... like 10 mins. Lol. This really is quite easy.
there's a error message:autorun.lua:2:bad argument #1 to 'property' (number expected,got nil)