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,29 @@
return function(award)
local goals = {
target = 50,
show_locked = false,
}
for node,def in pairs(minetest.registered_nodes) do
local groups = def.groups
if groups and groups.flower and groups.flower > 0 then
table.insert(goals,{
id = node:gsub(":","_"),
description = "Pick " .. def.description,
trigger = {
type = "dig",
target = 1,
node = node,
},
})
end
end
return {
title = "Joys of Spring",
description = "Pick " .. goals.target .. " different types of flower",
difficulty = 140,
icon = "flowers_rose.png",
goals = goals,
}
end