@jeremyckahn/farmhand
Version:
A farming game
27 lines (24 loc) • 479 B
text/typescript
import { crop, fromSeed } from '../crop.js'
import { cropType } from '../../enums.js'
/**
* @type {farmhand.item}
*/
export const carrotSeed = crop({
cropType: cropType.CARROT,
cropTimeline: [2, 1, 1, 1],
growsInto: 'carrot',
id: 'carrot-seed',
name: 'Carrot Seed',
tier: 1,
})
/**
* @type {farmhand.item}
*/
// @ts-expect-error
export const carrot = crop({
// @ts-expect-error
...fromSeed(carrotSeed, {
canBeFermented: true,
}),
name: 'Carrot',
})