ship_mapped

package
v0.46.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Files []*iniload.IniLoader

	Ships    []*Ship
	ShipsMap map[string]*Ship
}

func Read

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

func (*Config) Write

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

type HpType added in v0.26.0

type HpType struct {
	semantic.Model
	Nickname          *semantic.String
	AllowedEquipments []*semantic.String
}
type ShieldLink struct {
	semantic.Model
	ShieldClass *semantic.String
}

type Ship

type Ship struct {
	semantic.Model
	Nickname  *semantic.String // matches value `ship` in goods
	ShipClass *semantic.Int
	Type      *semantic.String
	IdsName   *semantic.Int
	IdsInfo   *semantic.Int
	IdsInfo1  *semantic.Int
	IdsInfo2  *semantic.Int
	IdsInfo3  *semantic.Int

	Nanobots    *semantic.Int
	Batteries   *semantic.Int
	Mass        *semantic.Float
	LinearDrag  *semantic.Float
	HoldSize    *semantic.Int
	HitPts      *semantic.Int
	NudgeForce  *semantic.Float
	StrafeForce *semantic.Float
	ShieldLink  *ShieldLink
	HpTypes     []*HpType

	SteeringTorque   *semantic.Vect
	AngularDrag      *semantic.Vect
	RotationIntertia *semantic.Vect
}

Jump to

Keyboard shortcuts

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