@rpg-engine/long-bow 0.3.62 → 0.3.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +181 -181
  3. package/dist/long-bow.cjs.development.js +924 -913
  4. package/dist/long-bow.cjs.development.js.map +1 -1
  5. package/dist/long-bow.cjs.production.min.js +1 -1
  6. package/dist/long-bow.cjs.production.min.js.map +1 -1
  7. package/dist/long-bow.esm.js +738 -727
  8. package/dist/long-bow.esm.js.map +1 -1
  9. package/package.json +100 -100
  10. package/src/components/Abstractions/SlotsContainer.tsx +45 -45
  11. package/src/components/Arrow/SelectArrow.tsx +69 -69
  12. package/src/components/Arrow/img/arrow01-left-clicked.png +0 -0
  13. package/src/components/Arrow/img/arrow01-left.png +0 -0
  14. package/src/components/Arrow/img/arrow01-right-clicked.png +0 -0
  15. package/src/components/Arrow/img/arrow01-right.png +0 -0
  16. package/src/components/Arrow/img/arrow02-left-clicked.png +0 -0
  17. package/src/components/Arrow/img/arrow02-left.png +0 -0
  18. package/src/components/Arrow/img/arrow02-right-clicked.png +0 -0
  19. package/src/components/Arrow/img/arrow02-right.png +0 -0
  20. package/src/components/Button.tsx +40 -40
  21. package/src/components/Character/CharacterSelection.tsx +96 -96
  22. package/src/components/CharacterStatus/CharacterStatus.tsx +120 -120
  23. package/src/components/Chat/Chat.tsx +195 -195
  24. package/src/components/Chatdeprecated/ChatDeprecated.tsx +198 -198
  25. package/src/components/CheckButton.tsx +65 -65
  26. package/src/components/CircularController/CircularController.tsx +248 -248
  27. package/src/components/CraftBook/CraftBook.tsx +227 -227
  28. package/src/components/CraftBook/MockItems.ts +46 -46
  29. package/src/components/DraggableContainer.tsx +165 -153
  30. package/src/components/Dropdown.tsx +90 -90
  31. package/src/components/DropdownSelectorContainer.tsx +42 -42
  32. package/src/components/Equipment/EquipmentSet.tsx +190 -190
  33. package/src/components/HistoryDialog.tsx +104 -104
  34. package/src/components/Input.tsx +15 -15
  35. package/src/components/Item/Cards/ItemTooltip.tsx +33 -33
  36. package/src/components/Item/Inventory/ErrorBoundary.tsx +42 -42
  37. package/src/components/Item/Inventory/ItemContainer.tsx +210 -210
  38. package/src/components/Item/Inventory/ItemContainerTypes.ts +6 -6
  39. package/src/components/Item/Inventory/ItemQuantitySelector.tsx +138 -138
  40. package/src/components/Item/Inventory/ItemSlot.tsx +501 -501
  41. package/src/components/Item/Inventory/itemContainerHelper.ts +156 -156
  42. package/src/components/ListMenu.tsx +63 -63
  43. package/src/components/Multitab/Tab.tsx +66 -66
  44. package/src/components/Multitab/TabBody.tsx +13 -13
  45. package/src/components/Multitab/TabsContainer.tsx +97 -97
  46. package/src/components/NPCDialog/NPCDialog.tsx +121 -121
  47. package/src/components/NPCDialog/NPCDialogText.tsx +113 -113
  48. package/src/components/NPCDialog/NPCMultiDialog.tsx +159 -159
  49. package/src/components/NPCDialog/QuestionDialog/QuestionDialog.tsx +237 -237
  50. package/src/components/ProgressBar.tsx +92 -92
  51. package/src/components/PropertySelect/PropertySelect.tsx +106 -106
  52. package/src/components/QuestInfo/QuestInfo.tsx +230 -230
  53. package/src/components/QuestList.tsx +129 -129
  54. package/src/components/RPGUIContainer.tsx +47 -47
  55. package/src/components/RPGUIForceRenderStart.tsx +45 -45
  56. package/src/components/RPGUIRoot.tsx +14 -14
  57. package/src/components/RadioButton.tsx +53 -53
  58. package/src/components/RadioInput/RadioButton.tsx +96 -96
  59. package/src/components/RadioInput/RadioInput.tsx +102 -102
  60. package/src/components/RadioInput/instruments.ts +15 -15
  61. package/src/components/RangeSlider.tsx +78 -78
  62. package/src/components/RelativeListMenu.tsx +83 -83
  63. package/src/components/ScrollList.tsx +79 -79
  64. package/src/components/Shortcuts/Shortcuts.tsx +151 -151
  65. package/src/components/Shortcuts/ShortcutsSetter.tsx +132 -132
  66. package/src/components/Shortcuts/SingleShortcut.ts +62 -62
  67. package/src/components/SimpleProgressBar.tsx +62 -62
  68. package/src/components/SkillProgressBar.tsx +133 -133
  69. package/src/components/SkillsContainer.tsx +198 -198
  70. package/src/components/Spellbook/Spell.tsx +201 -201
  71. package/src/components/Spellbook/Spellbook.tsx +150 -150
  72. package/src/components/Spellbook/constants.ts +8 -8
  73. package/src/components/Spellbook/mockSpells.ts +60 -60
  74. package/src/components/StaticBook/StaticBook.tsx +103 -103
  75. package/src/components/TextArea.tsx +11 -11
  76. package/src/components/TimeWidget/DayNightPeriod/DayNightPeriod.tsx +35 -35
  77. package/src/components/TimeWidget/TimeWidget.tsx +63 -63
  78. package/src/components/TradingMenu/TradingItemRow.tsx +181 -181
  79. package/src/components/TradingMenu/TradingMenu.tsx +203 -203
  80. package/src/components/TradingMenu/items.mock.ts +96 -96
  81. package/src/components/Truncate.tsx +25 -25
  82. package/src/components/itemSelector/ItemSelector.tsx +136 -136
  83. package/src/components/shared/Column.tsx +16 -16
  84. package/src/components/shared/Ellipsis.tsx +65 -65
  85. package/src/components/shared/SpriteFromAtlas.tsx +102 -102
  86. package/src/components/typography/DynamicText.tsx +49 -49
  87. package/src/constants/uiColors.ts +20 -20
  88. package/src/constants/uiDevices.ts +3 -3
  89. package/src/constants/uiFonts.ts +12 -12
  90. package/src/hooks/useEventListener.ts +21 -21
  91. package/src/hooks/useOutsideAlerter.ts +25 -25
  92. package/src/index.tsx +40 -40
  93. package/src/libs/StringHelpers.ts +3 -3
  94. package/src/mocks/atlas/entities/entities.json +20215 -20215
  95. package/src/mocks/atlas/icons/icons.json +735 -735
  96. package/src/mocks/atlas/items/items.json +12086 -12086
  97. package/src/mocks/equipmentSet.mocks.ts +393 -393
  98. package/src/mocks/itemContainer.mocks.ts +562 -562
  99. package/src/mocks/skills.mocks.ts +128 -128
  100. package/src/stories/Arrow.stories.tsx +26 -26
  101. package/src/stories/Button.stories.tsx +36 -36
  102. package/src/stories/CharacterSelection.stories.tsx +45 -45
  103. package/src/stories/CharacterStatus.stories.tsx +29 -29
  104. package/src/stories/Chat.stories.tsx +187 -187
  105. package/src/stories/ChatDeprecated.stories.tsx +170 -170
  106. package/src/stories/CheckButton.stories.tsx +48 -48
  107. package/src/stories/CircullarController.stories.tsx +37 -37
  108. package/src/stories/CraftBook.stories.tsx +40 -40
  109. package/src/stories/DayNightPeriod.stories.tsx +27 -27
  110. package/src/stories/DraggableContainer.stories.tsx +28 -28
  111. package/src/stories/Dropdown.stories.tsx +46 -46
  112. package/src/stories/DropdownSelectorContainer.stories.tsx +41 -41
  113. package/src/stories/EquipmentSet.stories.tsx +65 -65
  114. package/src/stories/HistoryDialog.stories.tsx +61 -61
  115. package/src/stories/ItemContainer.stories.tsx +198 -198
  116. package/src/stories/ItemQuantitySelector.stories.tsx +26 -26
  117. package/src/stories/ItemSelector.stories.tsx +77 -77
  118. package/src/stories/ItemTradingComponent.stories.tsx +35 -35
  119. package/src/stories/ListMenu.stories.tsx +56 -56
  120. package/src/stories/Multitab.stories.tsx +51 -51
  121. package/src/stories/NPCDialog.stories.tsx +130 -130
  122. package/src/stories/NPCMultiDialog.stories.tsx +71 -71
  123. package/src/stories/ProgressBar.stories.tsx +23 -23
  124. package/src/stories/PropertySelect.stories.tsx +40 -40
  125. package/src/stories/QuestInfo.stories.tsx +107 -107
  126. package/src/stories/QuestList.stories.tsx +82 -82
  127. package/src/stories/RPGUIContainers.stories.tsx +42 -42
  128. package/src/stories/RadioButton.stories.tsx +49 -49
  129. package/src/stories/RadioInput.stories.tsx +34 -34
  130. package/src/stories/RangeSlider.stories.tsx +64 -64
  131. package/src/stories/ScrollList.stories.tsx +85 -85
  132. package/src/stories/Shortcuts.stories.tsx +39 -39
  133. package/src/stories/SimpleProgressBar.stories.tsx +22 -22
  134. package/src/stories/SkillProgressBar.stories.tsx +34 -34
  135. package/src/stories/SkillsContainer.stories.tsx +35 -35
  136. package/src/stories/Spellbook.stories.tsx +104 -104
  137. package/src/stories/StaticBook.stories.tsx +32 -32
  138. package/src/stories/Text.stories.tsx +42 -42
  139. package/src/stories/TimeWidget.stories.tsx +27 -27
  140. package/src/stories/TradingMenu.stories.tsx +45 -45
  141. package/src/types/eventTypes.ts +4 -4
  142. package/src/types/index.d.ts +2 -2
