constants

package
v0.0.0-...-b281173 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Set true to use expensive variants of recipes
	UseExpensive = false

	// what fuel the boiler/furnace should use. This is assumed to be minable
	PreferredFuel = "coal"
)

config options

Variables

View Source
var AssemblingMachines = []string{
	"assembling-machine-1",
	"assembling-machine-2",
	"assembling-machine-3",
}
View Source
var Boilers = []string{
	"boiler",
}
View Source
var ChemicalPlants = []string{
	"chemical-plant",
}
View Source
var Furnaces = []string{
	"stone-furnace",
	"steel-furnace",
	"electric-furnace",
}
View Source
var Labs = []string{
	"lab",
}
View Source
var Refineries = []string{
	"oil-refinery",
}
View Source
var StartingInventory = map[string]uint{
	"stone-furnace":       1,
	"burner-mining-drill": 1,
	"wood":                1,

	"iron-plate": 8,
}

StartingInventory is the inventory given when starting a new vanilla game

Functions

This section is empty.

Types

type Direction

type Direction int
const (
	DirectionNone Direction = iota
	DirectionNorth
	DirectionSouth
	DirectionEast
	DirectionWest
)

func (Direction) String

func (d Direction) String() string

type FuelCategory

type FuelCategory string
const (
	FuelCategoryChemical FuelCategory = "chemical"
	FuelCategoryElectric FuelCategory = "electric"
	FuelCategoryNuclear  FuelCategory = "nuclear"
)

type Inventory

type Inventory int
const (
	InventoryFuel Inventory = iota
	InventoryBurntResult
	InventoryChest
	InventoryFurnaceSource
	InventoryFurnaceResult
	InventoryFurnaceModules
	InventoryCharacterMain
	InventoryCharacterGuns
	InventoryCharacterAmmo
	InventoryCharacterArmor
	InventoryCharacterVehicle
	InventoryCharacterTrash
	InventoryGodMain
	InventoryEditorMain
	InventoryEditorGuns
	InventoryEditorAmmo
	InventoryEditorArmor
	InventoryRoboportRobot
	InventoryRoboportMaterial
	InventoryRobotCargo
	InventoryRobotRepair
	InventoryAssemblingMachineInput
	InventoryAssemblingMachineOutput
	InventoryAssemblingMachineModules
	InventoryLabInput
	InventoryLabModules
	InventoryItemMain
	InventoryRocketSiloRocket
	InventoryRocketSiloResult
	InventoryRocketSiloInput
	InventoryRocketSiloOutput
	InventoryRocketSiloModules
	InventoryRocket
	InventoryCarTrunk
	InventoryCarAmmo
	InventoryCargoWagon
	InventoryTurretAmmo
	InventoryBeaconModules
	InventoryCharacterCorpse
	InventoryArtilleryTurretAmmo
	InventoryArtilleryWagonAmmo
	InventorySpiderTrunk
	InventorySpiderAmmo
	InventorySpiderTrash
)

func (Inventory) String

func (i Inventory) String() string

Jump to

Keyboard shortcuts

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