As I get into some of the next phase of planets I'm working on, I'll be replacing various planets from the star map. To make things a bit easier for admins/players I'd like to remove starting at 'dead' planets from the any planet start list.
i.e.
---@param planet string
function APS.remove_choice(planet)
if APS.fixed_choice then return end
for k,v in pairs(setting.allowed_values) do
if v == planet
table.remove(setting.allowed_values, k)
end
end
end