mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user