Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Aug 17, 2024
1 parent 15a7c69 commit c6b661b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions code/modules/events/timeevent.dm
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,15 @@ GLOBAL_VAR(nuketimer_id)
light_range = 3
indestructible = TRUE
anchored = TRUE
wrenchable = FALSE
var/break_desc = FALSE

/obj/structure/machinery/nuclearbomb/emplaced/get_examine_text(mob/user)
. = ..()
if(break_desc)
. += "The timer on [src] seems to have shorted out. Running might be in order."
return

if(!GLOB.nuketimer_started)
. += "A timer on [src] reads \"DETONATION IN [(timeleft(SStimeloop.mainloop_timer_id) / 10) + 120] SECONDS\"." //roughly
else
Expand All @@ -216,9 +222,6 @@ GLOBAL_VAR(nuketimer_id)
/obj/structure/machinery/nuclearbomb/emplaced/tgui_interact(mob/user, datum/tgui/ui)
return

/obj/structure/machinery/nuclearbomb/emplaced/attackby(obj/item/O, mob/user)
return

/obj/item/tdd_powersource
name = "strange cell"
desc = "An alien-looking powercell, formerly used to power a device capable of reversing time."
Expand Down

0 comments on commit c6b661b

Please sign in to comment.