Version MFF.

This commit is contained in:
sys4-fr 2018-09-06 22:11:32 +02:00
parent 962f2a9ea8
commit 381ac0409d
6 changed files with 8 additions and 8 deletions

0
README.md Normal file → Executable file
View File

0
depends.txt Normal file → Executable file
View File

6
init.lua Normal file → Executable file
View File

@ -22,12 +22,12 @@ if( minetest.get_modpath( 'pipeworks' )) then
tubedevice = 1, tubedevice_receiver = 1 };
chesttools.chest_add.tube = {
insert_object = function(pos, node, stack, direction)
local meta = minetest.env:get_meta(pos)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
return inv:add_item("main", stack)
end,
can_insert = function(pos, node, stack, direction)
local meta = minetest.env:get_meta(pos)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
return inv:room_for_item("main", stack)
end,
@ -454,7 +454,7 @@ minetest.register_node( 'chesttools:shared_chest', {
local name = user:get_player_name();
local pos = minetest.get_pointed_thing_position( pointed_thing, mode );
local node = minetest.env:get_node_or_nil( pos );
local node = minetest.get_node_or_nil( pos );
if( node == nil or not( node.name )) then
return nil;

0
textures/chesttools_blue_chest_lock.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 742 B

After

Width:  |  Height:  |  Size: 742 B

0
textures/chesttools_blue_chest_side.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 642 B

After

Width:  |  Height:  |  Size: 642 B

BIN
textures/chesttools_blue_chest_top.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 643 B

After

Width:  |  Height:  |  Size: 565 B