Commit Graph

197 Commits

Author SHA1 Message Date
Verkister
3e1dc9493b fixes the lattices too.
Same thing as catwalks, your stuff shouldn't fall down from your pockets unintended.
2017-07-18 19:46:57 +03:00
Verkister
b540e51ae9 FIXES THE CATWALK INVENTORY BS
Things that are not on the turf floor should no longer drop through catwalks. YOU CAN NOW SAFELY BAG YOUR CRAP WITHOUT LOSING IT TO THE VOID THAT IS THE FLOOR DOWNSTAIRS.
2017-07-18 18:32:07 +03:00
Leshana
e644dbe18a Destroy() cleanups in VOREStation code
* Remove remaining hard del()'s in our code.
* Replace deleted() and gcDestroyed with QDELETED macro.
* Fix some strange calls directly to Del() (capital D)
* Make Destroy() return qdel hints.
* Make a few of the Destroy()'s more comprehensive in cleaning up references.
* In edited Destroy() procs, converted to use qdel_null and qdel_null_list macros when possible for pretty code.
* Removed unused variable `sleevecard`
2017-06-10 22:44:03 -04:00
Arokha Sieyes
e38dceeca1 Another openspace tweak
In an attempt to stop more crashes
2017-06-09 01:31:08 -04:00
Arokha Sieyes
2a19272f4a Openspace Bass Ackwards
That math, yo. It's hard.
2017-06-06 21:40:18 -04:00
Arokha Sieyes
a333c8131b Workaround for openspace turf corruption.
It's an unresolved byond bug.
2017-06-06 19:51:00 -04:00
Leshana
197a648795 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into polaris-sync-2017-06-01
# Conflicts:
#	code/game/objects/structures/crates_lockers/closets/secure/security.dm
#	code/modules/multiz/movement.dm
#	code/modules/projectiles/ammunition/magazines.dm
2017-06-01 17:27:00 -04:00
Neerti
b5802fb185 Makes Mechs Fall
Mechs now will fall when crossing an open tile.
Anything below that tile will have a bad day.
Also makes lighting overlays unable to fall just incase.
2017-06-01 15:05:51 -04:00
Leshana
be19a40248 Fix missing closing HTML tags in messages. 2017-05-20 16:05:54 -04:00
Leshana
6770aba0f6 Allow pulling objects down stairs. Hopefully without too many wierd concequences. 2017-05-19 21:17:34 -04:00
Leshana
8fd50fd530 Fix movement over open space
* Lattices no longer block all downward movement out of their turf, they only block downward falling out of their turf.
* Objects are once again pullable on catwalks (not 100% sure why they were not, but had to do with the falling code calling Move())
* Falling on top of a mob will no longer do an infinate loop of swapping places vertically.
2017-05-19 13:05:49 -04:00
Leshana
8eaa363730 Memory performance fixes for open space
* Don't infinately accumulate underlays!
* Ease up on the New() and Destroy(),  make sure they are a top level object (loc is a turf)
* The open space darkness overlay is always the same, make it a global.
2017-05-19 00:07:08 -04:00
Leshana
fdfa1274dc Run open space controller once during lobby so game will start with it done. 2017-05-18 19:55:02 -04:00
Leshana
a8c9bb786a Workaround BYOND bug by switching floor decals from turf overlays to a magic overlay object.
* New atom to hold a turf's decal overlays instead of the turf itself.
* Change floor_decal initialization to use it instead, and change other decal/overlay interaction procs to use it instead.
* Add floor decal initialization to master controller to do them in one fel swoop instead of nickel and diming.
* Stop area init from updating open space turfs; let the open space controller do it.
2017-05-18 19:31:15 -04:00
Leshana
48eb4a0a49 Prevent speech duplicating through zshadow mobs 2017-05-18 19:31:15 -04:00
Leshana
a8dbd7627d Converts our own uses of PoolOrNew to use just new() 2017-05-16 00:26:56 -04:00
Leshana
20cb56e406 Open space set to dynamic_lighting = 0
* Until we have real multi-z lighting, just leaving it lit seems to work better.  It looks darkish anyway.
2017-05-15 20:45:57 -04:00
Leshana
f02d9d79b1 Fix mob zshadow update icons and other openspace fixes.
* Admin teleports will now update zshadow.
* update_icon() now syncs the zshadow.
* Objects being deleted will trigger open space update.
2017-05-15 20:45:22 -04:00
Leshana
c12ac6d6b9 Fix taking damage when not falling and other falling bugs.
* Fix falling to check if movement actually succeeds before taking damage from falling.
* De-snowflakes how objects prevent you from falling out of their turf (catwalks and latticue)
* Improved the messaging and the way falling procs are called to make it more flexible and possible to hit things in a turf before the turf itself.
2017-05-15 20:44:25 -04:00
Leshana
d5eb86d810 Transfer talking and visible messages upwards thru open space.
Mobs speaking and doing things that emit visible messages will now be seen on floors above, including the icons.
2017-05-15 20:37:07 -04:00
Leshana
735ec09743 Make ladders constructable. 2017-05-11 00:35:48 -04:00
Leshana
e088e7c8aa Edits to tether 3, 5, 6 and prevent descending thru ceilings from space. 2017-04-29 03:25:18 -04:00
Leshana
71ce1dd536 Improvements and fixes to maps 1, 3, and 4 2017-04-27 00:43:37 -04:00
Leshana
25718bfa7b Fix zpipes losing color in-game.
* Colored zpipes (like scrubbers or supply for example) would always lose color in game becuase atmospherics machinery sets color = null since most pipes use overlays and the icon cache.  For better or worse, zpipes don't, they just use a normal icon_state, so they need color set.
2017-04-26 20:07:00 -04:00
Arokha Sieyes
80670b420c Merge current master in 2017-04-25 20:14:38 -04:00
Anewbe
2a872bbd47 Merge pull request #3348 from VOREStation/zpipe-typo
Fix typo in zpipe proc name.
2017-04-22 20:22:34 -05:00
Leshana
23bcfbe28c Fix typo in zpipe proc name.
* The proc obj/machinery/atmospherics/pipe/up/process was supposed to be obj/machinery/atmospherics/pipe/zpipe/process.
* Also changed hard coded integers to use constants while I was editing the file anyway.
2017-04-22 17:05:20 -04:00
comma
c16fba6c8d Makes cable use BYOND directions
Instead of 11,12 they use 32,16 for DOWN,UP
Merges multiz handling into main logic
Port of: https://github.com/Baystation12/Baystation12/pull/15907
2017-04-21 14:25:11 -04:00
comma
5f2d23fbd7 Makes cable use BYOND directions
Instead of 11,12 they use 32,16 for DOWN,UP
Merges multiz handling into main logic
Port of: https://github.com/Baystation12/Baystation12/pull/15907
2017-04-21 11:22:07 -04:00
Arokha Sieyes
828255ac7f Open turf update_icon_edge when updating icons
So grass can edge into it.
2017-04-19 01:25:45 -04:00
Leshana
7237faf870 WIP - Leshana's improvements to z-level-falling code. Still in progress. 2017-04-18 23:19:48 -04:00
Leshana
ebaf958179 Upgraded to "see-down" open spaces, inspired by Eris:
* Instead of open spaces simply showing a static image of the turf below, it shows the turf, all objects, and even moving mobs.
  * Controller updates the view to floor below fairly quickly; mobs update in real time.
  * Open space can be examined to see how deep it is.
  * Mobs are examinable even when on floor below, using a special "zshadow" mob.
  * Changes from Eris: Heavily re-written to handle layering, special cases, rewrote controller etc.  Shadow mobs don't break entering turfs, etc.
