package model

type Faction struct {
	ID    string `json:"id"`
	Name  string `json:"name"`
	Theme string `json:"theme"`
	Power int    `json:"power"`
}

type Slots struct {
	POIKind string `json:"poiKind,omitempty"`
	Faction string `json:"faction,omitempty"`
	Item    string `json:"item,omitempty"`
}

type MissionStep struct {
	ID    string `json:"id"`
	Kind  string `json:"kind"`
	Text  string `json:"text"`
	Slots Slots  `json:"slots"`
	POI   string `json:"poi,omitempty"`
	Done  bool   `json:"done"`
}

type Mission struct {
	Template string        `json:"template"`
	Name     string        `json:"name"`
	Steps    []MissionStep `json:"steps"`
}

type Campaign struct {
	Seed       Seed      `json:"seed"`
	Systems    []string  `json:"systems"`
	Factions   []Faction `json:"factions"`
	Main       Mission   `json:"main"`
	SideQuests []Mission `json:"sideQuests"`
}
