Files
Bubberstation/code/game/objects/items/granters/magic/blind.dm
SkyratBot 1fe0d145a3 [MIRROR] Converts blindness and nearsightedness to status effects, scratches some VERY dumb blindness handling that resulted in mobs becoming "incurably" blind [MDB IGNORE] (#18760)
* Converts blindness and nearsightedness to status effects, scratches some VERY dumb blindness handling that resulted in mobs becoming "incurably" blind

* Fixes the conflicts and makes shit compile!

* Fixes other things that didn't show up because I hadn't updated

* Fixes the lints.

* Okay NOW it's ready (please don't add anything else that touches blindness I beg you)

---------

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2023-02-03 16:08:32 -05:00

33 lines
1.2 KiB
Plaintext

/obj/item/book/granter/action/spell/blind
granted_action = /datum/action/cooldown/spell/pointed/blind
action_name = "blind"
icon_state = "bookblind"
desc = "This book looks blurry, no matter how you look at it."
remarks = list(
"Well I can't learn anything if I can't read the damn thing!",
"Why would you use a dark font on a dark background...",
"Ah, I can't see an Oh, I'm fine...",
"I can't see my hand...!",
"I'm manually blinking, damn you book...",
"I can't read this page, but somehow I feel like I learned something from it...",
"Hey, who turned off the lights?",
)
/obj/item/book/granter/action/spell/blind/recoil(mob/living/user)
. = ..()
to_chat(user, span_warning("You go blind!"))
user.adjust_temp_blindness(20 SECONDS)
/obj/item/book/granter/action/spell/blind/wgw
name = "Woody's Got Wood"
pages_to_mastery = 69 // Andy's favorite number
uses = 0 // it's spent
desc = "This book looks dangerous. Only suffering awaits those who read."
remarks = list( // Death awaits
"T-T-This is bad...",
"This is REALLY bad...",
"I think my eyes are starting to bleed...",
"Please, make it stop...",
"HELP ME SOMEONE, WHY AM I READING THIS...",
)