Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Wood reaction.  (Read 1293 times)

Dwarf

  • Bay Watcher
  • The Light shall take us
    • View Profile
Wood reaction.
« on: January 16, 2010, 07:39:46 am »

Hey there.

Made a reaction which turns oak logs into planks:

[REACTION:PLANKS_SAWING]
[NAME:saw logs to planks]
[SMELTER]
[REAGENT:1:WOOD:NO_SUBTYPE:WOOD:OAK]
[PRODUCT:100:5:STONE:NO_SUBTYPE:STONE:PLANKS]

But yeah, oak is only a part of the forest. How can I make any log useable? Just repeat the same reaction, replacing the OAK token with other trees, or can I just designate the whole group of woods?
Logged
Quote from: Akura
Now, if we could only mod Giant War Eagles to carry crossbows, we could do strafing runs on the elves who sold the eagles to us in the first place.

Haspen

  • Bay Watcher
  • Cthuwu
    • View Profile
Re: Wood reaction.
« Reply #1 on: January 16, 2010, 08:19:23 am »

Replace OAK with NO_MATGLOSS, maybe?*

Nothign wrong to see if that works

*I was never good at reaction lines >.>
Logged
SigFlags!
Quote from: Draignean@Spamkingdom+
Truly, we have the most uniquely talented spy network in all existence.
Quote from: mightymushroom@Spamkingdom#
Please tell me the Royal Physician didn't go to the same college as the Spymaster.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Wood reaction.
« Reply #2 on: January 16, 2010, 08:36:01 am »

[REACTION:PLANKS_SAWING]
[NAME:saw logs to planks]
[SMELTER]
[REAGENT:1:WOOD:NO_SUBTYPE:WOOD:NO_MATGLOSS]
[PRODUCT:100:5:STONE:NO_SUBTYPE:STONE:PLANKS]

just as long as you don't need a specific type of plank you will be fine, if you do then yes you will need mulitible reactions for each type of plank
« Last Edit: January 16, 2010, 08:40:30 am by Hugo_The_Dwarf »
Logged

NRN_R_Sumo1

  • Bay Watcher
    • View Profile
Re: Wood reaction.
« Reply #3 on: January 16, 2010, 11:00:24 am »

What are your planks going to be used for, im just curious. :)
Logged
A dwarf is nothing but an alcohol powered beard.

Dwarf

  • Bay Watcher
  • The Light shall take us
    • View Profile
Re: Wood reaction.
« Reply #4 on: January 16, 2010, 11:20:17 am »

[REACTION:PLANKS_SAWING]
[NAME:saw logs to planks]
[SMELTER]
[REAGENT:1:WOOD:NO_SUBTYPE:WOOD:NO_MATGLOSS]
[PRODUCT:100:5:STONE:NO_SUBTYPE:STONE:PLANKS]

just as long as you don't need a specific type of plank you will be fine, if you do then yes you will need mulitible reactions for each type of plank
Hey, thanks.
Logged
Quote from: Akura
Now, if we could only mod Giant War Eagles to carry crossbows, we could do strafing runs on the elves who sold the eagles to us in the first place.

Dwarf

  • Bay Watcher
  • The Light shall take us
    • View Profile
Re: Wood reaction.
« Reply #5 on: January 16, 2010, 11:25:59 am »

What are your planks going to be used for, im just curious. :)
For when playing humans; building out of logs takes a shitload of trees. Sorry for doublepost, PSP.
Logged
Quote from: Akura
Now, if we could only mod Giant War Eagles to carry crossbows, we could do strafing runs on the elves who sold the eagles to us in the first place.

sunshaker

  • Bay Watcher
    • View Profile
Re: Wood reaction.
« Reply #6 on: January 16, 2010, 10:03:19 pm »

Add to plants or a seperate matgloss tree file

