forked from minetest-mods/global_exchange
New textures and new nodebox for Exchange Terminal node
This commit is contained in:
parent
84c1e6c05f
commit
141ca3f5ea
@ -538,12 +538,33 @@ end)
|
|||||||
|
|
||||||
|
|
||||||
minetest.register_node("global_exchange:exchange", {
|
minetest.register_node("global_exchange:exchange", {
|
||||||
description = "Exchange",
|
description = "Exchange Terminal",
|
||||||
tiles = {"global_exchange_box.png",
|
drawtype = "nodebox",
|
||||||
"global_exchange_box.png",
|
tiles = {
|
||||||
"global_exchange_box.png^global_exchange_exchange_side.png",
|
"global_exchange_terminal_top.png",
|
||||||
|
"global_exchange_terminal_bottom.png",
|
||||||
|
"global_exchange_terminal_right.png",
|
||||||
|
"global_exchange_terminal_right.png^[transform4",
|
||||||
|
"global_exchange_terminal_back.png",
|
||||||
|
"global_exchange_terminal_front.png",
|
||||||
},
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
groups = {cracky=2},
|
groups = {cracky=2},
|
||||||
|
stack_max = 1,
|
||||||
|
light_source = 3,
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{-8/16, -4/16, 3/16, 0.5, 0.5, 5/16},--screens
|
||||||
|
{-1/16, -7/16, 5/16, 1/16, 5/16, 7/16},--screen leg
|
||||||
|
{-3/16, -8/16, 4/16, 3/16, -7/16, 8/16},--leg platform
|
||||||
|
{-7/16, -8/16, -8/16, 2/16, -6/16, -3/16},--keyboard
|
||||||
|
{3/16, -8/16, -3/16, 7/16, -7/16, 3/16},--phone low
|
||||||
|
{4/16, -7/16, -1/16, 6/16, -6/16, 3/16},--phone hi
|
||||||
|
{2/16, -7/16, 0, 8/16, -5/16, 2/16},--phone speaker
|
||||||
|
}
|
||||||
|
},
|
||||||
on_rightclick = function(_, _, clicker)
|
on_rightclick = function(_, _, clicker)
|
||||||
local p_name = clicker:get_player_name()
|
local p_name = clicker:get_player_name()
|
||||||
local state = main_state[p_name]
|
local state = main_state[p_name]
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 103 B |
BIN
textures/global_exchange_terminal_back.png
Normal file
BIN
textures/global_exchange_terminal_back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 232 B |
BIN
textures/global_exchange_terminal_bottom.png
Normal file
BIN
textures/global_exchange_terminal_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 223 B |
BIN
textures/global_exchange_terminal_front.png
Normal file
BIN
textures/global_exchange_terminal_front.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 275 B |
BIN
textures/global_exchange_terminal_right.png
Normal file
BIN
textures/global_exchange_terminal_right.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 233 B |
BIN
textures/global_exchange_terminal_top.png
Normal file
BIN
textures/global_exchange_terminal_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 259 B |
Loading…
Reference in New Issue
Block a user