Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port: Glass shutters #821

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 41 additions & 40 deletions _maps/map_files220/cyberiad/cyberiad.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -4425,6 +4425,25 @@
/area/station/security/lobby)
"asY" = (
/obj/structure/chair/office/dark,
/obj/machinery/door_control/normal/east{
id = "BrigRight";
name = "Brig Foyer Right Doors";
req_one_access_txt = "63"
},
/obj/machinery/door_control/normal/east{
pixel_y = 8;
name = "Brig Foyer Left Doors";
req_one_access_txt = "63";
desc = "A remote control switch for the brig foyer.";
id = "BrigLeft"
},
/obj/machinery/door_control/normal/east{
pixel_y = -8;
desc = "A remote control switch for the brig foyer.";
id = "BrigEast";
name = "Brig Foyer East Doors";
req_one_access_txt = "63"
},
/turf/simulated/floor/plasteel{
dir = 6;
icon_state = "darkred"
Expand Down Expand Up @@ -4877,29 +4896,13 @@
icon_state = "4-8"
},
/obj/effect/mapping_helpers/airlock/windoor/access/any/security/general,
/obj/machinery/door_control/normal{
desc = "A remote control switch for the brig foyer.";
id = "BrigLeft";
name = "Brig Foyer Left Doors";
pixel_x = -5;
pixel_y = 6;
req_one_access_txt = "63"
},
/obj/machinery/door_control/normal{
desc = "A remote control switch for the brig foyer.";
id = "BrigRight";
name = "Brig Foyer Right Doors";
pixel_x = 5;
pixel_y = 6;
req_one_access_txt = "63"
/obj/item/paper_bin{
pixel_y = 3;
pixel_x = -4
},
/obj/machinery/door_control/normal{
desc = "A remote control switch for the brig foyer.";
id = "BrigEast";
name = "Brig Foyer East Doors";
pixel_x = 5;
pixel_y = -2;
req_one_access_txt = "63"
/obj/item/pen{
pixel_x = -2;
pixel_y = 5
},
/turf/simulated/floor/plasteel{
icon_state = "redfull"
Expand Down Expand Up @@ -54276,7 +54279,7 @@
/obj/effect/turf_decal/arrows/black{
dir = 8
},
/obj/machinery/door/poddoor/shutters/preopen{
/obj/machinery/door/poddoor/shutters/window/preopen{
dir = 8;
id_tag = "hopqueue";
name = "Privacy Shutters"
Expand Down Expand Up @@ -60578,6 +60581,8 @@
/obj/item/radio/intercom/custom{
pixel_y = 36
},
/obj/structure/filingcabinet/security,
/obj/machinery/light/directional/north,
/turf/simulated/floor/plasteel{
dir = 5;
icon_state = "darkred"
Expand Down Expand Up @@ -64752,10 +64757,9 @@
/obj/machinery/door/airlock/medical/glass{
name = "Isolator"
},
/obj/machinery/door/poddoor/shutters/preopen{
/obj/machinery/door/poddoor/shutters/window/preopen{
dir = 1;
id_tag = "durka2";
layer = 4
id_tag = "durka2"
},
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
Expand Down Expand Up @@ -69724,10 +69728,9 @@
/obj/item/reagent_containers/glass/beaker/waterbottle/large{
pixel_x = 7
},
/obj/machinery/door/poddoor/shutters/preopen{
/obj/machinery/door/poddoor/shutters/window/preopen{
dir = 1;
id_tag = "durka2";
layer = 4
id_tag = "durka2"
},
/obj/machinery/door/window/reinforced/normal{
dir = 1;
Expand Down Expand Up @@ -76973,7 +76976,7 @@
/obj/effect/turf_decal/arrows/black{
dir = 4
},
/obj/machinery/door/poddoor/shutters/preopen{
/obj/machinery/door/poddoor/shutters/window/preopen{
dir = 8;
id_tag = "hopqueue";
name = "Privacy Shutters"
Expand Down Expand Up @@ -78677,14 +78680,13 @@
/obj/machinery/door/airlock/medical/glass{
name = "Isolator"
},
/obj/machinery/door/poddoor/shutters/preopen{
dir = 1;
id_tag = "durka1";
layer = 4
},
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/effect/mapping_helpers/airlock/access/any/medical/psychology,
/obj/machinery/door/poddoor/shutters/window/preopen{
dir = 1;
id_tag = "durka1"
},
/turf/simulated/floor/plasteel{
icon_state = "white"
},
Expand Down Expand Up @@ -78987,11 +78989,6 @@
},
/area/station/engineering/atmos)
"pTa" = (
/obj/machinery/door/poddoor/shutters/preopen{
dir = 1;
id_tag = "durka1";
layer = 4
},
/obj/structure/table/reinforced,
/obj/machinery/door/window/reinforced/normal{
name = "Secure Desk"
Expand All @@ -79003,6 +79000,10 @@
/obj/effect/mapping_helpers/airlock/windoor/access/any/medical/psychology{
dir = 1
},
/obj/machinery/door/poddoor/shutters/window/preopen{
dir = 1;
id_tag = "durka1"
},
/turf/simulated/floor/plasteel{
icon_state = "white"
},
Expand Down
13 changes: 13 additions & 0 deletions modular_ss220/aesthetics/shutters/code/shutters.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/obj/machinery/door/poddoor/shutters
icon = 'modular_ss220/aesthetics/shutters/icons/shutters.dmi'
layer = CLOSED_BLASTDOOR_LAYER
var/door_open_sound = 'modular_ss220/aesthetics/shutters/sound/shutters_open.ogg'
var/door_close_sound = 'modular_ss220/aesthetics/shutters/sound/shutters_close.ogg'

Expand All @@ -11,3 +12,15 @@
if("closing")
flick("closing", src)
playsound(src, door_close_sound, 30, TRUE)

/obj/machinery/door/poddoor/shutters/window
name = "windowed shutters"
desc = "A shutter with a thick see-through polycarbonate window."
icon = 'modular_ss220/aesthetics/shutters/icons/shutters_glass.dmi'
icon_state = "closed"
opacity = FALSE
glass = TRUE

/obj/machinery/door/poddoor/shutters/window/preopen
icon_state = "open"
density = FALSE
Binary file not shown.
8 changes: 8 additions & 0 deletions modular_ss220/maps220/code/layers.dm
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
/obj/structure/barricade/wooden
layer = ABOVE_OBJ_LAYER

/obj/machinery/door/window
layer = CLOSED_DOOR_LAYER
closingLayer = CLOSED_DOOR_LAYER

/obj/machinery/door/poddoor
layer = BLASTDOOR_LAYER
closingLayer = SHUTTER_LAYER