Refactor electric hoes

This commit is contained in:
2025-04-14 16:32:58 +02:00
parent 9cb5748b73
commit 6f864eca78
5 changed files with 156 additions and 166 deletions

View File

@@ -90,6 +90,8 @@ function industrialtest.ActivatedElectricTool.defineToolCapabilities(self,def,ti
def.groups.pickaxe=1
elseif digType=="crumbly" then
def.groups.shovel=1
elseif digType=="hoey" then
def.groups.hoe=1
end
end
end
@@ -97,7 +99,8 @@ function industrialtest.ActivatedElectricTool.defineToolCapabilities(self,def,ti
local digTypeMapping={
choppy="axey",
cracky="pickaxey",
crumbly="shovely"
crumbly="shovely",
hoey="hoey"
}
def.groups.dig_speed_class=self.digSpeedClass
def._mcl_diggroups={}