[MIRROR] Adds basic game logging to Protolathe-variant construction and deconstruction (#1155)

* Adds basic game logging to Protolathe-variant construction and deconstruction (#54160)

* Adds basic game logging to Protolathe-variant construction and deconstruction

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
SkyratBot
2020-10-04 23:36:46 +02:00
committed by GitHub
co-authored by Timberpoes
parent 91368fc7ee
commit f6e48d1cac
@@ -19,3 +19,14 @@
)
production_animation = "protolathe_n"
allowed_buildtypes = PROTOLATHE
/obj/machinery/rnd/production/protolathe/deconstruct(disassembled)
log_game("Protolathe of type [type] [disassembled ? "disassembled" : "deconstructed"] by [key_name(usr)] at [get_area_name(src, TRUE)]")
return ..()
/obj/machinery/rnd/production/protolathe/Initialize(mapload)
if(!mapload)
log_game("Protolathe of type [type] constructed by [key_name(usr)] at [get_area_name(src, TRUE)]")
return ..()