Bay 12 Games Forum

Please login or register.

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

Author Topic: scared by scarcity? try bog iron!  (Read 4779 times)

Kaelem Gaen

  • Bay Watcher
  • And then it appeared the most terrifying creature
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #15 on: February 19, 2011, 07:21:39 am »

Well once someone has a decent system/workshop set up that can be added to the raws I'd be very interested in the bog iron.

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #16 on: February 19, 2011, 07:57:08 am »

No need!
Just add the following to inroganic_stone_mineral.txt in the /raw/objects/ folder:


Code: [Select]
[INORGANIC:SIDERITE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:siderite][DISPLAY_COLOR:7:7:0][TILE:156]
[ENVIRONMENT_SPEC:SHALE:CLUSTER_SMALL:100]
[ENVIRONMENT_SPEC:SANDSTONE:CLUSTER_SMALL:100]
[ENVIRONMENT:SEDIMENTARY:CLUSTER_ONE:100]
[ITEM_SYMBOL:'*']
[METAL_ORE:IRON:100]
[SOLID_DENSITY:4100]
[MATERIAL_VALUE:8]
[IS_STONE]
[MELTING_POINT:12736]

[INORGANIC:GOETHITE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:goethite][DISPLAY_COLOR:6:7:0][TILE:156]
[ENVIRONMENT:SOIL:CLUSTER_SMALL:100]
[ENVIRONMENT:SOIL_OCEAN:CLUSTER_SMALL:100]
[ENVIRONMENT:SOIL_SAND:CLUSTER_SMALL:100]
[ENVIRONMENT:ALLUVIAL:CLUSTER_SMALL:100]
[ITEM_SYMBOL:'*']
[METAL_ORE:IRON:100]
[SOLID_DENSITY:3250]
[MATERIAL_VALUE:8]
[IS_STONE]
[MELTING_POINT:12736]
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #17 on: February 19, 2011, 08:58:41 am »

Last time I looked at Deon's raws, he turned peat into a stone and added the reactions to the smelter.

Using the new clay material type in a smelter reaction should be pretty straight forward.

To prevent it from being over powered, you may want to make it a process with multiple stages.
At new custom workshop, Sift Clay For Bog Iron with 5% chance of yielding Iron Ore (maybe Hematite, which closely resembles Bog Ore).  Always use up the clay.  Then the ore still needs to be smelted, and large amounts of clay will be consumed.


I was not talking about peat, I was talking about Goethite which is a low-yield iron ore which appears in soil.
However with tests it appears that the current "metal scarcity" mechanics also makes it very scarce too.

Thus I am going with the addition to my "rock grinder" workshop which was used only to "destroy" useless stone, but now it also has a low chance (1-2%) to find a metal inside of any stone. I think it's temporary until we get a better trading or more metals.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

darkflagrance

  • Bay Watcher
  • Carry on, carry on
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #18 on: February 19, 2011, 01:52:54 pm »

Maybe we could also collect clay and create "clay lumps" (a custom object classified as a "toy") that could be processed at a prospector workshop to have a chance of producing goethite?
Logged
...as if nothing really matters...
   
The Legend of Tholtig Cryptbrain: 8000 dead elves and a cyclops

Tired of going decades without goblin sieges? Try The Fortress Defense Mod

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #19 on: February 19, 2011, 02:41:43 pm »

Why not to use existing clay lumps? Also the main problem is that they are infinite.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #20 on: February 19, 2011, 04:18:19 pm »

ok, i've done it this way, i made peat a clay and added [REACTION_CLASS:PEAT] to it, then added [REACTION_CLASS:CLAY] to all the other clays, then went to the reaction_other.txt and added [REACTION_CLASS:CLAY] to every pottery reagent, then made a new smelter reaction to extract iron(10 percent chance) from a [REACTION_CLASS:PEAT] boulder, so a bar of iron would require 10 units of coke and  30 jobs worth of dwarf labour (gather peat, make charcoal and smelt peat)

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #21 on: February 19, 2011, 05:43:30 pm »

I like being limited, but it's gamebreaking to have a world without iron.  My geothite and siderite behave appropriately to the geology in where they appear, but scarcely.  Thus ALL civs should have iron unless they're in extremely bizzarre locations only.  Thus, iron can be bought.  You may get a dozen or so ingots from each full soil or sedimentary layer tops.  I found 2 in the first sedimentary layer.  Also it's colored like the sediment so it's even less easy to spot too!  This fixes the gamebreak of ironless worlds, without making iron common.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #22 on: February 19, 2011, 05:45:59 pm »

To ensure the iron to be bought, check another Askot's suggestion about a placeholder reaction.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Andux

  • Bay Watcher
  • [PREFSTRING:semicolons]
    • View Profile
    • Andux's DFWiki page
Re: scared by scarcity? try bog iron!
« Reply #23 on: February 19, 2011, 06:51:55 pm »

ok, i've done it this way, i made peat a clay and added [REACTION_CLASS:PEAT] to it, then added [REACTION_CLASS:CLAY] to all the other clays, then went to the reaction_other.txt and added [REACTION_CLASS:CLAY] to every pottery reagent, then made a new smelter reaction to extract iron(10 percent chance) from a [REACTION_CLASS:PEAT] boulder, so a bar of iron would require 10 units of coke and  30 jobs worth of dwarf labour (gather peat, make charcoal and smelt peat)

