Commit Graph

20 Commits

Author SHA1 Message Date
Lostlarry
36a68340a7 forgot to stage half the stuff 2019-06-22 21:26:30 +02:00
Lostlarry
2846fbcced add a way to setup airlock cycle links in not cardinal dirctions 2019-06-22 20:32:11 +02:00
Joe Schmoe
26946325ff Adds round-start dead bodies to the morgue 2019-06-12 23:37:42 +02:00
ShizCalev
cacec75e83 Move map errors to their own log file (#43376)
In interest of getting things fixed without having to constantly crawl
through game.log to find map issues, moved them to their own log file.
2019-03-30 21:54:27 +01:00
coiax
252d84e3b3 Removes /abandoned type for airlocks; adds helper instead (#41514)
Airlocks no longer have a series of /abandoned types, and instead, to
mark an airlock as abandoned, include an abandoned airlock map helper on
the same tile, which has the icon of an exclaimation mark and cobwebs.

Why? Better visibility in map editors, less magic types.
2018-11-15 18:03:03 +01:00
Tad Hardesty
e7ed7e390d Set a z-level baseturf for Lavaland (#41113)
* Set a z-level baseturf for Lavaland

* Remove nigh-useless ZTRAIT_PLANET

* Remove planet_z helper from away missions
2018-10-26 18:31:05 +01:00
AnturK
2f28fee1eb Fix baseturf helper (#40281)
Would cause issues with turfs where all their baseturfs got removed.

Also switches airless asteroid baseturf to itself.
2018-09-15 21:57:07 +01:00
zxaber
ffdb861fb8 [READY] Adds ability to give airlocks one-way unrestricted access (#39147)
* Code to doors.dm for airlocks with unrestricted sides

* Code to airlock_electronics.dm supporting airlocks with unrestricted sides

* Code to door_assembly.dm supporting airlocks with unrestricted sides

* Adding buttons to airlock electronic gui for unrestricted direction access

* Update airlock_electronics.dm

typos in comments are still typos

* Tgui support for arbitrary unrestricted access

* Cleaner way of calling unrestricted_sides()

Moved the call to unrestricted_sides() to run from allowed(), and added a recursive check for if the user is inside an object (like a mech).

* Missed a test variable

* Replaced a block of if statements with get_dir

Re: SpaceManiac

* Simplified XOR operation

Re: SpaceManiac

* Changes order from NESW to NSEW (for get_dir)

Re: SpaceManiac

* Re-built using changes to airlock_electronics.ract

* Added unres overlays, fixes overlay/power actions

Small lights that shine out to indicate open directions. They're not super pretty, but they aren't *that* horrible I think.
Because it's a light, it acts as a weak light source.

Also, all door overlays respond to power changes now, including area power loss. There was code in the overlay section for checking power states, but nothing to actually trigger it outside players opening the panel or something. This was broken before I made any changes.

* Makes overlays respond to power outages

The airlock overlay (bolt lights, etc) would not respond to the area power going out or coming back, even though it had code for it. This was broken before I added my code.

* Makes the Airlock update overlays when built

Long story short, the unres_sides variable wasn't getting set before the airlock spawned and did its first overlay update, meaning the unres indicators would be invisible until the door's state changed the first time. This makes the airlock run the update again just before the construction airlock object is removed.

* overlays.dmi -- removing to replace

I can't just edit the code of an image file, can I?

* new overlay file with the four unres indicators

* Set medical doors to use this feature

Removed medical door buttons, and set the unres variable on Meta, Box, Delta, Pubby, and Omega.

* Revert "Set medical doors to use this feature"

This reverts commit 53122ce63240ff0660226c8d2c6ed7eb814ec054.

* Updates medi-doors in maps

let's try this again...

* Did this tgui.js get overwritten?

juggling too many testing build folders is hard

* reverting momentarily

* Re-adding tgui.js changes

* pushing tgui.css too

Didn't realize this file also got changed by the script

* rebuilt the tgui.js file

* repushing the unchanged tgui.js again

I hope I'm not email-spamming people with this

* .css too

* Re-applying tgui.js changes

* added mapping helpers

little green arrows that set unres settings on airlocks and then poof

* removal of comments

unneeded code

* Adding helpers to all maps

Removed the var edit, as well

* Changed airlock.dm to use defines

Also removed an unneeded "src" from four lines.

* New .js and .css file to fix RPD issue

Boy I love tgui

* Removing define defines

Didn't know these were coded elsewhere. Neat.

* Mapmerged again, as requested

* Clean up maps
2018-08-14 21:13:16 +01:00
Tad Hardesty
d17e83c0e8 Replace z_is_planet with a Z trait (#39581) 2018-08-08 17:43:37 +01:00
ShizCalev
39c247d6a9 Standardizes and cleans up some admin messages & logging (#38128)
* Improved logging

* Fixes & emitter logging

* ded
2018-05-31 05:57:29 +01:00
AnturK
d197fd33c6 Mapping component helper (#37314)
* Mapping component helper

* GetAllContents so you can manipulate things in crates/onmobs/whatever

* More verbose warning.
2018-04-23 01:19:42 +01:00
Emmett Gaines
fcfbe74bca Updates baseturf helpers to the new baseturf system (#37154) 2018-04-13 13:59:56 +01:00
ShizCalev
15f0d19ce7 Adds mapping helpers to handle cyclelink & locking airlocks, updates all relevant maps (#35674)
* Adds airlock helpers

* Maps updated

* few more
2018-02-16 14:05:26 +02:00
Cruix
f76b3e3b29 Added map generation lava protection to the syndicate lava base (#34764)
* Added mapping helper for preventing lava river generation

* Added lava protection to the syndicate base bridge

* Re-added decals to the syndicate lava base bridge
2018-01-29 11:02:33 +01:00
Emmett Gaines
867a58d576 makes the lavaland mining base have more correct baseturfs (#34325) 2018-01-15 09:42:14 -05:00
Tad Hardesty
f2dbe5cf13 Replace explicit z-level checks with defines (#33829)
* Replace explicit z-level checks with defines

* Rename turf_z_is_planet for consistency

* Use TRUE/FALSE in onSyndieBase
2017-12-29 14:40:06 -05:00
Emmett Gaines
4595c46dca turns the baseturf var into a part time list (#33705) 2017-12-25 20:10:08 -05:00
ShizCalev
395c0ee6a0 Cleans up some qdel(src)'s in Initialize() 2017-11-26 20:15:12 -06:00
ShizCalev
2ec3125105 Makes the singularity eat asteroids, adds a planetary z-level list with a helper that adds maps to it (#29859)
* Planet Z helper - fixed conflict

* Removed the digging part

* Tidied up.

* Requested changes mk2
2017-08-30 10:10:42 +12:00
shizcalev
5d15fb46cb Relocates baseturf helper 2017-08-16 11:29:59 -04:00