@@ -31,6 +31,10 @@ local function registerElectricDrill(config)
|
||||
local definition={
|
||||
description=config.displayName,
|
||||
inventory_image="industrialtest_"..config.name..".png",
|
||||
after_use=function()
|
||||
-- Hack to make sure that drill won't be destroyed when has 0 EU
|
||||
return nil
|
||||
end,
|
||||
_industrialtest_powerStorage=true,
|
||||
_industrialtest_powerCapacity=10000,
|
||||
_industrialtest_powerFlow=industrialtest.api.lvPowerFlow,
|
||||
@@ -64,10 +68,6 @@ local function registerElectricDrill(config)
|
||||
tool=1,
|
||||
dig_speed_class=config.digSpeedClass
|
||||
}
|
||||
definition.after_use=function()
|
||||
-- Hack to make sure that drill won't be destroyed when has 0 EU in MCL
|
||||
return nil
|
||||
end
|
||||
definition._mcl_diggroups={
|
||||
pickaxey={
|
||||
speed=config.inactiveDigSpeed,
|
||||
|
||||
Reference in New Issue
Block a user