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 = 25,
show_locked = false,
}
for node,def in pairs(minetest.registered_nodes) do
local groups = def.groups
if groups and groups.sapling and groups.sapling > 0 then
table.insert(goals,{
id = node:gsub(":","_"),
description = "Plant a " .. def.description,
trigger = {
type = "place",
target = 1,
node = node,
},
})
end
end
return {
title = "Johnny Appleseed",
description = "Plant " .. goals.target .. " different types of tree sapling",
difficulty = 130,
icon = "default_sapling.png",
goals = goals,
}
end