mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
64867887dc
* Improves some confusing aspects of the Library (#75781) ## About The Pull Request The barcode scanner now uses balloon alerts and only has 2 modes: check in and add to inventory. It used to have 4, 2 of which were useless. Added a title and author to chuuni granter so it's not broken to the Curator's console. Moves inventory ui data stuff to ui static data so we can reference it in checkout, which now uses a dropdown list of all books in checkout, instead of having you fill out the name of the book yourself. Removes sending things to a computer by scanning a book then connecting it to a computer. Just connect it to a computer first, there's no need for this copy and paste stuff. Finally, lets the book bag hold posters, since the Curator prints them and it would be nice if they can also carry them without filling a bag. Video was taken before the balloon alert stuff so just ignore that part https://github.com/tgstation/tgstation/assets/53777086/e78011af-fb23-4553-a92d-f3dcc8bb5601 ## Why It's Good For The Game The library is currently very confusing for new people to figure out, I thought this might be able to help with that. The dropdown in the UI now means it's easier to give out books in inventory, and you can no longer just type whatever the hell you wanted. ## Changelog 🆑 qol: The Curator's barcode scanner has been simplified into 2 modes: check-in and add to inventory. qol: The Book bag can now hold posters. ui: The library console can now lend books out easier with a dropdown menu to all inventory books. /🆑 --------- Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com> * Improves some confusing aspects of the Library --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>
32 lines
1.5 KiB
Plaintext
32 lines
1.5 KiB
Plaintext
/// Turns the user into a chuunibyou.
|
|
/obj/item/book/granter/chuunibyou
|
|
starting_title = "I Found a Mysterious Book in the Library That Teaches Me How to Become a Chuunibyou, But It Turns Out It's Actually a Grimoire That Unlocks My Hidden Powers!"
|
|
starting_author = "Anonymous"
|
|
name = "I Found a Mysterious Book in the Library That Teaches Me How to Become a Chuunibyou, But It Turns Out It's Actually a Grimoire That Unlocks My Hidden Powers!"
|
|
desc = "I'd rather get caught holding a syndicate revolver, honestly."
|
|
icon_state ="chuuni_manga"
|
|
remarks = list(
|
|
"How can anyone believe this stuff?",
|
|
"...Why am I wasting my time on this?",
|
|
"Coming up with the invocations on demand is actually a skill...",
|
|
"I should get a medical eyepatch to complete the look...",
|
|
"According to this manga, my power goes up by 5000% by using invocations...",
|
|
"Who is this \"dark lord\" fellow? Why does he grant all the powers?",
|
|
)
|
|
|
|
/obj/item/book/granter/chuunibyou/can_learn(mob/living/user)
|
|
if (!isliving(user))
|
|
return
|
|
if (user.GetComponent(/datum/component/chuunibyou))
|
|
to_chat(user, span_warning("You're already a chuunibyou!"))
|
|
return
|
|
return TRUE
|
|
|
|
/obj/item/book/granter/chuunibyou/recoil(mob/living/user)
|
|
to_chat(user, span_warning("You just can't bring yourself to read it... it's just not worth the cringe..."))
|
|
|
|
/obj/item/book/granter/chuunibyou/on_reading_finished(mob/living/user)
|
|
..()
|
|
to_chat(user, span_notice("You've learned how to cast spells in a more chuunibyou-like style!"))
|
|
user.AddComponent(/datum/component/chuunibyou/no_healing)
|