UNPKG

@jeremyckahn/farmhand

Version:
25 lines (22 loc) 496 B
import { crop, fromSeed } from '../crop.js' import { cropType } from '../../enums.js' /** * @property farmhand.module:items.onionSeed */ export const onionSeed: farmhand.item = crop({ cropType: cropType.ONION, cropTimeline: [3, 1, 2, 1], growsInto: 'onion', id: 'onion-seed', name: 'Onion Seeds', tier: 2, }) /** * @property farmhand.module:items.onion */ export const onion: farmhand.item = crop({ ...fromSeed(onionSeed, { canBeFermented: true, }), name: 'Onion', })