Monkey business logging

This commit is contained in:
Kyep
2018-05-02 17:02:24 -07:00
parent 31a2687fb6
commit ee538b25d5
+7 -1
View File
@@ -1250,7 +1250,13 @@
/obj/item/reagent_containers/food/snacks/monkeycube/proc/Expand()
if(!QDELETED(src))
visible_message("<span class='notice'>[src] expands!</span>")
new/mob/living/carbon/human(get_turf(src), monkey_type)
if(fingerprintslast)
log_game("Cube ([monkey_type]) inflated, last touched by: " + fingerprintslast)
else
log_game("Cube ([monkey_type]) inflated, last touched by: NO_DATA")
var/mob/living/carbon/human/creature = new /mob/living/carbon/human(get_turf(src), monkey_type)
if(fingerprintshidden.len)
creature.fingerprintshidden = fingerprintshidden.Copy()
qdel(src)
/obj/item/reagent_containers/food/snacks/monkeycube/farwacube