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
11 months ago
0.15 - 1.1
9.09K
Environment Mining

g crash on map start

3 years ago

The mod dangOreus (1.5.18) caused a non recoverable error.
...
error while running event dangOreus::on_chunck-generated (ID 12)
Resource ammount has to be larger than 0
...

I got this by putting my starting radius at 1 (0 does not work)
I think the rng up or down is putting the ore bellow 0

3 years ago

fixed, on line 222 replace
event.surface.create_entity{name=type, amount=amount, position={x, y}, enable_tree_removal=false, enable_cliff_removal=false}
with
event.surface.create_entity{name=type, amount=math.max(amount,1), position={x, y}, enable_tree_removal=false, enable_cliff_removal=false}

probably a better place to put the fix but this works

3 years ago

Fixed, thanks for the report.

New response