More stats (#3562)

* MORE STATS FOR THE STATS GODS

* save them to the db
This commit is contained in:
Lohikar
2017-10-06 19:39:15 +02:00
committed by Werner
parent df5dc0349a
commit 8db472ae15
7 changed files with 41 additions and 1 deletions
@@ -309,6 +309,7 @@
else
message = "<span class='danger'>slaps [get_visible_gender() == MALE ? "himself" : get_visible_gender() == FEMALE ? "herself" : "themselves"]!</span>"
playsound(loc, 'sound/effects/snap.ogg', 50, 1)
SSfeedback.IncrementSimpleStat("selfslap")
if("snap", "snaps")
m_type = 2
+2
View File
@@ -1010,6 +1010,7 @@ obj/structure/cable/proc/cableColor(var/colorC)
"<span class='warning'>[M] ties \the [src] over their neck!</span>",\
"<span class='warning'>You tie \the [src] over your neck!</span>")
playsound(user.loc, 'sound/effects/noosed.ogg', 50, 1, -1)
SSfeedback.IncrementSimpleStat("hangings")
return 1
else
M.visible_message(\
@@ -1022,6 +1023,7 @@ obj/structure/cable/proc/cableColor(var/colorC)
"<span class='danger'>[user] ties \the [src] over [M]'s neck!</span>",\
"<span class='danger'>[user] ties \the [src] over your neck!</span>")
playsound(user.loc, 'sound/effects/noosed.ogg', 50, 1, -1)
SSfeedback.IncrementSimpleStat("hangings")
return 1
else
user.visible_message(\