Bay 12 Games Forum

Please login or register.

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

Author Topic: Why no borax?  (Read 2382 times)

catten

  • Bay Watcher
    • View Profile
Why no borax?
« on: January 03, 2015, 01:20:14 pm »

I've been modding in use of borax as a special flux (for working with gold alloys, among other things), and have run into a strange problem: now that I actually care about its existence, I've never found an embark that actually has borax deposits, nor any parent civ that has access to it. While it's possible my changes to raws broke something, I don't think that's the problem: I didn't modify the raws for borax stone, and if I drop a borax stone into a fort using dfhack, the dorfs can process it to borax flux in a kiln, as desired.

So... before worrying further about my raws, I'd like to ask: has anyone else ever seen borax in an embark?
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: Why no borax?
« Reply #1 on: January 03, 2015, 01:26:13 pm »

It's found in huge veins in rock salt and small veins in gypsum. Basically, it's only available in sedimentary layers.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

catten

  • Bay Watcher
    • View Profile
Re: Why no borax?
« Reply #2 on: January 03, 2015, 01:55:33 pm »

It's found in huge veins in rock salt and small veins in gypsum. Basically, it's only available in sedimentary layers.
Understood. Clusters, actually. It's easy to find sites with rock salt, and I've seen a few with gypsum, but they never seem to have borax. Also, very odd that every parent civ seems to have access to rock salt and gypsum but not borax... that's what confuses me.

Has anyone else ever seen borax in an embark?
edit: BTW, you didn't actually answer my question...
« Last Edit: January 03, 2015, 02:50:44 pm by catten »
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: Why no borax?
« Reply #3 on: January 03, 2015, 04:48:13 pm »

I have quite a bit of borax. I just check, 119 boulders.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

catten

  • Bay Watcher
    • View Profile
Re: Why no borax?
« Reply #4 on: January 04, 2015, 05:54:35 pm »

I have quite a bit of borax. I just check, 119 boulders.
OK, thanks. So either I messed up my world raws in some way that prevents borax from showing up, or I've just been really unlucky so far.
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Why no borax?
« Reply #5 on: January 05, 2015, 03:54:50 pm »

I have quite a bit of borax. I just check, 119 boulders.
OK, thanks. So either I messed up my world raws in some way that prevents borax from showing up, or I've just been really unlucky so far.
If you just want to test it, you can make it into a sedimentary layer stone of something.

One of my back-burner projects is to extend embark-tools to pinpoint arbitrary minerals rather than just "sand".  A less-convenient Lua-based solution is here.  Just plunk it in your /scripts folder and use lookfor BORAX
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Redzephyr01

  • Bay Watcher
  • Ferrum Cor
    • View Profile
Re: Why no borax?
« Reply #6 on: January 05, 2015, 08:17:35 pm »

At first I read the title as "Why no Lorax?" and thought this would be a Dr. Seuss mod. I am very disappointed.
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: Why no borax?
« Reply #7 on: January 05, 2015, 08:21:25 pm »

So one day I could punch in and ask for an embark including a rare gem, and start a gemhunt in that embark, instead of praying to Armok before each embark that I'd have one on the map?
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

catten

  • Bay Watcher
    • View Profile
Re: Why no borax?
« Reply #8 on: January 05, 2015, 08:40:20 pm »

One of my back-burner projects is to extend embark-tools to pinpoint arbitrary minerals rather than just "sand".  A less-convenient Lua-based solution is here.  Just plunk it in your /scripts folder and use lookfor BORAX
That script doesn't really work, it seems to only show what is in the currently selected embark. However, it (and dfhack's prospect.cpp) gave enough bread crumbs to work out the following:

Spoiler: count-veins.lua (click to show/hide)

Code: [Select]
[lua]# dfhack.run_script('devel/count-veins', 'BORAX')
Incidence of BORAX worldwide:
        3 small clusters

So that explains it... a true needle in the haystack. Checking six other worlds shows a similar story, 2-4 small clusters worldwide and that's it. I've yet to see a large cluster. Checking other vein types (iron ores, sphalerite, etc.) gives very believable numbers, so I think the script is working correctly.

Whether I somehow broke something, who knows, but borax seems to be incredibly rare in my df multiverse.

Edit: updated script to count layer stone also.
« Last Edit: January 07, 2015, 02:18:04 pm by catten »
Logged

catten

  • Bay Watcher
    • View Profile
Re: Why no borax?
« Reply #9 on: January 05, 2015, 08:43:22 pm »

So one day I could punch in and ask for an embark including a rare gem, and start a gemhunt in that embark, instead of praying to Armok before each embark that I'd have one on the map?
I suppose you could start from the script I posted earlier, but it doesn't tell you *where* the minerals are. It just says how many veins/clusters exist worldwide.
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Why no borax?
« Reply #10 on: January 05, 2015, 10:11:28 pm »

One of my back-burner projects is to extend embark-tools to pinpoint arbitrary minerals rather than just "sand".  A less-convenient Lua-based solution is here.  Just plunk it in your /scripts folder and use lookfor BORAX
That script doesn't really work, it seems to only show what is in the currently selected embark. However, it (and dfhack's prospect.cpp) gave enough bread crumbs to work out the following:

Spoiler: count-veins.lua (click to show/hide)

Code: [Select]
[lua]# dfhack.run_script('devel/count-veins', 'BORAX')
Incidence of BORAX worldwide:
        3 small clusters

So that explains it... a true needle in the haystack. Checking six other worlds shows a similar story, 2-4 small clusters worldwide and that's it. I've yet to see a large cluster. Checking other vein types (iron ores, sphalerite, etc.) gives very believable numbers, so I think the script is working correctly.

Whether I somehow broke something, who knows, but borax seems to be incredibly rare in my df multiverse.
Sorry that I wasn clear, the lookfor script is like prospect, in that it checks an embark area for you (pre-embark on the world map is more useful).  The worldwide script seems better suited to your purposes.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Slidey

  • Bay Watcher
    • View Profile
Re: Why no borax?
« Reply #11 on: January 06, 2015, 12:25:56 am »

At first I read the title as "Why no Lorax?" and thought this would be a Dr. Seuss mod. I am very disappointed.

I have never seen a Lorax in the game nor Borax, *Sigh* Horton hears a whorox and boorax.
Logged

tussock

  • Bay Watcher
    • View Profile
Re: Why no borax?
« Reply #12 on: January 06, 2015, 05:24:48 am »

catten, I can't help but notice you've got "double quotes" around large clusters and 'single quotes' around small clusters when you only found small clusters. Can I suggest, well, the obvious.
Logged

catten

  • Bay Watcher
    • View Profile
Re: Why no borax?
« Reply #13 on: January 06, 2015, 02:53:12 pm »

catten, I can't help but notice you've got "double quotes" around large clusters and 'single quotes' around small clusters when you only found small clusters. Can I suggest, well, the obvious.
The script has no trouble finding large clusters of magnetite (62) and sylvite (3) in the world I'm playing right now.

Single and double quotes are equivalent in most scripting languages, including Lua. Also, the material types are actually bare integers, and the search looks directly at those. That table of strings is just used to make the results human-readable after everything has been counted up.

Meanwhile, I edited the script to all single quotes. Too much C++ lately.
« Last Edit: January 06, 2015, 02:57:33 pm by catten »
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Why no borax?
« Reply #14 on: January 06, 2015, 06:17:31 pm »

Maybe you broke rock salt somehow?  Use the same script and see how often that is showing up (if it will even list layers).
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map
Pages: [1] 2