Documentation ¶
Index ¶
Constants ¶
View Source
const (
FILENAME utils_types.FilePath = "goods.ini"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commodity ¶
type Commodity struct { semantic.Model Nickname *semantic.String Equipment *semantic.String Category *semantic.String Price *semantic.Int Combinable *semantic.String // should be StrBool GoodSellPrice *semantic.Float BadBuyPrice *semantic.Float BadSellPrice *semantic.Float GoodBuyPrice *semantic.Float ShopArchetype *semantic.Path ItemIcon *semantic.Path JumpDist *semantic.Int }
type Config ¶
type Config struct { Files []*ConfigFile Goods []*Good GoodsMap *lower_map.KeyLoweredMap[string, *Good] Commodities []*Commodity CommoditiesMap *lower_map.KeyLoweredMap[string, *Commodity] }
type ConfigFile ¶ added in v0.14.0
type ConfigFile struct {
semantic.ConfigModel
}
Click to show internal directories.
Click to hide internal directories.