dangOreus

by Mylon

The flOre is lava. Dig yOre way out through this divOrese and dangOreus field! Will you Coke on the limited space and submit to the cOreruption Ore will you transfOrem it into an majestic Orechestra? Also known as "Dangerous" or "Danger Ores".

Scenarios
10 days ago
0.15 - 2.0
10.2K
Environment Mining

b mod compatability

5 years ago

Hello fellow creator,
I have a small mod that adds bigger miners and an option for specialized miners, but it crashes when that option is on.
It throws an error in control.lua function div0resity_init()
attempt to index local 'current' (a nil value)
https://prnt.sc/pkod36
Do you have advice?

5 years ago
(updated 5 years ago)

Took me a while to figure out what's going on, but the error triggered by line 80 of your data-final-fixes lua:

data.raw["resource"][resource.name].category = "basic-solid" .. resource.name

My mod works on the assumption that there will always be resources with type "basic-solid". Which clearly I can't trust! I could change it to use resources which only output items instead of fluids.

5 years ago

The old savegames from my current game all give this out, a new startet game and first savegame startet without probs.

Mod dangOreus

Error while running event dangOreus::on_configuration_changed
dangOreus/control.lua:549: attempt to index field 'coverage' (a nil value)
stack traceback:
dangOreus/control.lua:549: in function 'divOresity_init'
dangOreus/control.lua:676: in function <dangOreus/control.lua:676>

mfg Charles

5 years ago

I clearly made a terrible mistake. I'll fix it.

5 years ago

After that fix last savegames works fine as before, good job Mylon :)

Have a nice Sunday ;)

New response