mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 23:17:28 +01:00
Reduce Clumsy Gene's Obnoxious RNG (#19126)
* clumsy rng * seperate define for this too * there are very harmful too * replace with macros * fixed handling --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -216,7 +216,7 @@
|
||||
if(HULK in M.mutations)
|
||||
to_chat(M, span_danger("Your fingers are much too large for the trigger guard!"))
|
||||
return FALSE
|
||||
if((CLUMSY in M.mutations) && prob(40)) //Clumsy handling
|
||||
if(CLUMSY_HARM_CHANCE(M)) //Clumsy handling
|
||||
var/obj/P = consume_next_projectile()
|
||||
if(P)
|
||||
if(process_projectile(P, user, user, pick(BP_L_FOOT, BP_R_FOOT)))
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
if(.)
|
||||
return TRUE
|
||||
if (active)
|
||||
if ((CLUMSY in user.mutations) && prob(50))
|
||||
if (CLUMSY_HARM_CHANCE(user))
|
||||
user.visible_message(span_danger("\The [user] accidentally cuts [user.p_themselves()] with \the [src]."),\
|
||||
span_danger("You accidentally cut yourself with \the [src]."))
|
||||
user.take_organ_damage(5,5)
|
||||
|
||||
Reference in New Issue
Block a user