farming

package
v0.0.0-...-aac85f6 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TREES          = "Trees"
	HARDWOOD_TREES = "Hardwood trees"
	SPECIAL_TREES  = "Special trees"
	OTHER          = "Other"
)

Variables

View Source
var Epoch = time.Date(2023, 1, 31, 0, 0, 0, 0, time.UTC)
View Source
var TimeablesByCategory = map[string][]Timeable{
	TREES: {
		crop("Acorn", 40, 5*40),
		crop("Willow", 40, 6*40),
		crop("Maple", 40, 8*40),
		crop("Yew", 40, 10*40),
		crop("Magic", 40, 12*40),
	},
	HARDWOOD_TREES: {
		crop("Teak", 640, 7*640),
		crop("Mahogany", 640, 8*640),
	},
	SPECIAL_TREES: {
		crop("Calquat", 160, 8*160),
		crop("Crystal", 80, 6*80),
		crop("Spirit", 320, 12*320),
		crop("Celastrus", 160, 5*160),
		crop("Redwood", 640, 10*640),
	},
	OTHER: {
		crop("Herbs", 20, 4*20),
		crop("Fruit trees", 160, 6*160),
		crop("Hespori", 640, 3*640),
		birdhouse{},
	},
}

Functions

This section is empty.

Types

type Timeable

type Timeable interface {
	GetName() string
	GetTriggerTime(currentTime time.Time, cycleOffset time.Duration) (int64, error)
}

Jump to

Keyboard shortcuts

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