@jeremyckahn/farmhand
Version:
A farming game
27 lines (24 loc) • 602 B
text/typescript
import { crop, fromSeed } from '../crop.js'
import { cropType, season } from '../../enums.js'
/**
* @property farmhand.module:items.pumpkinSeed
*/
export const pumpkinSeed: farmhand.item = crop({
cropType: cropType.PUMPKIN,
cropTimeline: [3, 1, 1, 1, 1, 1],
growsInto: 'pumpkin',
highDemandSeasons: [season.FALL],
id: 'pumpkin-seed',
lowDemandSeasons: [season.SPRING],
name: 'Pumpkin Seed',
tier: 1,
})
/**
* @property farmhand.module:items.pumpkin
*/
export const pumpkin: farmhand.item = crop({
...fromSeed(pumpkinSeed, {
canBeFermented: true,
}),
name: 'Pumpkin',
})