on_construct = function(pos, newnode)
pos.y = pos.y - 1
local nodename = minetest.env:get_node(pos).name
if nodename == "default:dirt_with_grass" or nodename == "default:dirt"
or nodename == "trail:dirt_with_grass_walked" or nodename == "trail:dirt_walked" then
minetest.env:add_node(pos,{name="snow:dirt_with_snow"})
--elseif nodename == "air" then
--pos.y = pos.y + 1
--minetest.env:remove_node(pos)
end
end,
BZab wrote:Nice, but useless when ya wanna build - but on PvP, adventure, survival etc. servers - awesome
paramat wrote:Version 0.3.0 is now in a repo at github https://github.com/paramat/landup
This is my first attempt at using github so i may have made errors, however it seems to be there successfully ... :/
Will add my other mods to github soon.
Users browsing this forum: No registered users and 27 guests