1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-12-29 12:10:36 +01:00

Don't show admin armor in the creative inventory

This commit is contained in:
stujones11 2015-02-19 22:11:03 +00:00
parent d95f494a94
commit c03cefbc87

View File

@ -6,28 +6,28 @@ minetest.register_alias("adminlegginss","3d_armor:leggings_admin")
minetest.register_tool("3d_armor:helmet_admin", { minetest.register_tool("3d_armor:helmet_admin", {
description = "Admin Helmet", description = "Admin Helmet",
inventory_image = "3d_armor_inv_helmet_admin.png", inventory_image = "3d_armor_inv_helmet_admin.png",
groups = {armor_head=1000, armor_heal=1000, armor_use=0, not_in_creative=0}, groups = {armor_head=1000, armor_heal=1000, armor_use=0, not_in_creative_inventory=1},
wear = 0, wear = 0,
}) })
minetest.register_tool("3d_armor:chestplate_admin", { minetest.register_tool("3d_armor:chestplate_admin", {
description = "Admin Chestplate", description = "Admin Chestplate",
inventory_image = "3d_armor_inv_chestplate_admin.png", inventory_image = "3d_armor_inv_chestplate_admin.png",
groups = {armor_torso=1000, armor_heal=1000, armor_use=0, not_in_creative=0}, groups = {armor_torso=1000, armor_heal=1000, armor_use=0, not_in_creative_inventory=1},
wear = 0, wear = 0,
}) })
minetest.register_tool("3d_armor:leggings_admin", { minetest.register_tool("3d_armor:leggings_admin", {
description = "Admin Leggings", description = "Admin Leggings",
inventory_image = "3d_armor_inv_leggings_admin.png", inventory_image = "3d_armor_inv_leggings_admin.png",
groups = {armor_legs=1000, armor_heal=1000, armor_use=0, not_in_creative=0}, groups = {armor_legs=1000, armor_heal=1000, armor_use=0, not_in_creative_inventory=1},
wear = 0, wear = 0,
}) })
minetest.register_tool("3d_armor:boots_admin", { minetest.register_tool("3d_armor:boots_admin", {
description = "Admin Boots", description = "Admin Boots",
inventory_image = "3d_armor_inv_boots_admin.png", inventory_image = "3d_armor_inv_boots_admin.png",
groups = {armor_feet=1000, armor_heal=1000, armor_use=0, not_in_creative=0}, groups = {armor_feet=1000, armor_heal=1000, armor_use=0, not_in_creative_inventory=1},
wear = 0, wear = 0,
}) })