@rpg-engine/long-bow 0.3.49 → 0.3.51

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