76
DF Modding / Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« on: June 04, 2019, 12:42:10 pm »
Yup, that should do it.
March 6, 2024: Dwarf Fortress 50.12 has been released.
News: February 3, 2024: The February '24 Report is up.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines
Pop ratio on the caste level of the creature can do that for you, by making that caste especially rarer than most, though positions will typically generate one example for purpose if its in the allowed category. EI someone did a warhammer fantasy lizardpeople mod out there and put a exceptionally rare caste 'Slann' (big toad creature) in as a leader.
Requires at least to be the same token species and caste derived as the creature currently selected as being part of the civ.
So would a [POP_RATIO:1] make 1% of the creatures that caste? I will try this and give it the POWER, SHPERE and FANCIFUL tags along with the ALLOWED_CREATURE. my plan is to give the civ a demon overlord
I could give it an underground biome but I would prefer if it only took rulership in my entity. The wiki says that ALLOWED_CREATURE only works with a caste of the entity's current race. So does that mean that it wouldnt work for a megabeast in an ANIMAL tag? I will try the ALLOWED_CLASS though and see what happens. Can I see if it works using legends?
Is there a way to make an entity always at war with everyone?
Basically the short version of nobody involved is doing a job. Whether or not slow learners like trolls and ogres can do jobs in a modded fortress is something I don't know for sure.
Burrows restrict their actions, and food drink and bedding can be provided for them there while the milkers and shearers work. Remember to bring buckets and use a farmers workshop.
Idle?
bread cheese... he might be onto something.
You could create wine yeast by mixing dwarven sugar (and modding in sugarcane) and alcohol together in a still into yeast globs, then use bags of flour + the yeast together to bake plant 'cheese bread' which can be eaten all in one as a meal or mixed with other things without having to milk a single cow.
Excellent.
Bread in category plant cheese is strange.
Yes, but our options are fairly limited, as making FOOD items (prepared meals) with custom reactions doesn't really work (as far as I remember, I haven't looked into this in some time).
And speaking of cheese... Isn't bread just a cheese made of wheat + heat? Using yeast instead of acid-bacteria ? They are both fermented foods, sorta
The item_food.txt RAW file is the only one specifically dealing with food(meals). It is the library of terms that are used in naming prepared meals that your cooks make at the kitchen. The "level" in each entry has to do with what type of meal it is (2 = Easy, 3 = Fine, and 4 = Lavish). If you want to create new names for these meals, you can add them in. They will be randomly picked from all choices based on the food level.
For example, adding:Code: [Select][ITEM_FOOD:ITEM_FOOD_DUMPLING]
[NAME:dumpling]
[LEVEL:2]
to the item_food RAW will mean that there is now a chance for your dwarven cooks to make dumplings when you select "prepare easy meal" from the kitchen. Mechanically, they will be identical to other easy meals (e.g. biscuits).
______
The actual reaction that makes meals is hard-coded in the game. Also, trying to make custom reactions to make meals (the FOOD item) tend to not work. However, if you want to make custom edible foods, and not have them be the random assembly of minced ingredients that dwarven cooking demands, then you can make reactions to make other eat-able items instead and have those items be made out of your new "food".
Some valid eat-able items that you can have your reactions churn out include:
- Cheese
- Fish (will have the prefix "prepared" in front of the material)
- Meat
- Plant
- Plant Growth
- Glob
- Egg
These will be the "item" that the reaction makes. You will still need to assign the material, which would be whatever custom food material it is you want to add.
Remember to have the proper EDIBLE tags on your food material, else your dwarves won't eat it. Also, the type of item you decide to make will determine stockpiling preferences, so keep that in mind as well. I've known a lot of people that have modded in their own custom "meals", like dwarven bread or something like that. The general consensus has been that the "cheese" item tends to work the best in terms of stockpiling your new food with your other edibles with the least hassle in trying to find it.