Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3

Author Topic: Iron Weed Help  (Read 2435 times)

Loctavus

  • Bay Watcher
  • British Hammerdwarf
    • View Profile
Iron Weed Help
« on: June 16, 2008, 01:54:13 am »

I am working on an alternative source of iron. This was just to see how possible it was, and I think it almost is. The basis of it is growing plants that are eventually smelted in a reasonable quantity to produce a bar.

Here is the plant and reaction. It's not available to dwarves directly, as it is a surface plant. I was playing humans though so I was able to buy it.

I bought it, grew it and brewed it.

[MATGLOSS_PLANT:WEED_IRON]
[TILE:'i'][COLOR:0:0:1]
[NAME:iron weed][NAME_PLURAL:iron weeds]
[VALUE:2]
[DRINK:iron brew:0:0:1]
[DRINKVALUE:2]
[SEED:4:0:1]
[GENPOWER:2]
[AUTUMN][WINTER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[BIOME:NOT_FREEZING]
[PREFSTRING:hard leaves]
[WET][DRY]

[REACTION:WEED_IRON_MAKING]
[NAME:make iron bars from weed]
[SMELTER]
[REAGENT:10:PLANT:NO_SUBTYPE:WEED_IRON:PLANT]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:IRON]
[FUEL]

The plant obviously works, I've not really been able to test being able to find it in the wild yet, but the biome is pretty broad.

Something is wrong with the REAGENT line of the reaction, it doesn't show up on my smelter and that was the best approximation I could come up with. Any help would be appriciated.
Logged
Tea and -Elf Tallow Biscuits- anyone?

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Iron Weed Help
« Reply #1 on: June 16, 2008, 02:33:06 am »

First of all, the smelter is a real pisser when it comes to plants or animals.  It's really just not worth the time and energy spent trying to point to the right thing on the list. 

Second, the smelter cannot detect something that is contained inside of a barrel or bag.  If you put the plants in a barrel, the smelter wouldn't be able to find them (the dwarven smelter, like the dwarves themselves, is not an intelligent beast).

Loctavus

  • Bay Watcher
  • British Hammerdwarf
    • View Profile
Re: Iron Weed Help
« Reply #2 on: June 16, 2008, 03:55:23 am »

Rats, time for my fall back then, industrial animals...
Logged
Tea and -Elf Tallow Biscuits- anyone?

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Iron Weed Help
« Reply #3 on: June 16, 2008, 10:22:06 am »

For plants material id = id number in the raws. To if your plant is not in the basic raw file and is out of material numbers range you can't use your plant. Try to fit into rules.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Loctavus

  • Bay Watcher
  • British Hammerdwarf
    • View Profile
Re: Iron Weed Help
« Reply #4 on: June 16, 2008, 10:38:53 am »

It's in the matgloss_plant.txt file.

So you're saying i'd need

[REAGENT:10:PLANT:NO_SUBTYPE:xxx]

where xxx is the numerical id of my plant then? DF counters seem to start with one.

With the problem about barrels and other such bits I'm about giving up on this though, it was a nice idea.
« Last Edit: June 16, 2008, 10:43:54 am by Loctavus »
Logged
Tea and -Elf Tallow Biscuits- anyone?

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Iron Weed Help
« Reply #5 on: June 16, 2008, 10:44:26 am »

No, it's something like [REAGENT:10:PLANT:NO_SUBTYPE:WOOD:NO_MATGLOSS] (this is for plant #1)

The relative IDs in exe are:
1   WOOD
2   STONE
3   METAL
4   BONE
5   IVORY
6   HORN
7   AMBER
8   CORAL
9   PEARL
10   SHELL
11   LEATHER
12   SILK
13   PLANT_ALCOHOL
14   GLASS_GREEN
15   GLASS_CLEAR
16   GLASS_CRYSTAL
17   SAND
18   COAL
19   POTASH
20   ASH
21   PEARLASH
22   LYE
23   RENDERED_FAT
24   SOAP_ANIMAL
25   FAT
26   MUD
27   VOMIT
28   BLOOD_NONSPECIFIC
29   BLOOD_SPECIFIC
30   SLIME
31   SALT
32   FILTH_B
33   FILTH_Y
34   UNKNOWN_SUBSTANCE
35   GRIME

