summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2020-12-10 20:59:24 +0100
committerGitHub <noreply@github.com>2020-12-10 20:59:24 +0100
commitaf073438fd70833955a30bcbe1c22e6f344ec41c (patch)
tree428d31e463cddbaf7db5f2866631f7fe7ef47f92 /games
parent6d7067fd37a8084aca139ecab552982e0ee99582 (diff)
downloadminetest-af073438fd70833955a30bcbe1c22e6f344ec41c.tar.gz
minetest-af073438fd70833955a30bcbe1c22e6f344ec41c.tar.bz2
minetest-af073438fd70833955a30bcbe1c22e6f344ec41c.zip
Various documentation fixes (#10692)
set_sky: New feature, keep note about the old syntax get_us_time: Document overflow localplayer: Document "nil" behaviour before initialization collision_box: Safe limit of "1.45"
Diffstat (limited to 'games')
-rw-r--r--games/devtest/mods/testnodes/nodeboxes.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/devtest/mods/testnodes/nodeboxes.lua b/games/devtest/mods/testnodes/nodeboxes.lua
index ebd858337..7e966fdce 100644
--- a/games/devtest/mods/testnodes/nodeboxes.lua
+++ b/games/devtest/mods/testnodes/nodeboxes.lua
@@ -18,7 +18,7 @@ minetest.register_node("testnodes:nodebox_fixed", {
-- 50% higher than a regular node
minetest.register_node("testnodes:nodebox_overhigh", {
- description = S("Overhigh Nodebox Test Node"),
+ description = S("+50% high Nodebox Test Node"),
tiles = {"testnodes_nodebox.png"},
drawtype = "nodebox",
paramtype = "light",
@@ -30,15 +30,16 @@ minetest.register_node("testnodes:nodebox_overhigh", {
groups = {dig_immediate=3},
})
--- 100% higher than a regular node
+-- 95% higher than a regular node
minetest.register_node("testnodes:nodebox_overhigh2", {
- description = S("Double-height Nodebox Test Node"),
+ description = S("+95% high Nodebox Test Node"),
tiles = {"testnodes_nodebox.png"},
drawtype = "nodebox",
paramtype = "light",
node_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5},
+ -- Y max: more is possible, but glitchy
+ fixed = {-0.5, -0.5, -0.5, 0.5, 1.45, 0.5},
},
groups = {dig_immediate=3},