fun: stuff in the chest

This commit is contained in:
cha0s 2024-07-25 00:37:50 -05:00
parent 3eb94f2ef8
commit 14effd2455
2 changed files with 20 additions and 16 deletions

View File

@ -88,6 +88,26 @@ export default async function createHomestead(id) {
`, `,
}, },
Interlocutor: {}, Interlocutor: {},
Inventory: {
slots: {
2: {
qty: 1,
source: '/assets/watering-can/watering-can.json',
},
3: {
qty: 1,
source: '/assets/tomato-seeds/tomato-seeds.json',
},
4: {
qty: 1,
source: '/assets/hoe/hoe.json',
},
5: {
qty: 1,
source: '/assets/brush/brush.json',
},
},
},
Position: {x: 200, y: 200}, Position: {x: 200, y: 200},
Sprite: { Sprite: {
anchorX: 0.5, anchorX: 0.5,

View File

@ -26,22 +26,6 @@ export default async function createPlayer(id) {
qty: 100, qty: 100,
source: '/assets/potion/potion.json', source: '/assets/potion/potion.json',
}, },
2: {
qty: 1,
source: '/assets/watering-can/watering-can.json',
},
3: {
qty: 1,
source: '/assets/tomato-seeds/tomato-seeds.json',
},
4: {
qty: 1,
source: '/assets/hoe/hoe.json',
},
5: {
qty: 1,
source: '/assets/brush/brush.json',
},
}, },
}, },
Health: {health: 100}, Health: {health: 100},