KeyItemDrop-1.0.1
What's new
- Avoid reading `TypeA` and `TypeB` from static item data. These are enum-backed fields and are not used to authorize or issue a drop; avoiding them works around the enum-property crash reported after Palworld engine changes in UE4SS issue [#802](https://github.com/UE4SS-RE/RE-UE4SS/issues/802).
- Route mouse and controller drops through the same lifecycle and avoid duplicate server requests; support dropping one item, half a stack, or the full stack with F/G/H.
- Reload protected item IDs from `allowed_items.json` before drops and retain the last valid list if the JSON is malformed. The in-game Allowlist editor is not included; edit the JSON externally.
- Keep F9 as an Options-only menu with key capture, Apply/Cancel, configurable drop bindings, and a debug-logging toggle.
- Limit configurable drop hotkeys to the keyboard; UE4SS's Lua `RegisterKeyBind` API does not provide arbitrary controller-button capture.
- Leave the vanilla warning under Palworld's native focus and confirmation handling.
- Bundle the reusable UE4SS, UMG, controller, game-thread, style, and input-lock helpers in `shared/PalworldUI.lua`.
- Run menu callbacks and delayed warning handling on the game thread, and avoid retrying unavailable inventory hooks during loading.
- Remove the unused dynamic-key-item helper code; moving items to the Key Items tab with another mod does not itself make them droppable.
- Core drop behavior is verified on Palworld 1.0.4/1.0.5 with Okaetsu's Palworld-specific UE4SS build at commit `2281fa31`; native warning focus should be confirmed in-game.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects