Skip to content

Commit

Permalink
Merge pull request #50 from out-of-phaze/lighthouse-feature/barsign
Browse files Browse the repository at this point in the history
Adds bar holosign and sprite, from Virgo/Polaris
  • Loading branch information
out-of-phaze authored Mar 27, 2024
2 parents a5cd44d + 6b503f6 commit 682281a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
12 changes: 10 additions & 2 deletions code/game/machinery/holosign.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
anchored = TRUE
obj_flags = OBJ_FLAG_MOVES_UNSUPPORTED
directional_offset = @'{"NORTH":{"y":-32}, "SOUTH":{"y":32}, "EAST":{"x":32}, "WEST":{"x":-32}}'
var/lit = 0
var/lit = FALSE
var/on_icon = "sign_on"
var/sign_light_color = COLOR_CYAN_BLUE

uncreated_component_parts = list(
/obj/item/stock_parts/radio/receiver,
Expand All @@ -37,7 +38,7 @@
set_light(0)
else
icon_state = on_icon
set_light(1, 0.5, COLOR_CYAN_BLUE)
set_light(1, 0.5, sign_light_color)

/decl/public_access/public_variable/holosign_on
expected_type = /obj/machinery/holosign
Expand Down Expand Up @@ -68,6 +69,13 @@
desc = "Small wall-mounted holographic projector. This one reads SERVICE."
on_icon = "service"

/obj/machinery/holosign/bar
name = "bar holosign"
desc = "Small wall-mounted holographic projector. This one reads OPEN."
icon_state = "barclosed"
on_icon = "sign_on"
sign_light_color = COLOR_LIGHT_CYAN

////////////////////SWITCH///////////////////////////////////////
/obj/machinery/button/holosign
name = "holosign switch"
Expand Down
Binary file modified icons/obj/holosign.dmi
Binary file not shown.
2 changes: 0 additions & 2 deletions maps/tether/atoms/unimplemented/stubs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@
/obj/machinery/door/firedoor/multi_tile

/obj/machinery/gear_painter
// Station decor
/obj/machinery/holosign/bar

// Our libraries are different
/obj/machinery/librarycomp
Expand Down

0 comments on commit 682281a

Please sign in to comment.