Add diplomacy inbox nag message.

This commit is contained in:
Coder12a 2018-10-18 00:20:05 -05:00
parent eb6907d405
commit 01e16d70e3

View File

@ -916,6 +916,9 @@ function(player)
local l = factions_config.maximum_parcelless_faction_time
minetest.chat_send_player(player:get_player_name(),"This faction will disband in "..l-now.." seconds, because it has no parcels.")
end
if faction:has_permission(player, "diplomacy") then
for _ in pairs(faction.request_inbox) do minetest.chat_send_player(player:get_player_name(),"You have diplomatic request in the inbox.") break end
end
end
end
)