Pepper Spray update (#24033)

* pepper spray update

* Update code/datums/status_effects/debuffs.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Update code/modules/reagents/chemistry/reagents/food_reagents.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Update code/modules/reagents/chemistry/reagents/food_reagents.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Update code/modules/reagents/chemistry/reagents/food_reagents.dm

* Rurik review

---------

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
HMBGERDO
2024-03-01 19:56:03 +00:00
committed by GitHub
co-authored by DGamerL
parent 52efa8eac5
commit 25996e232a
3 changed files with 37 additions and 36 deletions
+20
View File
@@ -382,6 +382,26 @@
/datum/status_effect/transient/drowsiness/calc_decay()
return (-0.2 + (IS_HORIZONTAL(owner) ? -0.8 : 0)) SECONDS
/datum/status_effect/pepper_spray
id = "pepperspray"
duration = 10 SECONDS
status_type = STATUS_EFFECT_REFRESH
tick_interval = -1
alert_type = null
/datum/status_effect/pepper_spray/on_apply()
. = ..()
to_chat(owner, "<span class='danger'>Your throat burns!</span>")
owner.AdjustConfused(12 SECONDS)
owner.Slowed(4 SECONDS)
owner.apply_damage(40, STAMINA)
/datum/status_effect/pepper_spray/refresh()
. = ..()
owner.AdjustConfused(12 SECONDS)
owner.Slowed(4 SECONDS)
owner.apply_damage(20, STAMINA)
/**
* # Drukenness
*