Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: smelting questions?  (Read 1171 times)

Shoruke

  • Bay Watcher
  • There's a Prinny in Fire Emblem, dood!?
    • View Profile
smelting questions?
« on: August 10, 2008, 10:02:36 pm »

Here's my problem: I figure that, since you can put *any* item as a product at the smelter, how do you produce metal blocks?
Logged
The Unforgotten Beast, Shoruke, has come! A pale-skinned human. It has heterochromatic eyes and moves in an unpredictable manner. Beware its rapier wit!

Ryo

  • Bay Watcher
  • Store item in stockpile
    • View Profile
Re: smelting questions?
« Reply #1 on: August 11, 2008, 04:29:49 am »

Yay, finally a question I know the answer to!

[PRODUCT:100:numberproduced:BLOCKS:NO_SUBTYPE:METAL:metaltype]

For example, to make 5 steel blocks:
[PRODUCT:100:5:BLOCKS:NO_SUBTYPE:METAL:STEEL]

Hope that helps :)
Logged

Owie

  • Bay Watcher
    • View Profile
Re: smelting questions?
« Reply #2 on: August 12, 2008, 12:16:14 am »

How would you set up a code that produces free tanned hides?
Logged
Yaha!

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: smelting questions?
« Reply #3 on: August 12, 2008, 12:31:23 am »

Yay, finally a question I know the answer to!

[PRODUCT:100:numberproduced:BLOCKS:NO_SUBTYPE:METAL:metaltype]

For example, to make 5 steel blocks:
[PRODUCT:100:5:BLOCKS:NO_SUBTYPE:METAL:STEEL]

Hope that helps :)

Just another hint the number 100 after the word PRODUCT is the percentage of creating that thing from the reaction, that way you can create reactions that have a less than 100% chance of creating something.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

Eita

  • Bay Watcher
    • View Profile
Re: smelting questions?
« Reply #4 on: August 12, 2008, 10:02:35 pm »

So if you wanted free Bauxite you'd put...

[PRODUCT:100:1:STONE:NO_SUBTYPE:STONE:BAUXITE]?
Logged

RPharazon

  • Bay Watcher
  • [SEVERONBREAKS]
    • View Profile
Re: smelting questions?
« Reply #5 on: August 12, 2008, 10:23:23 pm »

Yay, finally a question I know the answer to!

[PRODUCT:100:numberproduced:BLOCKS:NO_SUBTYPE:METAL:metaltype]

For example, to make 5 steel blocks:
[PRODUCT:100:5:BLOCKS:NO_SUBTYPE:METAL:STEEL]

Hope that helps :)

Just another hint the number 100 after the word PRODUCT is the percentage of creating that thing from the reaction, that way you can create reactions that have a less than 100% chance of creating something.

It's actually more of a x/100 counter. If it's at 20, then you'd need to do that reaction 5 times in the same smelter. If you set it to 1, you'd need to do the reaction 100 times in the same smelter.

For example, you could set it to 50, and build 10 different smelters. If it was a probability percentage, if you did that reaction once for each of the smelters, surely you would get 4, 5, or 6 successful reactions?

Nope. It's simply a counter that ticks up to "You get this when the thing reaches 100".

So you can set it to 110 and get an extra bar exactly every 10 completed smeltings.
Logged
Quote
<Zaratustra> DF -is- a complex version of the sims
<Zaratustra> except instead of purchasing new sofas
<Zaratustra> you die

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: smelting questions?
« Reply #6 on: August 13, 2008, 10:28:04 am »

Stuff

Not true. I just made a test reaction that turned microcline into granite, with a 20% chance of success (or 20% of a wad of granite, as you claim). I attempted the reaction in 6 sets of 5 smelter orders.

The first set produced 2 granite, the second produced 1, the third produced 0, the fourth 1, the fifth 2, and the sixth 2. Seems as if the number indicates a probability percentage, not a x/100 counter.

You might be confusing reactions with melting, which does indeed produce a fraction of a metal bar.
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.