@jeremyckahn/farmhand
Version:
A farming game
27 lines (24 loc) • 601 B
text/typescript
import { crop, fromSeed } from '../crop.js'
import { cropType, season } from '../../enums.js'
/**
* @property farmhand.module:items.garlicSeed
*/
export const garlicSeed: farmhand.item = crop({
cropType: cropType.GARLIC,
cropTimeline: [2, 1, 1, 1],
growsInto: 'garlic',
highDemandSeasons: [season.FALL, season.WINTER],
id: 'garlic-seed',
lowDemandSeasons: [season.SPRING],
name: 'Garlic Bulb',
tier: 5,
})
/**
* @property farmhand.module:items.garlic
*/
export const garlic: farmhand.item = crop({
...fromSeed(garlicSeed, {
canBeFermented: true,
}),
name: 'Garlic',
})