Skip to content

Instantly share code, notes, and snippets.

@legumbre
Created June 7, 2013 22:32
Show Gist options
  • Save legumbre/5732862 to your computer and use it in GitHub Desktop.
Save legumbre/5732862 to your computer and use it in GitHub Desktop.
function sequence_item_by_name(sequence_name, group_name, item_name)
local idx = table.find(sequences.arcade, function (k, v) return v.name == group_name end)
return table.find(sequences[sequence_name][idx], function (k, v) return v.name == _(item_name) end)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment