-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add very basic allergies documentation
To appease the scarf
- Loading branch information
1 parent
714e71c
commit 86d01b3
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
doc/src/content/docs/en/mod/json/reference/items/allergies.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |