run
run: (Loadout) -> (RunStatus, string?)Advance the trip one step: open the bank, answer the prompt an equip opens, deposit what the goal does not want, withdraw and equip what it does. Stop calling it once it answers "done": with the bank shut, a further call opens it again.
local status, reason = trip:run()- Returns
"done"when the goal is worn and carried with the bank open."running"when it acted or is waiting."blocked"with the reason when no bank is in range or the goal cannot be met from the bank, the inventory and what is worn: that holds until the goal is met orreset(), so fetch what it lacks and reset.