This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/simulation/elements
Tamás Bálint Misius 0fe596f741 Make RFGL and RFRG a bit more realistic (#366)
* Make RFGL and RFRG a bit more realistic.

This means that they both more or less follow Gay-Lussac's law: T2 = T1 * P2 / P1. Simple heat transer mechanism, no playing around with .life, shared update function.

* Ditch weird pressure scale

* No /0 pls
2017-04-23 11:25:42 -04:00
..
116.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
146.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
180.cpp disable experimental elements in mods, intro text fix for mods 2017-03-04 23:54:03 -05:00
181.cpp disable experimental elements in mods, intro text fix for mods 2017-03-04 23:54:03 -05:00
182.cpp disable experimental elements in mods, intro text fix for mods 2017-03-04 23:54:03 -05:00
ACEL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
ACID.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
AMTR.cpp don't remder AMTR as a gas 2016-03-12 13:39:54 -05:00
ANAR.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
ARAY.cpp separate t and v argument in create_part, fix LIGH not defaulting to .life of 30 with clones / console 2016-01-11 22:38:42 -05:00
BANG.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BCLN.cpp separate t and v argument in create_part, fix LIGH not defaulting to .life of 30 with clones / console 2016-01-11 22:38:42 -05:00
BCOL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BGLA.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BHOL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BIZR.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BIZRG.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BIZRS.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BMTL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BOMB.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BOYL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BRAY.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BRCK.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
BREC.cpp change CRMC creation reaction from BREL + LAVA(CLST) to LAVA(QRTZ) + LAVA(CLST) 2015-12-27 21:28:57 -05:00
BRMT.cpp Typo in BRMT's description (#319) 2016-09-04 19:47:10 -04:00
BTRY.cpp A few description updates from boxmein. Closes #282 2016-06-11 11:00:06 -04:00
BVBR.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
C5.cpp Changes by Skylark: 2017-04-11 23:15:01 -04:00
CAUS.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
CBNW.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
CFLM.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
CLNE.cpp A few description updates from boxmein. Closes #282 2016-06-11 11:00:06 -04:00
CLST.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
CNCT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
CO2.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
COAL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
CONV.cpp A few description updates from boxmein. Closes #282 2016-06-11 11:00:06 -04:00
CRAY.cpp delete old comment 2016-10-01 00:04:26 -04:00
CRMC.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DCEL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DESL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DEST.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DEUT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DLAY.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DMG.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DMND.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DRAY.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DRIC.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DSTW.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DTEC.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DUST.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
DYST.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
ELEC.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
Element.cpp Allow old lua scripts which use state to work 2015-12-18 02:07:16 -05:00
Element.h remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
EMBR.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
EMP.cpp fix mistake in EMP.cpp, add license header in Probability.cpp 2015-12-18 23:23:44 -05:00
ETRD.cpp jacksonmj: Reduce ETRD lag e7c4b989654e 2015-12-19 01:39:03 -05:00
EXOT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
FIGH.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
FILT.cpp add ctype-based filt shift modes (#351) 2016-11-07 18:06:43 -05:00
FIRE.cpp change CRMC creation reaction from BREL + LAVA(CLST) to LAVA(QRTZ) + LAVA(CLST) 2015-12-27 21:28:57 -05:00
FIRW.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
FOG.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
FRAY.cpp Customizable FRAY and INVS (#390) 2017-04-20 17:37:09 -04:00
FRME.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
FRZW.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
FRZZ.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
FSEP.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
FUSE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
FWRK.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
GAS.cpp A few description updates from boxmein. Closes #282 2016-06-11 11:00:06 -04:00
GBMB.cpp simpler version of 9a2b7749c7 (gravity wall change) 2016-01-05 23:12:12 -05:00
GEL.cpp Prevent diffusion of stored water between GEL and SPNG if no water is stored 2016-07-26 00:59:41 +01:00
GLAS.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
GLOW.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
GOLD.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
GOO.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
GPMP.cpp simpler version of 9a2b7749c7 (gravity wall change) 2016-01-05 23:12:12 -05:00
GRAV.cpp Skylark: make GRAV prettier 2017-04-11 23:15:23 -04:00
GRVT.cpp simpler version of 9a2b7749c7 (gravity wall change) 2016-01-05 23:12:12 -05:00
GUNP.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
H2.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
HSWC.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
ICEI.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
IGNT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
INSL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
INST.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
INVIS.cpp Customizable FRAY and INVS (#390) 2017-04-20 17:37:09 -04:00
INWR.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
IRON.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
ISOZ.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
ISZS.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
LAVA.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
LCRY.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
LIFE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
LIGH.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
LNTG.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
LO2.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
LOLZ.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
LOVE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
LRBD.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
MERC.cpp Limit MERC tmp to valid range 2016-07-16 01:16:04 +01:00
METL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
MORT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
MWAX.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
NBHL.cpp simpler version of 9a2b7749c7 (gravity wall change) 2016-01-05 23:12:12 -05:00
NBLE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
NEUT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
NICE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
NITR.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
NONE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
NSCN.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
NTCT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
NWHL.cpp Add control of gravity strength using tmp to WHOL 2016-07-26 23:26:37 +01:00
O2.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
OIL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PBCN.cpp fix PBCN(LIGH) 2016-03-12 13:32:12 -05:00
PCLN.cpp separate t and v argument in create_part, fix LIGH not defaulting to .life of 30 with clones / console 2016-01-11 22:38:42 -05:00
PHOT.cpp Changes by Skylark: 2017-04-11 23:15:01 -04:00
PIPE.cpp Fix -Werror=misleading-indentation (#369) 2017-02-20 18:51:10 -05:00
PLEX.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PLNT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PLSM.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PLUT.cpp A few description updates from boxmein. Closes #282 2016-06-11 11:00:06 -04:00
PPIP.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PQRT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PROT.cpp Fix crash on SPRK(ctype=0) being killed by PROT (#344) 2016-10-07 09:37:25 -04:00
PRTI.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PRTO.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PSCN.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PSNS.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PSTE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PSTN.cpp remove unused PSTN code (is this a sign of a bug?) 2017-04-20 21:16:25 -04:00
PSTS.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PTCT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PUMP.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
PVOD.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
QRTZ.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
RBDM.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
RFGL.cpp Make RFGL and RFRG a bit more realistic (#366) 2017-04-23 11:25:42 -04:00
RFRG.cpp Make RFGL and RFRG a bit more realistic (#366) 2017-04-23 11:25:42 -04:00
RIME.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
RPEL.cpp RPEL's ctype sets the element it repels 2016-07-17 16:47:43 -04:00
SALT.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SAND.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SHLD1.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SHLD2.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SHLD3.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SHLD4.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SING.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SLTW.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SMKE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SNOW.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SOAP.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SPAWN2.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SPAWN.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SPNG.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
SPRK.cpp Fix NTCT / PTCT / INWR triggering EMP blasts ... 2015-12-19 02:44:20 -05:00
STKM2.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
STKM.cpp extra sanity check (was needed in my mod) 2016-07-16 00:50:09 -04:00
STNE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
STOR.cpp A few description updates from boxmein. Closes #282 2016-06-11 11:00:06 -04:00
SWCH.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
TESC.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
THDR.cpp revert THDR being changed to an energy particle 2016-04-02 00:21:13 -04:00
THRM.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
TRON.cpp Customizable FRAY and INVS (#390) 2017-04-20 17:37:09 -04:00
TSNS.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
TTAN.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
TUNG.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
URAN.cpp A few description updates from boxmein. Closes #282 2016-06-11 11:00:06 -04:00
VIBR.cpp probably fix uninitialized thing in VIBR, might spend longer later messing with d4zk1tty's fuzzer script 2016-04-02 01:04:13 -04:00
VINE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
VIRS.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
VOID.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
VRSG.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
VRSS.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
WARP.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
WATR.cpp A few description updates from boxmein. Closes #282 2016-06-11 11:00:06 -04:00
WAX.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
WHOL.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
WIFI.cpp Fix WIFI cooldown 2017-03-20 23:04:28 -04:00
WIRE.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
WOOD.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
WTRV.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00
YEST.cpp remove extra spacing in all the element files 2015-12-18 02:27:19 -05:00