Commit Graph

28 Commits

Author SHA1 Message Date
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
clusterfack
c850a69443 Fixes h/e pipes and thermal plates
Fixes #2864
Fixes #4078

They would radiate and make ultra cold gas under 10 moles, 10 moles is about 10kpa at 20C, which is simply way too high.

They will radiate at less than .001 only, less than the standard moles for a standard 'gasless' tile. And to similarly limit unnecessary gas exchange procs being called pointlessly, will only intermix with at least 1 mole in the atmosphere.
2015-05-20 06:29:41 -05:00
D3athrow
9c21244617 REVERT GAS DATUMS UNTIL COMIC FIXES THE PERFORMANCE ISSUES: PLEASE WORK ON THE GASDATUMS BRANCH https://github.com/d3athrow/vgstation13/tree/gasdatums in the mean time. 2015-05-10 22:55:46 -05:00
clusterfack
be46d6af35 Checked all references to temperature going down through the code until modules/mob 2015-05-09 18:46:56 +01:00
ComicIronic
b999fba045 Replaced some manual values with set_volume() and set_temperature() 2015-05-09 18:44:30 +01:00
ComicIronic
c1a58dc3c3 Gas math stripping
Removed update_values(). RIP, shine on you CPU diamond.
Removed get_moles_by_id and get_archived_moles_by_id, all moles are now accessed directly to reduce call cost.
Added set_temperature and set_volume procs which recalc pressure when temperature or pressure change.
Heat_capacity is now a var updated when gases update.
Modified adjust_gas to use set_gas, modified set_gas to alter heat_capacity, total_moles, and pressure as needed.
2015-05-09 18:43:24 +01:00
clusterfack
147c5bd5a7 A process scheduler thing
Included:
-The process lists use |= instead of += due to the increased stability of the former against double additions.

-Atmospherics machinery is moved under the pipenet processing.

-Modified the atmospherics processes to return 1 when theyve done something, and 0 if they aint done jack shit. Then called scheck() if they return 1, possibly  reducing unnecessary scheck calls while still managing to smooth out the atmospherics processing.

-If a powernet happens to get rebuilt by either powernets or power machinery scheck() is also called
2015-05-08 01:15:19 -05:00
Chris
b69d77e021 Runtime sanity 2015-01-08 12:44:15 -06:00
Rob Nelson
0abc116244 Pipe fixes, vent standardization, AI announce fixes. 2014-12-11 14:07:13 -08:00
Rob Nelson
ae44ec5161 BEEEAAAAMS (and atmos/supermatter stuff)
A lot of fixes that became intertwined.
- rscadd: "BEAMS!  Emitters now put out a constant beam of energy, which is far less laggy that the old bullet-based method.  They also look cooler."
- rscadd: "Prisms can combine emitter beams that multiply the damage."
- rscadd: "Infrared triggers use the same system as emitters."
- rscadd: "Burst HE pipes have their own sprite"
- rscadd: "High-performance event observers (needed for beams)"
- rscadd: "Supermatter audio alerts"
- rscadd: "Added radiation floor decals."
- bugfix: "Burst pipes are no longer baleeted by their own explosions."
- bugfix: "Pipes are given time to release pressure before the next round of pressure checks."
- bugfix: "Explosions are slightly delayed to avoid choruses of simultaneous explosions"
- bugfix: "Gas miners no longer melt."
2014-12-08 22:44:20 -08:00
Rob Nelson
b359e1ad93 Bugfixes after testing. 2014-11-29 18:34:43 -08:00
Rob Nelson
a2742580fb Comments. 2014-11-22 18:38:40 -08:00
Rob Nelson
8fce2a46da Day fucking two and I still don't know what the hell I'm doing. 2014-11-21 22:18:54 -08:00
Rob Nelson
c62d7ce8ab Well, HE pipes leak like a sieve, so this is on hold for now. 2014-11-21 11:57:17 -08:00
d3athrow
355324f116 Fix atmos runtimes due to catwalks not having a zone. 2014-03-20 15:32:50 -05:00
Rob Nelson
cc66747f94 Added a garbage collector implementation based on rumors from Goon and proc references in released gooncode.
And holy shit it's fast
2014-01-29 03:08:00 -08:00
Rob Nelson
7da7eeadfb Fix dumb logic errors in junctions. Should fix #389. 2014-01-12 17:05:39 -08:00
Rob Nelson
9516b2cad2 HE pipe fixes. 2014-01-05 19:32:59 -08:00
Rob Nelson
96ba6ed3e0 Fix insulated pipes. 2014-01-03 15:24:36 -08:00
Rob Nelson
21f3e311ff Use u_equip instead of the if-tree when building conveyor switches. 2013-12-30 10:06:30 -08:00
Rob Nelson
854d5d88d4 Fuck 2013-12-29 17:59:20 -08:00
Rob Nelson
0aa15673a8 Fix HE pipes duplicating. 2013-12-29 17:49:45 -08:00
Rob Nelson
274d2f89df Phase one of airlock console construction.
* Make airlock control computers and vents configurable with multitools.  Harder than it looks.
* Refactor the clusterfuck of redundant bullshit in pipe construction.
2013-12-20 13:32:27 -08:00
Rob Nelson
b190201963 Fix cooling system 2013-10-11 00:25:59 -07:00
Rob Nelson
2b77203275 ** WILL NOT COMPILE, OVER STRINGS LIMIT **
Import new bay stuff.
2013-09-03 23:19:24 -07:00
SkyMarshal
7534154fa2 Cleaned up some code, fixed a bug with dead/sleeping people seeing you talk into headsets, reworked guncode some, readded point-blank shooting, removed disposal space cannon, hacktool works on windoors and secure closets, now. 2012-03-05 12:27:55 -07:00
SkyMarshal
e755219d70 Goddamn HE pipes broken mumble grumble. 2012-02-18 02:17:56 -07:00
mport2004@gmail.com
ed93b992c4 H/E pipes once again do H/E things
Missed a line on the flashes, they will once again stun cyborgs
Few adminverbs changed by request of the heads
Roburgers will only provide 2 nanites down from 10
The random round spawn code now checks jobbans
Players with a Cyborg jobban cannot become a cyborg normally

Re added the old power armor typepaths as there seem to be a few of them in the .dmm and the thing's autocorrect/remove items seems to just fuck up the rest of the map when used.  I have no idea where they are located and don't like leaving errors in the code, so if someone could remove them and the old typepaths it would be great.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2024 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-19 06:11:28 +00:00