Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: turn wood items into charcoal  (Read 1260 times)

Entropy

  • Bay Watcher
    • View Profile
turn wood items into charcoal
« on: August 26, 2010, 01:49:35 pm »

While I don't want to do a full-on cheat and produce free wood, what I would like to do is 'recycle' wood items into charcoal.
Turn that old table/bin/bucket/whatever into charcoal, much the way metal items can be melted down in the smelter, why not burn wood furniture into charcoal?

Is there any way to do this? I cannot find how an item can be designated for 'melting', so no luck there. Am I just looking in the wrong places?
Logged

Shukaro

  • Bay Watcher
    • View Profile
Re: turn wood items into charcoal
« Reply #1 on: August 26, 2010, 02:14:51 pm »

A method I'm thinking of that would probably work would be to have a custom workshop with reactions that take the various wooden things you want to get rid of and produce charcoal.

Also, the [REACTION_CLASS:XX] tag may be helpful in some manner, but I don't have much experience in that area of modding.
Logged
Urist McHauler Cancels Give Food: Patient Insane
------------------------------------------------------------------
Mouse Fortress | Custom Menu and Hotkey Framework
Dwarven Higher Learning Mod | Alternative Skill Training

TomiTapio

  • Bay Watcher
  • OldGenesis since 2012
    • View Profile
    • My Flickr animal photos
Re: turn wood items into charcoal
« Reply #2 on: August 26, 2010, 02:36:40 pm »

The Genesis mod has "dismantle wooden cabinet" reaction to get log-stack back from it, you could make similar reactions based on that.
Logged
==OldGenesis mod== by Deon & TomiTapio. Five wood classes, four leather classes. Nine enemy civs. So much fine-tuning.
47.05e release: http://dffd.bay12games.com/who.php?id=1538
OldGenesis screenshots: https://twitter.com/hashtag/OldGenesis?src=hashtag_click&f=image
My Finnish language file: http://dffd.bay12games.com/file.php?id=14884

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: turn wood items into charcoal
« Reply #3 on: August 26, 2010, 04:33:23 pm »

Also table and chest :). And I had an old "elven coal" mod which can be easily updated to the new version. It took wooden armor/weapons and burned them into coal.

Go into material_template_default.txt, find the wood ("MATERIAL_TEMPLATE:WOOD_TEMPLATE") and add [REACTION_CLASS:REFINE_WOOD] to it. Then add these to reaction_smelter.txt:

Code: [Select]
[REACTION:HAIL_TO_THE_KING_BABY]
[NAME:burn wooden armor]
[BUILDING:KILN:CUSTOM_SHIFT_A]
[REAGENT:A:1:ARMOR:NONE:NONE:NONE][REACTION_CLASS:REFINE_WOOD]
[PRODUCT:100:1:BAR:NO_SUBTYPE:COAL:CHARCOAL][PRODUCT_DIMENSION:150]
[SKILL:SMELT]

[REACTION:LETS_ROCK]
[NAME:burn wooden weapons]
[BUILDING:KILN:CUSTOM_SHIFT_W]
[REAGENT:A:1:WEAPON:NONE:NONE:NONE][REACTION_CLASS:REFINE_WOOD]
[PRODUCT:100:1:BAR:NO_SUBTYPE:COAL:CHARCOAL][PRODUCT_DIMENSION:150]
[SKILL:SMELT]

Don't forget to add these two under "PERMITTED_REACTION" tokens in entity_default.txt.
« Last Edit: August 26, 2010, 04:39:11 pm by Deon »
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository