Aaron Suen b49a7386d8 Account for loaded but inactive sponge squeezers
Specifically for the case of sponge squeezers, not only do we need
enough map around the artificial water to be loaded, we need it to
actually be active, to be certain that the squeezer has an
opportunity to run and keep the water fresh.  This change should
prevent specific water nodes from disappearing from sponge
squeezers when they're right on the edge of the active mapblock
range.

This genericizes the API for checking the state of a mapblock, and
adds a function to check if a mapblock is active, not merely loaded.
2024-09-13 20:18:50 -04:00
2021-07-20 21:25:37 -04:00
2023-12-01 23:39:06 -05:00
2022-05-17 23:28:14 -04:00
2020-03-28 07:08:56 -04:00
2024-08-24 13:26:58 -04:00
2022-10-19 00:51:56 -04:00

========================================================================

             \                           /\
              \                         /  \
          /\   \     /\    |\      /   /    \    /\    |\     /
         |  \   |   /  \   | \    /   |         /  \   | \   /
         |   \  |  |    |  |  |  |__  |        |    |  | /  |__
          \   \/   |    |  |  |  |     \    /  |    |  |/   |
           \        \  /   | /    \     \  /    \  /   |\    \
            \        \/    |/      \     \/      \/    | \    \

========================================================================
             NodeCore - Minetest's top original voxel game
                about emergent mechanics and exploration
------------------------------------------------------------------------

A surreal dream-world where everything is possible but nothing is easy.
Peaceful and Zen.  Brutally obstinate.  Prepare to unlearn everything
you thought you knew about voxel sandbox games.

Visit the Minetest ContentDB Listing (below) for more details.

------------------------------------------------------------------------

(C) by Aaron Suen <warr1024@gmail.com> (and other contributors)
MIT License (http://www.opensource.org/licenses/MIT)
See included LICENSE file for full details and credits

Minetest ContentDB Listing:
	https://content.minetest.net/packages/Warr1024/nodecore/

GitLab:
	https://gitlab.com/sztest/nodecore

Chat Networks (all bridged):
	Discord:
		https://discord.gg/NNYeF6f
	Matrix:
		#+nodecore:matrix.org
	IRC:
		#nodecore on irc.libera.chat

Donate:
	https://liberapay.com/NodeCore

Semi-Unofficial Wiki:
	https://nodecore.mine.nu/

Minetest Forum Topic:
	https://forum.minetest.net/viewtopic.php?t=24857

------------------------------------------------------------------------
========================================================================
Description
No description provided
Readme MIT 33 MiB
Languages
Lua 98.7%
JavaScript 1.3%