equipment_mapped

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILENAME utils_types.FilePath = "goods.ini"
)
View Source
const (
	FILENAME_SELECT_EQUIP utils_types.FilePath = "select_equip.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 CommodityEquip

type CommodityEquip struct {
	semantic.Model

	Nickname          *semantic.String
	IdsName           *semantic.Int
	IdsInfo           *semantic.Int
	UnitsPerContainer *semantic.Int
	PodApperance      *semantic.String
	LootAppearance    *semantic.String
	DecayPerSecond    *semantic.Int
	Volume            *semantic.Int
	HitPts            *semantic.Int
}

type ConfigGoods added in v0.10.0

type ConfigGoods struct {
	semantic.ConfigModel

	Commodities    []*Commodity
	CommoditiesMap *lower_map.KeyLoweredMap[string, *Commodity]
}

func Read

func Read(input_file *file.File) *ConfigGoods

func (*ConfigGoods) Write added in v0.10.0

func (frelconfig *ConfigGoods) Write() *file.File

type ConfigSelectEquip

type ConfigSelectEquip struct {
	semantic.ConfigModel

	Commodities    []*CommodityEquip
	CommoditiesMap *lower_map.KeyLoweredMap[string, *CommodityEquip]
}

func ReadSelectEquip

func ReadSelectEquip(input_file *file.File) *ConfigSelectEquip

func (*ConfigSelectEquip) Write

func (frelconfig *ConfigSelectEquip) Write() *file.File

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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