Implement item cachine for 26.3
This commit is contained in:
@@ -395,6 +395,8 @@ def start_automation(global_state, initialize=True):
|
||||
g.players = g.get('players') or {}
|
||||
g.breaking = None
|
||||
g.break_time = 0.0
|
||||
g.item_lock = False
|
||||
g.minimum_cache_slots = g.get('minimum_cache_slots', 27)
|
||||
g.draining = False
|
||||
g.drain_slots = []
|
||||
g.drain_waiting = None
|
||||
@@ -404,6 +406,7 @@ def start_automation(global_state, initialize=True):
|
||||
g.correction_count = g.get('correction_count', 0)
|
||||
g.yaw = float(g.get('yaw', 0.0) or 0.0)
|
||||
g.pitch = float(g.get('pitch', 0.0) or 0.0)
|
||||
g.holding_slot = g.get('holding_slot', 0)
|
||||
g.chunks.loading = False
|
||||
# Readiness below is based on nearby chunks, not unrelated view holes.
|
||||
g.movement_paused = False
|
||||
@@ -423,6 +426,9 @@ def start_automation(global_state, initialize=True):
|
||||
g.setdefault('drain_dropped', 0)
|
||||
g.setdefault('drain_total', 0)
|
||||
g.setdefault('drain_error', None)
|
||||
g.setdefault('item_lock', False)
|
||||
g.setdefault('minimum_cache_slots', 27)
|
||||
g.setdefault('holding_slot', 0)
|
||||
|
||||
old_stop = g.get('movement_stop_event')
|
||||
old_worker = g.get('movement_thread')
|
||||
|
||||
Reference in New Issue
Block a user