mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-13 03:02:38 +00:00
## About The Pull Request Separates all the quirts out of the positive, neutral and negative files into their own files. The smoker and alcoholic quirks are left with junkie as they are subtypes of it. ## Why It's Good For The Game These three code files were chonkers at 400, 483 and 1564 lines. They were run on files of types only connected by all being quirks, and made it hard to navigate these files without the user's eye sliding from one quirk to the next. Breaking them down makes it easy to look at the code for a specific quirk indepentently, and also allows looking between multiple quirks without having to scroll around the same file. ## Changelog No player facing changes
14 lines
569 B
Plaintext
14 lines
569 B
Plaintext
/datum/quirk/cursed
|
|
name = "Cursed"
|
|
desc = "You are cursed with bad luck. You are much more likely to suffer from accidents and mishaps. When it rains, it pours."
|
|
icon = FA_ICON_CLOUD_SHOWERS_HEAVY
|
|
value = -8
|
|
mob_trait = TRAIT_CURSED
|
|
gain_text = span_danger("You feel like you're going to have a bad day.")
|
|
lose_text = span_notice("You feel like you're going to have a good day.")
|
|
medical_record_text = "Patient is cursed with bad luck."
|
|
hardcore_value = 8
|
|
|
|
/datum/quirk/cursed/add(client/client_source)
|
|
quirk_holder.AddComponent(/datum/component/omen/quirk)
|