equip_mapped

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

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
	IdsName           *semantic.Int
	IdsInfo           *semantic.Int
	UnitsPerContainer *semantic.Int
	PodApperance      *semantic.String
	LootAppearance    *semantic.String
	DecayPerSecond    *semantic.Int
	Volume            *semantic.Float
	HitPts            *semantic.Int
}

type Config

type Config struct {
	Files []*iniload.IniLoader

	Commodities    []*Commodity
	CommoditiesMap map[string]*Commodity

	Guns        []*Gun
	Munitions   []*Munition
	MunitionMap map[string]*Munition

	Explosions   []*Explosion
	ExplosionMap map[string]*Explosion

	MineDroppers []*MineDropper
	Mines        []*Mine
	MinesMap     map[string]*Mine

	Items    []*Item
	ItemsMap map[string]*Item

	ShieldGens []*ShieldGenerator
}

func Read

func Read(files []*iniload.IniLoader) *Config

func (*Config) Write

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

type Explosion added in v0.21.0

type Explosion struct {
	semantic.Model
	Nickname      *semantic.String
	HullDamage    *semantic.Int
	EnergyDamange *semantic.Int
	Radius        *semantic.Int
}

type Gun added in v0.21.0

type Gun struct {
	semantic.Model
	Nickname            *semantic.String
	IdsName             *semantic.Int
	IdsInfo             *semantic.Int
	HitPts              *semantic.String // not able to read hit_pts = 5E+13 as any number yet
	PowerUsage          *semantic.Float
	RefireDelay         *semantic.Float
	MuzzleVelosity      *semantic.Float
	Toughness           *semantic.Float
	IsAutoTurret        *semantic.Bool
	TurnRate            *semantic.Float
	ProjectileArchetype *semantic.String
	HPGunType           *semantic.String
	Lootable            *semantic.Bool
}

type Item added in v0.15.0

type Item struct {
	semantic.Model

	Category string
	Nickname *semantic.String
	IdsName  *semantic.Int
	IdsInfo  *semantic.Int
}

type Mine added in v0.23.0

type Mine struct {
	semantic.Model
	Nickname           *semantic.String
	ExplosionArch      *semantic.String
	AmmoLimit          *semantic.Int
	HitPts             *semantic.Int
	Lifetime           *semantic.Float
	IdsName            *semantic.Int
	IdsInfo            *semantic.Int
	SeekDist           *semantic.Int
	TopSpeed           *semantic.Int
	Acceleration       *semantic.Int
	OwnerSafeTime      *semantic.Int
	DetonationDistance *semantic.Int
	LinearDrag         *semantic.Float
}

type MineDropper added in v0.23.0

type MineDropper struct {
	semantic.Model

	Nickname            *semantic.String
	IdsName             *semantic.Int
	IdsInfo             *semantic.Int
	HitPts              *semantic.Int
	ChildImpulse        *semantic.Float
	PowerUsage          *semantic.Float
	RefireDelay         *semantic.Float
	MuzzleVelocity      *semantic.Float
	Toughness           *semantic.Float
	ProjectileArchetype *semantic.String
	Lootable            *semantic.Bool
}

type Munition added in v0.21.0

type Munition struct {
	semantic.Model
	Nickname      *semantic.String
	ExplosionArch *semantic.String
	RequiredAmmo  *semantic.Bool
	HullDamage    *semantic.Int
	EnergyDamange *semantic.Int
	HealintAmount *semantic.Int
	WeaponType    *semantic.String
	LifeTime      *semantic.Float
	Mass          *semantic.Int
	Motor         *semantic.String
}

type ShieldGenerator added in v0.24.0

type ShieldGenerator struct {
	semantic.Model

	Nickname           *semantic.String
	IdsName            *semantic.Int
	IdsInfo            *semantic.Int
	HitPts             *semantic.Int
	Volume             *semantic.Int
	RegenerationRate   *semantic.Int
	MaxCapacity        *semantic.Int
	Toughness          *semantic.Float
	HpType             *semantic.String
	ConstPowerDraw     *semantic.Int
	RebuildPowerDraw   *semantic.Int
	OfflineRebuildTime *semantic.Int
	Lootable           *semantic.Bool
	ShieldType         *semantic.String
}

Jump to

Keyboard shortcuts

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