Improve aghosts controls (#13673)
This commit is contained in:
@@ -82,7 +82,14 @@ namespace Content.Client.Input
|
|||||||
aghost.AddFunction(EngineKeyFunctions.Walk);
|
aghost.AddFunction(EngineKeyFunctions.Walk);
|
||||||
aghost.AddFunction(ContentKeyFunctions.SwapHands);
|
aghost.AddFunction(ContentKeyFunctions.SwapHands);
|
||||||
aghost.AddFunction(ContentKeyFunctions.Drop);
|
aghost.AddFunction(ContentKeyFunctions.Drop);
|
||||||
|
aghost.AddFunction(ContentKeyFunctions.UseItemInHand);
|
||||||
|
aghost.AddFunction(ContentKeyFunctions.AltUseItemInHand);
|
||||||
|
aghost.AddFunction(ContentKeyFunctions.ActivateItemInWorld);
|
||||||
aghost.AddFunction(ContentKeyFunctions.ThrowItemInHand);
|
aghost.AddFunction(ContentKeyFunctions.ThrowItemInHand);
|
||||||
|
aghost.AddFunction(ContentKeyFunctions.AltActivateItemInWorld);
|
||||||
|
aghost.AddFunction(ContentKeyFunctions.TryPullObject);
|
||||||
|
aghost.AddFunction(ContentKeyFunctions.MovePulledObject);
|
||||||
|
aghost.AddFunction(ContentKeyFunctions.ReleasePulledObject);
|
||||||
|
|
||||||
var ghost = contexts.New("ghost", "human");
|
var ghost = contexts.New("ghost", "human");
|
||||||
ghost.AddFunction(EngineKeyFunctions.MoveUp);
|
ghost.AddFunction(EngineKeyFunctions.MoveUp);
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
- type: Ghost
|
- type: Ghost
|
||||||
canInteract: true
|
canInteract: true
|
||||||
- type: Hands
|
- type: Hands
|
||||||
|
- type: Puller
|
||||||
- type: DoAfter
|
- type: DoAfter
|
||||||
- type: CombatMode
|
- type: CombatMode
|
||||||
- type: Actions
|
- type: Actions
|
||||||
|
|||||||
Reference in New Issue
Block a user