mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Brain Traumas (#31727)
* Reworks Brain Damage * mechanics * rebalancing * hulks in wheelchairs * yup * bugsquash * Adds narcolepsy, phobias and agnosia. Not guaranteed 100% bug-free yet, testmerge at your own risk. * lizard phobia * Did you know there's a skeleton inside of you RIGHT NOW? * Fixes for the new stuff * The issue with those is that in most rounds you won't see them I'll keep them available so they can be added manually, for example by events and such * Goof reviews * Brainloss is based off brain organ integrity removes brainloss var * Replaces some getorganslot with defines * eyes * put the traumas in the brainnnn * text * args * Adds godwoken, puts split personality in severe, adds brainwashing * Bluespace prophet special trauma (untested) * Some minor stuff * Monophobia, and tweaks * More fixes * fix * a * new tail * Discoordination and Muscle Weakness * thanks for the review! * [B]oneless * agnosia fix * . * go away agnosia * pretend it didn't happen * Shitcode-free-er * bitwisdom * psychotic brawling * i guess this might be important * latest reviews * . * conflict-free * addresses it * surgery fix * a masterpiece * fix * fix again * config * damage formula reworked * who needs to test anyway * fixes some bugs * fix 2 * proper spookin * bluespace prophet fixes and improvements * no bible healing * . * normalizes monophobia chances
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
if(!armed)
|
||||
if(ishuman(usr))
|
||||
var/mob/living/carbon/human/user = usr
|
||||
if((user.getBrainLoss() >= 60) || user.disabilities & CLUMSY && prob(50))
|
||||
if((user.disabilities & (CLUMSY | DUMB)) && prob(50))
|
||||
to_chat(user, "<span class='warning'>Your hand slips, setting off the trigger!</span>")
|
||||
pulse(0)
|
||||
update_icon()
|
||||
@@ -76,7 +76,7 @@
|
||||
if(!armed)
|
||||
to_chat(user, "<span class='notice'>You arm [src].</span>")
|
||||
else
|
||||
if(((user.getBrainLoss() >= 60) || user.disabilities & CLUMSY) && prob(50))
|
||||
if((user.disabilities & (CLUMSY | DUMB)) && prob(50))
|
||||
var/which_hand = "l_hand"
|
||||
if(!(user.active_hand_index % 2))
|
||||
which_hand = "r_hand"
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
/obj/item/device/assembly/mousetrap/attack_hand(mob/living/carbon/human/user)
|
||||
if(armed)
|
||||
if(((user.getBrainLoss() >= 60) || user.disabilities & CLUMSY) && prob(50))
|
||||
if((user.disabilities & (CLUMSY | DUMB)) && prob(50))
|
||||
var/which_hand = "l_hand"
|
||||
if(!(user.active_hand_index % 2))
|
||||
which_hand = "r_hand"
|
||||
|
||||
Reference in New Issue
Block a user