@jeremyckahn/farmhand
Version:
A farming game
27 lines (24 loc) • 613 B
text/typescript
import { crop, fromSeed } from '../crop.js'
import { cropType, season } from '../../enums.js'
/**
* @property farmhand.module:items.tomatoSeed
*/
export const tomatoSeed: farmhand.item = crop({
cropType: cropType.TOMATO,
cropTimeline: [2, 1, 1, 1, 2, 2, 2],
growsInto: 'tomato',
highDemandSeasons: [season.SPRING, season.SUMMER],
id: 'tomato-seed',
lowDemandSeasons: [season.WINTER],
name: 'Tomato Seeds',
tier: 3,
})
/**
* @property farmhand.module:items.tomato
*/
export const tomato: farmhand.item = crop({
...fromSeed(tomatoSeed, {
canBeFermented: true,
}),
name: 'Tomato',
})