1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-14 22:38:32 +01:00

added news area openfarming

added area openfarming, anyone can interact only with farming mod(group plant).
added  chatcommand area_openfarming "/area_openfarming <ID>".
added display in hud when area is open to farming.
This commit is contained in:
2015-03-02 19:19:42 +01:00
parent 4e2c557a62
commit 1cf4e252f9
4 changed files with 35 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ minetest.register_globalstep(function(dtime)
for id, area in pairs(areas:getAreasAtPos(pos)) do
table.insert(areaStrings, ("%s [%u] (%s%s)")
:format(area.name, id, area.owner,
area.open and ":open" or ""))
area.open and ":open" or area.openfarming and ":open to farming" or ""))
end
local areaString = "Areas:"
if #areaStrings > 0 then