mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
Fork Lifter: Minor script tweak for readability.
This commit is contained in:
parent
fd037c4436
commit
2f746c8e10
2 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ namespace RhythmHeavenMania.Games
|
|||
}
|
||||
|
||||
public static ForkLifter instance;
|
||||
public static ForkLifterPlayer playerInstance => ForkLifterPlayer.instance;
|
||||
|
||||
[Header("References")]
|
||||
public ForkLifterHand ForkLifterHand;
|
||||
|
|
|
@ -172,7 +172,7 @@ namespace RhythmHeavenMania
|
|||
new Param("type", ForkLifter.FlickType.Pea, "Object", "The object to be flicked")
|
||||
}),
|
||||
new GameAction("prepare", delegate { ForkLifter.instance.ForkLifterHand.Prepare(); }, 0.5f),
|
||||
new GameAction("gulp", delegate { Games.Scripts_ForkLifter.ForkLifterPlayer.instance.Eat(); }),
|
||||
new GameAction("gulp", delegate { ForkLifter.playerInstance.Eat(); }),
|
||||
new GameAction("sigh", delegate { Jukebox.PlayOneShot("games/forkLifter/sigh"); }),
|
||||
// These are still here for backwards-compatibility but are hidden in the editor
|
||||
new GameAction("pea", delegate { ForkLifter.instance.Flick(eventCaller.currentEntity.beat, 0); }, 3, hidden: true),
|
||||
|
|
Loading…
Reference in a new issue