fix compiler errors

This commit is contained in:
minenice55 2024-01-14 13:47:34 -05:00
parent 96608151b6
commit 8686f090de
3 changed files with 6 additions and 8 deletions

View file

@ -109,7 +109,8 @@ namespace HeavenStudio.Games.Loaders
}, },
new GameAction("toggleStars", "Falling Stars") new GameAction("toggleStars", "Falling Stars")
{ {
function = delegate {var e = eventCaller.currentEntity; LaunchParty.instance.CreateParticles(e.beat, e["toggle"], e["valA"], e["valB"], e["valC"]);}, // function = delegate {var e = eventCaller.currentEntity; LaunchParty.instance.CreateParticles(e.beat, e["toggle"], e["valA"], e["valB"], e["valC"]);},
hidden = true,
defaultLength = 0.5f, defaultLength = 0.5f,
parameters = new List<Param>() parameters = new List<Param>()
{ {
@ -124,7 +125,8 @@ namespace HeavenStudio.Games.Loaders
}, },
new GameAction("scrollSpeed", "Scroll Speed") new GameAction("scrollSpeed", "Scroll Speed")
{ {
function = delegate {var e = eventCaller.currentEntity; LaunchParty.instance.UpdateScrollSpeed(e["speed"]); }, // function = delegate {var e = eventCaller.currentEntity; LaunchParty.instance.UpdateScrollSpeed(e["speed"]); },
hidden = true,
defaultLength = 0.5f, defaultLength = 0.5f,
parameters = new List<Param>() parameters = new List<Param>()
{ {

View file

@ -18,9 +18,8 @@ namespace HeavenStudio.Games.Loaders
parameters = new List<Param>() parameters = new List<Param>()
{ {
new Param("toggle", false, "Disable Sound", "Toggle if the dispense sound should be disabled."), new Param("toggle", false, "Disable Sound", "Toggle if the dispense sound should be disabled."),
new Param("down", false, "Down Sound", "Toggle if the \"Down!\" cue from Remix 9 (DS) should be played.") new Param("down", false, "Down Sound", "Toggle if the \"Down!\" cue from Remix 9 (DS) should be played."),
new Param("auto", true, "Auto Redispense", "", new() new Param("auto", true, "Auto Redispense", "", new()
new Param("auto", true, "Auto Redispense", "", new()
{ {
new((x, _) => (bool)x, new string[] { "interval" }) new((x, _) => (bool)x, new string[] { "interval" })
}), }),

View file

@ -33,10 +33,7 @@ namespace HeavenStudio.Games.Loaders
parameters = new List<Param>() parameters = new List<Param>()
{ {
new Param("who", TossBoys.KidChoice.Akachan, "Target", "Set who will receive the ball."), new Param("who", TossBoys.KidChoice.Akachan, "Target", "Set who will receive the ball."),
new Param("call", false, "Name Call", "Toggle if the non-recieving kids should call the reciever's name.") new Param("call", false, "Name Call", "Toggle if the non-recieving kids should call the reciever's name."),
//auto dispense stuff
new Param("auto", true, "Auto Redispense"
//auto dispense stuff //auto dispense stuff
new Param("auto", true, "Auto Redispense", "", new() new Param("auto", true, "Auto Redispense", "", new()
{ {