* Update to properly layer the objects from multiple "below" floors in the case of tripple-stacked or more z levels.
* Added constant defines for the planes in use.
* Added open_space.dmi with blank_open icon state for open space's darkening overlay.
2017-04-18 23:19:41 -04:00
Leshana
31ff4a8b85 Fixed walking up stairs.
* Now they won't try and bump you up to the next z on the "lower" step of the stairway.  They also don't directly set `loc`  Therefore pulling objects up/down actually works.
* Sets their layer so they won't appear above actual objects and mobs.
2017-04-18 23:19:33 -04:00
Leshana
ceaf03a63d Ported Catwalks from Eris
* Catwalks are an upgrade to lattice; instead of just a framework of wires its a mostly solid grid walkway.
* They are semi-transparent so you can see wires/pipes below them a bit.
* Smoothly auto-joining sprites to look proper.
* Constructed by upgrading lattice; like lattice it will stop you falling if build over an open space.
* Changes from Eris: Converted << to to_chat(), fix redraw on Destroy(), Fix color macros in text.
2017-04-18 23:19:18 -04:00
Leshana
ff3c5238aa De-snowflake thrown objects hitting turfs.
* Port of https://github.com/Baystation12/Baystation12/pull/16942
* Actually tell turfs when a thrown object hits them, and let them decide what to do about it!
  * We do this by calling hitby(), which is how it already works for obj and mob, so this makes behavior consistent.
