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,18 @@
return function(award)
local ogfsou = minetest.registered_items["fire:flint_and_steel"].on_use
minetest.override_item("fire:flint_and_steel",{
on_use = function(itemstack,user,pointed_thing)
ogfsou(itemstack,user,pointed_thing)
if pointed_thing.type == "node" and minetest.get_node(pointed_thing.above).name:find("^fire:") then
awards.unlock(user:get_player_name(),award)
end
end
})
return {
title = "Prometheus",
description = "Start a fire using Flint and Steel",
difficulty = 240,
icon = "fire_flint_steel.png",
}
end