diff --git a/solve.py b/solve.py index 94cbd54..58adf95 100644 --- a/solve.py +++ b/solve.py @@ -130,10 +130,10 @@ AGENT_AVAILABILITY = { "baron": [], "prodigy": [], "provisioner": [], - "metallurgist": [2, 3, 4, 5], - "builder": [2, 3, 4], + "metallurgist": [], + "builder": [], "courier": [], - "planner": [1, 2, 3, 4, 5], + "planner": [], "fence": [], "foreman": [], "industrialist": [], diff --git a/templates/solver.html b/templates/solver.html index 7feb2b7..dad7ffe 100644 --- a/templates/solver.html +++ b/templates/solver.html @@ -193,7 +193,6 @@ } .output-section { - display: none; margin-top: 30px; padding: 20px; background: #f5f5f5; diff --git a/web_solve.py b/web_solve.py index 40eff35..7af230e 100644 --- a/web_solve.py +++ b/web_solve.py @@ -109,6 +109,8 @@ def solve_handler(): else: agent_availability[agent_name] = [] + solve.AGENT_AVAILABILITY = agent_availability + # Parse time limit time_limit = float(data.get("time_limit", 60.0))