Bay 12 Games Forum

Please login or register.

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

Author Topic: Obsidian Farming for Profit  (Read 8732 times)

NecroRebel

  • Bay Watcher
    • View Profile
Re: Obsidian Farming for Profit
« Reply #30 on: January 02, 2010, 07:33:00 pm »

Necro, in your example what was the purpose of defining the stone versions of the obsidian ores? They will never exist in that state, only as metal bars (smelted from obsidian) and then refined to usable metals correct?

Talking about these:

-snip-
The purpose of them was because at that time I thought that you wanted random amounts of metal in amounts smaller than 1% for all metals. The obsidian processed to 5 metals which were completely useless on their own, which then processed back to materials that were ores (the stone versions of the obsidian ores). This allowed there to truly be a % chance of a full bar of, say, adamantine in an obsidian as opposed to your method, where you have a %chance of 1/5 of a bar.

It isn't really necessary to have the extra stones if you're going with the (more-refined) slag method, it's just how I initially thought to trigger the ore RNG mechanic more than once per obsidian stone and so manage >1% metal content.



...Actually, I just noticed a problem with this whole thing. Obsidian is now an ore, and so can be used for the various "create alloy from ore" reactions. You should, with your setup that you have in your most recent post, be able to create brass and bronze straight from obsidian, with a 100% success rate, and at a rate of 2 bars per stone. It's for the same reason why tetrahedrite is best used to make billon, in terms of value: the game just checks to see if it has a zinc and copper ore for the brass reaction, and obsidian is a zinc and copper ore and so a single obsidian can fulfill the brass reaction, making 2 brass.

You can get around that problem by making all of the metals form slag bars or wafers and just having some of them produce normal bars on a 1:1 basis, or something similar, but I suspect that any stone with low-percentage ores is going to have unintended consequences no matter what, so it might not be worthwhile to bother. My original method doesn't even dodge the one-stone-to-two-bars problem entirely, though (through sheer luck) only the third-tier ore-stone (iron/silver/gold) can be used on its lonesome (for electrum).
Logged
A Better Magma Pump Stack: For all your high-FPS surface-level magma installation needs!

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: Obsidian Farming for Profit
« Reply #31 on: January 02, 2010, 07:35:36 pm »

Then we'll use smelter reactions instead of the ore system, making custom reactions like I have there which take bars as a reagent and output the metal as a product. I'll work on doing slag forms for all of the metals, with correct stats and color. The common metals will be 1 or 2 slag per bar.
Logged

NecroRebel

  • Bay Watcher
    • View Profile
Re: Obsidian Farming for Profit
« Reply #32 on: January 02, 2010, 07:41:05 pm »

Then we'll use smelter reactions instead of the ore system, making custom reactions like I have there which take bars as a reagent and output the metal as a product. I'll work on doing slag forms for all of the metals, with correct stats and color. The common metals will be 1 or 2 slag per bar.
Fair enough. I just didn't want to say, "Do this!" since this really should be your mod  :) I'm just giving advice.
Logged
A Better Magma Pump Stack: For all your high-FPS surface-level magma installation needs!

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: Obsidian Farming for Profit
« Reply #33 on: January 02, 2010, 07:44:30 pm »

I do appreciate your help. When I work these up I'll post them here and we can find the errors I'm sure will crop up. :)
Logged

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: Obsidian Farming for Profit
« Reply #34 on: January 04, 2010, 12:48:49 am »

Alright I have decided to go with a system whereby obsidian is processed into slag bars and those bars are then refined into usable metal bars. Here is what I have so far, please look this over and let me know if you see any problems.
Spoiler: matgloss_stone_layer (click to show/hide)
Spoiler: matgloss_metal (click to show/hide)
Spoiler: reaction_standard (click to show/hide)
Logged

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: Obsidian Farming for Profit
« Reply #35 on: January 04, 2010, 12:54:50 am »

Obviously all of this requires fuel (or magma) and it is very Very VERY not profitable if you do not have access to magma. You will burn through way too many trees just to get a few bars of metal.
Logged

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: Obsidian Farming for Profit
« Reply #36 on: January 04, 2010, 01:55:10 am »

Found one problem. Should be "METAL_ORE" not "ORE_METAL"

testing the functionality now
Logged

Grax

  • Bay Watcher
  • The Only.
    • View Profile
Re: Obsidian Farming for Profit
« Reply #37 on: January 04, 2010, 07:11:05 am »

Making them gem types has the benefit of letting them be stored in bins
I've noticed there's some kind of bug with getting something from the bins in [SMELTER] reactions.
Sometimes dwarf takes the needed material, sometimes do not.

100% case of ignoring is the "plant [5]" type of material.
The method of avoiding such a bug is making second stockpile without bins, which takes material from the first stockpile.

Gems have 50% chance for both rough and cut.
The chance for blocks is about "sometimes".

Don't know why it's so, maybe:
1. something related to dwarf personality
2. outpost manager bug
3. it is my local bug
4. bug with modded reactions
Logged
Finis sanctificat media.

wagawaga

  • Bay Watcher
  • He is utterly unaware of his own intentions.
    • View Profile
