Documentation ¶
Overview ¶
Package religion implements fantasy religions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Class ¶
type Class struct { Name string `json:"name"` Commonality int `json:"commonality"` FounderTitle string `json:"founder_title"` LeaderTitle string `json:"leader_title"` PantheonMinSize int `json:"pantheon_min_size"` PantheonMaxSize int `json:"pantheon_max_size"` GatheringPlaces []string `json:"gathering_places"` }
Class is a type of religion
type Religion ¶
type Religion struct { Name string `json:"name"` CommonName string `json:"common_name"` Class Class `json:"class"` Pantheon pantheon.Pantheon `json:"pantheon"` GatheringPlace string `json:"gathering_place"` Virtues []string `json:"virtues"` }
Religion is a religion
func (Religion) Simplify ¶
func (religion Religion) Simplify() SimplifiedReligion
Simplify returns a simplified version of a Religion
type SimplifiedReligion ¶
type SimplifiedReligion struct { Name string `json:"name"` CommonName string `json:"common_name"` Type string `json:"type"` LeaderTitle string `json:"leader_title"` GatheringPlace string `json:"gathering_place"` Pantheon pantheon.SimplifiedPantheon `json:"pantheon"` Virtues []string `json:"virtues"` }
SimplifiedReligion is a simplified version of Religion for display
Click to show internal directories.
Click to hide internal directories.