[MIRROR] Better wabbajack polymorph logging (#6816)

* Better wabbajack polymorph logging (#59991)

* Better wabbajack polymorph logging

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-07-10 14:08:44 +01:00
committed by GitHub
parent 3458185ceb
commit 3e2b6771a7
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1221,6 +1221,7 @@
// Called when we are hit by a bolt of polymorph and changed
// Generally the mob we are currently in is about to be deleted
/mob/living/proc/wabbajack_act(mob/living/new_mob)
log_game("[key_name(src)] is being wabbajack polymorphed into: [new_mob.name]([new_mob.type]).")
new_mob.name = real_name
new_mob.real_name = real_name
+1 -1
View File
@@ -288,7 +288,7 @@
for(var/obj/item/W in contents)
new_mob.equip_to_appropriate_slot(W)
M.log_message("became [new_mob.real_name]", LOG_ATTACK, color="orange")
M.log_message("became [new_mob.name]([new_mob.type])", LOG_ATTACK, color="orange")
new_mob.set_combat_mode(TRUE)