Add teleporter node (non-interactive for now)

master
Wuzzy 2022-02-03 17:44:37 +01:00
parent 2929b97cb7
commit bcc9bcdd33
12 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
local S = minetest.get_translator("lzr_teleporter")
minetest.register_node("lzr_teleporter:teleporter", {
description = S("Teleporter (on)"),
tiles = {
"lzr_teleporter_top.png",
"lzr_teleporter_bottom.png",
"lzr_teleporter_side.png",
"lzr_teleporter_side.png",
"lzr_teleporter_front.png",
"lzr_teleporter_rear.png",
},
groups = { breakable = 1 },
sounds = lzr_sounds.node_sound_stone_defaults(),
})
minetest.register_node("lzr_teleporter:teleporter_off", {
description = S("Teleporter (off)"),
tiles = {
"lzr_teleporter_off_top.png",
"lzr_teleporter_off_bottom.png",
"lzr_teleporter_off_side.png",
"lzr_teleporter_off_side.png",
"lzr_teleporter_off_front.png",
"lzr_teleporter_off_rear.png",
},
groups = { breakable = 1 },
sounds = lzr_sounds.node_sound_stone_defaults(),
})

View File

@ -0,0 +1,2 @@
name = lzr_teleporter
depends = lzr_gamestate

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 644 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B