Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Yet another reaction problem  (Read 583 times)

Loctavus

  • Bay Watcher
  • British Hammerdwarf
    • View Profile
Yet another reaction problem
« on: December 31, 2009, 06:15:30 am »

I am trying to make a small modification that will let me produce ash from crops. I wanted a source of ash that wasn't trees, but wasn't too much of a nobrainer either.

The trees grow, are picked and milled into wood chips alright, but I can't persuade them to be burned.

[MATGLOSS_PLANT:SAPLING]
[TILE:'t'][COLOR:0:1:1]
[NAME:tangled sapling][NAME_PLURAL:tangled saplings]
[VALUE:2]
[SEED:4:0:1]
[GENPOWER:2]
[AUTUMN][WINTER][SPRING][SUMMER]
[FREQUENCY:100]
[MILL:wood chips:7:0:0]
[MILL_VALUE:1]
[CLUSTERSIZE:5]
[BIOME:NOT_FREEZING]
[PREFSTRING:hard leaves]
[WET][DRY]

[REACTION:SAPLING_ASH_MAKING]
[NAME:burn saplings]
[SMELTER]
[REAGENT:10:POWDER_MISC:NO_SUBTYPE:PLANT:SAPLING]
[PRODUCT:100:1:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]
[FUEL]
Logged
Tea and -Elf Tallow Biscuits- anyone?

BlazingDav

  • Bay Watcher
    • View Profile
Re: Yet another reaction problem
« Reply #1 on: December 31, 2009, 07:20:52 am »

Sorry but millable items don't work in reactions, don't ask me why they just dont =P

I forget if it was because they crash the game or just never got past them being recognised =/ (i've experimented alot)

Thread does work though in reactions and you can process plants into that, yielding seeds and a reaction reagent
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Yet another reaction problem
« Reply #2 on: December 31, 2009, 09:14:04 am »

Milled products don't work because they are placed in a container (bag) and the smelter or REACTION looks at the bag and wonders what to do, try using the plant itself

REACTION:SAPLING_ASH_MAKING]
[NAME:burn saplings]
[SMELTER]
[REAGENT:10:PLANT:NO_SUBTYPE:SAPLING:NO_MATGLOSS]
[PRODUCT:100:1:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]
[FUEL]

now the only thing with  this is if the "sapling" is placed in a barrel it will be ignored, so either make its own stockpile that has barrels set to 0 and the food>plant>sapling is active only everything else is disabled

I did that for my tower-cap making


[MATGLOSS_PLANT:TOWER_CAP]
[TILE:'t'][COLOR:6:0:1]
[NAME:tower-cap][NAME_PLURAL:tower-caps]
[VALUE:2]
[GROWDUR:500]
[SEED:6:0:1]
[GENPOWER:2]
[AUTUMN][WINTER][SPRING][SUMMER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[BIOME:NOT_FREEZING]
[PREFSTRING:hard leaves]
[WET][DRY]

[REACTION:MAKE_TOWER_CAP]
[NAME:make tower-cap logs]
[SMELTER]
[REAGENT:1:PLANT:NO_SUBTYPE:TOWER_CAP:NO_MATGLOSS]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:WOOD:GIANT_SHROOM]
[PRODUCT:10:1:WOOD:NO_SUBTYPE:WOOD:GIANT_SHROOM]
[PRODUCT:100:1:SEEDS:NO_SUBTYPE:PLANT:TOWER_CAP]

I believe that might solve your problem but if your set on this milling technique, I can't help you there, maybe when the next update comes out where all or most workshops will be editable you can try some other method (your own version with milling) good luck and happy modding
Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Yet another reaction problem
« Reply #3 on: December 31, 2009, 10:17:40 am »

As other people have said your problem is with the reaction trying to use something in a container (it also goes the same with making something that needs to be stored in a container). While it is possible to make a specific reaction to turn one type of plant into ash it is also possible to make a reaction to turn any plant thread or cloth into ash or charcoal. Please note these reactions will not turn silk of any kind into ash or charcoal nor will it affect Adamantine thread.

Code: [Select]
[REACTION:THREAD_ASH_MAKING]
[NAME:make thread ash (3 units)]
[SMELTER]
[REAGENT:3:THREAD:NO_SUBTYPE:PLANT:NO_MATGLOSS]
[PRODUCT:100:1:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]

[REACTION:THREAD_CHARCOAL_MAKING]
[NAME:make thread charcoal (3 units)]
[SMELTER]
[REAGENT:3:THREAD:NO_SUBTYPE:PLANT:NO_MATGLOSS]
[PRODUCT:100:1:BAR:NO_SUBTYPE:COAL:CHARCOAL]

[REACTION:CLOTH_ASH_MAKING]
[NAME:make cloth ash (2 units)]
[SMELTER]
[REAGENT:2:CLOTH:NO_SUBTYPE:PLANT:NO_MATGLOSS]
[PRODUCT:100:1:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]

[REACTION:CLOTH_CHARCOAL_MAKING]
[NAME:make cloth charcoal (2 units)]
[SMELTER]
[REAGENT:2:CLOTH:NO_SUBTYPE:PLANT:NO_MATGLOSS]
[PRODUCT:100:1:BAR:NO_SUBTYPE:COAL:CHARCOAL]
Logged

Loctavus

  • Bay Watcher
  • British Hammerdwarf
    • View Profile
Re: Yet another reaction problem
« Reply #4 on: December 31, 2009, 10:52:13 am »

Thanks for your help guys. I played around with it a bit more, and I decided that burning 5 rolls of cloth sufficed. I reduced the number by half as a considerable amount of industry is required to make cloth in sufficent quantity.

As it would have required yet another world gen, I fixed saplings so I could cook with the milled material.

So my guys are just going to have to enjoy their wood chip roasts. :P
Logged
Tea and -Elf Tallow Biscuits- anyone?

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Yet another reaction problem
« Reply #5 on: December 31, 2009, 11:34:57 am »

Just for the record, you can smelt items in containers.
But the smelter list won't update unless the object is not in a container. (As noted, it sees the container, not the item.)  For some reason, bins, which are also containers, are ignored, however.
You can use the (j)ob (m)anager to order smelting jobs for items in containers just fine.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries