mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 17:47:39 +02:00
Merge remote-tracking branch 'upstream/master' into MiscAdditions_4
This commit is contained in:
@ -75,17 +75,17 @@ namespace HeavenStudio.Games.Scripts_ForkLifter
|
||||
{
|
||||
if (topbun && middleburger && bottombun)
|
||||
{
|
||||
Jukebox.PlayOneShotGame("forkLifter/burger");
|
||||
SoundByte.PlayOneShotGame("forkLifter/burger");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (currentEarlyPeasOnFork > 0 || currentLatePeasOnFork > 0)
|
||||
{
|
||||
Jukebox.PlayOneShotGame($"forkLifter/cough_{Random.Range(1, 3)}");
|
||||
SoundByte.PlayOneShotGame($"forkLifter/cough_{Random.Range(1, 3)}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Jukebox.PlayOneShotGame("forkLifter/gulp");
|
||||
SoundByte.PlayOneShotGame("forkLifter/gulp");
|
||||
}
|
||||
}
|
||||
|
||||
@ -121,7 +121,7 @@ namespace HeavenStudio.Games.Scripts_ForkLifter
|
||||
|
||||
if (p == null)
|
||||
{
|
||||
Jukebox.PlayOneShotGame("forkLifter/stabnohit");
|
||||
SoundByte.PlayOneShotGame("forkLifter/stabnohit");
|
||||
}
|
||||
|
||||
anim.Play("Player_Stab", 0, 0);
|
||||
|
Reference in New Issue
Block a user