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/init.lua | |
parent | 881e4c1e00e66d54bcf318dd6b4b43d80580fa55 (diff) |
removed items from creative inventory
Diffstat (limited to 'mario/init.lua')
-rw-r--r-- | mario/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mario/init.lua b/mario/init.lua index 7f60785..6d63d76 100644 --- a/mario/init.lua +++ b/mario/init.lua @@ -20,7 +20,7 @@ minetest.register_node("mario:placer",{ }, drawtype = "normal", paramtype = "light", - groups = {cracky = 3}, + groups = {cracky = 1}, on_rightclick = function(pos, node, player, itemstack, pointed_thing) mario.game_start(pos, player, { schematic = minetest.get_modpath("mario").."/schems/mario.mts", @@ -40,7 +40,7 @@ minetest.register_node("mario:placer2",{ }, drawtype = "normal", paramtype = "light", - groups = {cracky = 3}, + groups = {cracky = 1,not_in_creative_inventory=1}, on_rightclick = function(pos, node, player, itemstack, pointed_thing) local schem = minetest.get_modpath("mario").."/schems/mario.mts" minetest.place_schematic({x=pos.x-1,y=pos.y-1,z=pos.z-2},schem,0, "air", true) @@ -59,7 +59,7 @@ minetest.register_node("mario:exit",{ }, drawtype = "normal", paramtype = "light", - groups = {cracky = 3}, + groups = {cracky = 1,not_in_creative_inventory=1}, on_rightclick = function(pos, node, player, itemstack, pointed_thing) local game = mario.get_game_by_player(player:get_player_name()) mario.game_end(game.id) |