Fear and Phobias (#16220)

Added a new fear variable and fear overlay. When fear is over 30, you have a chance to make and feel fear related emotes, and your aim gets worse. At fear over 80, you make more emotes and you will sometimes drop your active item.

Added 8 new phobia neutral traits. These traits trigger a build up of fear under certain circumstances. These traits are:
This commit is contained in:
SatinIsle
2024-08-31 05:27:50 +10:00
committed by GitHub
parent 295ae0f235
commit 069f2e1b1b
13 changed files with 226 additions and 4 deletions
+2
View File
@@ -658,6 +658,8 @@
if(H.species)
P.accuracy += H.species.gun_accuracy_mod
P.dispersion = max(P.dispersion + H.species.gun_accuracy_dispersion_mod, 0)
if(H.fear > 30)
P.accuracy -= 35
//does the actual launching of the projectile
/obj/item/weapon/gun/proc/process_projectile(obj/projectile, mob/user, atom/target, var/target_zone, var/params=null)