add hoe group to hoes

This commit is contained in:
TenPlus1 2019-06-03 08:47:57 +01:00
rodič 5decae8261
revize c770314dda
1 změnil soubory, kde provedl 4 přidání a 0 odebrání

Zobrazit soubor

@ -24,6 +24,10 @@ farming.register_hoe = function(name, def)
def.max_uses = 30
end
-- add hoe group
def.groups = def.groups or {}
def.groups.hoe = 1
-- Register the tool
minetest.register_tool(name, {
description = def.description,