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 602 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
  • I'm with Deon's Genesis. Find me on Twitter.
    • 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
Here's Old Genesis .34.11c, July 31st, 2012! Tweaks, tunings, charcoal the cheap wood, 3-part brain, rock weapons, altars harder to build.
ASCII: http://dl.dropbox.com/u/8967397/OldGenesis_3411c_ASCII.zip - Phoebus http://dl.dropbox.com/u/8967397/OldGenesis_3411c_Phoebus.zip - Ironhand http://dl.dropbox.com/u/8967397/OldGenesis_3411c_Ironhand.zip
All unzip-and-play ready.

Deon

  • Bay Watcher
  • Mods for the mod god!
    • 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
▬(ஜ۩۞۩ஜ)▬
DEON'S MODS
Steampunk - Automatons, adventure mode fort building, companion controls, magic and more.
Post-Apocalypse - Fallout mod, robots, mutants and vaults.
Lord Of The Rings mod.
And more...