mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
update tunnel to use new minigame format
This commit is contained in:
parent
6ef84e73d9
commit
4cb4d3f117
1 changed files with 15 additions and 5 deletions
|
@ -16,13 +16,23 @@ namespace HeavenStudio.Games.Loaders
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
new GameAction("Cowbell", delegate { Tunnel.instance.StartCowbell(eventCaller.currentEntity.beat, eventCaller.currentEntity.toggle, eventCaller.currentEntity.length); }, 1f, true, parameters: new List<Param>()
|
new GameAction("cowbell", "Cowbell")
|
||||||
{
|
{
|
||||||
new Param("toggle", false, "Driver can stop", "Lets the driver stop if the player makes too many mistakes"),
|
function = delegate { Tunnel.instance.StartCowbell(eventCaller.currentEntity.beat, eventCaller.currentEntity["toggle"], eventCaller.currentEntity.length); },
|
||||||
}),
|
defaultLength = 1f,
|
||||||
|
resizable = true,
|
||||||
new GameAction("Count In", delegate { Tunnel.instance.CountIn(eventCaller.currentEntity.beat, eventCaller.currentEntity.length); }, 1f, true),
|
parameters = new List<Param>()
|
||||||
|
{
|
||||||
|
new Param("toggle", false, "Driver can stop", "Lets the driver stop if the player makes too many mistakes"),
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
new GameAction("countin", "Count In")
|
||||||
|
{
|
||||||
|
function = delegate { Tunnel.instance.CountIn(eventCaller.currentEntity.beat, eventCaller.currentEntity.length); },
|
||||||
|
defaultLength = 3f,
|
||||||
|
resizable = true,
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
//new List<string>() {"ntr", "aim"},
|
//new List<string>() {"ntr", "aim"},
|
||||||
|
|
Loading…
Reference in a new issue