Skip to content

Fix YCA reload carry handling#8

Open
bjfishman wants to merge 1 commit into
fernyrepos:mainfrom
bjfishman:agent/fix-yca-reload-carry
Open

Fix YCA reload carry handling#8
bjfishman wants to merge 1 commit into
fernyrepos:mainfrom
bjfishman:agent/fix-yca-reload-carry

Conversation

@bjfishman

@bjfishman bjfishman commented Jul 22, 2026

Copy link
Copy Markdown

Related to #7.

Changes

  • Keep ammo in the avatar carry tracker while Yayo's Combat Addon runs YCA_ReloadFromInventory or YCA_ReloadFromSurrounding.
  • Preserve Perspective Shift's existing drafted-item drop behavior for every other job.

Why

Perspective Shift drops any item a drafted avatar carries. YCA temporarily moves reload ammo into that carry tracker before its reload toil consumes it, so the ammo is dropped and the reload job fails.

Player impact

Character-mode avatars can reload YCA weapons from inventory or nearby ammo while drafted.

@bjfishman
bjfishman marked this pull request as ready for review July 22, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant