feat: preconditions improvements (#1983)

* feat: implement missing precondition types (20, 21, 23) and pet checks

Add DoesNotHaveFlag (23), NotFreeTrial (20), and MissionActive (21) to
PreconditionType and implement their checks. Also implement PetDeployed
and IsPetTaming using PetComponent static helpers, matching client
behavior — both are simple boolean checks with no LOT comparison.
LegoClubMember is set to always pass as DLU has no membership concept.

* fix: update TODO comments for team check and racing licence preconditions

* type

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Aaron Kimbrell
2026-06-08 22:45:24 -05:00
committed by GitHub
parent 1d2de705fb
commit ca0da9d3bf
2 changed files with 24 additions and 8 deletions

View File

@@ -26,7 +26,10 @@ enum class PreconditionType
DoesNotHaveRacingLicence,
LegoClubMember,
NoInteraction,
HasLevel = 22
NotFreeTrial,
MissionActive,
HasLevel,
DoesNotHaveFlag = 23
};