Remove some unwanted items from the creative inventory
authorPerttu Ahola <celeron55@gmail.com>
Wed, 25 Jul 2012 21:08:35 +0000 (00:08 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Wed, 25 Jul 2012 21:08:47 +0000 (00:08 +0300)
mods/default/init.lua
mods/legacy/init.lua

index 71c5d762191637aefe644514700e1905f1fa5d54..a8f58c07e790f4bf4f138b029188ef70331bc232 100644 (file)
@@ -747,7 +747,7 @@ minetest.register_node("default:dirt_with_grass_footsteps", {
        description = "Dirt with Grass and Footsteps",
        tiles = {"default_grass_footsteps.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
        is_ground_content = true,
-       groups = {crumbly=3},
+       groups = {crumbly=3, not_in_creative_inventory=1},
        drop = 'default:dirt',
        sounds = default.node_sound_dirt_defaults({
                footstep = {name="default_grass_footstep", gain=0.4},
@@ -1321,7 +1321,7 @@ minetest.register_node("default:furnace_active", {
        paramtype2 = "facedir",
        light_source = 8,
        drop = "default:furnace",
-       groups = {cracky=2},
+       groups = {cracky=2, not_in_creative_inventory=1},
        legacy_facedir_simple = true,
        sounds = default.node_sound_stone_defaults(),
        on_construct = function(pos)
index 7f9088ce092078318f34ea7ea62d085c2c4af5d2..fa8f297fc486fe491b53a8ff550d293420fec844 100644 (file)
@@ -102,6 +102,7 @@ minetest.register_craftitem(":cooked_rat", {
 minetest.register_craftitem(":firefly", {
        description = "Firefly",
        inventory_image = "firefly.png",
+       groups = {not_in_creative_inventory=1},
        on_drop = function(item, dropper, pos)
                minetest.env:add_firefly(pos)
                item:take_item()