From b8b21bad6bd08927576c3397db3b75e8fef822b2 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Wed, 10 Jun 2026 12:44:59 -0400 Subject: [PATCH] minor fixes to actually do something with agent availability --- solve.py | 6 +++--- templates/solver.html | 1 - web_solve.py | 2 ++ 3 files changed, 5 insertions(+), 4 deletions(-) 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))