From fa56269bd8fa4016b3ce159e781ab758ab5a9c65 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Wed, 3 Jan 2024 13:38:53 -0800 Subject: [PATCH] update flags to new names --- internal/quickfort/zone.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/quickfort/zone.lua b/internal/quickfort/zone.lua index 2118260d9b..4ca987ab11 100644 --- a/internal/quickfort/zone.lua +++ b/internal/quickfort/zone.lua @@ -156,10 +156,10 @@ local valid_locations = { contents={desired_instruments=5, need_more={instruments=true}}}}, } local valid_restrictions = { - visitors={AllowVisitors=true, AllowResidents=true, OnlyMembers=false}, - residents={AllowVisitors=false, AllowResidents=true, OnlyMembers=false}, - citizens={AllowVisitors=false, AllowResidents=false, OnlyMembers=false}, - members={AllowVisitors=false, AllowResidents=false, OnlyMembers=true}, + visitors={VISITORS_ALLOWED=true, NON_CITIZENS_ALLOWED=true, MEMBERS_ONLY=false}, + residents={VISITORS_ALLOWED=false, NON_CITIZENS_ALLOWED=true, MEMBERS_ONLY=false}, + citizens={VISITORS_ALLOWED=false, NON_CITIZENS_ALLOWED=false, MEMBERS_ONLY=false}, + members={VISITORS_ALLOWED=false, NON_CITIZENS_ALLOWED=false, MEMBERS_ONLY=true}, } for _, v in pairs(valid_locations) do ensure_key(v, 'assign').flags = valid_restrictions.visitors