Implement spiketapes
This commit is contained in:
parent
285eb966c6
commit
1c937e0571
49
init.lua
49
init.lua
@ -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},
|
||||
},
|
||||
|
||||
|
||||
})
|
||||
|
BIN
textures/tapes_piece_spiketape_black_cross.png
Normal file
BIN
textures/tapes_piece_spiketape_black_cross.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 633 B |
BIN
textures/tapes_piece_spiketape_black_curve.png
Normal file
BIN
textures/tapes_piece_spiketape_black_curve.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 631 B |
BIN
textures/tapes_piece_spiketape_black_t.png
Normal file
BIN
textures/tapes_piece_spiketape_black_t.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 633 B |
BIN
textures/tapes_piece_spiketape_orange_cross.png
Normal file
BIN
textures/tapes_piece_spiketape_orange_cross.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 527 B |
BIN
textures/tapes_piece_spiketape_orange_curve.png
Normal file
BIN
textures/tapes_piece_spiketape_orange_curve.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 528 B |
BIN
textures/tapes_piece_spiketape_orange_t.png
Normal file
BIN
textures/tapes_piece_spiketape_orange_t.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 455 B |
Loading…
x
Reference in New Issue
Block a user