Unathi cuff breaking now should cost stamina (#4084)

Unathi cuff breaking now should cost stamina, at request of the lore master.
This commit is contained in:
Alberyk
2018-01-08 13:24:41 +01:00
committed by Werner
parent 8630498363
commit ac6b1c689c
2 changed files with 9 additions and 1 deletions
+5 -1
View File
@@ -107,6 +107,9 @@
if(HULK in mutations)
return 1
if(stamina < 100)
return 0
if(src.gender in src.species.breakcuffs)
return 1
@@ -127,8 +130,9 @@
"<span class='warning'>You successfully break your [handcuffed.name].</span>"
)
if((get_species() == "Unathi") || (HULK in mutations))
if((isunathi(src)) || (HULK in mutations))
say(pick("RAAAAAAAARGH!", "HNNNNNNNNNGGGGGGH!", "GWAAAAAAAARRRHHH!", "NNNNNNNNGGGGGGGGHH!", "AAAAAAARRRGH!" ))
stamina -= 100 //takes a bunch of stamina
qdel(handcuffed)
handcuffed = null
+4
View File
@@ -0,0 +1,4 @@
author: Alberyk
delete-after: True
changes:
- balance: "Unathi handcuff breaking should now cost stamina."