equipment_mapped

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: GPL-3.0 Imports: 4 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 Config

type Config struct {
	semantic.ConfigModel

	Commodities []*Commodity
}

func Read

func Read(input_file *file.File) *Config

func (*Config) Write

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

type ConfigSelectEquip

type ConfigSelectEquip struct {
	semantic.ConfigModel

	Commodities []*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