Aaron Suen 4a13733e68 Remove descritption from injury/burn.
This always felt kinda redundant and the names
themselves never seemed all that great.

For Lux Burns in particular, I'd rather the radiation
symbol speak for itself.
2020-03-24 00:06:38 -04:00

20 lines
527 B
Lua

-- LUALOCALS < ---------------------------------------------------------
local minetest, nodecore
= minetest, nodecore
-- LUALOCALS > ---------------------------------------------------------
local modname = minetest.get_current_modname()
local injured = modname .. ":injured"
nodecore.register_virtual_item(injured, {
description = "",
inventory_image = modname .. "_injured.png"
})
nodecore.register_healthfx({
item = injured,
getqty = function(player)
return 1 - nodecore.getphealth(player) / 8
end
})