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 937 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
  • Caretaker of OldGenesis
    • 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
Deon's & TomiTapio's OldGenesis mod, 0.44.09, like vanilla but more races and workshops. Blood spatter causes STRESS.
Started back in 2010. Three wood tiers. Six leather tiers. Animal run speeds. Bonfires, ice, altars, alchemy metal transmuting.
-- Phoebus, Ironhand, ASCII tile versions: http://dffd.bay12games.com/who.php?id=1538

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