Модуль:RecipeData/getter: различия между версиями

Нет описания правки
(нет различий)

Версия от 13:29, 29 августа 2021

local p = {} local data = require('Module:RecipeData/data')

-- Table: [ingredients] function p.ingredients(recipe) local tbl = {} for _, v in ipairs(data[recipe]) do table.insert(tbl, v) end return tbl end

return p