write something there

This commit is contained in:
N-Nachtigal 2025-05-04 16:01:41 +02:00
commit b4b6c08f4f
8546 changed files with 309825 additions and 0 deletions

View file

@ -0,0 +1,28 @@
return function(award)
local goals = {
target = 20,
show_locked = false,
}
for item,def in pairs(minetest.registered_items) do
if def.on_use then
table.insert(goals,{
id = item:gsub(":","_"),
description = "Eat " .. def.description,
trigger = {
type = "eat",
target = 1,
item = item,
},
})
end
end
return {
title = "Gourmand",
description = "Eat 20 different food items",
difficulty = 180,
icon = "farming_bread.png",
goals = goals,
}
end