Code: [Select]
[MATGLOSS_PLANT:TREE_FAST]
[TILE:5][COLOR:2:0:0]
[NAME:fast tree][NAME_PLURAL:fast tree]
[GROWDUR:2000][VALUE:2] (that should be just short of 2 seasons)
[SEED:4:0:1]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:1]
[PREFSTRING:grows fast]
[WET][DRY][BIOME:NOT_FREEZING]

[MATGLOSS_WOOD:FAST_TREE]

[NAME:fast tree][ADJ:fast tree]

[TILE:5]
[PREFSTRING:fast wood]

[WET][DRY][BIOME:NOT_FREEZING]

[SOLID_DENSITY:1600]

add to reaction file

Code: [Select]
[REACTION:PROCESS_WOOD_FAST_TREE]
[NAME:process fast tree into logs]
[SMELTER]
[REAGENT:1:PLANT:NONE:TREE_FAST:NONE]
[PRODUCT:100:1:WOOD:NONE:WOOD:FAST_TREE] (can increase number of logs produced)
[PRODUCT:100:2:SEEDS:NONE:TREE_FAST:NONE]

Now you can grow fast wood in your farms.
Logged

Eagle0600

  • Bay Watcher
  • Highly Confused
    • View Profile
Re: Wood reaction.
« Reply #7 on: January 17, 2010, 02:12:48 am »

I would call it something like "Pine", or "Plantation Pine".
Logged
GENERATION 21:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Wood reaction.
« Reply #8 on: January 17, 2010, 02:22:00 am »

There is a pine, so don't mess it up.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Dwarf

  • Bay Watcher
  • The Light shall take us
    • View Profile
Re: Wood reaction.
« Reply #9 on: January 17, 2010, 03:12:49 am »

Add to plants or a seperate matgloss tree file

Code: [Select]
[MATGLOSS_PLANT:TREE_FAST]
[TILE:5][COLOR:2:0:0]
[NAME:fast tree][NAME_PLURAL:fast tree]
[GROWDUR:2000][VALUE:2] (that should be just short of 2 seasons)
[SEED:4:0:1]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:1]
[PREFSTRING:grows fast]
[WET][DRY][BIOME:NOT_FREEZING]

[MATGLOSS_WOOD:FAST_TREE]

[NAME:fast tree][ADJ:fast tree]

[TILE:5]
[PREFSTRING:fast wood]

[WET][DRY][BIOME:NOT_FREEZING]

[SOLID_DENSITY:1600]

add to reaction file

Code: [Select]
[REACTION:PROCESS_WOOD_FAST_TREE]
[NAME:process fast tree into logs]
[SMELTER]
[REAGENT:1:PLANT:NONE:TREE_FAST:NONE]
[PRODUCT:100:1:WOOD:NONE:WOOD:FAST_TREE] (can increase number of logs produced)
[PRODUCT:100:2:SEEDS:NONE:TREE_FAST:NONE]

Now you can grow fast wood in your farms.

Thanks, I'll definitely use that when I'm genning a new world!

(I guess it's fair game when I need such huge amounts of wood, right?)
Logged
Quote from: Akura
Now, if we could only mod Giant War Eagles to carry crossbows, we could do strafing runs on the elves who sold the eagles to us in the first place.

Eagle0600

  • Bay Watcher
  • Highly Confused
    • View Profile
Re: Wood reaction.
« Reply #10 on: January 17, 2010, 05:53:17 am »

There is a pine, so don't mess it up.

As long as the ID is different, it doesn't really matter. At all.

Also, that prefstring would come out wrong grammatically. Same with the plural-name. I really don't think "likes fast tree for its grows fast." should be appearing in this game short of the "all your base" edition.

Apart from those problems, the everything else looks good. I'm actually thinking of using those with a few edits.

Update:
Here's what I'm using:
Code: [Select]
matgloss_plant_plantation

[OBJECT:MATGLOSS]

[MATGLOSS_PLANT:TREE_PLANTATION]
[TILE:5][COLOR:2:0:0]
[NAME:pine][NAME_PLURAL:pines]
[GROWDUR:2000][VALUE:2]
[SEED:4:0:1]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:1]
[WET][DRY][BIOME:NOT_FREEZING]
Code: [Select]
reaction_plantation

