Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
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
182 changes: 97 additions & 85 deletions _maps/map_files/YogStation/YogStation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -21633,6 +21633,36 @@
},
/turf/open/floor/plasteel,
/area/security/checkpoint/engineering)
"bUA" = (
/obj/effect/turf_decal/trimline/blue/filled/line,
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 1
},
/obj/machinery/door/firedoor/border_only{
dir = 4
},
/obj/machinery/door/firedoor/border_only{
dir = 8
},
/obj/machinery/door/airlock/medical{
name = "Operating Theatre";
req_access_txt = "45"
},
/obj/effect/mapping_helpers/airlock/unres{
dir = 8
},
/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2{
dir = 8
},
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4{
dir = 4
},
/obj/structure/cable{
icon_state = "4-8"
},
/obj/machinery/holosign/surgery,
/turf/open/floor/plasteel/white,
/area/medical/surgery)
"bVa" = (
/obj/machinery/door/firedoor/border_only{
dir = 4
Expand Down Expand Up @@ -26746,6 +26776,26 @@
},
/turf/open/floor/plasteel,
/area/hallway/primary/central)
"dDo" = (
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 5
},
/obj/machinery/button/door{
id = "surgery_shutters";
name = "Surgery shutters";
pixel_x = 26;
pixel_y = 6;
req_access_txt = "45";
req_one_access_txt = null
},
/obj/machinery/computer/operating,
/obj/machinery/button/holosign{
id = "surgery";
pixel_x = 26;
pixel_y = -4
},
/turf/open/floor/plasteel/white,
/area/medical/surgery)
"dDp" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/portable_atmospherics/canister/water_vapor,
Expand Down Expand Up @@ -32595,21 +32645,6 @@
/obj/item/pen/red,
/turf/open/floor/wood,
/area/vacant_room)
"gKi" = (
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 5
},
/obj/machinery/button/door{
id = "surgery_shutters";
name = "Surgery shutters";
pixel_x = 26;
pixel_y = 6;
req_access_txt = "45";
req_one_access_txt = null
},
/obj/machinery/computer/operating,
/turf/open/floor/plasteel/white,
/area/medical/surgery)
"gKy" = (
/obj/effect/turf_decal/stripes/line{
dir = 8
Expand Down Expand Up @@ -45552,6 +45587,26 @@
},
/turf/open/floor/plating,
/area/hallway/secondary/exit)
"mYj" = (
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 8
},
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 4
},
/obj/machinery/door/firedoor/border_only{
dir = 1
},
/obj/machinery/door/firedoor/border_only,
/obj/machinery/door/airlock/medical{
name = "Operating Theatre";
req_access_txt = "45"
},
/obj/machinery/holosign/surgery{
id = "surgery"
},
/turf/open/floor/plasteel/white,
/area/medical/surgery)
"mYS" = (
/obj/machinery/camera{
c_tag = "Atmospherics South West";
Expand Down Expand Up @@ -56967,26 +57022,6 @@
},
/turf/open/floor/plasteel,
/area/engine/engineering)
"sKm" = (
/obj/machinery/door/airlock/medical{
name = "Operating Theatre";
req_access_txt = "45"
},
/obj/machinery/door/firedoor/border_only{
dir = 8
},
/obj/machinery/door/firedoor/border_only{
dir = 4
},
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 1
},
/obj/effect/turf_decal/trimline/blue/filled/line,
/obj/structure/cable{
icon_state = "4-8"
},
/turf/open/floor/plasteel/white,
/area/medical/sleeper)
"sKs" = (
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer2{
dir = 4
Expand Down Expand Up @@ -58814,23 +58849,6 @@
},
/turf/open/floor/plasteel/dark,
/area/storage/tech)
"tEa" = (
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 8
},
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 4
},
/obj/machinery/door/firedoor/border_only{
dir = 1
},
/obj/machinery/door/firedoor/border_only,
/obj/machinery/door/airlock/medical{
name = "Operating Theatre";
req_access_txt = "45"
},
/turf/open/floor/plasteel/white,
/area/medical/surgery)
"tEk" = (
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer2,
/obj/structure/disposalpipe/segment{
Expand Down Expand Up @@ -61908,35 +61926,6 @@
},
/turf/open/floor/plating,
/area/crew_quarters/heads/chief)
"vhN" = (
/obj/effect/turf_decal/trimline/blue/filled/line,
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 1
},
/obj/machinery/door/firedoor/border_only{
dir = 4
},
/obj/machinery/door/firedoor/border_only{
dir = 8
},
/obj/machinery/door/airlock/medical{
name = "Operating Theatre";
req_access_txt = "45"
},
/obj/effect/mapping_helpers/airlock/unres{
dir = 8
},
/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2{
dir = 8
},
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4{
dir = 4
},
/obj/structure/cable{
icon_state = "4-8"
},
/turf/open/floor/plasteel/white,
/area/medical/surgery)
"vhP" = (
/obj/structure/sign/poster/contraband/power{
pixel_y = 32
Expand Down Expand Up @@ -63806,6 +63795,29 @@
"wkN" = (
/turf/closed/wall,
/area/science/nanite)
"wls" = (
/obj/machinery/door/airlock/medical{
name = "Operating Theatre";
req_access_txt = "45"
},
/obj/machinery/door/firedoor/border_only{
dir = 8
},
/obj/machinery/door/firedoor/border_only{
dir = 4
},
/obj/effect/turf_decal/trimline/blue/filled/line{
dir = 1
},
/obj/effect/turf_decal/trimline/blue/filled/line,
/obj/structure/cable{
icon_state = "4-8"
},
/obj/machinery/holosign/surgery{
id = "surgery"
},
/turf/open/floor/plasteel/white,
/area/medical/sleeper)
"wlG" = (
/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2{
dir = 6
Expand Down Expand Up @@ -106188,7 +106200,7 @@ bvj
bvj
bvj
shz
sKm
wls
bvj
tDe
tVV
Expand Down Expand Up @@ -106961,7 +106973,7 @@ urv
uMu
vYV
oQs
tEa
mYj
tzM
ulL
oEY
Expand Down Expand Up @@ -107470,7 +107482,7 @@ hoP
kub
hLI
iYd
gKi
dDo
gQe
doF
hnj
Expand Down Expand Up @@ -107730,7 +107742,7 @@ adK
adK
adK
adK
vhN
bUA
adK
adK
jrP
Expand Down
5 changes: 5 additions & 0 deletions code/game/machinery/buttons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@
/obj/machinery/button/crematorium/indestructible
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF

/obj/machinery/button/holosign
name = "holosign button"
desc = "A remote control switch for a holosign."
device_type = /obj/item/assembly/control/holosign

/obj/item/wallframe/button
name = "button frame"
desc = "Used for building buttons."
Expand Down
35 changes: 35 additions & 0 deletions code/game/machinery/holosign.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
////////////////////HOLOSIGN///////////////////////////////////////
/obj/machinery/holosign
name = "holosign"
desc = "Small wall-mounted holographic projector"
icon = 'icons/obj/holosign.dmi'
icon_state = "sign_off"
layer = 4
var/lit = FALSE
var/id = null
var/on_icon = "sign_on"

/obj/machinery/holosign/proc/toggle()
if(!is_operational())
lit = FALSE
else
lit = !lit
update_icon()

/obj/machinery/holosign/update_icon()
if(!lit)
icon_state = initial(icon_state)
set_light(0)
else
icon_state = on_icon
set_light(1, 0.5, l_color = COLOR_BLUE_LIGHT)

/obj/machinery/holosign/power_change()
if(!is_operational())
lit = FALSE
update_icon()

/obj/machinery/holosign/surgery
name = "surgery holosign"
desc = "Small wall-mounted holographic projector. This one reads SURGERY."
on_icon = "surgery"
15 changes: 15 additions & 0 deletions code/modules/assembly/doorcontrol.dm
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,18 @@
C.cremate(usr)

addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 50)


/obj/item/assembly/control/holosign
name = "holosign controller"
desc = "A remote controller for a holosign."

/obj/item/assembly/control/holosign/activate()
if(cooldown)
return
cooldown = TRUE
for(var/obj/machinery/holosign/H in GLOB.machines)
if(H.id == id)
H.toggle()

addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 50)
Binary file added icons/obj/holosign.dmi
Binary file not shown.
1 change: 1 addition & 0 deletions yogstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@
#include "code\game\machinery\gulag_teleporter.dm"
#include "code\game\machinery\harvester.dm"
#include "code\game\machinery\hologram.dm"
#include "code\game\machinery\holosign.dm"
#include "code\game\machinery\igniter.dm"
#include "code\game\machinery\iv_drip.dm"
#include "code\game\machinery\launch_pad.dm"
Expand Down