Adds a delay on hulks screaming (#47743)

* I HATE SCREAMING

eugh AHGGGHH CGRAHHHG REEOEEERRRREEE

* I'm dumb and I hope this makes me undumb

* I extra dumb

* This is why I should stop webediting and fix my git

* change the delay time

* shortens delay
This commit is contained in:
Loomin
2019-11-14 10:04:43 +11:00
committed by moo
parent 783b6092a8
commit 2365eefc3d
+6 -1
View File
@@ -9,6 +9,9 @@
species_allowed = list("human") //no skeleton/lizard hulk
health_req = 25
instability = 40
var/scream_delay = 50
var/last_scream = 0
/datum/mutation/human/hulk/on_acquiring(mob/living/carbon/human/owner)
if(..())
@@ -28,7 +31,9 @@
if(source.a_intent != INTENT_HARM)
return
if(target.attack_hulk(owner))
source.say(pick(";RAAAAAAAARGH!", ";HNNNNNNNNNGGGGGGH!", ";GWAAAAAAAARRRHHH!", "NNNNNNNNGGGGGGGGHH!", ";AAAAAAARRRGH!" ), forced="hulk")
if(world.time > (last_scream + scream_delay))
last_scream = world.time
source.say(pick(";RAAAAAAAARGH!", ";HNNNNNNNNNGGGGGGH!", ";GWAAAAAAAARRRHHH!", "NNNNNNNNGGGGGGGGHH!", ";AAAAAAARRRGH!" ), forced="hulk")
log_combat(source, target, "punched", "hulk powers")
source.do_attack_animation(target, ATTACK_EFFECT_SMASH)
source.changeNext_move(CLICK_CD_MELEE)