[OBJECT:REACTION]

[REACTION:PROCESS_PLANTATION_PINE]
[NAME:process pine into logs]
[SMELTER]
[REAGENT:1:PLANT:NONE:TREE_PLANTATION:NONE]
[PRODUCT:100:1:WOOD:NONE:WOOD:PINE]
[PRODUCT:100:2:SEEDS:NONE:TREE_FAST:NONE]

[REACTION:PINE_SAWING]
[NAME:saw pine into blocks]
[SMELTER]
[REAGENT:1:PLANT:NONE:TREE_FAST:NONE]
[PRODUCT:100:5:BLOCKS:NO_SUBTYPE:WOOD:PINE]
[PRODUCT:100:2:SEEDS:NONE:TREE_FAST:NONE]
« Last Edit: January 17, 2010, 06:09:20 am by Eagle0600 »
Logged
GENERATION 21:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Wood reaction.
« Reply #11 on: January 17, 2010, 09:52:02 am »

Quote
As long as the ID is different
That's what I meant, just in case.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Stargrasper

  • Bay Watcher
    • View Profile
Re: Wood reaction.
« Reply #12 on: January 17, 2010, 12:55:03 pm »

Code: [Select]
reaction_plantation

[OBJECT:REACTION]

[REACTION:PROCESS_PLANTATION_PINE]
[NAME:process pine into logs]
[SMELTER]
[REAGENT:1:PLANT:NONE:TREE_PLANTATION:NONE]
[PRODUCT:100:1:WOOD:NONE:WOOD:PINE]
[PRODUCT:100:2:SEEDS:NONE:TREE_FAST:NONE]

[REACTION:PINE_SAWING]
[NAME:saw pine into blocks]
[SMELTER]
[REAGENT:1:PLANT:NONE:TREE_FAST:NONE]
[PRODUCT:100:5:BLOCKS:NO_SUBTYPE:WOOD:PINE]
[PRODUCT:100:2:SEEDS:NONE:TREE_FAST:NONE]

In those reactions, don't you have to replace NONE with NO_SUBTYPE and NO_MATGLOSS respectively?  Or is NONE a shortcut that nobody ever told me about?
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Wood reaction.
« Reply #13 on: January 17, 2010, 01:03:25 pm »

NONE is an error which probably causes no error, but you'd better make it right (NO_SUBTYPE and NO_MATGLOSS) to be sure it doesn't freak out at some unexpected place.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Eagle0600

  • Bay Watcher
  • Highly Confused
    • View Profile
Re: Wood reaction.
« Reply #14 on: January 17, 2010, 09:13:02 pm »

Well spotted. Fixing.

edit:
Code: [Select]
reaction_plantation

[OBJECT:REACTION]

[REACTION:PROCESS_PLANTATION_PINE]
[NAME:process pine into logs]
[SMELTER]
[REAGENT:1:PLANT:NO_SUBTYPE:TREE_PLANTATION:NO_MATGLOSS]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:WOOD:PINE]
[PRODUCT:100:2:SEEDS:NO_SUBTYPE:TREE_PLANTATION:NO_MATGLOSS]

[REACTION:PINE_SAWING]
[NAME:saw pine into blocks]
[SMELTER]
[REAGENT:1:PLANT:NO_SUBTYPE:TREE_FAST:NO_MATGLOSS]
[PRODUCT:100:5:BLOCKS:NO_SUBTYPE:WOOD:PINE]
[PRODUCT:100:2:SEEDS:NO_SUBTYPE:TREE_PLANTATION:NO_MATGLOSS]
« Last Edit: January 17, 2010, 09:15:02 pm by Eagle0600 »
Logged
GENERATION 21:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.