b012fd2356
Avoid above-grade placement, but randomly allow it, allowing items that are "stuck" in a pile of leaves to gradually random-walk their way out into a stable position.
10 lines
321 B
Lua
10 lines
321 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local minetest
|
|
= minetest
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
minetest.register_on_joinplayer(function(player)
|
|
player:get_inventory():set_size("main", 8)
|
|
player:set_properties({stepheight = 1.4})
|
|
end)
|