Refactors signallers, assemblies, electropacks (#18689)

* Refactors signalers, assemblies, electropacks

* Update code/game/objects/items/devices/radio/electropack.dm

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
This commit is contained in:
AffectedArc07
2022-08-15 16:36:34 +01:00
committed by GitHub
co-authored by Sirryan2002 Charlie
parent 98a143afb6
commit aba452f785
27 changed files with 413 additions and 422 deletions
+5 -3
View File
@@ -14,10 +14,12 @@
var/repeat = FALSE
var/set_time = 10
/obj/item/assembly/timer/describe()
/obj/item/assembly/timer/examine(mob/user)
. = ..()
if(timing)
return "The timer is counting down from [time]!"
return "The timer is set for [time] seconds."
. += "The timer is counting down from [time]!"
else
. += "The timer is set for [time] seconds."
/obj/item/assembly/timer/activate()
if(!..())