@@ -1,562 +1,562 @@
1
- import {
2
- IItem,
3
- IItemContainer,
4
- ItemRarities,
5
- ItemSlotType,
6
- ItemSubType,
7
- ItemType,
8
- } from '@rpg-engine/shared';
9
-
10
- export const items: IItem[] = [
11
- {
12
- _id: '629acef1c7c8e8002ff60736',
13
- hasUseWith: false,
14
- type: ItemType.Weapon,
15
- subType: ItemSubType.Sword,
16
- textureAtlas: 'items',
17
- allowedEquipSlotType: [ItemSlotType.LeftHand, ItemSlotType.RightHand],
18
- maxStackSize: 1,
19
- isUsable: false,
20
- isStorable: true,
21
- layer: 1,
22
- isItemContainer: false,
23
- isSolid: false,
24
- isTwoHanded: false,
25
- key: 'short-sword-66',
26
- texturePath: 'swords/short-sword.png',
27
- textureKey: 'short-sword',
28
- name: 'Short Sword',
29
- description:
30
- 'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
31
- attack: 5,
32
- defense: 0,
33
- weight: 10,
34
- tiledId: 66,
35
- x: 320,
36
- y: 144,
37
- scene: 'MainScene',
38
- fullDescription:
39
- 'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
40
- isEquipable: true,
41
- isStackable: false,
42
- createdAt: '2022-06-04T03:18:09.335Z',
43
- updatedAt: '2022-06-04T18:16:49.056Z',
44
- rarity: ItemRarities.Legendary,
45
- },
46
- {
47
- _id: '629acef1c7c8e8002ff73564',
48
- hasUseWith: false,
49
- type: ItemType.Weapon,
50
- subType: ItemSubType.Axe,
51
- textureAtlas: 'items',
52
- allowedEquipSlotType: [ItemSlotType.LeftHand, ItemSlotType.RightHand],
53
- maxStackSize: 1,
54
- isUsable: false,
55
- isStorable: true,
56
- isTwoHanded: false,
57
- layer: 1,
58
- isItemContainer: false,
59
- isSolid: false,
60
- key: 'board-sword-20',
61
- texturePath: 'ranged-weapons/bow.png',
62
- textureKey: 'bow',
63
- name: 'Bow',
64
- description: 'You see a broad bow.',
65
- attack: 7,
66
- defense: 3,
67
- weight: 13,
68
- tiledId: 67,
69
- x: 320,
70
- y: 144,
71
- scene: 'MainScene',
72
- fullDescription: 'You see a board bow.',
73
- isEquipable: true,
74
- isStackable: false,
75
- createdAt: '2022-06-04T03:18:09.335Z',
76
- updatedAt: '2022-06-04T18:16:49.056Z',
77
- rarity: ItemRarities.Epic,
78
- },
79
- {
80
- _id: '629acef1c7c8e8002ff60723',
81
- hasUseWith: false,
82
- type: ItemType.Consumable,
83
- subType: ItemSubType.Potion,
84
- textureAtlas: 'items',
85
- allowedEquipSlotType: [ItemSlotType.Inventory],
86
- isEquipable: false,
87
- isStackable: true,
88
- maxStackSize: 99,
89
- isTwoHanded: false,
90
- stackQty: 3,
91
- isUsable: true,
92
- isStorable: true,
93
- layer: 1,
94
- isItemContainer: false,
95
- isSolid: false,
96
- key: 'board-sword-22',
97
- texturePath: 'potions/greater-life-potion.png',
98
- textureKey: 'greater-life-potion',
99
- name: 'Greater Life Potion',
100
- description: 'Recover your life',
101
- attack: 7,
102
- defense: 3,
103
- weight: 13,
104
- tiledId: 67,
105
- x: 320,
106
- y: 144,
107
- scene: 'MainScene',
108
- fullDescription: 'Recover your life',
109
- createdAt: '2022-06-04T03:18:09.335Z',
110
- updatedAt: '2022-06-04T18:16:49.056Z',
111
- rarity: ItemRarities.Uncommon,
112
- },
113
- {
114
- _id: '629acek4j7c8e8002ff60034',
115
- hasUseWith: false,
116
- type: ItemType.Consumable,
117
- subType: ItemSubType.Food,
118
- textureAtlas: 'items',
119
- allowedEquipSlotType: [ItemSlotType.Inventory],
120
- isEquipable: false,
121
- isStackable: true,
122
- maxStackSize: 99,
123
- stackQty: 100,
124
- isUsable: true,
125
- isStorable: true,
126
- isTwoHanded: false,
127
- layer: 1,
128
- isItemContainer: false,
129
- isSolid: false,
130
- key: 'board-sword-21',
131
- texturePath: 'potions/mana-potion.png',
132
- textureKey: 'mana-potion',
133
- name: 'Mana Potion',
134
- description: 'Recover your mana',
135
- attack: 7,
136
- defense: 3,
137
- weight: 13,
138
- tiledId: 67,
139
- x: 320,
140
- y: 144,
141
- scene: 'MainScene',
142
- fullDescription: 'Recover your mana',
143
- createdAt: '2022-06-04T03:18:09.335Z',
144
- updatedAt: '2022-06-04T18:16:49.056Z',
145
- rarity: ItemRarities.Rare,
146
- },
147
- {
148
- _id: '629acek4j7c8e8002fg60034',
149
- hasUseWith: true,
150
- type: ItemType.Consumable,
151
- subType: ItemSubType.Accessory,
152
- textureAtlas: 'items',
153
- allowedEquipSlotType: [ItemSlotType.Inventory],
154
- isEquipable: false,
155
- isStackable: true,
156
- maxStackSize: 100,
157
- isTwoHanded: false,
158
-
159
- isUsable: true,
160
- isStorable: true,
161
- layer: 1,
162
- isItemContainer: false,
163
- isSolid: false,
164
- key: 'silver-key',
165
- texturePath: 'others/silver-key.png',
166
- textureKey: 'silver-key',
167
- name: 'Key',
168
- description: 'Open the gates, but use the key!',
169
- attack: 7,
170
- defense: 3,
171
- weight: 13,
172
- tiledId: 67,
173
- x: 320,
174
- y: 144,
175
- scene: 'MainScene',
176
- fullDescription: 'Key to open things',
177
- createdAt: '2022-06-04T03:18:09.335Z',
178
- updatedAt: '2022-06-04T18:16:49.056Z',
179
- rarity: ItemRarities.Common,
180
- },
181
- {
182
- _id: '392acek4j7c8e8002ff60403',
183
- type: ItemType.CraftingResource,
184
- hasUseWith: false,
185
- subType: ItemSubType.Other,
186
- textureAtlas: 'items',
187
- allowedEquipSlotType: [ItemSlotType.Inventory],
188
- isEquipable: false,
189
- isStackable: true,
190
- maxStackSize: 100,
191
- stackQty: 32,
192
- isUsable: false,
193
- isStorable: true,
194
- isTwoHanded: false,
195
- layer: 1,
196
- isItemContainer: false,
197
- isSolid: false,
198
- key: 'rune-22',
199
- texturePath: 'magics/rune.png',
200
- textureKey: 'rune',
201
- name: 'Some Shard',
202
- description: 'Use this to craft things!',
203
- attack: 7,
204
- defense: 3,
205
- weight: 13,
206
- tiledId: 67,
207
- x: 320,
208
- y: 144,
209
- scene: 'MainScene',
210
- fullDescription: 'Somes shard, some crafts.',
211
- createdAt: '2022-06-04T03:18:09.335Z',
212
- updatedAt: '2022-06-04T18:16:49.056Z',
213
- rarity: ItemRarities.Common,
214
- },
215
- {
216
- _id: '392acek4j7c8e8002ff60404',
217
- hasUseWith: false,
218
- type: ItemType.Container,
219
- subType: ItemSubType.Other,
220
- textureAtlas: 'items',
221
- allowedEquipSlotType: [ItemSlotType.Inventory],
222
- isEquipable: false,
223
- isStackable: true,
224
- maxStackSize: 100,
225
-
226
- isUsable: false,
227
- isStorable: true,
228
- isTwoHanded: false,
229
- layer: 1,
230
- isItemContainer: true,
231
- isSolid: false,
232
- key: 'bag',
233
- texturePath: 'containers/bag.png',
234
- textureKey: 'bag',
235
- name: 'Bag',
236
- generateContainerSlots: 10,
237
- description:
238
- 'You see a bag. It has made using leather and it has 10 total slots.',
239
- attack: 7,
240
- defense: 3,
241
- weight: 13,
242
- tiledId: 67,
243
- x: 320,
244
- y: 144,
245
- scene: 'MainScene',
246
- fullDescription:
247
- 'You see a bag. It has made using leather and it has 10 total slots.',
248
- createdAt: '2022-06-04T03:18:09.335Z',
249
- updatedAt: '2022-06-04T18:16:49.056Z',
250
- rarity: ItemRarities.Common,
251
- },
252
- {
253
- _id: '392acek4j7c8e80d2fs60404',
254
- hasUseWith: false,
255
- type: ItemType.Accessory,
256
- subType: ItemSubType.Ranged,
257
- textureAtlas: 'items',
258
- allowedEquipSlotType: [ItemSlotType.Accessory],
259
- isEquipable: true,
260
- isStackable: true,
261
- maxStackSize: 100,
262
- stackQty: 1,
263
- isUsable: false,
264
- isStorable: true,
265
- isTwoHanded: false,
266
- layer: 1,
267
- isItemContainer: true,
268
- isSolid: false,
269
- key: 'stone',
270
- texturePath: 'ranged-weapons/stone.png',
271
- textureKey: 'stone',
272
- name: 'stone',
273
- generateContainerSlots: 10,
274
- description: 'You see a stone. It is used with slingshot.',
275
- attack: 7,
276
- defense: 3,
277
- weight: 13,
278
- tiledId: 67,
279
- x: 320,
280
- y: 144,
281
- scene: 'MainScene',
282
- fullDescription: 'You see a stone. It is used with slingshot',
283
- createdAt: '2022-06-04T03:18:09.335Z',
284
- updatedAt: '2022-06-04T18:16:49.056Z',
285
- rarity: ItemRarities.Common,
286
- },
287
- {
288
- _id: '392acek4j7c8e80d2fs60404',
289
- hasUseWith: false,
290
- type: ItemType.Accessory,
291
- subType: ItemSubType.Ranged,
292
- textureAtlas: 'items',
293
- allowedEquipSlotType: [ItemSlotType.Accessory],
294
- isEquipable: true,
295
- isStackable: true,
296
- maxStackSize: 100,
297
- stackQty: 2,
298
- isUsable: false,
299
- isStorable: true,
300
- isTwoHanded: false,
301
- layer: 1,
302
- isItemContainer: true,
303
- isSolid: false,
304
- key: 'stone',
305
- texturePath: 'ranged-weapons/stone.png',
306
- textureKey: 'stone',
307
- name: 'stone',
308
- generateContainerSlots: 10,
309
- description: 'You see a stone. It is used with slingshot.',
310
- attack: 7,
311
- defense: 3,
312
- weight: 13,
313
- tiledId: 67,
314
- x: 320,
315
- y: 144,
316
- scene: 'MainScene',
317
- fullDescription: 'You see a stone. It is used with slingshot',
318
- createdAt: '2022-06-04T03:18:09.335Z',
319
- updatedAt: '2022-06-04T18:16:49.056Z',
320
- rarity: ItemRarities.Common,
321
- },
322
- {
323
- _id: '392acek4j7c8e80d2fs60404',
324
- hasUseWith: false,
325
- type: ItemType.Accessory,
326
- subType: ItemSubType.Ranged,
327
- textureAtlas: 'items',
328
- allowedEquipSlotType: [ItemSlotType.Accessory],
329
- isEquipable: true,
330
- isStackable: true,
331
- maxStackSize: 100,
332
- stackQty: 3,
333
- isUsable: false,
334
- isStorable: true,
335
- isTwoHanded: false,
336
- layer: 1,
337
- isItemContainer: true,
338
- isSolid: false,
339
- key: 'stone',
340
- texturePath: 'ranged-weapons/stone.png',
341
- textureKey: 'stone',
342
- name: 'stone',
343
- generateContainerSlots: 10,
344
- description: 'You see a stone. It is used with slingshot.',
345
- attack: 7,
346
- defense: 3,
347
- weight: 13,
348
- tiledId: 67,
349
- x: 320,
350
- y: 144,
351
- scene: 'MainScene',
352
- fullDescription: 'You see a stone. It is used with slingshot',
353
- createdAt: '2022-06-04T03:18:09.335Z',
354
- updatedAt: '2022-06-04T18:16:49.056Z',
355
- rarity: ItemRarities.Common,
356
- },
357
- {
358
- _id: '392acek4j7c8e80d2fs60404',
359
- hasUseWith: false,
360
- type: ItemType.Accessory,
361
- subType: ItemSubType.Ranged,
362
- textureAtlas: 'items',
363
- allowedEquipSlotType: [ItemSlotType.Accessory],
364
- isEquipable: true,
365
- isStackable: true,
366
- maxStackSize: 100,
367
- stackQty: 4,
368
- isUsable: false,
369
- isStorable: true,
370
- isTwoHanded: false,
371
- layer: 1,
372
- isItemContainer: true,
373
- isSolid: false,
374
- key: 'stone',
375
- texturePath: 'ranged-weapons/stone.png',
376
- textureKey: 'stone',
377
- name: 'stone',
378
- generateContainerSlots: 10,
379
- description: 'You see a stone. It is used with slingshot.',
380
- attack: 7,
381
- defense: 3,
382
- weight: 13,
383
- tiledId: 67,
384
- x: 320,
385
- y: 144,
386
- scene: 'MainScene',
387
- fullDescription: 'You see a stone. It is used with slingshot',
388
- createdAt: '2022-06-04T03:18:09.335Z',
389
- updatedAt: '2022-06-04T18:16:49.056Z',
390
- rarity: ItemRarities.Common,
391
- },
392
- {
393
- _id: '392acek4j7c8e80d2fs60404',
394
- hasUseWith: false,
395
- type: ItemType.Accessory,
396
- subType: ItemSubType.Ranged,
397
- textureAtlas: 'items',
398
- allowedEquipSlotType: [ItemSlotType.Accessory],
399
- isEquipable: true,
400
- isStackable: true,
401
- maxStackSize: 100,
402
- stackQty: 5,
403
- isUsable: false,
404
- isStorable: true,
405
- isTwoHanded: false,
406
- layer: 1,
407
- isItemContainer: true,
408
- isSolid: false,
409
- key: 'stone',
410
- texturePath: 'ranged-weapons/stone.png',
411
- textureKey: 'stone',
412
- name: 'stone',
413
- generateContainerSlots: 10,
414
- description: 'You see a stone. It is used with slingshot.',
415
- attack: 7,
416
- defense: 3,
417
- weight: 13,
418
- tiledId: 67,
419
- x: 320,
420
- y: 144,
421
- scene: 'MainScene',
422
- fullDescription: 'You see a stone. It is used with slingshot',
423
- createdAt: '2022-06-04T03:18:09.335Z',
424
- updatedAt: '2022-06-04T18:16:49.056Z',
425
- rarity: ItemRarities.Common,
426
- },
427
- {
428
- _id: '392acek4j7c8e80d2fs60404',
429
- hasUseWith: false,
430
- type: ItemType.Other,
431
- subType: ItemSubType.Other,
432
- textureAtlas: 'items',
433
- allowedEquipSlotType: [],
434
- isEquipable: true,
435
- isStackable: true,
436
- maxStackSize: 100,
437
- stackQty: 9999,
438
- isUsable: false,
439
- isStorable: true,
440
- isTwoHanded: false,
441
- layer: 1,
442
- isItemContainer: true,
443
- isSolid: false,
444
- key: 'gold-coin',
445
- texturePath: 'others/gold-coin.png',
446
- textureKey: 'gold-coin',
447
- name: 'gold-coin',
448
- generateContainerSlots: 10,
449
- description: 'You see a coin.',
450
- attack: 7,
451
- defense: 3,
452
- weight: 13,
453
- tiledId: 67,
454
- x: 320,
455
- y: 144,
456
- scene: 'MainScene',
457
- fullDescription: 'You see a stone. It is used with slingshot',
458
- createdAt: '2022-06-04T03:18:09.335Z',
459
- updatedAt: '2022-06-04T18:16:49.056Z',
460
- rarity: ItemRarities.Common,
461
- },
462
- {
463
- _id: '392acek4j7c8e80d2fs60404',
464
- hasUseWith: false,
465
- type: ItemType.Other,
466
- subType: ItemSubType.Other,
467
- textureAtlas: 'items',
468
- allowedEquipSlotType: [],
469
- isEquipable: true,
470
- isStackable: true,
471
- maxStackSize: 100,
472
- stackQty: 203.23,
473
- isUsable: false,
474
- isStorable: true,
475
- isTwoHanded: false,
476
- layer: 1,
477
- isItemContainer: true,
478
- isSolid: false,
479
- key: 'gold-coin',
480
- texturePath: 'others/gold-coin.png',
481
- textureKey: 'gold-coin',
482
- name: 'gold-coin',
483
- generateContainerSlots: 10,
484
- description: 'You see a coin.',
485
- attack: 7,
486
- defense: 3,
487
- weight: 13,
488
- tiledId: 67,
489
- x: 320,
490
- y: 144,
491
- scene: 'MainScene',
492
- fullDescription: 'You see a stone. It is used with slingshot',
493
- createdAt: '2022-06-04T03:18:09.335Z',
494
- updatedAt: '2022-06-04T18:16:49.056Z',
495
- rarity: ItemRarities.Common,
496
- },
497
- {
498
- _id: '392acek4j7casd0d2fs60404',
499
- hasUseWith: false,
500
- type: ItemType.Other,
501
- subType: ItemSubType.Other,
502
- textureAtlas: 'items',
503
- allowedEquipSlotType: [],
504
- isEquipable: true,
505
- isStackable: true,
506
- maxStackSize: 100,
507
- stackQty: 345,
508
- isUsable: false,
509
- isStorable: true,
510
- isTwoHanded: false,
511
- layer: 1,
512
- isItemContainer: true,
513
- isSolid: false,
514
- key: 'gold-coin',
515
- texturePath: 'others/gold-coin.png',
516
- textureKey: 'gold-coin',
517
- name: 'gold-coin',
518
- generateContainerSlots: 10,
519
- description: 'You see a coin.',
520
- attack: 7,
521
- defense: 3,
522
- weight: 13,
523
- tiledId: 67,
524
- x: 320,
525
- y: 144,
526
- scene: 'MainScene',
527
- fullDescription: 'You see a stone. It is used with slingshot',
528
- createdAt: '2022-06-04T03:18:09.335Z',
529
- updatedAt: '2022-06-04T18:16:49.056Z',
530
- rarity: ItemRarities.Common,
531
- },
532
- ];
533
-
534
- export const itemContainerMock: IItemContainer = {
535
- _id: '629ba0b6fe3f43002f58f23b',
536
- name: 'Item Container',
537
- owner: '629ba0b6fe3f43002f58f23b',
538
- slotQty: 20,
539
- slots: {
540
- 0: items[0],
541
- 1: items[1],
542
- 2: items[2],
543
- 3: items[3],
544
- 4: items[4],
545
- 5: items[5],
546
- 6: items[6],
547
- 7: items[7],
548
- 8: items[8],
549
- 9: items[9],
550
- 10: items[10],
551
- 11: items[11],
552
- 12: items[12],
553
- 13: items[13],
554
- 14: items[14],
555
- //remaining slots are considered null by default
556
- },
557
- allowedItemTypes: [],
558
- parentItem: '629ba0b6fe3f43002f58f239',
559
- isEmpty: false,
560
- createdAt: '2022-06-04T18:13:10.581Z',
561
- updatedAt: '2022-06-04T18:13:10.581Z',
562
- };
1
+ import {
2
+ IItem,
3
+ IItemContainer,
4
+ ItemRarities,
5
+ ItemSlotType,
6
+ ItemSubType,
7
+ ItemType,
8
+ } from '@rpg-engine/shared';
9
+
10
+ export const items: IItem[] = [
11
+ {
12
+ _id: '629acef1c7c8e8002ff60736',
13
+ hasUseWith: false,
14
+ type: ItemType.Weapon,
15
+ subType: ItemSubType.Sword,
16
+ textureAtlas: 'items',
17
+ allowedEquipSlotType: [ItemSlotType.LeftHand, ItemSlotType.RightHand],
18
+ maxStackSize: 1,
19
+ isUsable: false,
20
+ isStorable: true,
21
+ layer: 1,
22
+ isItemContainer: false,
23
+ isSolid: false,
24
+ isTwoHanded: false,
25
+ key: 'short-sword-66',
26
+ texturePath: 'swords/short-sword.png',
27
+ textureKey: 'short-sword',
28
+ name: 'Short Sword',
29
+ description:
30
+ 'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
31
+ attack: 5,
32
+ defense: 0,
33
+ weight: 10,
34
+ tiledId: 66,
35
+ x: 320,
36
+ y: 144,
37
+ scene: 'MainScene',
38
+ fullDescription:
39
+ 'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
40
+ isEquipable: true,
41
+ isStackable: false,
42
+ createdAt: '2022-06-04T03:18:09.335Z',
43
+ updatedAt: '2022-06-04T18:16:49.056Z',
44
+ rarity: ItemRarities.Legendary,
45
+ },
46
+ {
47
+ _id: '629acef1c7c8e8002ff73564',
48
+ hasUseWith: false,
49
+ type: ItemType.Weapon,
50
+ subType: ItemSubType.Axe,
51
+ textureAtlas: 'items',
52
+ allowedEquipSlotType: [ItemSlotType.LeftHand, ItemSlotType.RightHand],
53
+ maxStackSize: 1,
54
+ isUsable: false,
55
+ isStorable: true,
56
+ isTwoHanded: false,
57
+ layer: 1,
58
+ isItemContainer: false,
59
+ isSolid: false,
60
+ key: 'board-sword-20',
61
+ texturePath: 'ranged-weapons/bow.png',
62
+ textureKey: 'bow',
63
+ name: 'Bow',
64
+ description: 'You see a broad bow.',
65
+ attack: 7,
66
+ defense: 3,
67
+ weight: 13,
68
+ tiledId: 67,
69
+ x: 320,
70
+ y: 144,
71
+ scene: 'MainScene',
72
+ fullDescription: 'You see a board bow.',
73
+ isEquipable: true,
74
+ isStackable: false,
75
+ createdAt: '2022-06-04T03:18:09.335Z',
76
+ updatedAt: '2022-06-04T18:16:49.056Z',
77
+ rarity: ItemRarities.Epic,
78
+ },
79
+ {
80
+ _id: '629acef1c7c8e8002ff60723',
81
+ hasUseWith: false,
82
+ type: ItemType.Consumable,
83
+ subType: ItemSubType.Potion,
84
+ textureAtlas: 'items',
85
+ allowedEquipSlotType: [ItemSlotType.Inventory],
86
+ isEquipable: false,
87
+ isStackable: true,
88
+ maxStackSize: 99,
89
+ isTwoHanded: false,
90
+ stackQty: 3,
91
+ isUsable: true,
92
+ isStorable: true,
93
+ layer: 1,
94
+ isItemContainer: false,
95
+ isSolid: false,
96
+ key: 'board-sword-22',
97
+ texturePath: 'potions/greater-life-potion.png',
98
+ textureKey: 'greater-life-potion',
99
+ name: 'Greater Life Potion',
100
+ description: 'Recover your life',
101
+ attack: 7,
102
+ defense: 3,
103
+ weight: 13,
104
+ tiledId: 67,
105
+ x: 320,
106
+ y: 144,
107
+ scene: 'MainScene',
108
+ fullDescription: 'Recover your life',
109
+ createdAt: '2022-06-04T03:18:09.335Z',
110
+ updatedAt: '2022-06-04T18:16:49.056Z',
111
+ rarity: ItemRarities.Uncommon,
112
+ },
113
+ {
114
+ _id: '629acek4j7c8e8002ff60034',
115
+ hasUseWith: false,
116
+ type: ItemType.Consumable,
117
+ subType: ItemSubType.Food,
118
+ textureAtlas: 'items',
119
+ allowedEquipSlotType: [ItemSlotType.Inventory],
120
+ isEquipable: false,
121
+ isStackable: true,
122
+ maxStackSize: 99,
123
+ stackQty: 100,
124
+ isUsable: true,
125
+ isStorable: true,
126
+ isTwoHanded: false,
127
+ layer: 1,
128
+ isItemContainer: false,
129
+ isSolid: false,
130
+ key: 'board-sword-21',
131
+ texturePath: 'potions/mana-potion.png',
132
+ textureKey: 'mana-potion',
133
+ name: 'Mana Potion',
134
+ description: 'Recover your mana',
135
+ attack: 7,
136
+ defense: 3,
137
+ weight: 13,
138
+ tiledId: 67,
139
+ x: 320,
140
+ y: 144,
141
+ scene: 'MainScene',
142
+ fullDescription: 'Recover your mana',
143
+ createdAt: '2022-06-04T03:18:09.335Z',
144
+ updatedAt: '2022-06-04T18:16:49.056Z',
145
+ rarity: ItemRarities.Rare,
146
+ },
147
+ {
148
+ _id: '629acek4j7c8e8002fg60034',
149
+ hasUseWith: true,
150
+ type: ItemType.Consumable,
151
+ subType: ItemSubType.Accessory,
152
+ textureAtlas: 'items',
153
+ allowedEquipSlotType: [ItemSlotType.Inventory],
154
+ isEquipable: false,
155
+ isStackable: true,
156
+ maxStackSize: 100,
157
+ isTwoHanded: false,
158
+
159
+ isUsable: true,
160
+ isStorable: true,
161
+ layer: 1,
162
+ isItemContainer: false,
163
+ isSolid: false,
164
+ key: 'silver-key',
165
+ texturePath: 'others/silver-key.png',
166
+ textureKey: 'silver-key',
167
+ name: 'Key',
168
+ description: 'Open the gates, but use the key!',
169
+ attack: 7,
170
+ defense: 3,
171
+ weight: 13,
172
+ tiledId: 67,
173
+ x: 320,
174
+ y: 144,
175
+ scene: 'MainScene',
176
+ fullDescription: 'Key to open things',
177
+ createdAt: '2022-06-04T03:18:09.335Z',
178
+ updatedAt: '2022-06-04T18:16:49.056Z',
179
+ rarity: ItemRarities.Common,
180
+ },
181
+ {
182
+ _id: '392acek4j7c8e8002ff60403',
183
+ type: ItemType.CraftingResource,
184
+ hasUseWith: false,
185
+ subType: ItemSubType.Other,
186
+ textureAtlas: 'items',
187
+ allowedEquipSlotType: [ItemSlotType.Inventory],
188
+ isEquipable: false,
189
+ isStackable: true,
190
+ maxStackSize: 100,
191
+ stackQty: 32,
192
+ isUsable: false,
193
+ isStorable: true,
194
+ isTwoHanded: false,
195
+ layer: 1,
196
+ isItemContainer: false,
197
+ isSolid: false,
198
+ key: 'rune-22',
199
+ texturePath: 'magics/rune.png',
200
+ textureKey: 'rune',
201
+ name: 'Some Shard',
202
+ description: 'Use this to craft things!',
203
+ attack: 7,
204
+ defense: 3,
205
+ weight: 13,
206
+ tiledId: 67,
207
+ x: 320,
208
+ y: 144,
209
+ scene: 'MainScene',
210
+ fullDescription: 'Somes shard, some crafts.',
211
+ createdAt: '2022-06-04T03:18:09.335Z',
212
+ updatedAt: '2022-06-04T18:16:49.056Z',
213
+ rarity: ItemRarities.Common,
214
+ },
215
+ {
216
+ _id: '392acek4j7c8e8002ff60404',
217
+ hasUseWith: false,
218
+ type: ItemType.Container,
219
+ subType: ItemSubType.Other,
220
+ textureAtlas: 'items',
221
+ allowedEquipSlotType: [ItemSlotType.Inventory],
222
+ isEquipable: false,
223
+ isStackable: true,
224
+ maxStackSize: 100,
225
+
226
+ isUsable: false,
227
+ isStorable: true,
228
+ isTwoHanded: false,
229
+ layer: 1,
230
+ isItemContainer: true,
231
+ isSolid: false,
232
+ key: 'bag',
233
+ texturePath: 'containers/bag.png',
234
+ textureKey: 'bag',
235
+ name: 'Bag',
236
+ generateContainerSlots: 10,
237
+ description:
238
+ 'You see a bag. It has made using leather and it has 10 total slots.',
239
+ attack: 7,
240
+ defense: 3,
241
+ weight: 13,
242
+ tiledId: 67,
243
+ x: 320,
244
+ y: 144,
245
+ scene: 'MainScene',
246
+ fullDescription:
247
+ 'You see a bag. It has made using leather and it has 10 total slots.',
248
+ createdAt: '2022-06-04T03:18:09.335Z',
249
+ updatedAt: '2022-06-04T18:16:49.056Z',
250
+ rarity: ItemRarities.Common,
251
+ },
252
+ {
253
+ _id: '392acek4j7c8e80d2fs60404',
254
+ hasUseWith: false,
255
+ type: ItemType.Accessory,
256
+ subType: ItemSubType.Ranged,
257
+ textureAtlas: 'items',
258
+ allowedEquipSlotType: [ItemSlotType.Accessory],
259
+ isEquipable: true,
260
+ isStackable: true,
261
+ maxStackSize: 100,
262
+ stackQty: 1,
263
+ isUsable: false,
264
+ isStorable: true,
265
+ isTwoHanded: false,
266
+ layer: 1,
267
+ isItemContainer: true,
268
+ isSolid: false,
269
+ key: 'stone',
270
+ texturePath: 'ranged-weapons/stone.png',
271
+ textureKey: 'stone',
272
+ name: 'stone',
273
+ generateContainerSlots: 10,
274
+ description: 'You see a stone. It is used with slingshot.',
275
+ attack: 7,
276
+ defense: 3,
277
+ weight: 13,
278
+ tiledId: 67,
279
+ x: 320,
280
+ y: 144,
281
+ scene: 'MainScene',
282
+ fullDescription: 'You see a stone. It is used with slingshot',
283
+ createdAt: '2022-06-04T03:18:09.335Z',
284
+ updatedAt: '2022-06-04T18:16:49.056Z',
285
+ rarity: ItemRarities.Common,
286
+ },
287
+ {
288
+ _id: '392acek4j7c8e80d2fs60404',
289
+ hasUseWith: false,
290
+ type: ItemType.Accessory,
291
+ subType: ItemSubType.Ranged,
292
+ textureAtlas: 'items',
293
+ allowedEquipSlotType: [ItemSlotType.Accessory],
294
+ isEquipable: true,
295
+ isStackable: true,
296
+ maxStackSize: 100,
297
+ stackQty: 2,
298
+ isUsable: false,
299
+ isStorable: true,
300
+ isTwoHanded: false,
301
+ layer: 1,
302
+ isItemContainer: true,
303
+ isSolid: false,
304
+ key: 'stone',
305
+ texturePath: 'ranged-weapons/stone.png',
306
+ textureKey: 'stone',
307
+ name: 'stone',
308
+ generateContainerSlots: 10,
309
+ description: 'You see a stone. It is used with slingshot.',
310
+ attack: 7,
311
+ defense: 3,
312
+ weight: 13,
313
+ tiledId: 67,
314
+ x: 320,
315
+ y: 144,
316
+ scene: 'MainScene',
317
+ fullDescription: 'You see a stone. It is used with slingshot',
318
+ createdAt: '2022-06-04T03:18:09.335Z',
319
+ updatedAt: '2022-06-04T18:16:49.056Z',
320
+ rarity: ItemRarities.Common,
321
+ },
322
+ {
323
+ _id: '392acek4j7c8e80d2fs60404',
324
+ hasUseWith: false,
325
+ type: ItemType.Accessory,
326
+ subType: ItemSubType.Ranged,
327
+ textureAtlas: 'items',
328
+ allowedEquipSlotType: [ItemSlotType.Accessory],
329
+ isEquipable: true,
330
+ isStackable: true,
331
+ maxStackSize: 100,
332
+ stackQty: 3,
333
+ isUsable: false,
334
+ isStorable: true,
335
+ isTwoHanded: false,
336
+ layer: 1,
337
+ isItemContainer: true,
338
+ isSolid: false,
339
+ key: 'stone',
340
+ texturePath: 'ranged-weapons/stone.png',
341
+ textureKey: 'stone',
342
+ name: 'stone',
343
+ generateContainerSlots: 10,
344
+ description: 'You see a stone. It is used with slingshot.',
345
+ attack: 7,
346
+ defense: 3,
347
+ weight: 13,
348
+ tiledId: 67,
349
+ x: 320,
350
+ y: 144,
351
+ scene: 'MainScene',
352
+ fullDescription: 'You see a stone. It is used with slingshot',
353
+ createdAt: '2022-06-04T03:18:09.335Z',
354
+ updatedAt: '2022-06-04T18:16:49.056Z',
355
+ rarity: ItemRarities.Common,
356
+ },
357
+ {
358
+ _id: '392acek4j7c8e80d2fs60404',
359
+ hasUseWith: false,
360
+ type: ItemType.Accessory,
361
+ subType: ItemSubType.Ranged,
362
+ textureAtlas: 'items',
363
+ allowedEquipSlotType: [ItemSlotType.Accessory],
364
+ isEquipable: true,
365
+ isStackable: true,
366
+ maxStackSize: 100,
367
+ stackQty: 4,
368
+ isUsable: false,
369
+ isStorable: true,
370
+ isTwoHanded: false,
371
+ layer: 1,
372
+ isItemContainer: true,
373
+ isSolid: false,
374
+ key: 'stone',
375
+ texturePath: 'ranged-weapons/stone.png',
376
+ textureKey: 'stone',
377
+ name: 'stone',
378
+ generateContainerSlots: 10,
379
+ description: 'You see a stone. It is used with slingshot.',
380
+ attack: 7,
381
+ defense: 3,
382
+ weight: 13,
383
+ tiledId: 67,
384
+ x: 320,
385
+ y: 144,
386
+ scene: 'MainScene',
387
+ fullDescription: 'You see a stone. It is used with slingshot',
388
+ createdAt: '2022-06-04T03:18:09.335Z',
389
+ updatedAt: '2022-06-04T18:16:49.056Z',
390
+ rarity: ItemRarities.Common,
391
+ },
392
+ {
393
+ _id: '392acek4j7c8e80d2fs60404',
394
+ hasUseWith: false,
395
+ type: ItemType.Accessory,
396
+ subType: ItemSubType.Ranged,
397
+ textureAtlas: 'items',
398
+ allowedEquipSlotType: [ItemSlotType.Accessory],
399
+ isEquipable: true,
400
+ isStackable: true,
401
+ maxStackSize: 100,
402
+ stackQty: 5,
403
+ isUsable: false,
404
+ isStorable: true,
405
+ isTwoHanded: false,
406
+ layer: 1,
407
+ isItemContainer: true,
408
+ isSolid: false,
409
+ key: 'stone',
410
+ texturePath: 'ranged-weapons/stone.png',
411
+ textureKey: 'stone',
412
+ name: 'stone',
413
+ generateContainerSlots: 10,
414
+ description: 'You see a stone. It is used with slingshot.',
415
+ attack: 7,
416
+ defense: 3,
417
+ weight: 13,
418
+ tiledId: 67,
419
+ x: 320,
420
+ y: 144,
421
+ scene: 'MainScene',
422
+ fullDescription: 'You see a stone. It is used with slingshot',
423
+ createdAt: '2022-06-04T03:18:09.335Z',
424
+ updatedAt: '2022-06-04T18:16:49.056Z',
425
+ rarity: ItemRarities.Common,
426
+ },
427
+ {
428
+ _id: '392acek4j7c8e80d2fs60404',
429
+ hasUseWith: false,
430
+ type: ItemType.Other,
431
+ subType: ItemSubType.Other,
432
+ textureAtlas: 'items',
433
+ allowedEquipSlotType: [],
434
+ isEquipable: true,
435
+ isStackable: true,
436
+ maxStackSize: 100,
437
+ stackQty: 9999,
438
+ isUsable: false,
439
+ isStorable: true,
440
+ isTwoHanded: false,
441
+ layer: 1,
442
+ isItemContainer: true,
443
+ isSolid: false,
444
+ key: 'gold-coin',
445
+ texturePath: 'others/gold-coin.png',
446
+ textureKey: 'gold-coin',
447
+ name: 'gold-coin',
448
+ generateContainerSlots: 10,
449
+ description: 'You see a coin.',
450
+ attack: 7,
451
+ defense: 3,
452
+ weight: 13,
453
+ tiledId: 67,
454
+ x: 320,
455
+ y: 144,
456
+ scene: 'MainScene',
457
+ fullDescription: 'You see a stone. It is used with slingshot',
458
+ createdAt: '2022-06-04T03:18:09.335Z',
459
+ updatedAt: '2022-06-04T18:16:49.056Z',
460
+ rarity: ItemRarities.Common,
461
+ },
462
+ {
463
+ _id: '392acek4j7c8e80d2fs60404',
464
+ hasUseWith: false,
465
+ type: ItemType.Other,
466
+ subType: ItemSubType.Other,
467
+ textureAtlas: 'items',
468
+ allowedEquipSlotType: [],
469
+ isEquipable: true,
470
+ isStackable: true,
471
+ maxStackSize: 100,
472
+ stackQty: 203.23,
473
+ isUsable: false,
474
+ isStorable: true,
475
+ isTwoHanded: false,
476
+ layer: 1,
477
+ isItemContainer: true,
478
+ isSolid: false,
479
+ key: 'gold-coin',
480
+ texturePath: 'others/gold-coin.png',
481
+ textureKey: 'gold-coin',
482
+ name: 'gold-coin',
483
+ generateContainerSlots: 10,
484
+ description: 'You see a coin.',
485
+ attack: 7,
486
+ defense: 3,
487
+ weight: 13,
488
+ tiledId: 67,
489
+ x: 320,
490
+ y: 144,
491
+ scene: 'MainScene',
492
+ fullDescription: 'You see a stone. It is used with slingshot',
493
+ createdAt: '2022-06-04T03:18:09.335Z',
494
+ updatedAt: '2022-06-04T18:16:49.056Z',
495
+ rarity: ItemRarities.Common,
496
+ },
497
+ {
498
+ _id: '392acek4j7casd0d2fs60404',
499
+ hasUseWith: false,
500
+ type: ItemType.Other,
501
+ subType: ItemSubType.Other,
502
+ textureAtlas: 'items',
503
+ allowedEquipSlotType: [],
504
+ isEquipable: true,
505
+ isStackable: true,
506
+ maxStackSize: 100,
507
+ stackQty: 345,
508
+ isUsable: false,
509
+ isStorable: true,
510
+ isTwoHanded: false,
511
+ layer: 1,
512
+ isItemContainer: true,
513
+ isSolid: false,
514
+ key: 'gold-coin',
515
+ texturePath: 'others/gold-coin.png',
516
+ textureKey: 'gold-coin',
517
+ name: 'gold-coin',
518
+ generateContainerSlots: 10,
519
+ description: 'You see a coin.',
520
+ attack: 7,
521
+ defense: 3,
522
+ weight: 13,
523
+ tiledId: 67,
524
+ x: 320,
525
+ y: 144,
526
+ scene: 'MainScene',
527
+ fullDescription: 'You see a stone. It is used with slingshot',
528
+ createdAt: '2022-06-04T03:18:09.335Z',
529
+ updatedAt: '2022-06-04T18:16:49.056Z',
530
+ rarity: ItemRarities.Common,
531
+ },
532
+ ];
533
+
534
+ export const itemContainerMock: IItemContainer = {
535
+ _id: '629ba0b6fe3f43002f58f23b',
536
+ name: 'Item Container',
537
+ owner: '629ba0b6fe3f43002f58f23b',
538
+ slotQty: 20,
539
+ slots: {
540
+ 0: items[0],
541
+ 1: items[1],
542
+ 2: items[2],
543
+ 3: items[3],
544
+ 4: items[4],
545
+ 5: items[5],
546
+ 6: items[6],
547
+ 7: items[7],
548
+ 8: items[8],
549
+ 9: items[9],
550
+ 10: items[10],
551
+ 11: items[11],
552
+ 12: items[12],
553
+ 13: items[13],
554
+ 14: items[14],
555
+ //remaining slots are considered null by default
556
+ },
557
+ allowedItemTypes: [],
558
+ parentItem: '629ba0b6fe3f43002f58f239',
559
+ isEmpty: false,
560
+ createdAt: '2022-06-04T18:13:10.581Z',
561
+ updatedAt: '2022-06-04T18:13:10.581Z',
562
+ };