Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: minimod on metal production  (Read 869 times)

quarague

  • Bay Watcher
    • View Profile
minimod on metal production
« on: June 28, 2012, 06:08:01 am »

This came about from thinking about ore distribution. In vanilla metal ores always occur in massive quanitities. If you set mineral frequencies to high you will have massive quantities of almost every ore, if you set it lower you still have ridiculous quantities of the ores you do have, you just have fewer different ores. What I wanted was an embark where you have a lot of different metal ores, but in small quantities and with a higher effort to get them.
I only changed to of the object files, first in the 'inorganic_stone_mineral.txt' I divided all the ore frequencies by 10. Ie for hematite change the line [METAL_ORE:IRON:100] to [METAL_ORE:IRON:10] and similar for all other minerals. Second, in the 'reaction_smelter.txt' I changed all alloy reactions from ores from say [PRODUCT:100:8:BAR:NO_SUBTYPE:METAL:BRASS] to
[PRODUCT:10:8:BAR:NO_SUBTYPE:METAL:BRASS] and I adjusted the returns for making coke from bitumous coal and lignite down to 3 coke and 2 coke respectivly.
Combine this with a mineral frequency of 'everywhere' in world generation (less if you are a masochist) and you get a version of df where finding a hematite vein and mining it out completly will give you maybe 10 bars of iron. So a single vein is enough to make a weapons and maybe helms for a squad of 6 dwarfs but not enough to immediately equip the entire squad with a full set of armor.
Note you can still cheat by making rock crafts out of say gold nuggets instead of smelting the gold ore first but you would have to actively set that up.
I didn't post the modded files because the changes are so simple but I can do so if there is interest.
Logged
More importantly, ... , making the project pointlessly difficult and requiring greatly overcomplicated means to set up  ...
from Sphalerite

Tierre

  • Bay Watcher
    • View Profile
Re: minimod on metal production
« Reply #1 on: June 28, 2012, 07:24:48 am »

why did you change alloys reactiojns for bars? You should only changethat for alloys made from mineral boulders and for bars it should be 100% or it will be another 10 times decrease and nobody would ever do alloys.
Logged

quarague

  • Bay Watcher
    • View Profile
Re: minimod on metal production
« Reply #2 on: June 28, 2012, 07:29:08 am »

I changed the alloy reactions that take ores as ingredients but not the ones that take bars as ingredients, so making alloys is just as (in)efficient as making pure metal bars.
Logged
More importantly, ... , making the project pointlessly difficult and requiring greatly overcomplicated means to set up  ...
from Sphalerite

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: minimod on metal production
« Reply #3 on: June 28, 2012, 07:30:33 am »

Why did you make it 1/10 as efficient?
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

quarague

  • Bay Watcher
    • View Profile
Re: minimod on metal production
« Reply #4 on: June 28, 2012, 09:01:36 am »

I thought a factor of 1/10 would give me the desired increase in difficulty, you can change that to whatever you want. Questions, do the reaction accept non-integer probabilities? Can I have a mineral that smelts to gold with 1/3 probability or 12.5%?
Logged
More importantly, ... , making the project pointlessly difficult and requiring greatly overcomplicated means to set up  ...
from Sphalerite

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: minimod on metal production
« Reply #5 on: June 29, 2012, 07:08:31 am »

No, and I don't think so. 13 or 33 percent should be close enough for most purposes.
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

Wannabehero

  • Bay Watcher
    • View Profile
Re: minimod on metal production
« Reply #6 on: June 29, 2012, 10:29:05 am »

An interesting idea for a mod, however I personally would approach this objective by modifying the INORGANIC:XXX raws for ores to change their occurrence frequency and cluster size first.  Many ores could be changed from VEIN to [CLUSTER:SMALL] to dramatically reduce the amount of ore that is present per occurrence.

From there I would then look into modifying the output percentage for the ores.  1/10th efficiency would drive me crazy personally.
Logged

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: minimod on metal production
« Reply #7 on: June 29, 2012, 12:49:54 pm »

Does reducing frequency and at the same time increasing ore occurance even do anything? I thought the frequency simply decided the chance the ore has to be present at all, rather than the amouths present.

With that in mind using SMALL_CLUSTER would make more sense.

Could also try to set all layer stones to have veins of themselves in themselves.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

Roses

  • Bay Watcher
    • View Profile
Re: minimod on metal production
« Reply #8 on: June 29, 2012, 12:55:20 pm »

You didnt really change the amount of hematite on your embark, you only changed the fact that now you only have a 10% chance to get a bar from the ore.

I would suggest changing the actual amount of hematite present instead by using things like clusters and such instead of veins.
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: minimod on metal production
« Reply #9 on: June 29, 2012, 12:59:14 pm »

Small cluster give 4 times more ore then veins anyway. ;) They drop an ore 100% of the time, veins only 25%

What I did is simply make armor and weapons more expensive. Not one bar for one sword, but 3. 5 bars for a breastplate. And so on... same effect in the end, you need to work harder on getting your military equipped.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Roses

  • Bay Watcher
    • View Profile
Re: minimod on metal production
« Reply #10 on: June 29, 2012, 01:01:36 pm »

Small cluster give 4 times more ore then veins anyway. ;) They drop an ore 100% of the time, veins only 25%

What I did is simply make armor and weapons more expensive. Not one bar for one sword, but 3. 5 bars for a breastplate. And so on... same effect in the end, you need to work harder on getting your military equipped.

Did not know that, you learn something new every day.

I was just thinking since the OP wanted to have a large amount of different minerals with small quantities each, having large veins of ore running through the map would limit the space for others.

What about doing a nested ore structure? Say Hematite is only found in rock X and rock X is only found in rock Y, that would limit the total amount of hematite correct?
Logged

Roses

  • Bay Watcher
    • View Profile
Re: minimod on metal production
« Reply #11 on: June 29, 2012, 01:02:44 pm »

Sorry, double post.
« Last Edit: June 29, 2012, 01:04:34 pm by Roses »
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: minimod on metal production
« Reply #12 on: June 29, 2012, 01:48:06 pm »

You dont want to go that way... nothing but terror lies there. ;) (I tried, it is no fun)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Roses

  • Bay Watcher
    • View Profile
Re: minimod on metal production
« Reply #13 on: June 29, 2012, 01:53:47 pm »

You dont want to go that way... nothing but terror lies there. ;) (I tried, it is no fun)

Haha, alright then.
Logged