Documentation ¶
Overview ¶
Package industry calculates the output from manufacturing, reprocessing, and other industrial processes.
Index ¶
- func ReprocessItem(db evego.Database, item *evego.Item, quantity int, stationYield float64, ...) ([]evego.InventoryLine, error)
- func ReprocessItems(db evego.Database, items []evego.InventoryLine, stationYield float64, ...) ([]evego.InventoryLine, error)
- func StationTax(standing float64) float64
- type ReproSkills
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReprocessItem ¶
func ReprocessItem(db evego.Database, item *evego.Item, quantity int, stationYield float64, taxRate float64, skills ReproSkills) ([]evego.InventoryLine, error)
ReprocessItem is a convenience function for reprocessing a single item.
func ReprocessItems ¶
func ReprocessItems(db evego.Database, items []evego.InventoryLine, stationYield float64, taxRate float64, skills ReproSkills) ([]evego.InventoryLine, error)
ReprocessItems reprocesses a number of items, consolidating stacks of each output item. The input station yield and tax rate are expressed as a number in 0..1 (e.g. 0.05 for 5%).
func StationTax ¶
StationTax returns the tax rate for an NPC station based on the character's standing.
Types ¶
Click to show internal directories.
Click to hide internal directories.