mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user