Implement spiketapes

master
migdyn 2019-01-06 06:24:10 +01:00
parent 285eb966c6
commit 1c937e0571
7 changed files with 49 additions and 0 deletions

View File

@ -2,3 +2,52 @@ minetest.register_tool("tapes:ducttape_black", {
description = "Black Duct Tape",
inventory_image = "tapes_ducttape_black.png"
})
--Spiketapes
minetest.register_node("tapes:spiketape_orange", {
description = "Orange Spiketape",
drawtype = "raillike",
paramtype = "light",
is_ground_content = false,
sunlight_propagates = true,
walkable = false,
tiles = {
"tapes_piece_spiketape_orange.png",
"tapes_piece_spiketape_orange_curve.png",
"tapes_piece_spiketape_orange_t.png",
"tapes_piece_spiketape_orange_cross.png"
},
inventory_image = "tapes_spiketape_orange.png",
wield_image = "tapes_spiketape_orange.png",
groups = {snappy = 3, oddly_breakable_by_hand = 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},
},
})
minetest.register_node("tapes:spiketape_black", {
description = "Black Spiketape",
drawtype = "raillike",
paramtype = "light",
is_ground_content = false,
sunlight_propagates = true,
walkable = false,
tiles = {
"tapes_piece_spiketape_black.png",
"tapes_piece_spiketape_black_curve.png",
"tapes_piece_spiketape_black_t.png",
"tapes_piece_spiketape_black_cross.png"
},
inventory_image = "tapes_spiketape_black.png",
wield_image = "tapes_spiketape_black.png",
groups = {snappy = 3, oddly_breakable_by_hand = 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},
},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B