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