Commit Graph

92 Commits

Author SHA1 Message Date
Putnam
d2f1069764 Ported atmos reaction priority fix 2020-02-04 14:32:39 -08:00
AffectedArc07
16a37e2769 Standardises all files from CRLF to LF 2020-01-12 14:28:01 +00:00
kevinz000
6fa6502b75 Merge branch 'master' into tgfusion 2019-09-28 00:35:50 -07:00
kevinz000
d64e5b29fd Update reactions.dm 2019-08-25 15:59:45 -07:00
Sishen
b093439c73 aaaaaaaa 2019-08-25 16:27:02 -04:00
Ghommie
8bd64598c5 umh mh... 2019-07-17 01:32:33 +02:00
Ghommie
408c9aec51 Nothing the power of copypasta won't stop. 2019-07-17 01:01:33 +02:00
Ghommie
c7db3ad8f9 Porting a couple atmos performance improvements. 2019-07-16 23:51:38 +02:00
kevinz000
835e91d46e compile 2019-07-14 05:13:47 -07:00
kevinz000
0299cb3dcf tgfusion 2019-07-14 03:55:35 -07:00
Sishen
0d3efa0abd sell gases to get that fuckin bike 2019-06-20 19:21:12 -04:00
deathride58
1a3e63dc8f fixes space pollution 2019-04-19 13:06:50 -04:00
deathride58
e1963f4ae5 fixes the bug where space isnt actually a vacuum 2019-04-16 18:36:39 -04:00
deathride58
905f32b193 further optimizes performance by making all of the meta gas properties use their own individual lists instead of being in a messy nested list 2019-04-14 16:40:37 -04:00
deathride58
f7203a3428 caches the meta gas info list in heat_capacity() to shave off a mere 2e-7 from its average cost 2019-04-14 15:00:02 -04:00
deathride58
41375d9737 Increases performance significantly by turning garbage collection into a define 2019-04-14 11:33:28 -04:00
deathride58
2c9deab42e removes add_gas() and assert_gas(). next up: do further testing with garbage_collect() present and not present 2019-04-14 10:33:39 -04:00
deathride58
b1467b4ec4 Optimizes memory usage even further by removing the list initialization in gas mixture new() in favor of having the lists start as empty lists. seems to save about 20mb of memory on box judging from one unscientific single test 2019-04-12 08:13:51 -04:00
deathride58
2078485594 minor code cleanup + fixes plasma fixation 2019-04-11 18:20:55 -04:00
deathride58
8b75240d89 fuck atmos - attempts to optimize atmos by removing GAS_META from the gas mixture meta list and removing the usage of gas archive 2019-04-11 17:07:11 -04:00
deathride58
ee8df80c80 Ports tgstation/tgstation#40577 - Makes /datum/gas_mixture/share() roughly 5% faster by removing fairly useless abstraction, also contains a small boost to pipelines 2019-04-02 03:07:13 -04:00
kevinz000
49723c1338 Update gas_types.dm 2018-11-09 23:00:47 -08:00
Bear
c6ce774327 what a gas 2018-11-01 22:35:18 -04:00
Poojawa
cb342866d6 a few last minute changes from TG
also changes His Grace from 25 to 10 requirments
2018-09-18 23:12:29 -05:00
Poojawa
42db44b39e Alien Ruin fix, various cherrypicked upstream fixes
Also adds new buildmode
2018-09-13 22:55:11 -05:00
Poojawa
284e9d0325 module things, jfc 2018-09-11 07:51:01 -05:00
kevinz000
f8a0ac8574 work damnit, work. 2018-09-03 10:43:49 -07:00
kevinz000
2bf5e6af58 Initial Commit 2018-09-03 10:35:47 -07:00
deathride58
b1688405d9 and finally, the modules folder. Now I can publish and take a break 2018-07-02 01:19:37 -04:00
Jordan Brown
6e94511718 Removes unused defines (#38650) 2018-06-22 02:04:45 -05:00
LetterJay
c40a2e698d Merge pull request #7137 from Citadel-Station-13/upstream-merge-38496
[MIRROR] Fix being able to pull mirage borders, others
2018-06-18 10:09:20 -05:00
Jordan Brown
9acc97dabe Merge pull request #38496 from AutomaticFrenzy/patch/mirage-borders
Fix being able to pull mirage borders, others
2018-06-16 15:50:27 -05:00
cyclowns
a2f34faa55 [READY] [TESTED] Fusion Rework Episode V: The Phantom Fusion (#38329)
* initial iteration

* overlooks

* division -> multiplication

* less magic defines

* meant magic numbers, also BZ reqs -> N2O and plasma

* fusion now reacts to give higher temps

* iteration 2, thanks @Manybones

* small changes

* C O N S I S T E N C Y + more higher bigger temperatures

* testing shit and balance pass ignore this

* major balance pass, woohoo time for more TESTING

* whoops

* minor balancing

* radiation is more better

* desmos links..

* silly me

* more radiation buffs and remnants

* reverting a change i made at 2 am
2018-06-16 14:41:16 -05:00
cyclowns
bd25d809c3 Fixes tritium and plasma fires storing cached_results incorrectly (#38230)
* id -> "fire"

* testing remnant
2018-06-03 09:03:33 -05:00
LetterJay
39365437f5 Merge branch 'master' into upstream-merge-37293 2018-05-21 08:53:17 -05:00
cyclowns
7cc9d9103d Refactors hydrocarbon combustion + other general atmos code changes (#37600)
* splits hydrocarbon combustion + other stuff

* nob max() thing

* whoops

* remove proc + new define
2018-05-21 03:21:08 -05:00
Naksu
eb4743e5a9 every fucking time 2018-05-08 09:21:36 -05:00
oranges
187f27983c Merge pull request #37535 from cyclowns/fusion-fix
Fixes gas fusion power not being taken into account
2018-04-29 17:18:30 -05:00
as334
9b36d6c4d9 Re-adds and reworks fusion. (#37384)
add: Fusion is back
add: Fusion now happens with large quantities of hot plasma and CO2, consuming all the plasma rapidly and producing large amounts of energy. Other gases can also effect the performance of the reaction.
add: Fusion now produces radiation. Be careful around reactors.
fix: fixes fusion dividing by zero and destroying everything
code: Gas reactions now have access to where they are occurring
fix: Prevents some other reactions from producing matter from nothing
2018-04-28 01:01:47 -05:00
pigeons
2b2ff05b73 Modified bomb and syndicate bomb spawner so Cuban Pete bombs maxcap and work again 2018-04-27 20:28:55 -05:00
The_Dreamweaver
adac58f0c2 Fixes order of operations math errors with gas defines. 2018-04-11 15:02:22 -05:00
Jordan Brown
5b2df864e3 Merge pull request #36899 from vuonojenmustaturska/quantumsolace
Fixes an edge case with atmos gas mixture garbage collection
2018-04-02 08:31:11 -05:00
Robustin
ff3818aa86 Gas react is much more efficient (#36667)
* React but with some conditions first

* Update gas_types.dm

* Webeditor maymay

* This might break fire but isn't that what freezes are for?

* More webeditor memes

* Did that madman just make it even FASTER?

* Changing list to typecache

* Gotta go faster

* review, dnm yet

* gas.len instead of volume

* Dunc the redeemed

* Merge ready

* Dunc's method actually wasnt the best
2018-03-28 12:16:15 -05:00
CitadelStationBot
c17da68be6 [MIRROR] Removes completely unnecessary block of code in reactions.dm (#6007)
* Removes completely unnecessary block of code in reactions.dm

* removes block of code (#36474)
2018-03-19 21:06:01 -05:00
Buggy123
924463b7a5 [s] Fixes tritium rad_pulse overload (#35667)
* Crashing the server is bad, mkay?

* BYOND PLEASE THIS IS KINDA IMPORTANT
2018-02-25 14:49:18 -06:00
Jordie
fe63a4527f Merge pull request #35660 from Iamgoofball/patch-397
[s] Trit no longer makes radiation
2018-02-14 19:14:14 -06:00
Buggy123
0c9bb1a249 Tritium now produces water vapor when combusting. (#35354)
* HYDROGEN+OXYGEN=WATER

* Burning Tritium now produces a lot of radiation.

* Fixes check and line positions

* No longer spews absurd quantities of radiation.
2018-02-12 21:11:22 -06:00
BordListian
9b910552fd Forces gases to obey certain laws of nature (#35277)
* - Fixes most gas reactions deleting more gas than exists and thus making gas out of nowhere.
- Makes Noblium formation no longer multiplicative.
- Expunges invocation of a byond bug by stimulum production.

* - Redundant parenthesis
- I'm going back to sleep

* - Sends fire and fusion to jail

* - Deletes redundant line in lung code
- Adds garbage_collect and clamp to cryocells
- Adds clamp to collectors

* - Reverted the tritium burn changes because apparently I'm dumb

* - FUCK

* - Fixes division by zero when fusion has no impurities

* - Adds extra commentary for the next unlucky sod
- Compresses lines for performance or so they say
- Adds ..() to rad_act on turfs

* - Fuck it, fixes rad collectors, open turfs, geiger counters and living mobs not signalling rad_act components
2018-02-07 02:32:31 -06:00
Jordan Brown
1e4a6dd26b Merge pull request #34118 from MrStonedOne/patch-459
Reduces the memory footprint of the gas_mixture datum
2018-01-07 19:58:35 -06:00
deathride58
b4321a1dbe Merge pull request #4435 from Citadel-Station-13/upstream-merge-33636
[MIRROR] restores reaction max_reqs checking code
2017-12-21 03:44:57 +00:00