-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathfacwar.go
23 lines (19 loc) · 818 Bytes
/
facwar.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package goesi
// Factions resolves faction name to ID
var FactionsByName = map[string]int32{"Caldari": 500001, "Minmatar": 500002, "Amarr": 500003, "Gallente": 500004}
// Factions resolves faction ID to Name
var FactionsByID = map[int32]string{500001: "Caldari", 500002: "Minmatar", 500003: "Amarr", 500004: "Gallente"}
// FactionsAtWar resolves two enemy parties for each factionID
var FactionsAtWar = map[int32][]int32{
500001: {500002, 500004}, // Caldari : Minmatar, Gallente
500003: {500002, 500004}, // Amarr : Minmatar, Gallente
500002: {500001, 500003}, // Minmatar : Caldari, Amarr
500004: {500001, 500003}, // Gallente : Caldari, Amarr
}
// FactionAllies resolves friendly faction war IDs
var FactionAllies = map[int32]int32{
500001: 500003,
500003: 500001,
500002: 500004,
500004: 500002,
}