diff options
author | DonBatman <serfdon@gmail.com> | 2015-11-12 16:59:36 -0800 |
---|---|---|
committer | DonBatman <serfdon@gmail.com> | 2015-11-12 16:59:36 -0800 |
commit | ac479f81aa9440c9240e16501e5bfcb74a4ee271 (patch) | |
tree | c52690c1b8eedd39c7e605643e06914899113f49 /mario/portal.lua | |
parent | 881e4c1e00e66d54bcf318dd6b4b43d80580fa55 (diff) |
removed items from creative inventory
Diffstat (limited to 'mario/portal.lua')
-rw-r--r-- | mario/portal.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mario/portal.lua b/mario/portal.lua index 6bee29b..6b1c82c 100644 --- a/mario/portal.lua +++ b/mario/portal.lua @@ -8,7 +8,7 @@ minetest.register_node("mario:portal", { paramtype2 = "facedir", walkable = false, is_ground_content = false, - groups = {cracky = 2,not_in_creative_inventory=1}, + groups = {cracky = 1,not_in_creative_inventory=1}, on_turtle_collision = function(pos, obj, gameid) obj:setpos({x=pos.x,y=pos.y+12,z=pos.z}) end @@ -22,7 +22,7 @@ minetest.register_node("mario:portal_left", { paramtype2 = "facedir", --walkable = false, is_ground_content = false, - groups = {cracky = 2,not_in_creative_inventory=0}, + groups = {cracky = 1,not_in_creative_inventory=1}, on_player_collision = function(pos, player, gameid) player:setpos(vector.add(pos,{x=31, y=0, z=0})) end, @@ -39,7 +39,7 @@ minetest.register_node("mario:portal_right", { paramtype2 = "facedir", --walkable = false, is_ground_content = false, - groups = {cracky = 2,not_in_creative_inventory=0}, + groups = {cracky = 1,not_in_creative_inventory=1}, on_player_collision = function(pos, player, gameid) player:setpos(vector.add(pos,{x=-31, y=0, z=0})) end, |