commit
374c5c67dd
@ -57,7 +57,7 @@ function sign.on_punch(pos, node, puncher)
|
|||||||
elseif not chestinv:contains_item("main", shop.output) then
|
elseif not chestinv:contains_item("main", shop.output) then
|
||||||
minetest.chat_send_player(puncher:get_player_name(), "ERROR: Chest is out of inventory.")
|
minetest.chat_send_player(puncher:get_player_name(), "ERROR: Chest is out of inventory.")
|
||||||
elseif not playerinv:room_for_item("main", shop.output) then
|
elseif not playerinv:room_for_item("main", shop.output) then
|
||||||
minetest.chat_send_player(puncher:get_player_name(), "ERROR: Your inventory if full.")
|
minetest.chat_send_player(puncher:get_player_name(), "ERROR: Your inventory is full.")
|
||||||
elseif not playerinv:contains_item("main", shop.input) then
|
elseif not playerinv:contains_item("main", shop.input) then
|
||||||
minetest.chat_send_player(puncher:get_player_name(), "ERROR: Your inventory does not contain the required items.")
|
minetest.chat_send_player(puncher:get_player_name(), "ERROR: Your inventory does not contain the required items.")
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user