Skip to content

Fix secret/vehicle checks#552

Merged
lahm86 merged 1 commit intoLostArtefacts:masterfrom
lahm86:issue-550-vehicle-dependencies
Sep 24, 2023
Merged

Fix secret/vehicle checks#552
lahm86 merged 1 commit intoLostArtefacts:masterfrom
lahm86:issue-550-vehicle-dependencies

Conversation

@lahm86
Copy link
Copy Markdown
Collaborator

@lahm86 lahm86 commented Sep 24, 2023

  • Updated each secret location that depends on a vehicle to add the vehicle type.
  • If randomizing vehicles and a secret exists in the level that has a dependency on that vehicle type, the vehicle location will not be randomized. This avoids issues with the path from the vehicle to the secret being impossible, the idea being that the secret is placed based on the vehicle's original position.
  • Tidied up some of the logic to test locations, and to spawn/move skidoos.

Resolves #550.

@lahm86 lahm86 added bug Something isn't working TR2 labels Sep 24, 2023
@lahm86 lahm86 added this to the 1.7.4 milestone Sep 24, 2023
@lahm86 lahm86 self-assigned this Sep 24, 2023
@lahm86 lahm86 merged commit f7a3aa6 into LostArtefacts:master Sep 24, 2023
@lahm86 lahm86 deleted the issue-550-vehicle-dependencies branch September 25, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working TR2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add vehicle types to secret locations

2 participants