]> Dogcows Code - chaz/yoink/blobdiff - data/animations/Bonuses.lua
converted json sequences to lua
[chaz/yoink] / data / animations / Bonuses.lua
diff --git a/data/animations/Bonuses.lua b/data/animations/Bonuses.lua
new file mode 100644 (file)
index 0000000..be3a504
--- /dev/null
@@ -0,0 +1,111 @@
+
+-- Bonus animation sequences
+
+DefineSequence("SmallHealth",
+{
+       delay = 0.1,
+       frames = {
+               { index = 0 },
+               { index = 1 },
+               { index = 2 },
+               { index = 1 }
+       }
+})
+
+DefineSequence("LargeHealth",
+{
+       delay = 0.1,
+       frames = {
+               { index = 3 },
+               { index = 4 },
+               { index = 5 },
+               { index = 4 }
+       }
+})
+
+DefineSequence("SmallRedPotion",
+{
+       delay = 0.1,
+       frames = {
+               { index = 6 },
+               { index = 7 },
+               { index = 8 },
+               { index = 7 }
+       }
+})
+
+DefineSequence("SmallBluePotion",
+{
+       delay = 0.1,
+       frames = {
+               { index = 9 },
+               { index = 10 },
+               { index = 11 },
+               { index = 10 }
+       }
+})
+
+DefineSequence("FirstAidKit",
+{
+       delay = 1,
+       frames = {
+               { index = 12 }
+       }
+})
+
+DefineSequence("AlienFirstAidKit",
+{
+       delay = 1,
+       frames = {
+               { index = 13 }
+       }
+})
+
+DefineSequence("Cake",
+{
+       delay = 1,
+       frames = {
+               { index = 14 }
+       }
+})
+
+DefineSequence("FizzyDrink",
+{
+       delay = 1,
+       frames = {
+               { index = 15 }
+       }
+})
+
+DefineSequence("Cheese",
+{
+       delay = 1,
+       frames = {
+               { index = 16 }
+       }
+})
+
+DefineSequence("Chocolate",
+{
+       delay = 1,
+       frames = {
+               { index = 17 }
+       }
+})
+
+DefineSequence("MilkBottle",
+{
+       delay = 1,
+       frames = {
+               { index = 18 }
+       }
+})
+
+DefineSequence("OneSadCookie",
+{
+       delay = 1,
+       frames = {
+               { index = 19 }
+       }
+})
+
This page took 0.021438 seconds and 4 git commands to generate.