CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
9.92k stars 4.08k forks source link

Vegan profession item substitutions #74649

Closed Maleclypse closed 2 hours ago

Maleclypse commented 1 week ago

Summary

Content "Vegan Profession Item Substitutions"

Purpose of change

Fixes #74607. Created each of these as separate commits so they can be broken out as needed. 1. Discovered that kilts had a built in pocket and non wool kilts didn't exist. Solved that in commit 1. Commit 2 adds vegan item substitions. Commit 3 adds a material to espradilles since they are the vegan substitute for dress shoes. Commit 4 fixes the duplicated definitions in commit 2. Commit 5 tries to improve the error message for duplicate definitions in item substitutions. Commit 6+ is json styling and fixing errors and can be squashed down.

Describe the solution

Adds Vegan profession item substitutions.

Describe alternatives you've considered

Not doing this.

Testing

Created a vegan tailor and saw all his animal products were replaced.

Additional context

github-actions[bot] commented 1 week ago

Spell checker encountered unrecognized words in the in-game text added in this pull request. See below for details.

Click to expand * kilt, **utilitys**

This alert is automatically generated. You can simply disregard if this is inaccurate, or (optionally) you can also add the new words to tools/spell_checker/dictionary.txt so they will not trigger an alert next time.

Hints for adding a new word to the dictionary * If the word is normally in all lowercase, such as the noun `word` or the verb `does`, add it in its lower-case form; if the word is a proper noun, such as the surname `George`, add it in its initial-caps form; if the word is an acronym or has special letter case, such as the acronym `CDDA` or the unit `mW`, add it by preserving the case of all the letters. A word in the dictionary will also match its initial-caps form (if the word is in all lowercase) and all-uppercase form, so a word should be added to the dictionary in its normal letter case even if used in a different letter case in a sentence. * For a word to be added to the dictionary, it should either be a real, properly-spelled modern American English word, a foreign loan word (including romanized foreign names), or a foreign or made-up word that is used consistently and commonly enough in the game. Intentional misspelling (including eye dialect) of a word should not be added unless it has become a common terminology in the game, because while someone may have a legitimate use for it, another person may spell it that way accidentally.