Code: Select all
table.insert(data.raw["recipe-category"], {type = "recipe-category", name = "test"})
Code: Select all
table.insert(data.raw["recipe-category"], {type = "recipe-category", name = "test"})
Code: Select all
data:extend({{type = "recipe-category", name = "test"}})