some extra items & recipes... we're fucking Getting Somewhere!!!!!
This commit is contained in:
parent
169b81ea06
commit
32cdaf5199
|
@ -12,7 +12,10 @@ export interface Items {
|
|||
export enum DefaultItems {
|
||||
COIN = 1,
|
||||
WORKBENCH = 2,
|
||||
PEBBLE = 3
|
||||
PEBBLE = 3,
|
||||
TWIG = 4,
|
||||
APPLE = 5,
|
||||
BERRIES = 6,
|
||||
}
|
||||
|
||||
export const defaultItems: DefaultItem[] = [
|
||||
|
@ -41,6 +44,33 @@ export const defaultItems: DefaultItem[] = [
|
|||
type: 'plain',
|
||||
maxStack: 64,
|
||||
untradable: false
|
||||
},
|
||||
{
|
||||
id: -4,
|
||||
name: 'Twig',
|
||||
description: 'Just a tiny bit of wood',
|
||||
emoji: '🌿',
|
||||
type: 'plain',
|
||||
maxStack: 64,
|
||||
untradable: false
|
||||
},
|
||||
{
|
||||
id: -5,
|
||||
name: 'Apple',
|
||||
description: 'A forager\'s snack',
|
||||
emoji: '🍎',
|
||||
type: 'consumable',
|
||||
maxStack: 16,
|
||||
untradable: false
|
||||
},
|
||||
{
|
||||
id: -6,
|
||||
name: 'Berries',
|
||||
description: 'A little treat for the road!',
|
||||
emoji: '🍓',
|
||||
type: 'consumable',
|
||||
maxStack: 16,
|
||||
untradable: false
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -17,20 +17,45 @@ export const defaultRecipes: DefaultRecipe[] = [
|
|||
inputs: [],
|
||||
requirements: [],
|
||||
outputs: [
|
||||
{ item: getDefaultItem(DefaultItems.PEBBLE), quantity: 2 }
|
||||
{ item: getDefaultItem(DefaultItems.PEBBLE), quantity: 4 },
|
||||
{ item: getDefaultItem(DefaultItems.TWIG), quantity: 3 },
|
||||
{ item: getDefaultItem(DefaultItems.BERRIES), quantity: 2 }
|
||||
]
|
||||
},
|
||||
{
|
||||
id: -2,
|
||||
station: 'workbench',
|
||||
station: 'hand',
|
||||
inputs: [
|
||||
{ item: getDefaultItem(DefaultItems.PEBBLE), quantity: 2 }
|
||||
{ item: getDefaultItem(DefaultItems.PEBBLE), quantity: 2 },
|
||||
{ item: getDefaultItem(DefaultItems.TWIG), quantity: 2 },
|
||||
],
|
||||
requirements: [],
|
||||
outputs: [
|
||||
{ item: getDefaultItem(DefaultItems.WORKBENCH), quantity: 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
id: -3,
|
||||
station: 'forage',
|
||||
inputs: [],
|
||||
requirements: [],
|
||||
outputs: [
|
||||
{ item: getDefaultItem(DefaultItems.PEBBLE), quantity: 3 },
|
||||
{ item: getDefaultItem(DefaultItems.TWIG), quantity: 4 },
|
||||
{ item: getDefaultItem(DefaultItems.APPLE), quantity: 1 }
|
||||
]
|
||||
},
|
||||
{
|
||||
id: -4,
|
||||
station: 'forage',
|
||||
inputs: [],
|
||||
requirements: [],
|
||||
outputs: [
|
||||
{ item: getDefaultItem(DefaultItems.TWIG), quantity: 1 },
|
||||
{ item: getDefaultItem(DefaultItems.APPLE), quantity: 4 },
|
||||
{ item: getDefaultItem(DefaultItems.BERRIES), quantity: 6 },
|
||||
]
|
||||
},
|
||||
];
|
||||
|
||||
export function getDefaultRecipe(id: number): DefaultRecipe | undefined {
|
||||
|
|
Loading…
Reference in New Issue