Skip to content

Conversation

@AlexanderTheGr8-gr
Copy link

@AlexanderTheGr8-gr AlexanderTheGr8-gr commented Aug 29, 2025

Bug behavior:

  • If player team bug is full
  • If money is found
  • It's ignored

Expected behavior:

  • Even if player team bug is full
  • If money is found
  • Pick it up...

It all stems from the starting point of AI plans, this function public override GameAction Think,
where this is run:

if (controlledChar.MemberTeam is ExplorerTeam)
{
    ExplorerTeam explorerTeam = (ExplorerTeam)controlledChar.MemberTeam;
    if (explorerTeam.GetInvCount() >= explorerTeam.GetMaxInvSlots(ZoneManager.Instance.CurrentZone))
        return null;
}

And it states: If it's a player team pokemon, if bag is full, ignore the drop (NO MATTER WHAT).
Which means, even if it's just money.

I have to add:
I have made this change in my game code from ~20/5/2025 (3 months back),
and I had zero problems.

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