Commit Graph

63 Commits

Author SHA1 Message Date
Ccomp5950
83ef93c41c Merge pull request #4270 from Baystation12/master
Merge master into Dev
2014-01-11 18:18:03 -08:00
SkyMarshal
350c1500cf Patches some logic holes in ZAS, specifically rebuilding and deletion. Fixes #4273 2014-01-11 11:34:57 -07:00
SkyMarshal
9cae391e0e Adds developer-level access to ZAS settings.
Fixes bug which would always let heat move through doors.
2014-01-10 16:48:16 -07:00
SkyMarshal
ccaef844bf Fixes derpiness with ZAS heat transfer. 2014-01-10 16:40:06 -07:00
SkyMarshal
890491da61 Fixes ZAS silliness with SoftDelete 2014-01-10 16:38:08 -07:00
SkyMarshal
8ecfd56540 Some turf cleanup and the like. Trace gases are now properly handled by ZAS on world load.
Fixes #2485
2014-01-08 21:36:03 -07:00
SkyMarshal
81d9483e72 Tweaks the zone rebuilding logic to prevent doors being ignored.
Fixes #4046
2014-01-08 17:47:41 -07:00
SkyMarshal
7531bf6c64 Patched holes in SoftDelete that were causing null reference errors.
Fixes #3892
2014-01-08 17:45:09 -07:00
Mloc-Argent
593c10d9f5 Fix for trace_gases getting massive and killing the server.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-11-02 21:30:44 +00:00
Mloc
2a52e94d18 Hopefully. Hopefully was the key word.
Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-27 15:50:07 +00:00
Mloc
a1fd865b1a (hopefully) Final fix for ZAS for 0.1.4.
Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-27 12:08:40 +00:00
Mloc
5234b1394b Moves around some ZAS stuff and fixes some things in FEA gas mixtures.
ShareSpace now can take a gas mixture as an argument, alongside the usual list of tiles.
Three new procs on gas mixtures, add() multiply() and divide().  Self explanatory.
Zones with unsimulated tiles that sleep will now reset themselves to the average air.
assume_air will only add air to sleeping zones with unsimulated tiles if it can wake the zone up.

Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-23 22:04:31 +01:00
Mloc-Argent
24994ec752 Small work on making zones wake up on geometry changes.
Also added sleeping for zones with unsimulated tiles; unfortunately it probably won't happen for ages due to a dichotomy paradox.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-10-13 19:44:12 +01:00
SkyMarshal
8111178b6e Updates the zone-sleeping code to account for turf changes. 2013-10-05 12:38:33 -07:00
SkyMarshal
f76f5ae532 First pass on experimental change that allows zones to "Sleep" 2013-09-11 11:43:42 -07:00
SkyMarshal
7d0c1f047a There we go, rebuilding works right now. Also has a slightly bugged verb that demonstrates how the rebuilding works, but you need to somehow prevent a zone from updating for it to show more than one "id" 2013-09-06 21:03:46 -07:00
SkyMarshal
057c8eeacd Fixed a minor derp. 2013-09-06 19:46:48 -07:00
SkyMarshal
5eb87a8b13 Use of two-pass connected component labeling to improve zone rebuilding
Signed-off-by: SkyMarshal <skymarshal1729@gmail.com>
2013-09-06 19:10:29 -07:00
SkyMarshal
3b2da3238c Reduces processing of connections, zones now rely on the air properties of constituent turfs (they will adjust these properties when turfs are added or removed) 2013-09-06 15:41:50 -07:00
SkyMarshal
e8f9d19c75 Completed ZAS rework. Needs testing, and consideration to make zones sleep. 2013-09-03 20:25:03 -07:00
SkyMarshal
073f462e1b WIP ZAS rework. 2013-09-03 20:25:02 -07:00
SkyMarshal
9f540e2606 Fixes a derp with the insulation code. 2013-08-15 10:03:51 -07:00
SkyMarshal
cd72596249 Fixes a bug with heat transfer. 2013-07-28 19:11:05 -07:00
SkyMarshal
72c331bfa7 Several ZAS fixes.
Adds insulation to doors, modifiable by admins from the ZAS setting panel.
Fixes a logic error with connections.  (I am dumb some days)
Improves the runtime detection and reporting.
Improves "zone info" debug verb.
2013-07-25 21:34:12 -07:00
Mloc-Argent
d02d50d0ce ZAS fix. It should now be possible to repair breaches without admin intervention.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-07-25 14:31:31 +01:00
Mloc-Argent
2a825e6cca Made most paths in ZAS absolute, for easier searching.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-07-24 21:13:48 +01:00
Mloc-Argent
c79a501a12 Remove the sound played on airflow, due to intense lag and eight-and-a-half million calls of playsound in an hour.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-07-22 16:13:39 +01:00
SkyMarshal
87f576fb64 ZAS and alarm fixes. 2013-07-04 20:22:19 -07:00
SkyMarshal
df73aabf83 Fixes for ZAS issues.
Fixes #2996
Fixes #3023
2013-06-10 18:49:41 -07:00
SkyMarshal
dc9978dabb Fix issue causing depressurization of all shuttles.
@cib, you made all unsimulated tiles appear to be the size of a room, but neglected to also increase the apparent volume of gas in said "room."
2013-06-02 23:28:51 -06:00
SkyMarshal
39df196edc Fixed disposal issue.
Delayed Jungle setup until after air master initializes
Master controller now properly ceases atmos simulation if runtimes occur (and are detected).
Cleanup more ZAS stuff.  FEA_system.dm, ZAS/ZAS_Turfs.dm, ZAS_Zones.dm.
Canisters now autoconnect to portables connectors on creation.   (Fixes airlocks not having attached canisters)
Doors can now be made which respect directional door types (e.g. windoors and directional firelocks) and is handled better.
2013-05-21 23:12:47 -07:00
cib
3b09c8b3a6 Space no longer has a heat_capacity
I mean, seriously? Magical realm of heat absorption? Screw that, space is now room temperature!
2013-05-21 00:46:12 +02:00
SkyMarshal
ef38bc91bf Fixed some bugs with ZAS closed connections
Sped up air equalization between zones
Fixed an issue where space tiles were not removed from the zone.
Made ZAS debug functions accessible when the mapping verbs are toggled on.
2013-04-18 12:10:20 -07:00
SkyMarshal
846a8ec906 Experimental ZAS capability for heat to transfer through closed doors. 2013-04-18 09:58:38 -07:00
SkyMarshal
1ccceb0e6d Fixes an issue with fire leaving the trace_gases list full of nulls and revert some more of whatever Cael had done to that poor air-movement procedure. 2013-04-18 09:58:37 -07:00
SkyMarshal
7827eec629 Plasma no longer contaminates backpacks (They cannot be washed)
Increased speed of zone equalization.
Lighting controller and ticker now initialized after world is set up and a player has joined.
2013-04-18 09:57:28 -07:00
SkyMarshal
5c5b7028b0 Fire update. Should now burn out after a time, and temperature varies on a number of conditions. Fixed a runtime, and made fire work in canisters. Ingame modification of ZAS is now possible again. Firedoors now remove duplicate firedoors on the same turf. 2013-04-18 09:56:51 -07:00
SkyMarshal
f05b8e0083 Fixes issues:
#2632 Fire Issues (Fire doors work, Flamethrower reverted to making a flamethrower liquid fuel subtype, flame grenades now make a puddle of welder fuel that is lit aflame with napalm)
#2630 (The code has been calling (turf).temperature_expose when it was supposed to be hotspot_expose), #1865 (aqain)(Added a check to remove trace gas fuel under a certain point).
Also: added a flashpoint value for plasma, which is the temperature at which it self-ignites (Currently 246C or 519K which is equal to gasoline)
Partial-tile firedoors now default to full-tile firedoors as the part-tile ones were breaking ZAS zones entirely.  Possible cause of #2627 and maybe #2451, but those need tested and I did not have time.
2013-04-18 09:56:49 -07:00
SkyMarshal
9b0c40756b Fixed fire. 2013-04-04 01:29:23 -07:00
SkyMarshal
c97750f913 Reverts Cael's retard flailing. Do not fuck with zone sharing ratios unless you know what you are doing, as air movement then becomes quite chaotic and derpy. Should fix some issues with ZAS. 2013-04-04 00:30:15 -07:00
Chinsky
4d7aa320cb Due to git tree being fucked up for some reason, manually reapplied many man many fixes.
Just got to tip of real tree and got zipball, then unpacked it here.
2013-02-07 07:13:27 +04:00
Cael_Aislinn
5767a87d93 increased threshold for wind sound to play
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-02-01 23:03:07 +10:00
Cael_Aislinn
1c9b04ec74 copmile fixes, rework a few things to better fit tg code structure, replace tgstation.2.0.9.1.dmm with tgstation.2.1.0.dmm (kept old map file), tgstation.2.0.9.1.dmm has 1233 errors
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-01-14 21:07:16 +10:00
cib
59ed460c65 Fix a compile error. 2012-12-18 15:56:24 +01:00
cib
d0735e9a87 Merge branch 'bleeding-edge-freeze' of github.com:Baystation12/Baystation12 into feature
Conflicts:
	code/ZAS/ZAS_Zones.dm
	code/game/gamemodes/events.dm
2012-12-16 15:10:04 +01:00
Cael_Aislinn
df37dd4e75 significantlyt sped up temperature and pressure equalization when merging zones or hull breaches
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-12-15 00:36:39 +10:00
cib
b9427171b5 Compile fix. 2012-12-11 21:32:41 +01:00
cib
ce59e15daf Moved the wind sound effect code to zones instead of airflow.
This'll make it possible to hear sounds even when the flow isn't strong enough to actually move objects.
2012-12-11 21:29:02 +01:00
cib
9d113c51ba Fixed a problem with air exchange rates.
There was a lookup table overwriting the changed values. Silly me.
2012-12-11 20:53:13 +01:00
cib
91c3596a7f Remove the space cold exchange once again.
Must've undone that change by mistake.
2012-12-11 20:20:12 +01:00