# Immortal Palm: Cultivation Simulator - Automation & Utility Console (v1.2.0) Features List
Discord:https://tsetingnil.dpdns.org/discord
This document lists and details all core features, automation modules, and configuration settings in the `介面.lua` script.
---
## 1. Main (Core Automation)
### Auto Farm
* **Auto Loop Launch**: Automatically steps onto the `LaunchStrip` and fires repeatedly.
* **Power Lock (Hook)**: Hooks `ThrowRelease` to lock the exact target launch power.
* **Auto Release**: Automatically releases the blast when charge reaches the target duration.
* **Target Power**: Select between `0`, `5`, `10`, `15`, `17`, `20`, or `Random`.
* **Skip Wave Flight**: Disables `Combat` flight cutscene listeners and immediately restores the camera.
* **Skip Treasure Reveal**: Automatically enables `PassSkipReveal` to skip treasure reveal animations.
* **Auto Merge**: Automatically fires `MergeAll` to merge treasures.
### Natal Weapon
* **Auto Refine**: Automatically refines your natal weapon.
* **Auto Upgrade Damage**: Automatically upgrades natal weapon damage.
* **Auto Upgrade Speed**: Automatically upgrades natal weapon speed.
### Cultivation
* **Auto Qi Boost**: Automatically collects x2 Qi bubbles.
* **Auto Equip Best Treasures**: One-click button that fires `AutoArrange` to equip optimal treasures.
* **Auto Daily Fortune**: Automatically draws the daily free fortune.
* **Auto Tribulation**: Automatically triggers breakthrough when success rate reaches 100% or Huashen is ready.
* **Auto Go To Train**: Automatically returns home and navigates to the lotus altar for cultivation.
* **Go To Train Now**: Manually triggers returning home and navigating to the lotus altar immediately.
---
## 2. Battle (Combat)
### Fallen Demon Valley
* **Auto Trial**: Automatically enters Fallen Demon Valley and continues on clear (automatically leaves on failure or when toggled off; **not saved to local config** to prevent auto-entering unwinnable floors on restart).
* **Auto Attack**: Automatically multi-target attacks valley mobs based on attack speed.
* **Trial Floor**: Input a specific target floor (leave empty to automatically challenge the highest unlocked floor).
* **Auto Next Floor**: When enabled, advances to the next floor on clear; when disabled, repeats the current floor.
* **Leave Trial**: One-click button to fire `TrialLeave`.
### Heart Demon
* **Enter Heart Demon**: One-click button to enter Heart Demon (`DemonEnter`).
* **Auto Hit Heart Demon**: Automatically sends `DemonHit` attacks.
* **Leave Heart Demon**: One-click button to leave Heart Demon (`DemonLeave`).
### World Boss
* **Auto World Boss**: Automatically leaves training and attacks the World Boss when it spawns, switching to max power to break shields.
* **Auto Claim Boss Relic**: Automatically claims the World Boss relic reward when the result popup appears.
* **Claim Boss Relic Now**: Manually triggers claiming the World Boss relic reward.
---
## 3. Pets (Eggs & Pets)
### Eggs & Pets
* **Auto Hatch Eggs**: Automatically places eggs from your inventory into empty nest slots.
* **Auto Claim Hatched**: Automatically claims hatched pets once ready.
* **Auto Equip Best Pet**: Automatically equips the strongest owned pet.
* **Quick Action Buttons**: Includes manual buttons for **Hatch All Now**, **Claim All Now**, and **Equip Best Pet**.
* **Pet Fuse Count**: Choose between `2`, `3`, `4`, or `5` pets per fuse (`5` guarantees 100% success).
* **Auto Fuse Pets**: Automatically executes `PetFuse` with the chosen count for same-tier pets.
* **Fuse Pets Once**: Manually executes a single pet fuse.
### Egg Shop
* **Buy Count**: Select between `1` or `10` draws.
* **Auto Buy Pet Eggs**: Automatically purchases pet eggs via `PetCoinGacha` (supports 1 / 10 draws).
* **Buy Pet Egg Once**: Manually purchases pet eggs once.
* **Skip Gacha Animation**: Disables `PetGacha` animation listeners to skip the egg-opening cutscene.
### Gacha Console
* **Gacha Log**: Live console displaying pet gacha, hatching, and fusing logs (retains up to 300 lines).
* **Clear Log**: Clears the console log output.
---
## 4. Shop (Upgrades)
### Techniques
* **Auto Buy Techniques**: Automatically buys the next available technique tier.
* **Auto Equip Best Technique**: Automatically equips the highest owned technique.
### Lotus Altar
* **Auto Buy Lotus Altar**: Automatically buys the next Lotus Altar cultivation tier.
---
## 5. Settings
* **UI & Theme**: Built with `SenkoUI` (default `Ganyu` theme), toggleable via `LeftAlt`, with a built-in Theme tab.
* **Interface Language (i18n)**: Switch between **Traditional Chinese (ZH-TW)** and **English (EN)**, with a **Reload Script** button to apply changes immediately.
* **Auto-detect Language**: Automatically detects language preference at startup by reading `Tsetingnil_script/keysystem.json`.
* **Configuration Management**:
* **Auto Save Config**: Automatically saves changes to `Tsetingnil_script/Immortal_Palm_Cultivation_Simulator/config.json`.
* **Save Config**: Manually save current settings to disk.
* **Load Config**: Manually reload saved settings from disk.
* **Reset Default Config**: Restore all settings to their default values.
* **Anti-Disconnect & Auto Rejoin**:
* **Auto Rejoin (Network Check)**: Monitors `ErrorPrompt`, verifies external network connectivity, and automatically rejoins with backoff.
* **Test External Network**: Manually tests external network connectivity.
* **Rejoin Server Now**: Manually triggers an immediate server rejoin.
* **Unload Script**: Safely stops all loops, restores hooks and connections, and destroys the GUI to free memory.