Commit Graph

61 Commits

Author SHA1 Message Date
Cameron Lennox
c99e7b51da Changes the knockout checks to incap all.
Also stops micro interactions while flying.
2017-10-29 11:30:43 -04:00
killer653
28e75a89aa Makes incap checks more extensive. 2017-10-28 21:28:56 -04:00
killer653
27c16465ac Forgot H. 2017-10-28 21:02:24 -04:00
killer653
8938620fd3 Adds some stop_flying procs. 2017-10-28 21:01:36 -04:00
killer653
884e80cd7d Checks for incap instead. Prevents floating on tiles 2017-10-28 20:29:07 -04:00
killer653
e9585bfc6d Allows flight with wings. 2017-10-28 19:51:14 -04:00
killer653
315711b314 Pol sync part 2 2017-10-27 15:30:51 -04:00
killer653
0c480ec15f Polaris sync 2017-10-27 15:30:24 -04:00
Spades
edfa947278 These are not Vorestation edits. (#4088)
Y'all are confusing the shit out of us.
2017-10-16 23:01:30 -05:00
killer653
1bb71ef429 Polaris Sync 2017-10-16 22:16:24 -04:00
Woodratt
0f6d0a9e4f Porting see down through open spaces
Ported 'see-down' open spaces from Vore, who ported it from Eris

Ported talking and visible messages traveling upwards through open spaces

Tested, seems to work? Does not seem to break anything, maybe.

Maybe made a changelog.
2017-10-09 22:05:20 -07:00
Woodratt
3e90725a45 Catwalks and Railings
Added catwalks and railings. Ported from Vorestation who ported them from Eris.

Note, catwalks can be placed on plating (as is seen on the vorestation map Tether) and is done so here as well. However it doesn't seem like it is possible to build said catwalks on plating. Did not bother to adjust this at this time. Something to sort in the future.

Adjusted SC station dmm to use both the railing and catwalks as well as a couple fixes for the floor tile adjustment in a earlier commit.
2017-09-16 00:54:33 -07:00
Verkister
bbc2a5cf9b More backup backup checks to maybe finally make sure only on-turf objects may fall down
Onsite edit because fuck this. I had it fixed and working before.
NO BAD Z-HOLE. NO EATING SHIT OFF HANDS AND FOLKS YOU BAD. ONLY FLOOR FOOD FOR YOU
2017-08-27 16:18:40 +03:00
Cyantime
68c053212c Disables phasing downward through catwalks 2017-08-02 22:29:42 -04:00
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