auto_unequip_and_reequip_for_carry_drop_throw#511
Open
OvercastInteractive wants to merge 1 commit intomainfrom
Open
auto_unequip_and_reequip_for_carry_drop_throw#511OvercastInteractive wants to merge 1 commit intomainfrom
OvercastInteractive wants to merge 1 commit intomainfrom
Conversation
Collaborator
OvercastInteractive
commented
Jan 12, 2026
- Automatically unequips the current wieldable when attempting to carry an object
- When leaving a carried object (drop, throw or leave) reequips the current wieldable
- Creates a more seamless & effortless transition between wielding and carrying. Similar in functionality & behavior to Half-Life 2.
- Allows the player to seamlessly carry objects while equipping wieldables by unequipping the current wieldable automatically when attempting to carry - Restores the last equipped wieldable when the carried object leaves the carried state (drop, thrown, left)
Owner
|
Hey, thanks for this - actually had implementing somethign like this on my to-do list so I'm very happy to see this. |
Collaborator
Author
|
Alright, I set up my codeberg account and will try to work on this branch soon for 1.1.6-rc. I discovered a bug where spamming carry and drop/throw input can allow the player to carry an object while wielding, which likely has something to do with animation playback for unequip or equip and some of the await timeout calls we use in wieldable handling functions in PIC, so I'll aim to fix those before publishing the PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.