Property:Diet

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Recode|reason=1) Make a list what value matches which xml tag and what food types this are. 2) Set allowed values. 3) Check if they are actually correct for all animals}}
+
This property allows the following [[has type::text]] values:
 
+
{| class="wikitable"
[[has type::text]]
+
! Allowed value !! Name in the xml !! Allowed food
 +
|-
 +
| [[Allows value::omnivorous (human)]] ||  OmnivoreHuman || vegetables, raw meat, corpses, seeds, animal products, meals, processed foods, liquor, kibble
 +
|-
 +
| [[Allows value::omnivorous grazer]] || OmnivoreRoughAnimal || vegetables, raw meat, corpses, seeds, live plants, meals, processed foods, liquor, kibble
 +
|-
 +
| [[Allows value::omnivorous]] || OmnivoreAnimal || vegetables, raw meat, corpses, seeds, meals, processed foods, liquor, kibble
 +
|-
 +
| [[Allows value::herbivorous]] || VegetarianRoughAnimal || vegetables, seeds, live plants, meals, processed foods, liquor, kibble
 +
|-
 +
| [[Allows value::dendrovorous]] || DendrovoreAnimal || vegetables, seeds, live trees, processed foods, kibble
 +
|-
 +
| [[Allows value::carnivorous]] || CarnivoreAnimal || raw meat, corpses, meals, processed foods, kibble
 +
|-
 +
| [[Allows value::raw meat and corpses]] || CarnivoreAnimalStrict || raw meat, corpses
 +
|-
 +
| [[Allows value::ovivorous]] || OvivoreAnimal || animal products, meals, processed foods, kibble
 +
|-
 +
| [[Allows value::animal products]] || AnimalProduct || animal products
 +
|-
 +
| [[Allows value::none]] || none || none
 +
|}

Revision as of 21:11, 28 January 2024

This property allows the following text values:

Allowed value Name in the xml Allowed food
omnivorous (human) OmnivoreHuman vegetables, raw meat, corpses, seeds, animal products, meals, processed foods, liquor, kibble
omnivorous grazer OmnivoreRoughAnimal vegetables, raw meat, corpses, seeds, live plants, meals, processed foods, liquor, kibble
omnivorous OmnivoreAnimal vegetables, raw meat, corpses, seeds, meals, processed foods, liquor, kibble
herbivorous VegetarianRoughAnimal vegetables, seeds, live plants, meals, processed foods, liquor, kibble
dendrovorous DendrovoreAnimal vegetables, seeds, live trees, processed foods, kibble
carnivorous CarnivoreAnimal raw meat, corpses, meals, processed foods, kibble
raw meat and corpses CarnivoreAnimalStrict raw meat, corpses
ovivorous OvivoreAnimal animal products, meals, processed foods, kibble
animal products AnimalProduct animal products
none none none
Showing 20 pages using this property.
A
herbivorous  +
dendrovorous  +
carnivorous  +
carnivorous  +
B
none  +
none  +
herbivorous  +
herbivorous  +
omnivorous grazer  +
none  +
C
herbivorous  +
herbivorous  +
none  +
herbivorous  +
carnivorous  +, ovivorous  +
herbivorous  +
none  +
herbivorous  +
none  +
carnivorous  +, ovivorous  +
The request is being processed and may take a moment. Preparing ...
{ "type": "PROPERTY_CONSTRAINT_SCHEMA", "constraints": { "type_constraint": "_txt", "allowed_values": [ "omnivorous (human)", "omnivorous grazer", "omnivorous", "herbivorous", "dendrovorous", "carnivorous", "raw meat and corpses", "ovivorous", "animal products", "none", "None", "VegetableOrFruit", "Meat", "Fluid", "Corpse", "Seed", "AnimalProduct", "Plant", "Tree", "Meal", "Processed", "Liquor", "Kibble", "Fungus", "VegetarianAnimal", "VegetarianRoughAnimal", "CarnivoreAnimal", "CarnivoreAnimalStrict", "OmnivoreAnimal", "OmnivoreRoughAnimal", "DendrovoreAnimal", "OvivoreAnimal", "OmnivoreHuman", "NeverEats", "Herbivorous", "Dendrovorous", "Ovivorous", "Omnivorous", "Carnivorous" ] } }