mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Update 2.2
Changed frequency for pain emotes to play, as per the following; **In life.dm** - One at shock stage >= 80, at a 20% chance - One at shock stage 120 when you're about to black out, at a 40% chance to play - One at shock stage 150 (60% chance to play) **In human_organs.dm** - Having broken ribs will emote pain on a 10% chance. - Dropping things from your hands will also emote pain (to simulate trying to pick up things with a broken hand being **excruciatingly** painful). **In pain.dm** - Custom pain messages (such as "your upper body aches badly) will no longer play pain often *at all*, as they now reduce the chance by a factor of 10
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
last_pain_message = message
|
||||
to_chat(src,message)
|
||||
// CHOMPAdd: Emote in pain for custom pain, too
|
||||
if(prob(power) && !isbelly(loc)) // No pain noises inside bellies.
|
||||
if(prob(power / 10) && !isbelly(loc)) // No pain noises inside bellies.
|
||||
emote("pain")
|
||||
// CHOMPAdd End
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
next_pain_time = world.time + (100 - power)
|
||||
multilimb_pain_time = world.time + (100 - power)
|
||||
// CHOMPAdd: Emote in pain for custom pain, too
|
||||
if(prob(power) && !isbelly(loc)) // No pain noises inside bellies.
|
||||
if(prob(power / 10) && !isbelly(loc)) // No pain noises inside bellies.
|
||||
emote("pain")
|
||||
// CHOMPAdd End
|
||||
|
||||
|
||||
Reference in New Issue
Block a user