mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-15 08:24:39 +00:00
Set warp gate factions
This commit is contained in:
parent
08eed0f331
commit
c0e3363fe4
1 changed files with 13 additions and 1 deletions
|
|
@ -514,7 +514,19 @@ object Zones {
|
||||||
this.Buildings.values.foreach(_.Faction = PlanetSideEmpire.TR)
|
this.Buildings.values.foreach(_.Faction = PlanetSideEmpire.TR)
|
||||||
case "home3" =>
|
case "home3" =>
|
||||||
this.Buildings.values.foreach(_.Faction = PlanetSideEmpire.VS)
|
this.Buildings.values.foreach(_.Faction = PlanetSideEmpire.VS)
|
||||||
case _ => ;
|
case _ => ()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set up warp gate factions aka "sanctuary link". Those names make no sense anymore, don't even ask.
|
||||||
|
this.Buildings.foreach {
|
||||||
|
case (_, building) if building.Name.startsWith("WG") =>
|
||||||
|
building.Name match {
|
||||||
|
case "WG_Amerish_to_Solsar" | "WG_Esamir_to_VSSanc" => building.Faction = PlanetSideEmpire.NC
|
||||||
|
case "WG_Hossin_to_VSSanc" | "WG_Solsar_to_Amerish" => building.Faction = PlanetSideEmpire.TR
|
||||||
|
case "WG_Ceryshen_to_Hossin" | "WG_Forseral_to_Solsar" => building.Faction = PlanetSideEmpire.VS
|
||||||
|
case _ => ()
|
||||||
|
}
|
||||||
|
case _ => ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue