Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Sand as a [CLUSTER] or [CLUSTER_SMALL].  (Read 821 times)

Retro42

  • Bay Watcher
    • View Profile
Sand as a [CLUSTER] or [CLUSTER_SMALL].
« on: February 23, 2008, 09:37:00 pm »

Anyone tried this yet?

What I'd like is for sand to appear as a cluster or small cluster in most sedimentary/other layers.  I figure if most areas have small ponds or pools why not have modest patches of sand too.  

BTW, yes I realize sand appears on most brook/river maps anyway but I thought this would be fun.


I'm very new to modding DF and I am unsure if the [SOIL_SAND] tag would work in the minerals index.  I'm willing to attempt it, I'm just hoping someone can save me time on a lost cause if it's already been tried and failed.


Retro

Logged

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Sand as a [CLUSTER] or [CLUSTER_SMALL].
« Reply #1 on: February 23, 2008, 11:28:00 pm »

You'll need a new sand type for this, I think...
Try adding this to matgloss_stone_soil.txt:
code:
[MATGLOSS_STONE:SAND_CLUSTER]
[NAME:sand][COLOR:6:4:1][TILE:176]
[AQUIFER][SOIL_SAND][SOLID_DENSITY:1600]
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]

This should get it into small clusters in the sedimentary layer. It's untested, though. It may create sand "boulders". Test it, though. It should be pretty rare, like a gem, so you'll have to look around and probably have to find it with reveal.exe so you don't have to wait forever.

[ February 23, 2008: Message edited by: penguinofhonor ]

Logged

Retro42

  • Bay Watcher
    • View Profile
Re: Sand as a [CLUSTER] or [CLUSTER_SMALL].
« Reply #2 on: February 24, 2008, 12:15:00 am »

Ok, I'll try it in soil instead of mineral.

Note:  I did attempt it in the mineral listings (I assumed all subtypes needed to be there) and it does NOT work.  the sand showed up and was mined properly (IE: no boulders)  but I couldn't designate it as a sand source.

code:

[MATGLOSS_STONE:SAND_RED_MINERAL]
[NAME:red sand][COLOR:4:4:1][TILE:176]
[ENVIRONMENT:ALL_STONE:CLUSTER:100]
[SOIL][SOIL_SAND]
[SOLID_DENSITY:1600]

Interesting side effect btw.  If I left it as [MATGLOSS_STONE:SAND_RED] it retained the aquifer tag [referenced from the soil file] and created a mini aquifer inside a solid stone layer.

Retro

Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Sand as a [CLUSTER] or [CLUSTER_SMALL].
« Reply #3 on: February 24, 2008, 12:18:00 am »

That could be very useful.  You could create pockets of useable water that would appear in otherwise dry environments.  Underground water supply.

Retro42

  • Bay Watcher
    • View Profile
Re: Sand as a [CLUSTER] or [CLUSTER_SMALL].
« Reply #4 on: February 24, 2008, 12:42:00 am »

Hmm...

I'm stumped.

code:

[MATGLOSS_STONE:SAND_RED_MINERAL]
[NAME:red sand - test][COLOR:4:4:1][TILE:176]
[ENVIRONMENT:ALL_STONE:CLUSTER:100]
[SOIL][SOIL_SAND]
[SOLID_DENSITY:1600]

This was in matgloss_stone_soil.  It shows up and is mined just fine....BUT no recognition as sand by a zone.  I assumed soil_sand is the tag that classes it as a sand type but no go.  Also, it won't let me use it for farmland either.

Where did I go wrong here?


Retro

Logged

pushy

  • Bay Watcher
  • [MEANDERER]
    • View Profile
Re: Sand as a [CLUSTER] or [CLUSTER_SMALL].
« Reply #5 on: February 24, 2008, 05:55:00 am »

You haven't gone wrong anywhere. My guess is that setting it as a cluster overrides the fact that it's a potential sand collection zone. If so, then I think you're out of luck.
Logged
Quote from: Tim Edwards, PC Gamer UK
There are three things I know about dwarves:
1. They've got beards. Even the women.
2. They're short. Especially the women.
3. They're Scottish.

Retro42

  • Bay Watcher
    • View Profile
Re: Sand as a [CLUSTER] or [CLUSTER_SMALL].
« Reply #6 on: February 24, 2008, 12:34:00 pm »

Aww...

Oh well, It's good to know I can put [AQUIFER] on any stone type though.  Thats a fun one.

Also, what about a reaction with QUARTZITE or SANDSTONE in the smelter? whats the info I would need from Green glass?

Logged

pushy

  • Bay Watcher
  • [MEANDERER]
    • View Profile
Re: Sand as a [CLUSTER] or [CLUSTER_SMALL].
« Reply #7 on: February 24, 2008, 03:09:00 pm »

Mmm? Sorry, I didn't quite follow. What reaction are you wanting from the smelter? Turning stones into green glass, is that it? Or am I way off?
Logged
Quote from: Tim Edwards, PC Gamer UK
There are three things I know about dwarves:
1. They've got beards. Even the women.
2. They're short. Especially the women.
3. They're Scottish.