Commit Graph

265 Commits

Author SHA1 Message Date
Aryn
c4f6a66d3d Fixed nuke shuttle being a swirly vortex of death.
This bug was actually in legacy ShareSpace code,
I'm surprised it wasn't noticeable in the old ZAS.
2014-02-26 08:16:52 -07:00
Aryn
84f02ae47c Reverted unrelated ZAS modification and unnecessary check. 2014-02-24 07:55:36 -07:00
Aryn
ca7d4026b8 Lighting system is too buggy to continue until I know wtf is going on 2014-02-24 05:58:09 -07:00
Aryn
bb6f030f84 Added Reboot ZAS as a debug verb.
Replaces the air controller, marks all old zones invalid,
 and adds every turf to the update list. Results are the same as on a
 server start.
2014-02-22 09:09:48 -07:00
Aryn
e3b87b4c4d Removed a leftover generally-accessible debug verb. 2014-02-22 08:47:54 -07:00
Aryn
6c91d220b8 Added code protecting against obscure merges of invalid zones.
- Usually happened when welding fuel tanks caused secondary explosions.
2014-02-22 08:45:31 -07:00
Aryn
d6b275ca73 Fixed walls not splitting zones. 2014-02-22 08:16:35 -07:00
Aryn
dcc7ad33c9 Zones didn't split when a full window was placed. 2014-02-22 08:02:10 -07:00
Aryn
f511ac20c2 Fixed some debug verbs, removed ZASDBG define. 2014-02-21 08:46:56 -07:00
Aryn
d0c0315d53 Added documentation, split ConnectionManager.dm, removed some unused procs.
Added a proc to find the other zone in an edge for future procs.
Fixed the stupid .int again.
2014-02-21 08:39:04 -07:00
Aryn
0089ae6282 Fixed some weird bugs concerning space and the creation thereof. 2014-02-21 08:39:04 -07:00
Aryn
f95d0f9a98 Fixed some zone.remove() bugs:
Turf should be set back to no gas overlays.
Debug mode checks if zone actually contains turf
(might be useful in turf replacement.)
2014-02-21 08:39:03 -07:00
Aryn
bae9fad90b Added Z-level support for ZAS, disabled by default to save CPU.
- Use #define ZLEVELS or uncomment it in _docs.dm to turn it on.
2014-02-21 08:38:51 -07:00
Aryn
4c27af0bb9 Added Z-level support. 2014-02-21 08:38:44 -07:00
Aryn
c9b9b18807 Removed debugging flag. 2014-02-19 18:28:32 -07:00
Aryn
6fbe320f88 Fixed bugs pertaining to connection updates.
- Unanchored windows did not split zones.
 - Phantom connections left behind by closed doors.
2014-02-19 18:26:04 -07:00
Aryn
0814bdb36f Added some documentation. 2014-02-19 18:24:37 -07:00
Aryn
a2d992ef5c Fixed inexplicable reversions. 2014-02-19 17:11:09 -07:00
Aryn
83fdc0942c Completed arduous process of standardizing new code. 2014-02-19 16:56:53 -07:00
Aryn
bc971b01ea New ZAS version, stable and efficient. Git broke the everything so it's in one commit. 2014-02-19 16:47:53 -07:00
Zuhayr
e870d614c2 Mass correction of controler to controller. 2014-01-25 03:15:13 +10:30
Ccomp5950
283df26fa7 Merge branch 'dev-freeze' of github.com:Baystation12/Baystation12 into dev 2014-01-23 00:19:01 -06:00
Ccomp5950
c028db481e Merge branch 'master' of https://github.com/Baystation12/Baystation12 into dev-freeze
Conflicts:
	code/modules/mob/living/carbon/monkey/diona.dm
	code/modules/reagents/Chemistry-Machinery.dm
2014-01-23 00:05:53 -06:00
SkyMarshal
8badd4de18 Fixes an error with the explosions-deleting-zone-air detection. 2014-01-22 22:49:37 -07:00
LBraindead
f58487a0e9 Update ZAS_Zones.dm
ZAS adjustments
2014-01-18 00:14:01 +01:00
LBraindead
d1874bec2e Update Functions.dm
ZAS adjustments
2014-01-18 00:10:39 +01:00
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
Ccomp5950
cbcd3d1468 Merge pull request #4265 from SkyMarshal/heatfix
Heatfix
2014-01-10 18:47:53 -08: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
Mloc-Argent
dfe18845be Merge remote-tracking branch 'upstream/dev-freeze' into dev 2014-01-09 17:42:30 +00:00
SkyMarshal
37ec915386 Reverts some geometry code to a functional state.
Fixes #4045
2014-01-08 23:00:11 -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
LBraindead
9e752d7c79 Update Fire.dm
a bit of rebalancing that should fix the eternal-fire bug
2014-01-01 23:19:27 +01:00
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