Convert Lua array-like structures to use named entries
This commit is contained in:
@@ -22,19 +22,19 @@ RunInitialActivities = function()
|
||||
end)
|
||||
|
||||
Trigger.OnKilled(Powr, function(building)
|
||||
BaseBuildings[1][4] = false
|
||||
BasePower.exists = false
|
||||
end)
|
||||
|
||||
Trigger.OnKilled(Barr, function(building)
|
||||
BaseBuildings[2][4] = false
|
||||
BaseBarracks.exists = false
|
||||
end)
|
||||
|
||||
Trigger.OnKilled(Proc, function(building)
|
||||
BaseBuildings[3][4] = false
|
||||
BaseProc.exists = false
|
||||
end)
|
||||
|
||||
Trigger.OnKilled(Weap, function(building)
|
||||
BaseBuildings[4][4] = false
|
||||
BaseWeaponsFactory.exists = false
|
||||
end)
|
||||
|
||||
Trigger.OnEnteredFootprint(VillageCamArea, function(actor, id)
|
||||
|
||||
Reference in New Issue
Block a user