Aaron Suen
90976fa618
First attempt at non-linear-izing lantern charge:glow ratio
Higher exponents >1 cause lantern to lose intense glow fast, but glow dimly for longer, making them more realistic and "safer," as players will have more time to get back to a charging station once they start to feel the pressure of a dimming lantern. Lower exponents <1 would cause a lantern to glow more intensely but burn out quicker once it starts to dim, similar to torches, making them also dangerous as it's easier to overestimate remaining charge when budgeting time to get back out of a cave. The new formula has some values that can be tweaked to alter the gameplay balance effect of this, in addition to total max charge and discharge rate.
======================================================================== \ /\ \ / \ /\ \ /\ |\ / / \ /\ |\ / | \ | / \ | \ / | / \ | \ / | \ | | | | | |__ | | | | / |__ \ \/ | | | | | \ / | | |/ | \ \ / | / \ \ / \ / |\ \ \ \/ |/ \ \/ \/ | \ \ ======================================================================== 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 ------------------------------------------------------------------------ ========================================================================
Languages
Lua
98.7%
JavaScript
1.3%