25 lines
475 B
Lua
25 lines
475 B
Lua
minetest.register_tool("healing:bandage", {
|
|
description = "Bandage",
|
|
inventory_image = "healing_bandage.png",
|
|
on_use = function(player, itemstack, pointed_thing)
|
|
seal_wound(player)
|
|
end
|
|
})
|
|
|
|
minetest.register_tool("healing:antibiotic", {
|
|
description = "Antibiotic",
|
|
inventory_image = "healing_antibiotic.png",
|
|
on_use = function(player, itemstack, pointed_thing)
|
|
seal_wound(player)
|
|
end
|
|
})
|
|
|
|
function seal_wound(player)
|
|
|
|
|
|
end
|
|
|
|
function cure_infectcion(player)
|
|
|
|
end
|