Change spiketape piece descs and add them to not_in_creative_inventory group

master
migdyn 2019-01-07 15:43:25 +01:00
parent 65d42b9ec1
commit 2ff38144e1
1 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ minetest.register_tool("tapes:surgicaltape", {
--Spiketapes
minetest.register_node("tapes:piece_spiketape_orange", {
description = "Orange Spiketape",
description = "Orange Spiketape Piece",
drawtype = "raillike",
paramtype = "light",
is_ground_content = false,
@ -29,7 +29,7 @@ minetest.register_node("tapes:piece_spiketape_orange", {
},
inventory_image = "tapes_piece_spiketape_orange.png",
wield_image = "tapes_piece_spiketape_orange.png",
groups = {snappy = 3, oddly_breakable_by_hand = 1, connect_to_raillike = minetest.raillike_group("spiketape_orange")},
groups = {snappy = 3, oddly_breakable_by_hand = 1, non_in_creative_inventory = 1, connect_to_raillike = minetest.raillike_group("spiketape_orange")},
selection_box = {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
@ -39,7 +39,7 @@ minetest.register_node("tapes:piece_spiketape_orange", {
})
minetest.register_node("tapes:piece_spiketape_black", {
description = "Black Spiketape",
description = "Black Spiketape Piece",
drawtype = "raillike",
paramtype = "light",
is_ground_content = false,
@ -53,7 +53,7 @@ minetest.register_node("tapes:piece_spiketape_black", {
},
inventory_image = "tapes_piece_spiketape_black.png",
wield_image = "tapes_piece_spiketape_black.png",
groups = {snappy = 3, oddly_breakable_by_hand = 1, connect_to_raillike = minetest.raillike_group("spiketape_black")},
groups = {snappy = 3, oddly_breakable_by_hand = 1, non_in_creative_inventory = 1, connect_to_raillike = minetest.raillike_group("spiketape_black")},
selection_box = {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},