Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Codes = []string{ ALPS: "ALPS", AR: "AR", BH: "BH", BR: "BR", CH: "CH", DE: "DE", DF: "DF", DH: "DH", FORDS: "FORDS", GH: "GH", HSM: "HSM", JG: "JG", JH: "JH", L: "L", LCM: "LCM", LJM: "LJM", LSM: "LSM", O: "O", PI: "PI", PR: "PR", R: "R", RH: "RH", SH: "SH", SW: "SW", TU: "TU", } Description = []string{ ALPS: "Alpine", AR: "Arid:", BH: "Brush Hill", BR: "Brush", CH: "Conifer Hills", DE: "Desert", DF: "Deciduous Forest", DH: "Deciduous Hill", FORDS: "Fords", GH: "Grassy Hills", HSM: "High Mountains", JG: "Jungle", JH: "Jungle Hill", L: "Lake", LCM: "Low Conifer Mountains", LJM: "Low Jungle Mountain", LSM: "Low Snowy Mountains", O: "Ocean", PI: "Polar Ice", PR: "Prairie", R: "River", RH: "Rocky Hills", SH: "Snowy Hills", SW: "Swamp", TU: "Tundra", } LongDescription = [...]string{ ALPS: "a bigger version of HSM.", AR: "Arid: tundra without water.", BH: "Brush Hill: Hill covered with brush.", BR: "Brush: Conifer forest with fewer trees more bushes (Forestry not possible here).", CH: "Conifer Hill: Hill covered with conifer forest.", DE: "Desert: Arid without grass.", DF: "Deciduous: Seasonal forest.", DH: "Deciduous Hill: Hill covered with deciduous forest.", FORDS: "Shallow spots that are ways across rivers.", GH: "Grassy Hill: Hill covered with grass.", HSM: "High Mountains: cannot be entered, except through a pass.", JG: "Jungle: Wet forest.", JH: "Jungle Hill: Hill covered with jungle.", L: "Lake a body of water.", LCM: "Low Conifer Mountains: Hills but higher, difficult to enter covered with conifer forest.", LJM: "Low Jungle Mountain.", LSM: "Low Snowy Mountains: Hills but higher, very difficult to enter.", O: "Ocean.", PI: "Polar Ice: Permanent ice and difficult to move through.", PR: "Prairie: Grassland.", R: "Rivers: Large moving bodies of water impossible to cross unless through a ford or by boat.", RH: "Rocky Hill: Hill covered with rocks.", SH: "Snow Hill: colder than GH, snow rather than grass.", SW: "Swamp: very wet grassland.", TU: "Tundra: not very good grassland.", } )
Functions ¶
This section is empty.
Types ¶
type Terrain ¶
type Terrain int
func (Terrain) Description ¶
Description returns a description of the code.
func (Terrain) LongDescription ¶
LongDescription returns an expanded description of the terrain code.
func (Terrain) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface
func (*Terrain) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.