diff options
author | Brandon <brandon@bremaweb.com> | 2013-07-01 21:24:25 -0500 |
---|---|---|
committer | Brandon <brandon@bremaweb.com> | 2013-07-01 21:24:25 -0500 |
commit | 5f2172a2c9ec7de6ef8824f53b3a0f482ab4699f (patch) | |
tree | 99939636c2a0e3cf6f61330d67777e6c9edc9337 /landsale.lua | |
parent | 9a6029ad71b00f96ef825548f49ca640825968a6 (diff) |
add sharearea *all so you can retain ownership but allow everybody to edit, chatplus message went land sells
Diffstat (limited to 'landsale.lua')
-rw-r--r-- | landsale.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/landsale.lua b/landsale.lua index 245f5dd..1867b98 100644 --- a/landsale.lua +++ b/landsale.lua @@ -41,6 +41,11 @@ minetest.register_node("landrush:sale_block",{ landrush.save_claims() minetest.chat_send_player(claims[chunk].owner, "You now own this claim.") minetest.remove_node(pos) + + if ( chatplus ) then + table.insert(chatplus.players[owner].messages,"mail from <LandRush>: "..name.." has bought your claim at "..minetest.pos_to_string(pos).." for "..tostring(price)) + end + else minetest.chat_send_player(name,"Money transfer failed: "..transfer) end |