mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Makes it so you actually SPIN YOUR GUN while gun-spinning (#60457)
This commit is contained in:
@@ -440,9 +440,10 @@
|
||||
|
||||
/obj/item/gun/ballistic/attack_self(mob/living/user)
|
||||
if(HAS_TRAIT(user, TRAIT_GUNFLIP))
|
||||
SpinAnimation(4,2)
|
||||
if(flip_cooldown <= world.time)
|
||||
if(HAS_TRAIT(user, TRAIT_CLUMSY) && prob(40))
|
||||
to_chat(user, span_userdanger("While trying to flip the [src] you pull the trigger and accidently shoot yourself!"))
|
||||
to_chat(user, span_userdanger("While trying to flip [src] you pull the trigger and accidently shoot yourself!"))
|
||||
var/flip_mistake = pick(BODY_ZONE_L_LEG, BODY_ZONE_R_LEG, BODY_ZONE_HEAD, BODY_ZONE_L_ARM, BODY_ZONE_R_ARM, BODY_ZONE_CHEST)
|
||||
process_fire(user, user, FALSE, flip_mistake)
|
||||
user.dropItemToGround(src, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user