Documentation ¶ Index ¶ type Location func StringToLocation(name string) (Location, error) func (i Location) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Location ¶ type Location int32 const ( None Location = iota Wield // item can be wielded (i.e. weapon) Hold // item can be held ('hold' command) Head Neck Body About_Body // like a cloak Legs Feet Arms Wrist Hands Fingers Waist ) func StringToLocation ¶ func StringToLocation(name string) (Location, error) func (Location) String ¶ func (i Location) String() string Source Files ¶ View all Source files location.go location_string.go Click to show internal directories. Click to hide internal directories.