mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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"
This commit is contained in:
parent
6d7067fd37
commit
af073438fd
3 changed files with 24 additions and 6 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue