From 86d01b3f15588001f65cd5112728ac8e34c9d906 Mon Sep 17 00:00:00 2001 From: RobbieNeko <30732426+RobbieNeko@users.noreply.github.com> Date: Fri, 13 Dec 2024 21:04:06 -0500 Subject: [PATCH] Add very basic allergies documentation To appease the scarf --- .../en/mod/json/reference/items/allergies.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/src/content/docs/en/mod/json/reference/items/allergies.md diff --git a/doc/src/content/docs/en/mod/json/reference/items/allergies.md b/doc/src/content/docs/en/mod/json/reference/items/allergies.md new file mode 100644 index 000000000000..801663d7850a --- /dev/null +++ b/doc/src/content/docs/en/mod/json/reference/items/allergies.md @@ -0,0 +1,33 @@ +--- +title: allergies +--- + +## Basic Info +Allergies are based on the vitamins system for the purpose of inheritability and avoiding a need to create several variants of items / make tough calls as to the material of foods. + +As an initial measure, these vitamins were applied based on materials to prevent regression and having to add the vitamins all by hand. However, unless an item has `NUTRIENT_OVERRIDE`, cooking *should* correctly reflect what actually went into it. Naturally spawned items will have whatever their materials would indicate. + +If a food item has veggy allergens in it, a carnivore will be unable to eat it. Vice versa for an herbivore and something with meat allergens. + +## Current 'allergens': +- `"egg_allergen"` +- `"fruit_allergen"` +- `"human_flesh_vitamin"` (This one is a special case, as it's instead used for morale maluses / boons due to Cannibalism) +- `"junk_allergen"` +- `"meat_allergen"` +- `"milk_allergen"` +- `"nut_allergen"` +- `"veggy_allergen"` +- `"wheat_allergen"` (Actually just general bread / baked goods) + +## Current dietary restrictions: +Full bans: + - Carnivore: veggy_allergen, fruit_allergen, wheat_allergen, nut_allergen + - Herbivore / Ruminant: meat_allergen, egg_allergen +Dislikes: + - Vegetarian + - Anti-plant + - Lactose intolerance + - Fruit intolerance + - Junkfood intolerance + - Grain intolerance