Hello. I just started modding TPT and added some stuff for my own interests, and i thougt i should share it with you.
New things in v 1.0
Based on TPT v 46.4.
- LEAD - Lead. Has 3 phases, solid,liquid,gas at real life melting and boiling temperatures. All phases absorbs neutrons, not the original absorb feature that barely absorbs any neutrons, this one absorbs around 90% of all neutrons that touches it.
- ALUM - Aluminium. Has only solid and liquid phases at this time. A work in progress. Trying to add some cool alloy function if i can find a good use for it.
- CO2 - Carbon dioxide. Makes fire turn into smoke, (bad combustion). Can make aerated water, one pixel of water can take 2 CO2 atoms in 0.00 pressure, and up to 5 in 5.00 pressure. Aerated water releases CO2 if pressure drops or the water boils.
-- IC circuits, only use 1 pixel of these.
- ANDG - And gate. If a sparked PSCN and a sparked NSCN is nearby this one will spark a nearby conductor.
- NOTG - Not gate. Sparks a nearby conductor if not an sparked PSCN is nearby.
- TMEU & TMEO - Temperature meters, Over and Under. Sparks a nearby conductor if its temperature is over (TMEO), or under (TMEU), its own life value. The life value can be changed using, PSCN to rise or NSCN to lower, and changes around 4 per spark. Too see the life value, press D to enable the debug menu.
- PMEU & PMEO - Pressure meters, Over and Under. Sparks a nearby conductor if the surrounding pressure is, over or equal (PMEO), or under (PMEU) the temperature of the pressure meter times 100. Ex: PMEO @ 100*C will spark when the pressure is equal or higher than 1.00. Ex: PMEU @ 1200*C will spark when the pressure is below 12.00. It is an non thermal conduction element, and the temperature is set by using HEAT pr COOL.
And i have also changed some things to make TPT kind of more 'realistic'.
- SMKE - Original smoke. Does no longer disappear, and releases CO2 after a time. So to have a fire you need good ventilation.
- FIRE & O2 - Original fire and Oxygen. Oxygen are not flammable anymore, it increases the fires temperature a bit. So the more oxygen you give a fire, the hotter the fire will burn.
looks nice, however cannot compile for mac, i get this error
gcc -o powder-x -w -std=c99 -D_POSIX_C_SOURCE=200112L -Iincludes/ -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lm -lbz2 -lSDLmain src/*.c src/elements/*.c -DMACOSX -DPIX32BGRA -arch x86_64 -framework Cocoa -framework SDL src/elements/mopz.c: In function ‘update_MOPZ’: src/elements/mopz.c:18: error: ‘PT_MOPZ’ undeclared (first use in this function) src/elements/mopz.c:18: error: (Each undeclared identifier is reported only once src/elements/mopz.c:18: error: for each function it appears in.) make: *** [powder-x] Error 1