Code: Select all
if mods["omnimatter"] then
omni.matter.add_initial("ice-ore", 1, 5)
omni.matter.add_resource("ice-ore", 1)
end
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?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
Code: Select all
omni.matter.add_initial(ore_name, extraction_yield, extraction_waste)
omni.matter.add_resource(ore_name, ore_tier)
Ok, thanks.
Iron & Copper are 1:8, Stone is produced as a byproduct from the waste.What's the initial ratio for the other basic resources?
Yes, all ore patches are replaced with omnite, which is then processed into ores.Is omnimatter conversion usually the only source of resources?
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.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
You'll have to add an optional dependency - "(?)omnimatter" to the info.jsonQon wrote: ↑Sun Apr 10, 2022 1:11 pmI 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.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 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.
It works!
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...Version: 1.1.5
Date: 2022-04-10
Info:
- Updated by Qon, on request by lyvgbfh.
Features:
- Added compatibility with Omnimatter mod.
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.Qon wrote: ↑Mon Apr 11, 2022 11:46 amIt works!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...Version: 1.1.5
Date: 2022-04-10
Info:
- Updated by Qon, on request by lyvgbfh.
Features:
- Added compatibility with Omnimatter mod.
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.