Re: Obsidian Farming for Profit
« Reply #38 on: January 04, 2010, 07:29:38 am »

Items in containers are ignored in smelter reaction list, but will the reactions will be performed with no problems if issued with the job manager (j->m).

Bins are the only container immune to this, AFAIK, we would have noticed far earlier since most alloys can be made out of bars, that can be stored in bins.
Logged

Grax

  • Bay Watcher
  • The Only.
    • View Profile
Re: Obsidian Farming for Profit
« Reply #39 on: January 04, 2010, 07:43:35 am »

Items in containers are ignored in smelter reaction list, but will the reactions will be performed with no problems if issued with the job manager (j->m).

Bins are the only container immune to this, AFAIK, we would have noticed far earlier since most alloys can be made out of bars, that can be stored in bins.
I didn't say a word about bars.
Logged
Finis sanctificat media.

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: Obsidian Farming for Profit
« Reply #40 on: January 04, 2010, 12:57:06 pm »

Well that's good, because slag forms of metals are now stored as bars. :)

I plan to test it out today by using a free smelter reaction which creates obsidian in great quantities and then blowing through 3-5k obsidian stones to see what I get.
Logged

NecroRebel

  • Bay Watcher
    • View Profile
Re: Obsidian Farming for Profit
« Reply #41 on: January 04, 2010, 01:39:30 pm »

Yeah, I don't think that anything besides bars and stones have been seriously considered for use since obsidian was made into a low-percentage ore. The randomization thing is just too tempting.

Also, in your custom reactions, you have your adamantine slag->adamantine reaction named "Process gold slag into bars." Not a problem for the mechanics, but might get confusing ingame.

Oh, and why did you give slag the [WAFERS] token? I used it in the original method because I thought that "Metal-bearing obsidian bars" would look weird and "Metal-bearing obsidian wafers" would look less weird, but "X slag bars" makes more sense to me instead of "X slag wafers." [WAFERS] is just cosmetic for [BRITTLE] metals, as far as I know, since it makes the bars only contribute 1 matsize instead of 3 (which is why adamantine takes multiple wafers to make most things) but if you can't make things with them due to [BRITTLE] it hardly matters.
Logged
A Better Magma Pump Stack: For all your high-FPS surface-level magma installation needs!

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: Obsidian Farming for Profit
« Reply #42 on: January 04, 2010, 01:43:00 pm »

Also, in your custom reactions, you have your adamantine slag->adamantine reaction named "Process gold slag into bars." Not a problem for the mechanics, but might get confusing ingame.
Ahh, will fix that right away thanks.

Spoiler (click to show/hide)

Artifact from my cut/pasting of your example and I forgot to remove it. Will take that out.

That said, do you think it would be worth having the reaction spit out actual ore stones for the common metals rather than slag bars? Rare metals would stay as they are, but common (copper/tin/zinc) would spit out a no-value stone called "Copper Slag" or something which would itself be a 100% (or less) ore of copper.
Logged

Flaede

  • Bay Watcher
  • Beware the Moon Creatures.
    • View Profile
Re: Obsidian Farming for Profit
« Reply #43 on: January 04, 2010, 07:04:16 pm »

...I think you would need someway to distinguish  between obsidian from magma and from regular obsidian (as a layer) or someone who started on an obsidian layer map would have to much of an economy jumpstart...

I know this was a while back, but it got discarded as impossible, and there is totally a way to do this. You just add in a new rock type and make that the one that forms from magma, removing that tag from the original obsidian type. If you don't have it also be associated with any layers or anything then I don't think it would actually show up in the worldgen except for the lining of the Vents.

Am I wrong about that?

Either way, I like where this is going. Other Obsidian Farming mods go a little overboard in my opinion. This idea seems to be seeking balance.
Logged
Toady typically doesn't do things by half measures.  As evidenced by turning "make hauling work better" into "implement mine carts with physics".
There are many issues with this statement.
[/quote]

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: Obsidian Farming for Profit
« Reply #44 on: January 04, 2010, 07:05:54 pm »

...I think you would need someway to distinguish  between obsidian from magma and from regular obsidian (as a layer) or someone who started on an obsidian layer map would have to much of an economy jumpstart...

I know this was a while back, but it got discarded as impossible, and there is totally a way to do this. You just add in a new rock type and make that the one that forms from magma, removing that tag from the original obsidian type. If you don't have it also be associated with any layers or anything then I don't think it would actually show up in the worldgen except for the lining of the Vents.

Am I wrong about that?

Unfortunately magma is hard-coded, but you could do it the other way around I believe. Make layer obsidian something like "Natural Obsidian" or something else, and have normal obsidian (the one hard-coded to form from magma) as the ore.

Quote
Either way, I like where this is going. Other Obsidian Farming mods go a little overboard in my opinion. This idea seems to be seeking balance.
Thanks! That was my goal, I want it to be semi-realistic (though I don't know how much metal is really in magma, I know there has to be SOME) and somewhat balanced. If I wanted free, cheap adamantine and other metals I'd just make a cheat reaction to pump them out. :)
« Last Edit: January 04, 2010, 07:10:45 pm by forsaken1111 »
Logged
Pages: 1 2 [3] 4