Commit Graph

219 Commits

Author SHA1 Message Date
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
Mloc
c35261f0fd Much better solution to the zone geometry bug.
Adds a unsim_check_directions var to simulated turfs, which is similar in use to air_check_directions but points to unsimulated or space tiles instead of open air tiles.

Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-10 10:25:20 +01:00
Mloc
6466d17736 Fix for ChangeTurf and update_air_properties not handling geometry changes correctly.
Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-09 12:49:50 +01:00
SkyMarshal
8111178b6e Updates the zone-sleeping code to account for turf changes. 2013-10-05 12:38:33 -07:00
SkyMarshal
cffa100caa Reverted both LordBraindead and my own work on firecode back to when it was stable. Fixed some issue with phantom-fires-in-pipes. Removed some useless things left over from FEA. 2013-10-05 00:32:02 -07:00
SkyMarshal
92f389546b Removes the gas mask filtering stuff from gas mixtures. Moved it into the relevant "life" code. 2013-09-11 12:09:23 -07:00
SkyMarshal
add3ed71c0 Added new two-tile hazard door sprites, thanks to Ravensdale, and fixed a derp with the new ZAS sleeping stuff. 2013-09-11 11:43:42 -07:00
SkyMarshal
f76f5ae532 First pass on experimental change that allows zones to "Sleep" 2013-09-11 11:43:42 -07:00
Zuhayr
c7942b7eaf Merge pull request #3651 from SkyMarshal/airfixes
ZAS update, needs testing.
2013-09-07 05:46:04 -07:00
SkyMarshal
9c87960852 Bluh. 2013-09-06 21:11:46 -07:00
SkyMarshal
301de25bae Fixes the not-considering-actual-geometry issue. 2013-09-06 21:07:34 -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
1762c65640 man I am bad at this 2013-09-06 19:57:55 -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
Chinsky
cafa176548 Merge pull request #3647 from SkyMarshal/patch-2
ZAS fix, Stops lasertag guns from killing you if you shoot it into your mouth.
2013-09-04 07:20:15 -07:00
SkyMarshal
081356f21b Fixes longstanding connection bug. 2013-09-03 20:58:26 -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
Erthilo
3b61ba850f Merge branch 'master' of git://github.com/Baystation12/Baystation12 into dev
Conflicts:
	baystation12.dme
	code/modules/projectiles/ammunition/bullets.dm
2013-09-02 23:32:33 +01:00
Mloc-Argent
a084f74c7d Expansion of every "icon = ''" path.
Supposed to help compilation times.  Who knows.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-09-01 21:53:36 +01:00
Erthilo
a4829a271e Gas mask filters Plasma and N2O. 2013-09-01 20:51:19 +01:00
Mloc-Argent
d2d08208a8 made zburn/firelevel more predictable. Probably won't change much ingame, but it's a start.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-08-29 22:06:27 +01:00
Mloc
6ea99aff32 Disabled airlock heat transfer after community vote.
Signed-off-by: Mloc <colmohici@gmail.com>
2013-08-17 01:03:13 +01:00
Mloc-Argent
ebc19424e0 Fix for minute traces of toxins in the air causing firestorms.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-08-17 00:19:28 +01:00
Mloc
7ffb680cdd Merge pull request #3524 from SkyMarshal/airfixes
Fixes a derp with the insulation code.
2013-08-15 15:12:49 -07:00
SkyMarshal
9f540e2606 Fixes a derp with the insulation code. 2013-08-15 10:03:51 -07:00
Zuhayr
ea9078830a Merge pull request #3384 from SkyMarshal/airfixes
Fixes a bug with heat transfer.
2013-07-28 19:13:13 -07:00
SkyMarshal
cd72596249 Fixes a bug with heat transfer. 2013-07-28 19:11:05 -07:00
Segrain
fdce68fe66 Magboots fix. 2013-07-28 14:31:23 +03: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
Mloc
2288dc8abf Merge pull request #3318 from SkyMarshal/airfixes
Hypothetically fixed two issues, both the airlock issue and ZAS not detecting the runtime that was occuring.
2013-07-14 16:12:53 -07:00
SkyMarshal
46f808edf4 Hypothetically fixed two issues, both the airlock issue and ZAS not detecting the runtime that was occuring. Should still be verified on the live server before considered resolved. 2013-07-14 16:09:30 -07:00
LordBraindead
6f0ebc1bb5 changed how fire works
-fire switched to release energy by burning fuel and generating heat from that
- reorganzied the fire process in a saner manner
2013-07-05 19:56:53 +01:00
LordBraindead
7345b059a3 changed variable settings for the change in fire.dm
added one new variable
deleted three variables that are no longer used
2013-07-05 19:56:45 +01:00
SkyMarshal
efd3d83e78 Reverts my firechanges, also air alarms now have a temperature regulation capacity. 2013-07-04 20:55:59 -07:00
SkyMarshal
87f576fb64 ZAS and alarm fixes. 2013-07-04 20:22:19 -07:00
SkyMarshal
6d2b9882e4 ZAS fixes, implements multi-tile doors (That work perfectly!)
That multi-tile firedoor needs love.  Lots of love. (It is missing a lot of icon states)
2013-06-23 19:49:42 -07:00
SkyMarshal
73bf813127 Sanity checking for zone disconnection. I am dumb some days. 2013-06-19 12:47:19 -07:00
SkyMarshal
1f886448b6 Fixes a runtime involving ZAS zones lose their air datum. (I have no fucking idea why that happens)
Fixes #3059
2013-06-13 18:20:42 -07:00
SkyMarshal
1739ff6fec God, I am not awake. 2013-06-10 19:40:39 -07:00
SkyMarshal
df73aabf83 Fixes for ZAS issues.
Fixes #2996
Fixes #3023
2013-06-10 18:49:41 -07:00
Chinsky
e22156aa8c Merge pull request #2981 from SkyMarshal/zas-cleanup
Runtime fix.
2013-06-05 14:54:32 -07:00
SkyMarshal
50735caf29 Runtime fix.
ZMerge was trying to combine lists without checking for existence.
2013-06-05 15:51:43 -06: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