Commit Graph

527 Commits

Author SHA1 Message Date
Mloc-Argent 33805e639b Implements hooks, an easier way to write code to be called at startup/roundstart/roundend.
Current hooks are "startup", "roundstart", and "roundend".
Most stuff in world/New() has been moved over to the startup hook.
Roundstart and roundend have no hooks yet.

Removed the unused "newbanjob.dm" file and associated verbs/topics.
Bumped RECOMMENDED_VERSION up to 501.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-11-25 21:16:09 +00:00
Nanai cba1a9585d Medical Hoopery
Added eyes as an internal organ, removed the eye-stat var on mobs and changed it to properly direct it to eye damage. Altered all reference.

Updated the sleeper to allow for ejection of the beakers and occupants in panel.

Updated the body scanner to check for prosthetics/mechanized organs, and inform the individual of the blind disability.

Laid the groundwork for mechanical and assisted internal organs.

Groundwork for chemical: Peridaxon, a chemical that allows for the slow regeneration from organ damage.
2013-11-14 12:40:30 -05:00
Mloc ad9139304d Merge pull request #3864 from comma/master
VG ZAS Fire stolen
2013-11-03 08:33:03 -08:00
Chinsky a210c1b613 derp XOR 2013-11-03 20:31:50 +04:00
Chinsky 8274114e47 VG ZAS Fire stolen 2013-11-03 20:28:26 +04: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
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