aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2020-04-13 10:53:10 +0200
committerGitHub <noreply@github.com>2020-04-13 10:53:10 +0200
commit27d611fe5561db20b380a16fdc6bcf1fefaf5d39 (patch)
treea44e2563389e9940b922c6350fdca45e900ea5b8 /doc
parent0ac999ded725f8efcd26db284161683e37efeecf (diff)
downloadminetest-27d611fe5561db20b380a16fdc6bcf1fefaf5d39.tar.gz
minetest-27d611fe5561db20b380a16fdc6bcf1fefaf5d39.tar.bz2
minetest-27d611fe5561db20b380a16fdc6bcf1fefaf5d39.zip
Add default stack size setting (#8873)
New setting "default_stack_max" to alter the default stack sizes of all items when desired. Co-authored-by: Pascal Abresch <nep@packageloss.eu>
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index f43987cd8..ccb605c8e 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -6735,6 +6735,8 @@ Used by `minetest.register_node`, `minetest.register_craftitem`, and
wield_scale = {x = 1, y = 1, z = 1},
+ -- The default value of 99 may be configured by
+ -- users using the setting "default_stack_max"
stack_max = 99,
range = 4.0,