Skip to content

Commit

Permalink
Fixed repair facility being listed twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdigrenadier committed Jul 13, 2024
1 parent c36e3ea commit b3dd278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Data/Templates/buildlist.template
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ buildSpeed: 18s
@copyFromSection: template_actionQueueBuilding, template_requiresLightFactory
@define target: genericRepairFacility
@define flagId: 12
isVisible: if not self.hasFlag(id=${flagId}) and self.hasUnitInTeam(withTag="spiceRefinery")
isVisible: if not self.hasFlag(id=${flagId}) and self.hasUnitInTeam(withTag="spiceRefinery") and not self.globalTeamTags(includes="houseHarkonnenMod")
isLockedAlt: if not self.hasUnitInTeam(withTag="lightFactory")
#ai_isHighPriority: if self.hasUnitInTeam(withTag="heavyFactory") and not self.hasUnitInTeam(withTag="repairFacility")
streamingCost: Spice=700
Expand All @@ -169,7 +169,7 @@ buildSpeed: 10s
@copyFromSection: template_actionQueueBuilding, template_requiresHeavyFactory
@define target: genericRepairFacility
@define flagId: 12
isVisible: if not self.hasFlag(id=${flagId}) and self.hasUnitInTeam(withTag="spiceRefinery")
isVisible: if not self.hasFlag(id=${flagId}) and self.hasUnitInTeam(withTag="spiceRefinery") and self.globalTeamTags(includes="houseHarkonnenMod")
isLockedAlt: if not self.hasUnitInTeam(withTag="heavyFactory")
#ai_isHighPriority: if self.hasUnitInTeam(withTag="heavyFactory") and not self.hasUnitInTeam(withTag="repairFacility")
streamingCost: Spice=700
Expand Down

0 comments on commit b3dd278

Please sign in to comment.