sonic-radiance/sonic-radiance.love/game/events/arguments.lua

22 lines
699 B
Lua
Raw Normal View History

2021-03-20 21:08:54 +01:00
return {
["wait"] = {"duration"},
["simpleMessage"] = {"message"},
["dialogBox"] = {"message", "title", "avatar"},
2021-03-22 14:57:21 +01:00
["optionBox"] = {"message", "title", "avatar", "option1", "option2", "option3", "flag"},
2021-03-22 21:15:20 +01:00
["playSFX"] = {"sfx"},
["getRings"] = {"number"},
2021-04-03 00:04:22 +02:00
["getItems"] = {"type", "item", "number"},
["teleport"] = {"area", "x", "y"}
2021-03-20 21:08:54 +01:00
--[name] = {args...},
}
-- The "origin" argument can have the different values
-- - "target" : the action target. if there is multiple target, it'll
-- be equal to the middle of the ennemy line
--
-- - "self" : the fighter's actor position
--
-- - "start" : the fighter's starting position
--
-- - "absolute" : the 0,0 coordinates