@jeremyckahn/farmhand
Version:
A farming game
25 lines (22 loc) • 509 B
text/typescript
import { crop, fromSeed } from '../crop.js'
import { cropType } from '../../enums.js'
/**
* @property farmhand.module:items.spinachSeed
*/
export const spinachSeed: farmhand.item = crop({
cropType: cropType.SPINACH,
cropTimeline: [2, 4],
growsInto: 'spinach',
id: 'spinach-seed',
name: 'Spinach Seed',
tier: 1,
})
/**
* @property farmhand.module:items.spinach
*/
export const spinach: farmhand.item = crop({
...fromSeed(spinachSeed, {
canBeFermented: true,
}),
name: 'Spinach',
})