First PlayerActionEvent Pass (#202)

* update blue bear to use PlayerActionEvent

* update built to scale DS to use PlayerActionEvent

* update clappy trio to use PlayerActionEvent

* update crop stomp to use PlayerActionEvent

* update drumming practice to use PlayerActionEvent

* update fork lifter to use PlayerActionEvent

* update minigame icons

* update wizard waltz' icon
This commit is contained in:
minenice55
2023-01-14 23:33:37 -05:00
committed by GitHub
parent 0115333d8b
commit 330c538947
54 changed files with 1295 additions and 378 deletions

View File

@ -34,8 +34,6 @@ namespace HeavenStudio.Games.Scripts_ForkLifter
private bool isEating = false;
public int hitOnFrame;
// Burger shit
public bool topbun, middleburger, bottombun;
@ -50,14 +48,11 @@ namespace HeavenStudio.Games.Scripts_ForkLifter
private void LateUpdate()
{
if (PlayerInput.Pressed())
if (PlayerInput.Pressed() && !ForkLifter.instance.IsExpectingInputNow(InputType.STANDARD_DOWN))
{
hitOnFrame = 0;
Stab(null);
}
// print(hitOnFrame);
if (ForkLifter.instance.EligibleHits.Count == 0)
{
currentHitInList = 0;
@ -119,7 +114,7 @@ namespace HeavenStudio.Games.Scripts_ForkLifter
public void Stab(Pea p)
{
if (isEating || hitOnFrame > 0) return;
if (isEating) return;
if (p == null)
{