Instal Steam
login
|
bahasa
简体中文 (Tionghoa Sederhana)
繁體中文 (Tionghoa Tradisional)
日本語 (Bahasa Jepang)
한국어 (Bahasa Korea)
ไทย (Bahasa Thai)
Български (Bahasa Bulgaria)
Čeština (Bahasa Ceko)
Dansk (Bahasa Denmark)
Deutsch (Bahasa Jerman)
English (Bahasa Inggris)
Español - España (Bahasa Spanyol - Spanyol)
Español - Latinoamérica (Bahasa Spanyol - Amerika Latin)
Ελληνικά (Bahasa Yunani)
Français (Bahasa Prancis)
Italiano (Bahasa Italia)
Magyar (Bahasa Hungaria)
Nederlands (Bahasa Belanda)
Norsk (Bahasa Norwegia)
Polski (Bahasa Polandia)
Português (Portugis - Portugal)
Português-Brasil (Bahasa Portugis-Brasil)
Română (Bahasa Rumania)
Русский (Bahasa Rusia)
Suomi (Bahasa Finlandia)
Svenska (Bahasa Swedia)
Türkçe (Bahasa Turki)
Tiếng Việt (Bahasa Vietnam)
Українська (Bahasa Ukraina)
Laporkan kesalahan penerjemahan
You could copy the sample pawn render xml from this mod and put it in your own GeneDef. They use the same structure for that as the HediffDefs do. :)
Sure. Head by the Discord and I'll see if I can assist. :)
1.Make a new food-type category (e.g. "Thrum_WoodFood")
[img] https://i.imgur.com/bZ13DV8.png [/img]
2. Add a new diet that permits eating it.
[img] https://i.imgur.com/ozUOw9W.png [/img]
3. Add the diet to any hediff, gene, or racetracker. (Yes, this means can make bionics that let people eat wood)
<modExtensions>
<li Class="BigAndSmall.PawnExtension">
<pawnDiet>BS_Carnivore</pawnDiet>
</li>
</modExtensions>
Step 4:
If you want to eat unprocessed wood, patch the vanilla wood-type so it has a nutrition value (and the "Tree" flag).
Otherwise just create new food items/meals as normal, and make sure to include them in the diet's "foodDef" list.
---------
Let me know if you have questions. :)
I haven't tested tree-eating specifically since iirc. it is the only food-thing humans can't eat normally.
You could try setting the race to:
<foodType>VegetarianRoughAnimal, DendrovoreAnimal</foodType>.
or
<foodType>OmnivoreHuman, Tree</foodType>.
It is quite possible that will handle it just fine.