Dwarf Fortress > DF Modding

how to mod multiple wood blocks from one log

(1/2) > >>

joojoo1975:
I been hankering for an above ground dwarf fort.

hence I don't want to use stone at all, but when I tried it, the logs were not enough.

so I was looking in google and it didn't turn up any mods in question

Do any of you know how to change to make 1 log to be turned into say 16 wood blocks?

or is there a mod for that?  what about making charcoal only use wood blocks and not logs?



Thank you for any help you are able to give.

TanaNari:
The best way to do it is to create a new item type (wood block) and add a custom reaction to a workshop that accepts a wood log and creates wood blocks from it. You may end up creating a new item type called a "plank" for these purposes as well.

Bearskie:
Uhuh...


--- Code: ---[REACTION:MAKE_WOOD_BLOCKS]
    [NAME:make wood blocks]
    [BUILDING:CRAFTSMAN:CUSTOM_Q]
    [REAGENT:log:1:WOOD:NONE:NONE:NONE]
    [PRODUCT:100:16:BLOCKS:NONE:GET_MATERIAL_FROM_REAGENT:log:NONE]
    [SKILL:WOODCRAFT]
--- End code ---

Drop this into the reaction file. Insert [PERMITTED_REACTION:MAKE_WOOD_BLOCKS] in the dwarf entity.


--- Code: ---[REACTION:MAKE_CHARCOAL_FROM_WOOD_BLOCKS]
    [NAME:make charcoal from wood blocks]
    [BUILDING:SMELTER:CUSTOM_C]
    [REAGENT:block:1:BLOCKS:NONE:NONE:NONE]
[ANY_PLANT_MATERIAL]
    [PRODUCT:100:1:BAR:NONE:COAL:CHARCOAL]
[PRODUCT_DIMENSION:150]
    [SKILL:SMELT]
--- End code ---

Again, [PERMITTED_REACTION:MAKE_CHARCOAL_FROM_WOOD_BLOCKS].

joojoo1975:
thank you guys, gonna try it out.  was hoping to have internet connection on my trip, but alas, parts of KY is a hard road to hoe :(

InsanityPrelude:
42.01 enabled the carpenter's shop (CARPENTER) and wood furnace (WOOD) for reactions, if you'd rather have it take place in those.

Navigation

[0] Message Index

[#] Next page

Go to full version