mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Added "Open" sign outside bar
So you can tell if the bar is manned without walking in and out.
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
var/lit = 0
|
var/lit = 0
|
||||||
var/id = null
|
var/id = null
|
||||||
var/on_icon = "sign_on"
|
var/on_icon = "sign_on"
|
||||||
|
var/off_icon = "sign_off"
|
||||||
|
|
||||||
/obj/machinery/holosign/proc/toggle()
|
/obj/machinery/holosign/proc/toggle()
|
||||||
if(stat & (BROKEN|NOPOWER))
|
if(stat & (BROKEN|NOPOWER))
|
||||||
@@ -22,7 +23,7 @@
|
|||||||
|
|
||||||
/obj/machinery/holosign/update_icon()
|
/obj/machinery/holosign/update_icon()
|
||||||
if(!lit)
|
if(!lit)
|
||||||
icon_state = "sign_off"
|
icon_state = off_icon
|
||||||
else
|
else
|
||||||
icon_state = on_icon
|
icon_state = on_icon
|
||||||
|
|
||||||
@@ -40,7 +41,16 @@
|
|||||||
/obj/machinery/holosign/exit
|
/obj/machinery/holosign/exit
|
||||||
name = "exit holosign"
|
name = "exit holosign"
|
||||||
desc = "Small wall-mounted holographic projector. This one reads EXIT."
|
desc = "Small wall-mounted holographic projector. This one reads EXIT."
|
||||||
on_icon = "exit"
|
on_icon = "emergencyexit"
|
||||||
|
|
||||||
|
/obj/machinery/holosign/bar
|
||||||
|
name = "bar holosign"
|
||||||
|
desc = "Small wall-mounted holographic projector. This one reads OPEN."
|
||||||
|
icon_state = "barclosed"
|
||||||
|
on_icon = "baropen"
|
||||||
|
off_icon = "barclosed"
|
||||||
|
|
||||||
|
|
||||||
////////////////////SWITCH///////////////////////////////////////
|
////////////////////SWITCH///////////////////////////////////////
|
||||||
|
|
||||||
/obj/machinery/button/holosign
|
/obj/machinery/button/holosign
|
||||||
|
|||||||
7
html/changelogs/Cerebulon-BarOpenSign.yml
Normal file
7
html/changelogs/Cerebulon-BarOpenSign.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
author: Cerebulon
|
||||||
|
|
||||||
|
delete-after: True
|
||||||
|
|
||||||
|
changes:
|
||||||
|
- rscadd: "Added toggleable 'Open' sign to bar hallway so you can tell if it's open without walking inside."
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 5.0 KiB |
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user