Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ITB AE saves the game much less frequent than ITB pre-AE #146

Open
Lemonymous opened this issue Aug 5, 2022 · 0 comments
Open

ITB AE saves the game much less frequent than ITB pre-AE #146

Lemonymous opened this issue Aug 5, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Lemonymous
Copy link
Contributor

Pre-AE ITB used to update the save file whenever

  • a weapon was used
  • undo move was used on a unit

Some mod loader functions and systems that relied on fetching data from the save file are now turning out to be practically unusable.

Functions that reads from the save file (Not necessarily an exhaustive list):

  • Pawn.IsNeutral
  • Pawn.IsPowered
  • Pawn.GetMutation
  • Pawn.IsMutation
  • Pawn.GetQueued
  • Pawn.IsQueued
  • Pawn.GetAbility
  • Pawn.GetEquippedWeapons
  • Pawn.GetPoweredWeapons
  • Pawn.IsWeaponEquipped
  • Pawn.IsWeaponPowered
  • Pawn.GetArmedWeapon
  • Pawn.GetQueuedWeaponId
  • Pawn.GetQueuedWeapon
  • Pawn.SetNeutral
  • Pawn.SetPowered

Some of these functions might still be fine to use, since they might not require a completely up to date save file.

@Lemonymous Lemonymous added the bug Something isn't working label Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant