diff --git a/classify_description_de.lua b/classify_description_de.lua index 4cd4e1d..0b4e9f3 100644 --- a/classify_description_de.lua +++ b/classify_description_de.lua @@ -8,7 +8,6 @@ return { ["group:physics:speed"] = { label = "Geschwindigkeit" }, ["group:physics:gravity"] = { label = "Erdanziehung" }, ["group:armor:heal"] = { label = "Heilen" }, - ["group:armor:heal:0"] = { label = false }, ["group:armor:water"] = { label = "Wasserschutz" }, ["group:armor:fire"] = { label = "Feuerschutz" }, ["group:armor:radiation"] = { label = "Schutz gegen Radioaktivität" }, @@ -85,7 +84,6 @@ return { ["tool"] = {label = false}, ["tool:full_punch_interval"] = { label = "Verwendungsinterval" }, ["tool:max_drop_level"] = { label = "Max drop Level" }, - ["tool:max_drop_level:0"] = { label = false }, -- ["tool:groupcaps:fleshy"] = { label = "??" }, -- ["tool:groupcaps:snappy"] = { label = "??" }, -- ["tool:groupcaps:choppy"] = { label = "??" }, diff --git a/classify_description_en.lua b/classify_description_en.lua index 1860b98..804b5ed 100644 --- a/classify_description_en.lua +++ b/classify_description_en.lua @@ -8,7 +8,6 @@ return { ["group:physics:speed"] = { label = "Walking speed" }, ["group:physics:gravity"] = { label = "Gravity" }, ["group:armor:heal"] = { label = "Heal" }, - ["group:armor:heal:0"] = { label = false }, ["group:armor:water"] = { label = "Water protection" }, ["group:armor:fire"] = { label = "Fire protection" }, ["group:armor:radiation"] = { label = "Radiation protection" }, @@ -85,7 +84,6 @@ return { ["tool"] = {label = false}, ["tool:full_punch_interval"] = { label = "Punch interval" }, ["tool:max_drop_level"] = { label = "Max drop level" }, - ["tool:max_drop_level:0"] = { label = false }, -- ["tool:groupcaps:fleshy"] = { label = "??" }, -- ["tool:groupcaps:snappy"] = { label = "??" }, -- ["tool:groupcaps:choppy"] = { label = "??" }, diff --git a/filter.lua b/filter.lua index 5c65709..d9bc597 100644 --- a/filter.lua +++ b/filter.lua @@ -68,7 +68,10 @@ filter.register_filter({ else mv = true end - ret[mk] = mv + + if v ~= 0 then + ret[mk] = mv + end end return ret end,