Use global idle hunt.
This commit is contained in:
committed by
abcdefg30
parent
b9bfbfd5ac
commit
5ed3f55ed2
@@ -63,8 +63,6 @@ OrdCarryHarvWaypoints = { ord_harvcarry_2.Location, ord_harvcarry_1.Location }
|
||||
CorCarryHarvWaypoints = { cor_harvcarry_2.Location, cor_harvcarry_1.Location }
|
||||
SmgCarryHarvWaypoints = { smg_harvcarry_2.Location, smg_harvcarry_1.Location }
|
||||
|
||||
IdleHunt = function(unit) if not unit.IsDead then Trigger.OnIdle(unit, unit.Hunt) end end
|
||||
|
||||
Produce = function(house, units)
|
||||
if HoldProduction[house.Name] then
|
||||
Trigger.AfterDelay(DateTime.Minutes(1), function() Produce(house, units) end)
|
||||
|
||||
@@ -17,7 +17,7 @@ World:
|
||||
AllowMuteBackgroundMusic: true
|
||||
DisableWorldSounds: true
|
||||
LuaScript:
|
||||
Scripts: d2k-shellmap.lua
|
||||
Scripts: d2k-shellmap.lua, utils.lua
|
||||
|
||||
^ExistsInWorld:
|
||||
-GivesExperience:
|
||||
|
||||
Reference in New Issue
Block a user