Skip to content

Support for vehicle repair at Parking/Vehicle Garages - #1832

Open
madsboddum wants to merge 2 commits into
ProjectSWGCore:masterfrom
madsboddum:vehicle-garages
Open

madsboddum wants to merge 2 commits into
ProjectSWGCore:masterfrom
madsboddum:vehicle-garages

Conversation

@madsboddum

@madsboddum madsboddum commented Sep 12, 2026 •

Copy link
Copy Markdown
Member
  • Added support for parking/vehicle garages in non-player cities
  • Convert VehicleMountRadial to Kotlin

Fixes #1288

@Undercova Undercova added the [Travel] Service Shuttle / Mounts / Vehicles label Sep 21, 2026
if (!player.isStatesBitmask(CreatureState.RIDING_MOUNT)) return
val owner = player.owner ?: return

if (nearestGarage(player) != null) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't really be scanning the entire awareness of a player every time they move/rotate. Need to hook into the on awareness changed functionality in each CreatureObject somehow. I'm leaning towards an intent notifying on player awareness changed

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, this would be much more efficient.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Travel] Service Shuttle / Mounts / Vehicles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vehicles - Condition can be repaired at a garage

3 participants