mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
[MIRROR] Adds handcuff attempt and GPS rename logging (#1552)
* Adds handcuff attempt and GPS rename logging (#54742) * Adds handcuff attempt and GPS rename logging Co-authored-by: 81Denton <32391752+81Denton@users.noreply.github.com>
This commit is contained in:
@@ -146,6 +146,7 @@ GLOBAL_LIST_EMPTY(GPS_list)
|
||||
|
||||
gpstag = a
|
||||
. = TRUE
|
||||
log_game("[key_name(usr)] renamed [parentasatom] to \"global positioning system ([gpstag])\".")
|
||||
parentasatom.name = "global positioning system ([gpstag])"
|
||||
|
||||
if("power")
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
"<span class='userdanger'>[user] is trying to put [src.name] on you!</span>")
|
||||
|
||||
playsound(loc, cuffsound, 30, TRUE, -2)
|
||||
log_combat(user, C, "attempted to handcuff")
|
||||
if(do_mob(user, C, 30) && C.canBeHandcuffed())
|
||||
if(iscyborg(user))
|
||||
apply_cuffs(C, user, TRUE)
|
||||
@@ -74,6 +75,7 @@
|
||||
log_combat(user, C, "handcuffed")
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You fail to handcuff [C]!</span>")
|
||||
log_combat(user, C, "failed to handcuff")
|
||||
else
|
||||
to_chat(user, "<span class='warning'>[C] doesn't have two hands...</span>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user