Skip to content

Commit

Permalink
Change names of lair and hive so that upgrading wont be so dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
ForbodingAngel committed Sep 9, 2019
1 parent 1406328 commit 40d7622
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions LuaRules/Configs/morph_defs.lua
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ Evolution]],


zhatch = { zhatch = {
{ {
into = 'zlair', into = 'zhatch_up1',
time = timeToBuild_zlair, time = timeToBuild_zlair,
cmdname = [[Lair cmdname = [[Lair
Evolution]], Evolution]],
Expand All @@ -1252,7 +1252,7 @@ Evolution]],
}, },
zlair = { zlair = {
{ {
into = 'zhive', into = 'zhatch_up2',
time = timeToBuild_zhive, time = timeToBuild_zhive,
cmdname = [[Hive cmdname = [[Hive
Evolution]], Evolution]],
Expand Down
6 changes: 3 additions & 3 deletions LuaRules/Gadgets/ai/EvoRTS/taskqueues.lua
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ end
------------------------------------------------- ZAAAAAAAAAAAAAALS ------------------------------------------------- ZAAAAAAAAAAAAAALS
function GetZaalSpawners(tqb,ai,unit) function GetZaalSpawners(tqb,ai,unit)
local list = { local list = {
UDN.zhatch.id, UDN.zlair.id, UDN.zhive.id UDN.zhatch.id, UDN.zhatch_up1.id, UDN.zhatch_up2.id
} }
local units = Spring.GetTeamUnitsByDefs(ai.id, list) local units = Spring.GetTeamUnitsByDefs(ai.id, list)
return #units return #units
Expand Down Expand Up @@ -1163,9 +1163,9 @@ taskqueues = {
ebasefactory_up2 = HoverFactoryQueueUP2, ebasefactory_up2 = HoverFactoryQueueUP2,
ebasefactory_up3 = HoverFactoryQueueUP3, ebasefactory_up3 = HoverFactoryQueueUP3,
zarm = ZaalArm, zarm = ZaalArm,
zhive = ZaalHive3, zhatch_up1 = ZaalHive3,
zhatch = ZaalHive1, zhatch = ZaalHive1,
zlair = ZaalHive2, zhatch_up2 = ZaalHive2,
zespire1 = ZaalEspire, zespire1 = ZaalEspire,
zespire4 = ZaalEspire, zespire4 = ZaalEspire,
} }
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
-- UNITDEF -- ZLAIR -- -- UNITDEF -- ZLAIR --
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------


unitName = [[zlair]] unitName = [[zhatch_up1]]


-------------------------------------------------------------------------------- --------------------------------------------------------------------------------


Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
-- UNITDEF -- ZHIVE -- -- UNITDEF -- ZHIVE --
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------


unitName = [[zhive]] unitName = [[zhatch_up2]]


-------------------------------------------------------------------------------- --------------------------------------------------------------------------------


Expand Down

0 comments on commit 40d7622

Please sign in to comment.