Automatically mount jetpack #1290
Labels
FEATURE
New feature or request
good first issue
Items marked with the good first issue label are intended for first-time contributors
[Travel] Service
Shuttle / Mounts / Vehicles
When calling out a jetpack, the player should be mounted to the jetpack automatically.
Pointers
Here's the method that's invoked when mounts are called:
com.projectswg.holocore.services.gameplay.world.travel.PlayerMountService#callMount
And here's the method that can be invoked to enter a specified mount:
com.projectswg.holocore.services.gameplay.world.travel.PlayerMountService#enterMount
You can insert this method in the
PlayerMountService
class, to help determine if a given mount is a jetpack:With all this, you should be able to extend
callMount
, so that it invokesenterMount
, if themount
is a jetpack.The text was updated successfully, but these errors were encountered: