SurgeryExtract

Extract Pal passive skills into consumable implants at the Operating Table. Supports 1920+ passives with crash-free native removal!
# ๐Ÿงฌ Surgery Extract - Universal Passive Skill Extraction & Implants

> **Extract ANY passive skill from your Pals at the Operating Table into reusable consumable implants! 100% Safe, Native Engine Driven, and Crash-Free.**

---

### ๐ŸŒŸ Project Summary (For CurseForge Short Description)
*Extract any passive skill from your Pals directly at the Operating Table into usable consumable implant items. Supports 1920+ vanilla & modded passives with safe native engine removal and zero crashes!*

---

## โšก What is Surgery Extract?

Have you ever caught a Pal with an incredible god-roll passive skill like **Legend**, **Swift**, **Musclehead**, or **Runner**, but on the wrong Pal? Or do you have an unwanted negative trait like **Coward** or **Slacker** ruining an otherwise perfect Pal?

**Surgery Extract** is the ultimate genetic engineering utility mod for Palworld! It integrates seamlessly with the **Operating Table**, allowing you to surgically extract any passive skill from a Pal and convert it into a consumable **Passive Implant Item** deposited directly into your bag.

You can then take that implant and inject it into ANY other Pal through the Operating Table menu!

---

## โœจ Key Features

* ๐Ÿงฌ **Universal Passive Extraction:** Extract and store over **1,920+ passive skills** — including all vanilla traits, Alpha traits, raid boss passives, and custom modded passives (Traitstorm, Passives Expanded, etc.).
* ๐Ÿ’‰ **Direct Operating Table Integration:** Simply click any passive slot on the Operating Table UI and press the hotkey. No complex console commands needed.
* ๐Ÿ›ก๏ธ **100% Crash-Proof Native Engine Removal:** Built using Palworld's native `UPalIndividualCharacterParameter:RemovePassiveSkill` C++ engine API. It cleanly recalculates all Pal stat buffs and updates the game state without memory corruption or UI errors.
* ๐ŸŽ’ **Instant Inventory Delivery:** Extracted passives are instantly packaged into `PalPassiveSkillChange_Consumable` implant items in your inventory.
* ๐Ÿ—‘๏ธ **Force Remove (Negative Trait Eraser):** Want to simply delete a negative trait like Slacker or Brittle without keeping an item? Use the Force Remove hotkey!
* ๐ŸŒ **Palworld v1.0.5+ & Multiplayer Compatible:** Fully optimized for the latest Palworld updates and UE4SS architectures.

---

## ๐ŸŽฎ Controls & Hotkeys

While interacting with the **Operating Table** and selecting a passive slot:

| Hotkey | Action | Description |
| :--- | :--- | :--- |
| **`Shift + Alt + P`** *(or `L`)* | **Extract to Bag** | Extracts the passive from the Pal, removes it cleanly, and delivers the **Implant Item** into your inventory. |
| **`Shift + Ctrl + P`** *(or `L`)* | **Force Remove** | Erases the passive from the Pal cleanly without generating an item (perfect for clearing negative traits). |
| **`Ctrl + Alt + P`** | **Backup Remove** | Secondary safety hotkey for quick force-clearing. |

---

## ๐Ÿ“‹ How to Use (Step-by-Step)

1. Build and interact with an **Operating Table** in your base.
2. Select the Pal you want to operate on.
3. Click on the **Passive Skill slot** you want to remove.
4. Press **`Shift + Alt + P`**.
5. You will see the passive slot clear, and the corresponding **Implant** will be placed directly in your bag!
6. Open your bag or the Surgery Table to apply the implant to any other Pal!

---

## ๐Ÿ“ฆ Requirements

* **[UE4SS](https://github.com/UE4SS-RE/RE-UE4SS)** (v3.0.0 or newer)
* **[PalSchema](https://curseforge.com)** (Recommended for dynamic item definitions and implant registration)

---

## ๐Ÿš€ Installation

1. Make sure **UE4SS** is installed in:
   `Palworld\Pal\Binaries\Win64\ue4ss\`
2. Download and extract the **SurgeryExtract** mod archive.
3. Place the `SurgeryExtract` folder into your UE4SS mods directory:
   `Palworld\Pal\Binaries\Win64\ue4ss\Mods\SurgeryExtract\`
4. Ensure `enabled.txt` is present inside the `SurgeryExtract` folder (or enable `SurgeryExtract : 1` in `mods.txt`).
5. Launch Palworld and enjoy!

---

## ๐Ÿ”„ Changelog

### v10.1 (Latest)
* **Native Engine Removal:** Completely overhauled passive removal logic to use Palworld's native C++ `UPalIndividualCharacterParameter:RemovePassiveSkill` engine function.
* **Crash-Free UI Handling:** Eliminated the null DataTable dereference crash when clearing slots.
* **Expanded Database:** Full support for 1920+ vanilla and modded passives.
* **Automatic Fail-Safe Catching:** All operations wrapped in protected calls (`pcall`) ensuring continuous gameplay stability.

---

## ๐Ÿ’ฌ FAQ & Troubleshooting

**Q: Where can I check the mod logs?**  
A: Logs are saved to `%LOCALAPPDATA%\Pal\Saved\SurgeryExtract_log.txt`.

**Q: Do extracted implants stay in my bag after restarting?**  
A: Yes! Implants are real inventory items registered in your save file. Always exit cleanly or wait for the standard 30s autosave after extracting.

**Q: Can I use this on Dedicated Servers?**  
A: Currently designed for Single-player and Co-op host games.

SurgeryExtract Team

profile avatar
  • 33
    Followers
  • 3
    Projects
  • 42.6K
    Downloads

More from Mcpe_Addon_Mods