mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +01:00
Adds log message (#26281)
This commit is contained in:
@@ -2084,7 +2084,7 @@
|
||||
var/punishment = input(owner, "How would you like to smite [M]?", "Its good to be baaaad...", "") as null|anything in ptypes
|
||||
if(!(punishment in ptypes))
|
||||
return
|
||||
var/logmsg = null
|
||||
var/logmsg = "UNSET LOG MESSAGE: [punishment]"
|
||||
switch(punishment)
|
||||
// These smiting types are valid for all living mobs
|
||||
if("Lightning bolt")
|
||||
@@ -2223,6 +2223,7 @@
|
||||
var/turf/start = locate(starting_turf_x, starting_turf_y, M.z)
|
||||
|
||||
new /obj/effect/immovablerod/smite(start, M)
|
||||
logmsg = "a rod"
|
||||
if(logmsg)
|
||||
log_admin("[key_name(owner)] smited [key_name(M)] with: [logmsg]")
|
||||
message_admins("[key_name_admin(owner)] smited [key_name_admin(M)] with: [logmsg]")
|
||||
|
||||
Reference in New Issue
Block a user