Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Gold Layers  (Read 1521 times)

magikarcher

  • Bay Watcher
  • Competent Poster
    • View Profile
Gold Layers
« on: August 21, 2008, 01:57:46 am »

How would I make a gold layer? I assume like this:

Code: [Select]
[MATGLOSS_STONE:GOLD_LAYER]
[NAME:gold nuggets]
[COLOR:7:7:1]
[TILE:156]
[SEDIMENTARY]
[VALUE:30]

Is that accurate? I figure since the name gold nuggets will be the same I can still smelt gold with them.
Logged

TheSpaceMan

  • Bay Watcher
    • View Profile
    • http://www.digital-lifeform.com
Re: Gold Layers
« Reply #1 on: August 21, 2008, 02:56:10 am »

No the name has no meaning except giving the player a readable name.

For this to work you need to change the reactions, and they are a bit non working at the moment.

Additional, you could just increase the size of the current gold instead.
Logged
Poking around with a DFParser.
Bodypart names, creatures names in one easily overviewable place.

Oh my new (old) picture?

magikarcher

  • Bay Watcher
  • Competent Poster
    • View Profile
Re: Gold Layers
« Reply #2 on: August 21, 2008, 03:10:09 am »

So, for now, no gold layers? Only large clusters?
Logged

TheSpaceMan

  • Bay Watcher
    • View Profile
    • http://www.digital-lifeform.com
Re: Gold Layers
« Reply #3 on: August 21, 2008, 03:12:08 am »

Like i said you can probably change the original gold cluster(?) to something else like a layer. But you can't add a new metal type and make it become gold in a smelter i think.

But then again i might be wrong i am some times.
Logged
Poking around with a DFParser.
Bodypart names, creatures names in one easily overviewable place.

Oh my new (old) picture?

magikarcher

  • Bay Watcher
  • Competent Poster
    • View Profile
Re: Gold Layers
« Reply #4 on: August 21, 2008, 03:21:23 am »

How could someone with a South Park avatar be wrong, South Park is never wrong! Except for the times that they are.
Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Gold Layers
« Reply #5 on: August 21, 2008, 03:27:52 am »

Oh for the love of....

Come on people, DF raws are nothing complicated, just read them right. :)
First of all, both ores and layers are MATGLOSS_STONE, which means they are basically just stone.
If you add a layer-placement tag to an existing stone, it will appear as layers after you gen a new world.
So, to have gold nuggets spawn as layers, just add a layer-type tag to the existing gold nuggets.
If you were making a mod for Modbase, the entire modification would look like this:
Code: [Select]
[MATGLOSS_STONE:GOLD]
[IGNEOUS_INTRUSIVE]
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

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: Gold Layers
« Reply #6 on: August 21, 2008, 12:13:57 pm »

...that seems to be missing a few tags.
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.

PTTG??

  • Bay Watcher
  • Kringrus! Babak crulurg tingra!
    • View Profile
    • http://www.nowherepublishing.com
Re: Gold Layers
« Reply #7 on: August 21, 2008, 12:24:07 pm »

AHHH!!!

[MATGLOSS_STONE:GOLD_LAYER]
[NAME:gold-infused stone]
[COLOR:7:7:1]
[METAL_ORE:GOLD:30]
[TILE:156]
[SEDIMENTARY]
[VALUE:30]

Tada! Just add that to the layers file and gen a new world. No, it won't work in your current world.
Also, this has a 30% chance of creating a gold bar, or possibly creates .3 gold bar or something like that. Regardless, you get 30% the number of boulders you put in, out as gold bars. 
Logged
A thousand million pool balls made from precious metals, covered in beef stock.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Gold Layers
« Reply #8 on: August 21, 2008, 12:41:43 pm »

Untelligent, I said "If you were making a mod for Modbase". :/ Modbase merges identical entries, adding anything that's in the mod entry. So, that mod would add the line "[IGNEOUS_INTRUSIVE]" to the [MATGLOSS_STONE:GOLD] entry.
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

magikarcher

  • Bay Watcher
  • Competent Poster
    • View Profile
Re: Gold Layers
« Reply #9 on: August 21, 2008, 02:27:36 pm »

Nice touch with the 30% gold chances. I like that. It worked great, you wouldn't believe how yellow my terrain is. Gold-infused boulders FTW!  ;D

Edit: Late spring, first year. Over 100,000 wealth created already.
« Last Edit: August 21, 2008, 03:13:41 pm by magikarcher »
Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Gold Layers
« Reply #10 on: August 21, 2008, 04:29:06 pm »

Meh. I made layers of kimberlite for my Minerals mod. Yellow mountains are nothing too new, but dark blue mountains? When I play on those, I make double sure to have most of the fort watertight - I'll simply never notice the floods. :) Also, diamonds galore.
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

magikarcher

  • Bay Watcher
  • Competent Poster
    • View Profile
Re: Gold Layers
« Reply #11 on: August 21, 2008, 09:58:57 pm »

How would I go about making a diamond or ruby layer? Also, I added a platinum layer too!
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Gold Layers
« Reply #12 on: August 22, 2008, 12:40:36 am »

Just add a layer tag like sedimentary to diamonds. You might also have to remove the environment tag also though.

P.S. don't forget that you will have to generate a new world after changing any data in the mineral layer for it to have an effect.
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.