docs/en-us/manual/introduction/depot-maintain.md
::: info UI-Only Feature This page covers UI-layer features. See Getting Started for details. :::
Depot Maintain is a task that automatically farms materials to a target inventory level. It calculates the shortfall based on the cached depot data from Depot Recognition and farms the specified stage until the target quantity is reached.
::: tip Depot Data Sync Depot data is cached and may differ from your actual stock after manual farming, crafting, or material use. Sync it with Update Doctor Data or Depot Recognition. :::
Each plan contains the following:
| Setting | Description |
|---|---|
| Stage Selection | Select the stage to farm. Supports regular stages, chip stages, resource stages, etc. "Current/Last" is not supported. |
| Specified Drop | Select the target drop material. Each stage may have multiple drops; choose the one you actually need. |
| Target Inventory | Set the target quantity for the material. The plan completes automatically when reached. |
| Use Sanity Potion | Check to set the number of sanity potions to use. |
| Use Originium | Check to set the number of Originium to use. |
Items in the plan list can be dragged to reorder. Plans are executed in order during the task.
::: tip Skipping when sanity is insufficient
Built-in presets for quick plan population:
When checked, a depot recognition is performed at task start to get the latest inventory. Uncheck to use the last cached data.
Recommended to keep checked unless you are certain the cache is accurate or want to save recognition time.
When unchecked, farming is done at single (1×) proxy. When checked, the maximum proxy multiplier available for current sanity is used, which may exceed the target inventory in a single run.
Controls whether the corresponding potion/Originium rows are shown in each plan. Disabling uniformly prevents all plans from using potions or Originium.
When checked, all plans will prioritize using sanity potions expiring within 48 hours (fixed 2-day threshold). Plans without a potion budget will also try to use expiring potions. Such plans are only skipped for insufficient sanity under the following condition: some Depot Maintain plan or Target Inventory mode Fight task in this queue run has ended normally without reaching its target inventory, meaning potions within the window were tried and used up yet the fight still could not continue. Count-limited Fight tasks can end for other reasons and do not constitute this proof.
When checked, the entire Depot Maintain task is skipped if an event is detected as active.
When checked, the entire Depot Maintain task is skipped if resource collection stages are in limited-time full-day open period.