Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: Askot Bokbondeler on February 19, 2011, 04:59:29 pm

Title: trick to give dwaven civs acess to metal by default
Post by: Askot Bokbondeler on February 19, 2011, 04:59:29 pm
it's a bit silly that dwarven civs often don't have access to any iron, so add this to either reaction_other or reaction_smelter txt
Code: [Select]
[REACTION:BASE_METAL]
[NAME:O]i'm not sure i can have a reaction without a name
[BUILDING:NONE:NONE]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:SILVER][PRODUCT_DIMENSION:150]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:TIN][PRODUCT_DIMENSION:150]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:COPPER][PRODUCT_DIMENSION:150]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:GOLD][PRODUCT_DIMENSION:150]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:IRON][PRODUCT_DIMENSION:150]

and this to the dwarves entity entry
Code: [Select]
[PERMITTED_REACTION:BASE_METAL]
IMPORTANT EDIT: corrected a typo as pointed out by bertieb (http://www.bay12forums.com/smf/index.php?topic=77800.msg2042833#msg2042833)
Title: Re: trick to give dwaven civs acess to metal by default
Post by: Deon on February 19, 2011, 05:01:07 pm
Yep, it's what I use all the time. Good ideas are good :).
Title: Re: trick to give dwaven civs acess to metal by default
Post by: Assassinfox on February 19, 2011, 09:30:32 pm
That's genius.  Thank you.  :)
Title: Re: trick to give dwaven civs acess to metal by default
Post by: Askot Bokbondeler on February 19, 2011, 09:34:13 pm
note that goblins don't have bronze and steel reactions, so if they don't have access to iron they're even more screwed then you. be a nice guy and add those tags to goblins too
Title: Re: trick to give dwaven civs acess to metal by default
Post by: bertieb on March 04, 2011, 04:25:51 pm
and this to the dwarves entity entry
Code: [Select]
[PERMITED_REACTION:BASE_METAL]

Surely you mean

Code: [Select]
[PERMITTED_REACTION:BASE_METAL]
...right? Which I presume goes in entity_default.txt, to save other people the bother of searching. Good tip :D
Title: Re: trick to give dwaven civs acess to metal by default
Post by: Askot Bokbondeler on March 04, 2011, 04:36:06 pm
yeah, i misspelled... damn! hope nobody got any trouble with that