Add support for non-fleshy damage groups, closes #47

This commit is contained in:
stujones11
2017-03-23 00:52:32 +00:00
parent 86fd6b0d7d
commit 11ce84873b
6 changed files with 274 additions and 222 deletions

View File

@ -37,7 +37,7 @@ unified_inventory.register_page("armor", {
end
if minetest.global_exists("technic") then
formspec = formspec.."label[5.0,"..(fy + 1.5)..
";Radiation: "..armor.def[name].radiation.."]"
";Radiation: "..armor.def[name].groups["radiation"].."]"
end
return {formspec=formspec}
end,