@jeremyckahn/farmhand
Version:
A farming game
25 lines (22 loc) • 589 B
text/typescript
import { crop, fromSeed } from '../crop.js'
import { cropType, season } from '../../enums.js'
/**
* @property farmhand.module:items.strawberrySeed
*/
export const strawberrySeed: farmhand.item = crop({
cropType: cropType.STRAWBERRY,
cropTimeline: [6, 2],
growsInto: 'strawberry',
highDemandSeasons: [season.SUMMER],
id: 'strawberry-seed',
lowDemandSeasons: [season.WINTER],
name: 'Strawberry Seed',
tier: 5,
})
/**
* @property farmhand.module:items.strawberry
*/
export const strawberry: farmhand.item = crop({
...fromSeed(strawberrySeed),
name: 'Strawberry',
})