Water As A Resource


Turns Water into a non infinite resource. Water bodies get removed and replaced by solid ground. Offshore Drains allow water & oil to be put back into these depleted areas. 0.8.0 - 1.1 Factorio Compatibility, Multiplayer Multiple Forces Update, Krastorio2 Support, Reworked MapMarkers

1 year, 4 months ago
0.16 - 1.1
2.13K

b [Fixed - 0.8.1] RemoveWAOPOD Error/Crash (Drain Pond)

3 years ago

The game crashed when I drained a tiny pond.

[code]
Error MainLoop.cpp:1285: Exception at tick 287681: The mod Water As A Resource (0.8.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event WaterAsAResource::on_tick (ID 0)
WaterAsAResource/control.lua:1747: attempt to compare number with table
stack traceback:
WaterAsAResource/control.lua:1747: in function 'RemoveWAOPOD'
WaterAsAResource/control.lua:1817: in function <WaterAsAResource/control.lua:1785>
[/code]

3 years ago

Hey Vas,

When you say tiny, how big exactly?

Have to do some testing.

3 years ago

I'd say it was about 4 tiles of water, a mini itty bitty square of water. Like the default size of a landfill.

3 years ago

Hey Vas,

So this is actually an issue with the function after all the changes to the mod for multiforces, this function stopped working.

Its ammended and now wont throw an error in the next version.

New response