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:
Will
2026-02-09 00:18:07 +01:00
committed by GitHub
co-authored by Kashargul
parent f238fcf293
commit 1a0e3aa3e0
23 changed files with 29 additions and 26 deletions
+1 -1
View File
@@ -94,7 +94,7 @@
return null
/obj/item/flash/proc/clown_check(var/mob/user)
if(user && (CLUMSY in user.mutations) && prob(50))
if(user && CLUMSY_FAIL_CHANCE(user))
to_chat(user, span_warning("\The [src] slips out of your hand."))
user.drop_item()
return 0
@@ -122,7 +122,7 @@
add_fingerprint(user)
if(on && user.zone_sel.selecting == O_EYES)
if((CLUMSY in user.mutations) && prob(50)) //too dumb to use flashlight properly
if(CLUMSY_FAIL_CHANCE(user)) //too dumb to use flashlight properly
return ..() //just hit them in the head
var/mob/living/carbon/human/H = M //mob has protective eyewear
@@ -44,7 +44,7 @@
/obj/item/healthanalyzer/proc/scan_mob(mob/living/M, mob/living/user)
var/dat = ""
if ((CLUMSY in user.mutations) && prob(50))
if (CLUMSY_FAIL_CHANCE(user))
user.visible_message(span_warning("\The [user] has analyzed the floor's vitals!"), span_warning("You try to analyze the floor's vitals!"))
dat += "Analyzing Results for the floor:<br>"
dat += "Overall Status: Healthy<br>"