Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Ore with Multiple METAL_ORE tags  (Read 557 times)

Earthquake Damage

  • Bay Watcher
    • View Profile
Ore with Multiple METAL_ORE tags
« on: December 12, 2007, 04:43:00 pm »

I'm looking at galena and seeing this

code:
[METAL_ORE:LEAD:100]
[METAL_ORE:SILVER:50]

Does that mean that smelting galena will produce silver 1/3 of the time and lead 2/3 of the time, or does it mean it will always produce lead plus some silver 1/2 of the time?

Logged

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: Ore with Multiple METAL_ORE tags
« Reply #1 on: December 12, 2007, 05:27:00 pm »

I believe it means that it will always make lead and sometimes (1/2 the time) also make silver...but this is just an unscientific observation from a short lived fort.
Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Ore with Multiple METAL_ORE tags
« Reply #2 on: December 12, 2007, 06:06:00 pm »

Smelting a piece of ore leaves a percentage of a full bar of every metal mentioned in the ore's definition. So yes, every chunk of galena will produce a lead bar, while every second galena chunk will also yield a bar of silver. I don't remember specifically testing it for that, but that's what I know.
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

Earthquake Damage

  • Bay Watcher
    • View Profile
Re: Ore with Multiple METAL_ORE tags
« Reply #3 on: December 12, 2007, 06:19:00 pm »

Would that mean you could, say, make an ore that yields three gold bars when smelted by doing this?

code:
[METAL_ORE:GOLD:300]

Or would you do it this way?

code:
[METAL_ORE:GOLD:100]
[METAL_ORE:GOLD:100]
[METAL_ORE:GOLD:100]

Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Ore with Multiple METAL_ORE tags
« Reply #4 on: December 13, 2007, 05:33:00 pm »

Never tried the first, but unless Toady has hardcoded a limit for the number, it should work. The second, probably not, because it's the same material listed thrice. If it were LUA, it would work. Here, it probably won't.
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