So, 35 plants max total in reactions.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

THLawrence

  • Bay Watcher
  • Mad Scientest
    • View Profile
Re: Iron Weed Help
« Reply #6 on: June 16, 2008, 10:45:22 am »

This is what you currently have:
[REAGENT:10:PLANT:NO_SUBTYPE:WEED_IRON:PLANT]

Iron weed is not a matgloss class. PLANT is.
This is what you should have:
[REAGENT:10:PLANT:NO_SUBTYPE:PLANT:WEED_IRON]
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Iron Weed Help
« Reply #7 on: June 16, 2008, 11:08:16 am »

Quote
[REAGENT:10:PLANT:NO_SUBTYPE:PLANT:WEED_IRON]
It is not working in DF.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Iron Weed Help
« Reply #8 on: June 16, 2008, 02:14:33 pm »

You could use thread or cloth from the plant though. Or indeed any object made from the plant. So thresh it first and then use the thread.

Also, "iron brew"? You mean like that "energy drink"? It only just hit me what it meant. :)
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Wiles

  • Bay Watcher
    • View Profile
Re: Iron Weed Help
« Reply #9 on: June 16, 2008, 02:53:54 pm »

I think you can only use plant products if they aren't stored in a barrel or bag.
Logged

Loctavus

  • Bay Watcher
  • British Hammerdwarf
    • View Profile
Re: Iron Weed Help
« Reply #10 on: June 16, 2008, 03:30:11 pm »

Well, rope reed thread is stored in bins, so I think you have something there. Let me try this.

[REACTION:WEED_IRON_MAKING]
[NAME:make iron bars from weed]
[SMELTER]
[REAGENT:10:THREAD:NO_SUBTYPE:PLANT:WEED_IRON]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:IRON]
[FUEL]

[MATGLOSS_PLANT:WEED_IRON]
[TILE:'i'][COLOR:0:0:1]
[NAME:iron weed][NAME_PLURAL:iron weeds]
[VALUE:2]
[DRINK:iron brew:0:0:1]
[DRINKVALUE:2]
[SEED:4:0:1]
[GENPOWER:2]
[THREAD]
[AUTUMN][WINTER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[BIOME:NOT_FREEZING]
[PREFSTRING:hard leaves]
[WET][DRY]

I'm still a novice at this reaction stuff though, so your help is much appriciated all of you. Going to try it now.

And yes, I did mean like the energy drink  ;D
« Last Edit: June 16, 2008, 04:17:50 pm by Loctavus »
Logged
Tea and -Elf Tallow Biscuits- anyone?

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Iron Weed Help
« Reply #11 on: June 17, 2008, 03:53:25 am »

This should work properly. I didn't check it for typos though -).

Quote
[NAME:make iron bars from weed]
Your dwarves should be strongly stoned to do this... :2)
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Iron Weed Help
« Reply #12 on: June 17, 2008, 03:57:08 am »

Yeah, probably "extract iron from ironweed thread" would be better, if a bit long.
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Loctavus

  • Bay Watcher
  • British Hammerdwarf
    • View Profile
Re: Iron Weed Help
« Reply #13 on: June 17, 2008, 04:11:54 am »

It didn't work, but I like your extract idea. Perhaps I could make a metal bar of 'weed extract' from each leaf, and smelt ten of those into iron.
Logged
Tea and -Elf Tallow Biscuits- anyone?

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Iron Weed Help
« Reply #14 on: June 17, 2008, 05:14:14 am »

Wait, what do you mean "didn't work"? It should have worked!

The reactions can reference plant thread, the carbon fibers on my minerals mod are proof of this!
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India
Pages: [1] 2 3