Skip to content

Make actor squad and NPCs that saw actor squad but not actor himself forgetful on intentional actor disguise loss#580

Merged
Grokitach merged 4 commits into
Grokitach:dev2from
lulnope:dev2
Aug 17, 2025
Merged

Make actor squad and NPCs that saw actor squad but not actor himself forgetful on intentional actor disguise loss#580
Grokitach merged 4 commits into
Grokitach:dev2from
lulnope:dev2

Conversation

@lulnope
Copy link
Copy Markdown
Contributor

@lulnope lulnope commented Aug 15, 2025

This a simple improvement on the previous PR (here: #533) . Previous solution had 2 issues:

  • actor squad members attacks NPCs they remember on actor disguise loss. The solution implemented here is to make them forget all NPCs on actor disguise change
  • NPCs not in the npcs_memory would still remember actor squad after disguise change by actor (they saw someone from actor squad but actor himself so they're not in npcs_memory). This still resulted in random NPCs aggroing randomly as you change disguise because they saw your squadmates but not you. The solution implemented here is to iterate over db.storage rather than npcs_memory which in my understanding includes all level-objects currently loaded.

… in the "seen the actor" memory table forget actor squad on disguise change.
… in the "seen the actor" memory table forget actor squad on disguise change.
@lulnope
Copy link
Copy Markdown
Contributor Author

lulnope commented Aug 16, 2025

Added functionality: meat stacks have the quickest to expire meat on top (double click on stack to move the oldest meat around), proof for this functionality: https://youtu.be/e00Dyull0Ms

Sorry for mangling the PR with multiple functionalites. I forgot to switch branches, i hope it's not a big deal.

@Grokitach Grokitach merged commit 9255a1e into Grokitach:dev2 Aug 17, 2025
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.

2 participants