Documentation ¶ Index ¶ Constants func FactionRephacks(config *Config) map[string]map[string]float64 type Base type BaseChance type BaseFaction type Bribe type Config func Read(input_file *iniload.IniLoader) *Config func (frelconfig *Config) Write() *file.File type Know type Mission type Mroom type NPC type Rumor Constants ¶ View Source const ( FILENAME = "mbases.ini" ) Variables ¶ This section is empty. Functions ¶ func FactionRephacks ¶ func FactionRephacks(config *Config) map[string]map[string]float64 Types ¶ type Base ¶ type Base struct { semantic.Model Nickname *semantic.String LocalFaction *semantic.String Diff *semantic.Int BaseFactions []*BaseFaction BaseFactionsMap map[string]*BaseFaction NPCs []*NPC Bar *Mroom } type BaseChance ¶ type BaseChance struct { Base string Chance float64 } type BaseFaction ¶ type BaseFaction struct { semantic.Model Faction *semantic.String Weight *semantic.Int Npcs []*semantic.String } type Bribe ¶ type Bribe struct { semantic.Model Faction *semantic.String } type Config ¶ type Config struct { semantic.ConfigModel Bases []*Base BaseMap map[string]*Base } func Read ¶ func Read(input_file *iniload.IniLoader) *Config func (*Config) Write ¶ func (frelconfig *Config) Write() *file.File type Know ¶ type Know struct { semantic.Model } type Mission ¶ type Mission struct { semantic.Model } type Mroom ¶ type Mroom struct { semantic.Model Nickname *semantic.String CharacterDensity *semantic.Int Bartrender *semantic.String } type NPC ¶ type NPC struct { semantic.Model Nickname *semantic.String Room *semantic.String Bribes []*Bribe Rumors []*Rumor Missions []*Mission Knows []*Know Affiliation *semantic.String } type Rumor ¶ type Rumor struct { semantic.Model } Source Files ¶ View all Source files mbases.go Click to show internal directories. Click to hide internal directories.