Shallow Water deprecated


Makes shallow water walkable (but you still cant build on it). Adds a way to change deep water to shallow water.

Tweaks
6 years ago
0.15 - 0.16
7

i Switch to on_player_changed_position rather than on_tick

6 years ago

I suggest you make use of the new "on_player_changed_position" event, as it will be easier to use and better for performance. See: http://lua-api.factorio.com/latest/events.html#on_player_changed_position

6 years ago
(updated 6 years ago)

Good point, thanks. I keep forgetting they added so many events in 0.16.

In reality the performance cost for this mod is already pretty low. The change is going to be in the next version of the mod, but I'm too lazy to make a new version with just that one change. :D

6 years ago

Well my proposal might be giving you a lot of work i guess :D

New response