I would modify that a bit; rather than [REACTION_CLASS:PEAT], add [MATERIAL_REACTION_PRODUCT:BOG_ORE_MAT:INORGANIC:IRON_BOG] to peat, and add the following raw files:

Code: (inorganic_bog_ore.txt) [Select]
inorganic_bog_ore

[INORGANIC:IRON_BOG]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:bog iron][DISPLAY_COLOR:4:7:0][TILE:176]
[SOLID_DENSITY:5100]
[MATERIAL_VALUE:8]
[IS_STONE]
[MELTING_POINT:12736]
[MATERIAL_REACTION_PRODUCT:BOG_METAL_MAT:METAL:IRON]

Code: (reaction_bog_ore.txt) [Select]
reaction_bog_ore

[REACTION:EXTRACT_BOG_ORE]
[NAME:extract bog ore]
[BUILDING:KILN:NONE]
[REAGENT:clay:1:BOULDER:NONE:NONE:NONE]
[HAS_MATERIAL_REACTION_PRODUCT:BOG_ORE_MAT]
[PRODUCT:100:1:ROCK:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:clay:BOG_ORE_MAT]
[PRODUCT:10:1:ROCK:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:clay:BOG_ORE_MAT]
[PRODUCT:1:1:ROCK:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:clay:BOG_ORE_MAT]
[SKILL:POTTERY]

[REACTION:SMELT_BOG_ORE]
[NAME:smelt bog ore]
[BUILDING:SMELTER:NONE]
[REAGENT:A:10:ROCK:NONE:NONE:NONE]
[HAS_MATERIAL_REACTION_PRODUCT:BOG_METAL_MAT]
[PRODUCT:100:1:BAR:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:A:BOG_METAL_MAT][PRODUCT_DIMENSION:150]
[FUEL]
[SKILL:SMELT]

Using intermediate ROCK (pebble) items should let you maintain the desired rarity of ore without wasting so much fuel.
Logged
(Do not sign anything.) -- Fell, Planescape: Torment

MADMAN · Save Tools · WTF Tools · Generated Raws Extractor · Tweak for 0.31–34.xx

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #24 on: February 19, 2011, 06:57:45 pm »

neat!
i thought the [###_MAT] tags were hardcoded, though :\
and have you checked if that allows you to extract peat as you would extract clay?

i'll quote you on the OP as the best posted solution

Andux

  • Bay Watcher
  • [PREFSTRING:semicolons]
    • View Profile
    • Andux's DFWiki page
Re: scared by scarcity? try bog iron!
« Reply #25 on: February 19, 2011, 07:20:57 pm »

i thought the [###_MAT] tags were hardcoded, though :\
and have you checked if that allows you to extract peat as you would extract clay?

Looking at the string dump, I don't find RENDER_MAT or SOAP_MAT in there anywhere, so I assume you can make up arbitrary MATERIAL_REACTION_PRODUCT names as needed.

However, FIRED_MAT does appear in the string dump, which makes me think that the [MATERIAL_REACTION_PRODUCT:FIRED_MAT:...] bit is what makes soils usable for clay collection. I still need to test that, though.
Logged
(Do not sign anything.) -- Fell, Planescape: Torment

MADMAN · Save Tools · WTF Tools · Generated Raws Extractor · Tweak for 0.31–34.xx

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #26 on: February 19, 2011, 07:23:47 pm »

the easy way to test is to delete every soil layer but peat and generate a world, then embark with a firesafe stone, or you may have to face an aquifer before you can build a kiln...

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #27 on: February 19, 2011, 07:54:36 pm »

DOUBLE POST FOR URGENCY: it doesn't work, it's likely clay extraction is hardcoded to function only with [FIRED_MAT]

Andux

  • Bay Watcher
  • [PREFSTRING:semicolons]
    • View Profile
    • Andux's DFWiki page
Re: scared by scarcity? try bog iron!
« Reply #28 on: February 19, 2011, 08:20:37 pm »

Here's what I have:
Code: [Select]
[INORGANIC:PEAT]
[USE_MATERIAL_TEMPLATE:SOIL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:peat][DISPLAY_COLOR:0:6:1][TILE:176]
[SOIL][AQUIFER]
[SOLID_DENSITY:1600]
[MATERIAL_REACTION_PRODUCT:FIRED_MAT:INORGANIC:CERAMIC_EARTHENWARE] needed for clay collection logic
[MATERIAL_REACTION_PRODUCT:BOG_ORE_MAT:INORGANIC:IRON_BOG]

I also added [REACTION_CLASS:CLAY] to all other clay materials and reactions.

modded raws
Logged
(Do not sign anything.) -- Fell, Planescape: Torment

MADMAN · Save Tools · WTF Tools · Generated Raws Extractor · Tweak for 0.31–34.xx

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: scared by scarcity? try bog iron!
« Reply #29 on: February 19, 2011, 09:16:37 pm »

eh, i was doin that. i'm just going to test it for any bugs and upload my zip. it has the reactions added to the entity_default.txt and a readme with the changes documented, and instructions to make this compatible with other mods. It's the one going to the op, but you are credited on the readme

EDIT:updated the OP
« Last Edit: February 19, 2011, 09:27:34 pm by Askot Bokbondeler »
Logged
Pages: 1 [2] 3