Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Making wood in smelter mod  (Read 520 times)

Urist McTaverish

  • Bay Watcher
    • View Profile
Making wood in smelter mod
« on: September 02, 2011, 02:05:37 pm »

So I copied the text directly from the wiki to make wood from the smelter, adding in a wood type, put the permitted reactions in the right folder, and I still can't make wood.  I copied it into the existing game folder.  What am I doing wrong?

here's the code:

Code: [Select]
[REACTION:FREE_WOOD]
[NAME:create wood]
[BUILDING:SMELTER:NONE]
[PRODUCT:100:5:WOOD:NO_SUBTYPE:PLANT_MAT:OAK:WOOD][PRODUCT_DIMENSION:150]
[SKILL:SMELT]
Logged
Here at Bay12, we're constantly looking for ways to set the world on fire.
But at least after all the chaos, the weather cleared.

trees

  • Bay Watcher
  • [MUNDANE]
    • View Profile
Re: Making wood in smelter mod
« Reply #1 on: September 02, 2011, 02:09:50 pm »

New reactions require a world regen, and [PERMITTED_REACTION:FREE_WOOD] in the entity file under [ENTITY:MOUNTAIN] (for dwarves). However, you can edit an existing reaction that you'd never use (ie, making fine pewter or some other useless alloy) and change it to produce a log, as long as you don't change the [REACTION:WHATEVER] part.
Logged
I am often bad at phrasing things - don't hesitate to ask for clarification if something I said doesn't make sense.

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Making wood in smelter mod
« Reply #2 on: September 02, 2011, 02:09:58 pm »

You need to add the permitted reaction to your dwarf entity file as well in order for the dwarves to be able to access this reaction.  Of course, changes to the entity raws require a world regen to take effect, so you can't do this to an already existing world.

(Well, technically you can, but it requires some very tricky hacking of the save game file)
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.