How to make ore mod compatible with RSO & Angel's Mods?
- MadClown01
- Fast Inserter
- Posts: 161
- Joined: Fri Dec 22, 2017 12:38 am
- Contact:
How to make ore mod compatible with RSO & Angel's Mods?
Hello, new mod maker here:
I am currently developing an ore extension mod to be used with Angel's Refining. Essentially I'm planning on adding 6 or so relatively rare ores (with refining recipes) to throw in some variety.
My question is - how can I most easily integrate my mod into Angel's Infinite Ores and RSO?
My temptation is to include inside the mod the necessary LUA files that ArchAngel666 and the RSO developer would then slip into their generation prototypes, and then PM these people. Is this an acceptable way of doing it?
Also, if my mod recipes have optional dependencies on other mods (Factorio Druglab, Yuoki Industries etc) would that be an issue? Is this something I should avoid?
Thanks heaps!
I am currently developing an ore extension mod to be used with Angel's Refining. Essentially I'm planning on adding 6 or so relatively rare ores (with refining recipes) to throw in some variety.
My question is - how can I most easily integrate my mod into Angel's Infinite Ores and RSO?
My temptation is to include inside the mod the necessary LUA files that ArchAngel666 and the RSO developer would then slip into their generation prototypes, and then PM these people. Is this an acceptable way of doing it?
Also, if my mod recipes have optional dependencies on other mods (Factorio Druglab, Yuoki Industries etc) would that be an issue? Is this something I should avoid?
Thanks heaps!
Re: How to make ore mod compatible with RSO & Angel's Mods?
For RSO you can prepare file in format as in resourceconfigs directory and I'll add it. Vanilla file has some comments describing how config for resource works.
Or talk with Angel since he's the author of RSO configs for his mod set.
Or talk with Angel since he's the author of RSO configs for his mod set.
- MadClown01
- Fast Inserter
- Posts: 161
- Joined: Fri Dec 22, 2017 12:38 am
- Contact:
Re: How to make ore mod compatible with RSO & Angel's Mods?
Thanks man, appreciated. I'll get to itorzelek wrote:For RSO you can prepare file in format as in resourceconfigs directory and I'll add it. Vanilla file has some comments describing how config for resource works.
Or talk with Angel since he's the author of RSO configs for his mod set.
Re: How to make ore mod compatible with RSO & Angel's Mods?
Do you need to add the ressourceconfig to RSO? Would be nice, if mod authors could provide the settings via own mod or api.
- MadClown01
- Fast Inserter
- Posts: 161
- Joined: Fri Dec 22, 2017 12:38 am
- Contact:
Re: How to make ore mod compatible with RSO & Angel's Mods?
Yes we do need to add a resourceconfig file to RSO, it's not really too big a deal. I don't mind haha
Re: How to make ore mod compatible with RSO & Angel's Mods?
API for RSO has been discussed few times but it's a bit complex topic.
It would require pretty complex validation and could cause issues depending on when each mod would add it's ores.
I'm not daring to try and open this can of worms
It would require pretty complex validation and could cause issues depending on when each mod would add it's ores.
I'm not daring to try and open this can of worms
Re: How to make ore mod compatible with RSO & Angel's Mods?
So ihope the Ice-ore guy/girl contacts you soon
Re: How to make ore mod compatible with RSO & Angel's Mods?
Just drop me a line in RSO forums with mod name and/or what game prints and I'll take a look.
Re: How to make ore mod compatible with RSO & Angel's Mods?
I've just copied iron ore and make config file for IceOreorzelek wrote:API for RSO has been discussed few times but it's a bit complex topic.
It would require pretty complex validation and could cause issues depending on when each mod would add it's ores.
I'm not daring to try and open this can of worms
Code: Select all
function fillIceOreConfig()
config["ice-ore"] = {
type="resource-ore",
allotment=100,
spawns_per_region={min=1, max=1},
richness=20000,
size={min=20, max=30},
min_amount=500,
starting={richness=8000, size=25, probability=1}
}
end
- MadClown01
- Fast Inserter
- Posts: 161
- Joined: Fri Dec 22, 2017 12:38 am
- Contact:
Re: How to make ore mod compatible with RSO & Angel's Mods?
Hi Orzelek,
I finally have the config function ready!
I've tested this myself, and it works perfectly with RSO when
is added to mainconfig.
Could you please add this to RSO? My extended minerals mod will be released soon, and is designed specifically to be used with RSO.
Cheers
I finally have the config function ready!
function
(alternatively )I've tested this myself, and it works perfectly with RSO when
Code: Select all
if game.active_mods["Clowns-Extended-Minerals"] then
fillClownsMineralsConfig()
end
Could you please add this to RSO? My extended minerals mod will be released soon, and is designed specifically to be used with RSO.
Cheers
Re: How to make ore mod compatible with RSO & Angel's Mods?
I've added it to my local copy - can release it now but it would be a bit of a blind release.
I'd rather wait for your mod to be up to check stuff with it
Do you know if RSO will need optional dependency on it?
I'd rather wait for your mod to be up to check stuff with it
Do you know if RSO will need optional dependency on it?
- MadClown01
- Fast Inserter
- Posts: 161
- Joined: Fri Dec 22, 2017 12:38 am
- Contact:
Re: How to make ore mod compatible with RSO & Angel's Mods?
Hi Orzelek,orzelek wrote:...
Thanks for the quick response!
Waiting until release is fine with me, or I can forward you a stable prototype copy if you'd like? (All generation coding is done, just need to tidy up some graphics and recipes)
No optional dependencies will be needed.
Re: How to make ore mod compatible with RSO & Angel's Mods?
If you can post me pm with prototype I will check it and release the RSO with support.
I'm being careful since last time I thought "this dependency is no longer needed" suddenly bob's ores were not disabled properly
I'm being careful since last time I thought "this dependency is no longer needed" suddenly bob's ores were not disabled properly
- MadClown01
- Fast Inserter
- Posts: 161
- Joined: Fri Dec 22, 2017 12:38 am
- Contact:
Re: How to make ore mod compatible with RSO & Angel's Mods?
Hahaha fair call
I got bored with prototyping btw, it's out: viewtopic.php?f=185&t=58136&p=345448#p345448
I got bored with prototyping btw, it's out: viewtopic.php?f=185&t=58136&p=345448#p345448