mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
Merge pull request #2595 from Fox-McCloud/painkiller-movement
Painkillers and Movement Speed
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
|
||||
|
||||
var/health_deficiency = (100 - health + staminaloss)
|
||||
if(reagents)
|
||||
for(var/datum/reagent/R in reagents.reagent_list)
|
||||
if(R.shock_reduction)
|
||||
health_deficiency -= R.shock_reduction
|
||||
if(health_deficiency >= 40)
|
||||
tally += (health_deficiency / 25)
|
||||
|
||||
|
||||
@@ -278,7 +278,7 @@ datum/reagent/sal_acid
|
||||
description = "This is a is a standard salicylate pain reliever and fever reducer."
|
||||
reagent_state = LIQUID
|
||||
color = "#B3B3B3"
|
||||
shock_reduction = 40
|
||||
shock_reduction = 25
|
||||
overdose_threshold = 25
|
||||
|
||||
datum/reagent/sal_acid/on_mob_life(var/mob/living/M as mob)
|
||||
@@ -444,7 +444,7 @@ datum/reagent/morphine
|
||||
color = "#C8A5DC"
|
||||
overdose_threshold = 30
|
||||
addiction_threshold = 25
|
||||
shock_reduction = 60
|
||||
shock_reduction = 50
|
||||
|
||||
datum/reagent/morphine/on_mob_life(var/mob/living/M as mob)
|
||||
if(!M) M = holder.my_atom
|
||||
|
||||
Reference in New Issue
Block a user