* This allows us to cleanly solve the problem of a thrown object landing on open space without falling.
2017-04-17 13:13:40 -04:00
Leshana
95b9dde94a Multi-Z code formatting and utilities.
* Global procs should start with /proc
* Use to_chat() macro
* Added utility to find all z-levels are connected (transitively adjacent) and utility to test if two levels are connected.
2017-04-17 11:57:49 -04:00
PsiOmegaDelta
663e2b2d4c Can no longer move up/down from non-turf locations.
Port of https://github.com/Baystation12/Baystation12/pull/16653/
2017-04-16 21:33:16 -04:00
Neerti
0f781e36a7 Adds Multi-Z Test Map 2017-03-03 09:40:34 -05:00
Zuhayr
18c2f33eab Ported ventcrawling from vg. 2016-09-21 17:16:03 +01:00
Neerti
0a389a418b Revert "Ported ventcrawling from vg." 2016-09-20 17:21:58 -04:00
Zuhayr
843c48a9ee Ported ventcrawling from vg. 2016-09-16 04:05:49 +01:00
Zuhayr
f93ea6a78f Tweaks to previous commits.
More tweaks to IPC fixes.
Merge resolution/compile fixes.

Further work on properly integrating, updating and fixing prosthetic options.

Repathed internal organs to organ/internal.

More work on full synthetics, changelings, overheating.

Working on getting organs to qdel properly and spawn properly when robotized.

Finalized some overheating values, added remaining prosthetic icons.

Finalizing the testing version of the full prosthetic bodies branch.

Added suit cyclers to the autolathe and map.

Fixing runtime errors.

Fixing errors.

Changelog.

Replacing limb and organ strings with constants.

Prevented brainless species from becoming full cyborgs.

Fixed issues with brain/MMIs renaming themselves inappropriately.

Various fixes and oversights.
2015-12-24 21:13:40 +10:30
PsiOmega
fa6319d52d Turf initialization tweaking.
Removes the need for a spawn() in New().
2015-09-27 13:18:18 +02:00
SkyMarshal
144dbebb2d Multi-z fixes. 2015-09-26 17:39:16 -07:00
SkyMarshal
8b225e4ba6 Update to stairs. 2015-09-20 18:25:23 -07:00
Joseph Heinemeyer
8c61c3ab6f Fixes multi-z things. 2015-08-30 18:58:37 -07:00
SkyMarshal
772c320303 Multi-Z. 2015-08-30 14:15:20 -07:00