Add hatch retention, automatic breakthroughs and exploration
This commit is contained in:
@@ -71,7 +71,7 @@ class GrowthTests(unittest.TestCase):
|
||||
def engine(self, client):
|
||||
engine = Engine(self.catalog, client)
|
||||
engine.policy = Policy(manual_eggs=True, fill=False, buy=False, collect=False, protect_star=4, protect_quality=3,
|
||||
egg_rules={"1001010": asdict(EggRule(enabled=True, action="sell"))})
|
||||
egg_rules={"1001010": asdict(EggRule(enabled=True, action="sell", keep_count=0))})
|
||||
engine.auto = True
|
||||
return engine
|
||||
|
||||
@@ -194,7 +194,7 @@ class GrowthGuiTests(unittest.TestCase):
|
||||
client = GrowthClient(window.catalog, age=610, grade="S")
|
||||
client.session = Session("http://127.0.0.1/", "synthetic-test-token")
|
||||
window.engine = Engine(window.catalog, client)
|
||||
window.egg_rules = {"1001010": asdict(EggRule(enabled=True, action="sell"))}
|
||||
window.egg_rules = {"1001010": asdict(EggRule(enabled=True, action="sell", keep_count=0))}
|
||||
window.engine.policy = window.read_policy()
|
||||
window.engine.snapshot = client.snapshot()
|
||||
window.render(window.engine.snapshot, window.engine.plans())
|
||||
|
||||
Reference in New Issue
Block a user