Skip to content

Commit

Permalink
tweak(jukebox): new icons, emissives, light
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyThorne authored Dec 12, 2023
1 parent 0359334 commit c92dae7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/game/machinery/jukebox.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

/obj/machinery/media/jukebox
name = "space jukebox"
desc = "Touch the goddamn thing, and even a space marine's powersuit won't save you from the captain's rage."
icon = 'icons/obj/jukebox.dmi'
icon_state = "jukebox-nopower"
var/state_base = "jukebox"
var/state_base = "jukebox3"
anchored = 1
density = 1
power_channel = STATIC_EQUIP
Expand Down Expand Up @@ -72,8 +73,11 @@
icon_state = "[state_base]-broken"
else
icon_state = "[state_base]-nopower"
set_light(0)
return
icon_state = state_base
set_light(0.95, 0.5, 1, 2, "#FCED7E")
AddOverlays(emissive_appearance(icon, "[state_base]-ea"))
if(playing)
if(emagged)
AddOverlays("[state_base]-emagged")
Expand Down
Binary file modified icons/obj/jukebox.dmi
Binary file not shown.

0 comments on commit c92dae7

Please sign in to comment.