data

package
v0.0.0-...-94f88f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ScreenHeight = 200
View Source
const ScreenWidth = 320

Variables

This section is empty.

Functions

This section is empty.

Types

type BannerType

type BannerType int
const (
	BannerGreen BannerType = iota
	BannerBlue
	BannerRed
	BannerPurple
	BannerYellow
	BannerBrown
)

func (BannerType) String

func (banner BannerType) String() string

type BonusType

type BonusType int
const (
	BonusNone BonusType = iota
	BonusWildGame
	BonusNightshade
	BonusSilverOre
	BonusGoldOre
	BonusIronOre
	BonusCoal
	BonusMithrilOre
	BonusAdamantiumOre
	BonusGem
	BonusQuorkCrystal
	BonusCrysxCrystal
)

func (BonusType) FoodBonus

func (bonus BonusType) FoodBonus() int

func (BonusType) GoldBonus

func (bonus BonusType) GoldBonus() int

func (BonusType) PowerBonus

func (bonus BonusType) PowerBonus() int

func (BonusType) UnitReductionBonus

func (bonus BonusType) UnitReductionBonus() int

returns a percent that unit costs are reduced by, 10 -> -10%

type DifficultySetting

type DifficultySetting int
const (
	DifficultyIntro DifficultySetting = iota
	DifficultyEasy
	DifficultyAverage
	DifficultyHard
	DifficultyExtreme
	DifficultyImpossible
)

type Enchantment

type Enchantment int
const (
	EnchantmentNone Enchantment = iota
	EnchantmentAwareness
	EnchantmentDetectMagic
	EnchantmentCharmOfLife
	EnchantmentCrusade
	EnchantmentHolyArms
	EnchantmentJustCause
	EnchantmentLifeForce
	EnchantmentPlanarSeal
	EnchantmentTranquility
	EnchantmentHerbMastery
	EnchantmentNatureAwareness
	EnchantmentNaturesWrath
	EnchantmentAuraOfMajesty
	EnchantmentSuppressMagic
	EnchantmentTimeStop
	EnchantmentWindMastery
	EnchantmentArmageddon
	EnchantmentChaosSurge
	EnchantmentDoomMastery
	EnchantmentGreatWasting
	EnchantmentMeteorStorm
	EnchantmentEternalNight
	EnchantmentEvilOmens
	EnchantmentZombieMastery
)

type MagicSetting

type MagicSetting int
const (
	MagicSettingWeak MagicSetting = iota
	MagicSettingNormal
	MagicSettingPowerful
)

type MagicType

type MagicType int
const (
	MagicNone MagicType = iota
	LifeMagic
	SorceryMagic
	NatureMagic
	DeathMagic
	ChaosMagic
	ArcaneMagic
)

func (MagicType) String

func (magic MagicType) String() string

type Plane

type Plane int
const (
	PlaneArcanus Plane = iota
	PlaneMyrror
)

type Race

type Race int
const (
	RaceNone Race = iota
	RaceLizard
	RaceNomad
	RaceOrc
	RaceTroll
	RaceFantastic
	RaceHero
	RaceBarbarian
	RaceBeastmen
	RaceDarkElf
	RaceDraconian
	RaceDwarf
	RaceGnoll
	RaceHalfling
	RaceHighElf
	RaceHighMen
	RaceKlackon
	RaceAll
)

func ArcanianRaces

func ArcanianRaces() []Race

func MyrranRaces

func MyrranRaces() []Race

func (Race) String

func (race Race) String() string

technically 'Lizardmen' should be 'Lizardman' and 'Dwarf' should be 'Dwarven', but the help has them listed as 'Lizardmen Townsfolk' and 'Dwarf Townsfolk'

type TreatyType

type TreatyType int
const (
	TreatyNone TreatyType = iota
	TreatyPact
	TreatyAlliance
	TreatyWar
)

func (TreatyType) String

func (treaty TreatyType) String() string

type UnitEnchantment

type UnitEnchantment int
const (
	UnitEnchantmentNone UnitEnchantment = iota
	UnitEnchantmentGiantStrength
	UnitEnchantmentLionHeart
)

func (UnitEnchantment) Color

func (enchantment UnitEnchantment) Color() color.Color

func (UnitEnchantment) LbxFile

func (enchantment UnitEnchantment) LbxFile() string

func (UnitEnchantment) LbxIndex

func (enchantment UnitEnchantment) LbxIndex() int

func (UnitEnchantment) Name

func (enchantment UnitEnchantment) Name() string

type WeaponBonus

type WeaponBonus int
const (
	WeaponNone WeaponBonus = iota
	WeaponMagic
	WeaponMythril
	WeaponAdamantium
)

type WizardBase

type WizardBase int
const (
	WizardMerlin WizardBase = iota
	WizardRaven
	WizardSharee
	WizardLoPan
	WizardJafar
	WizardOberic
	WizardRjak
	WizardSssra
	WizardTauron
	WizardFreya
	WizardHorus
	WizardAriel
	WizardTlaloc
	WizardKali
)

type WizardBook

type WizardBook struct {
	Magic MagicType
	Count int
}

the number of books a wizard has of a specific magic type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL