- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
Shaostoul's Guide
Welcome to my guide, within this page I hope to teach you how to mod... anything! But for starters... Let's go with what I've got in the forum thread so far.
In this short guide I'm going to show you how to create a custom reaction and guide.
It seems many people don't realize the new method of save handling and reaction handling. There are multiple places that have to be altered in order for your custom reaction/building to show up to be used. For example...
If you add a smelting reaction, you have to add the reaction to the "reaction_smelter.txt", you then have to make your reaction permitted on the "entity_default.txt". When you add a reaction to the "entity_default.txt" it will be under the [ENTITY:MOUNTAIN] listing. Your permitted reaction should look like... [PERMITTED_REACTION:XXXCUSTOM_REACTION_NAMEXXX] When you add your custom building to the "entity_default.txt" it should look something like... [PERMITTED_BUILDING:XXXCUSTOM_BUILDING_NAMEXXX] YOU WILL CHANGE "XXXCUSTOM_REACTION_NAMEXXX" and "XXXCUSTOM_BUILDING_NAMEXXX" TO WHATEVER YOU HAVE IT LISTED AS.
Now that, that is out of the way.
Custom Build & Reaction
Your first custom reaction and building! | |
---|---|
You may not see the .txt, but don't worry, they should still be text files.
This is the guide to make a custom reaction and custom building. -To start open up your dwarf fortress folder. -Next go to the raw folder. -Next go to the objects folder. -We'll make a custom reaction that doesn't go into the smelter and has it's own custom building. So find the "reaction_other.txt" file and open it. -We'll start with a very simple reaction to give us one free granite stone. [REACTION:CHEAT_REACTION] -Now save and close the file and look for the file named "building_custom.txt". -You should see something along the lines of a Soap Maker Workshop entry. Go ahead and select and copy everything from "[BUILDING_WORKSHOP:SOAP_MAKER]" to "[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]". -Paste this entry right below the Soap Maker entry, make sure there is a space between them, so you should now have two entries separated by a line break. You should have the following... building_custom.txt [OBJECT:BUILDING] [BUILDING_WORKSHOP:SOAP_MAKER] [BUILDING_WORKSHOP:SOAP_MAKER] -Now you want to change the second entry to following. [BUILDING_WORKSHOP:CHEAT_WORKSHOP] -Now save this file and close it and look for the final file called "entity_default" -The beginning entry should say "[ENTITY:MOUNTAIN]" If you scroll down a bit you should eventually come to a part in the list that looks like the following. [PERMITTED_JOB:BONE_SETTER] -Now for simplicity sake and for keeping it a little organized go ahead and add the following between the "[PERMITTED_BUILDING:SOAP_MAKER]" and "[PERMITTED_REACTION:TAN_A_HIDE]" [PERMITTED_BUILDING:CHEAT_WORKSHOP] You should now have... [PERMITTED_JOB:BONE_SETTER] -Now save and close this file. -You have now successfully created your first custom reaction, custom building and you've added it to the entity file! -Generate a new world and test it! Your custom building should be under the workshop menu at the bottom most likely. You could also press Shift+c to hotkey build it. It's going to use the furnace operating skill to build the workshop and use the custom reaction. -After all is said and done you should have one workshop named "Cheat Workshop" and one extra Granite! -Mind you this workshop is going to look like a soap makers workshop, but we want to keep things easy! |
Finished Reactions/Buildings
SKILLS
Skill Training | |||||||||
---|---|---|---|---|---|---|---|---|---|
How to train your dwarf
|
TREES & PLANTS
Trees & Plants | |||||||||
---|---|---|---|---|---|---|---|---|---|
For food in bed
|
MINERALS, STONES, METALS, GEMS
Minerals, Stones, Metals, Gems | |||||||||
---|---|---|---|---|---|---|---|---|---|
That crap you stand on and has walled you in... plus shinies!
|