Make team chests the color of the team
This commit is contained in:
parent
3c9581bcf0
commit
2a07b2d18f
12 changed files with 44 additions and 39 deletions
|
@ -39,11 +39,9 @@ minetest.register_node("tsm_chests:chest", {
|
|||
sounds = default.node_sound_wood_defaults(),
|
||||
allow_metadata_inventory_put = function(pos, listname, index, stack, player)
|
||||
if player then
|
||||
minetest.chat_send_player(player:get_player_name(), "You're not allowed to put things in chests!")
|
||||
minetest.chat_send_player(player:get_player_name(),
|
||||
"You're not allowed to put things in treasure chests!")
|
||||
return 0
|
||||
else
|
||||
--minetest.chat_send_all("Error! Non player putting things in chests")
|
||||
return -1
|
||||
end
|
||||
end,
|
||||
on_construct = function(pos)
|
||||
|
|
BIN
mods/tsm_chests/textures/default_chest_front.png
Normal file
BIN
mods/tsm_chests/textures/default_chest_front.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 423 B |
BIN
mods/tsm_chests/textures/default_chest_side.png
Normal file
BIN
mods/tsm_chests/textures/default_chest_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 375 B |
BIN
mods/tsm_chests/textures/default_chest_top.png
Normal file
BIN
mods/tsm_chests/textures/default_chest_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 422 B |
Loading…
Add table
Add a link
Reference in a new issue