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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user