Skip to content

Commit

Permalink
Merge pull request #919 from myk002/myk_flags
Browse files Browse the repository at this point in the history
[quickfort] update flags to new names
  • Loading branch information
myk002 authored Jan 3, 2024
2 parents e62f6ef + fa56269 commit e7b7c0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/quickfort/zone.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7b7c0f

Please sign in to comment.