[MOD 0.17] Ice Ore

Topics and discussion about specific mods
lyvgbfh
Fast Inserter
Fast Inserter
Posts: 169
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: [MOD 0.17] Ice Ore

Post by lyvgbfh »

Would you mind adding the following to the end of data.lua along with an optional dependency? Someone mentioned omnimatter support would be nice, and it's pretty easy to do.

Code: Select all

if mods["omnimatter"] then
    omni.matter.add_initial("ice-ore", 1, 5)
    omni.matter.add_resource("ice-ore", 1)
end
Last edited by lyvgbfh on Mon Apr 11, 2022 9:36 am, edited 2 times in total.
Qon
Smart Inserter
Smart Inserter
Posts: 2164
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: [MOD 0.17] Ice Ore

Post by Qon »

lyvgbfh wrote: Sat Apr 09, 2022 12:16 pm Would you mind adding the following to the end of data-updates, along with an optional dependency on omnimatter? Someone mentioned omnimatter support would be nice, and it's pretty easy to do.

Code: Select all

if mods["omnimatter"] then
    omni.matter.add_initial("ice-ore", 1, 5)
    omni.matter.add_resource("ice-ore", 1)
end
What do the numbers mean?
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
lyvgbfh
Fast Inserter
Fast Inserter
Posts: 169
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: [MOD 0.17] Ice Ore

Post by lyvgbfh »

Qon wrote: Sat Apr 09, 2022 12:58 pm What do the numbers mean?

Code: Select all

    omni.matter.add_initial(ore_name, extraction_yield, extraction_waste)
    omni.matter.add_resource(ore_name, ore_tier)
For the first function, it's the initial ratio (1 ore to 5 waste). For the second, it's the "tier" of the ore. 1 indicates it's available at the same time as iron, copper, etc as opposed to a second tier ore like Uranium which needs some tech to mine.
Qon
Smart Inserter
Smart Inserter
Posts: 2164
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: [MOD 0.17] Ice Ore

Post by Qon »

lyvgbfh wrote: Sat Apr 09, 2022 10:25 pm For the first function, it's the initial ratio (1 ore to 5 waste).
Ok, thanks.

What's the initial ratio for the other basic resources? The balance needs to be right if you want to use it for power generation. Ice ore is a resource that you need a lot of, it's like coal but the death spiral for it can be much faster and be much harder to restart than a power death spiral for just coal (since you can't carry water in inventory and once either coal or ice mining suffers the other dries up as well).

What is "initial ratio"? As opposed to just "ratio".

Also, is omnimatter conversion usually the only source of resources and regular mining of resources directly is something that is turned off completely when playing with that mod? From the very start of the playthrough? Seems like it when I check omnimatter's mod page.
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
lyvgbfh
Fast Inserter
Fast Inserter
Posts: 169
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: [MOD 0.17] Ice Ore

Post by lyvgbfh »

Qon wrote: Sun Apr 10, 2022 10:55 am Ok, thanks.
What's the initial ratio for the other basic resources?
Iron & Copper are 1:8, Stone is produced as a byproduct from the waste.
Is omnimatter conversion usually the only source of resources?
Yes, all ore patches are replaced with omnite, which is then processed into ores.
Qon
Smart Inserter
Smart Inserter
Posts: 2164
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: [MOD 0.17] Ice Ore

Post by Qon »

lyvgbfh wrote: Sat Apr 09, 2022 12:16 pm Would you mind adding the following to the end of data-updates, along with an optional dependency on omnimatter? Someone mentioned omnimatter support would be nice, and it's pretty easy to do.

Code: Select all

if mods["omnimatter"] then
    omni.matter.add_initial("ice-ore", 1, 5)
    omni.matter.add_resource("ice-ore", 1)
end
I tried adding this to end of data-updates.lua and installed omnimatter, but I can't find any recipies that make ice-ore from omnimatter.
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
lyvgbfh
Fast Inserter
Fast Inserter
Posts: 169
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: [MOD 0.17] Ice Ore

Post by lyvgbfh »

Qon wrote: Sun Apr 10, 2022 1:11 pm
lyvgbfh wrote: Sat Apr 09, 2022 12:16 pm Would you mind adding the following to the end of data-updates, along with an optional dependency on omnimatter? Someone mentioned omnimatter support would be nice, and it's pretty easy to do.

Code: Select all

if mods["omnimatter"] then
    omni.matter.add_initial("ice-ore", 1, 5)
    omni.matter.add_resource("ice-ore", 1)
end
I tried adding this to end of data-updates.lua and installed omnimatter, but I can't find any recipies that make ice-ore from omnimatter.
You'll have to add an optional dependency - "(?)omnimatter" to the info.json
Qon
Smart Inserter
Smart Inserter
Posts: 2164
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: [MOD 0.17] Ice Ore

Post by Qon »

lyvgbfh wrote: Mon Apr 11, 2022 5:17 am You'll have to add an optional dependency - "(?)omnimatter" to the info.json
I actually did that as well. And it didn't work.
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
lyvgbfh
Fast Inserter
Fast Inserter
Posts: 169
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: [MOD 0.17] Ice Ore

Post by lyvgbfh »

Qon wrote: Mon Apr 11, 2022 8:41 am
lyvgbfh wrote: Mon Apr 11, 2022 5:17 am You'll have to add an optional dependency - "(?)omnimatter" to the info.json
I actually did that as well. And it didn't work.
My mistake - I was meant to have said just add to data, not data updates.
Qon
Smart Inserter
Smart Inserter
Posts: 2164
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: [MOD 0.17] Ice Ore

Post by Qon »

lyvgbfh wrote: Mon Apr 11, 2022 9:23 am My mistake - I was meant to have said just add to data, not data updates.
It works!
Version: 1.1.5
Date: 2022-04-10
Info:
- Updated by Qon, on request by lyvgbfh.
Features:
- Added compatibility with Omnimatter mod.
1:5 as initial ratio seems very hard. Omnimatter can be used as fuel directly so coal conversion isn't needed so the initial coal conversion isn't really a fair comparison. 1:1 might be better. But it is 1:5 right now and I might change it later. I don't play with Omnimatter so...
I have played with another similar mod, Leighzer's Morphite, that is simpler and doesn't eliminate other ore fields, just adds a new purple ore that is simply converted to whatever ore you need.
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
lyvgbfh
Fast Inserter
Fast Inserter
Posts: 169
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: [MOD 0.17] Ice Ore

Post by lyvgbfh »

Qon wrote: Mon Apr 11, 2022 11:46 am
lyvgbfh wrote: Mon Apr 11, 2022 9:23 am My mistake - I was meant to have said just add to data, not data updates.
It works!
Version: 1.1.5
Date: 2022-04-10
Info:
- Updated by Qon, on request by lyvgbfh.
Features:
- Added compatibility with Omnimatter mod.
1:5 as initial ratio seems very hard. Omnimatter can be used as fuel directly so coal conversion isn't needed so the initial coal conversion isn't really a fair comparison. 1:1 might be better. But it is 1:5 right now and I might change it later. I don't play with Omnimatter so...
I have played with another similar mod, Leighzer's Morphite, that is simpler and doesn't eliminate other ore fields, just adds a new purple ore that is simply converted to whatever ore you need.
Thanks! Feel free to tweak as you need, perhaps 1:5 is a bit rough on the early belt throughput for the amount you go through. There's a user doing a playthrough with it active, if I get feedback from them I'll forward it.
Post Reply

Return to “Mods”