@rpg-engine/long-bow 0.4.2 → 0.4.3
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.
- package/LICENSE +20 -20
- package/README.md +181 -181
- package/dist/long-bow.cjs.development.js +1060 -1065
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +1066 -1071
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +100 -100
- package/src/components/Abstractions/ModalPortal.tsx +22 -22
- package/src/components/Abstractions/SlotsContainer.tsx +62 -62
- package/src/components/Arrow/SelectArrow.tsx +69 -69
- package/src/components/Arrow/img/arrow01-left-clicked.png +0 -0
- package/src/components/Arrow/img/arrow01-left.png +0 -0
- package/src/components/Arrow/img/arrow01-right-clicked.png +0 -0
- package/src/components/Arrow/img/arrow01-right.png +0 -0
- package/src/components/Arrow/img/arrow02-left-clicked.png +0 -0
- package/src/components/Arrow/img/arrow02-left.png +0 -0
- package/src/components/Arrow/img/arrow02-right-clicked.png +0 -0
- package/src/components/Arrow/img/arrow02-right.png +0 -0
- package/src/components/Button.tsx +40 -40
- package/src/components/Character/CharacterSelection.tsx +98 -98
- package/src/components/CharacterStatus/CharacterStatus.tsx +120 -120
- package/src/components/Chat/Chat.tsx +196 -196
- package/src/components/Chatdeprecated/ChatDeprecated.tsx +198 -198
- package/src/components/CheckButton.tsx +65 -65
- package/src/components/CircularController/CircularController.tsx +282 -282
- package/src/components/CraftBook/CraftBook.tsx +286 -286
- package/src/components/CraftBook/CraftingRecipe.tsx +161 -161
- package/src/components/CraftBook/MockItems.ts +101 -101
- package/src/components/DraggableContainer.tsx +181 -180
- package/src/components/DropdownSelectorContainer.tsx +42 -42
- package/src/components/Equipment/EquipmentSet.tsx +199 -199
- package/src/components/HistoryDialog.tsx +104 -104
- package/src/components/Input.tsx +15 -15
- package/src/components/InputRadio.tsx +41 -41
- package/src/components/Item/Cards/ItemInfo.tsx +298 -298
- package/src/components/Item/Cards/ItemInfoDisplay.tsx +135 -135
- package/src/components/Item/Cards/ItemInfoWrapper.tsx +62 -62
- package/src/components/Item/Cards/ItemTooltip.tsx +83 -83
- package/src/components/Item/Cards/MobileItemTooltip.tsx +149 -149
- package/src/components/Item/Inventory/ErrorBoundary.tsx +42 -42
- package/src/components/Item/Inventory/ItemContainer.tsx +231 -231
- package/src/components/Item/Inventory/ItemContainerTypes.ts +6 -6
- package/src/components/Item/Inventory/ItemQuantitySelector.tsx +138 -138
- package/src/components/Item/Inventory/ItemSlot.tsx +580 -580
- package/src/components/Item/Inventory/itemContainerHelper.ts +175 -175
- package/src/components/ListMenu.tsx +63 -63
- package/src/components/Marketplace/Marketplace.tsx +132 -132
- package/src/components/Marketplace/MarketplaceRows.tsx +171 -171
- package/src/components/Marketplace/__mocks__/index.tsx +65 -65
- package/src/components/Multitab/Tab.tsx +66 -66
- package/src/components/Multitab/TabBody.tsx +13 -13
- package/src/components/Multitab/TabsContainer.tsx +97 -97
- package/src/components/NPCDialog/NPCDialog.tsx +121 -121
- package/src/components/NPCDialog/NPCDialogText.tsx +113 -113
- package/src/components/NPCDialog/NPCMultiDialog.tsx +159 -159
- package/src/components/NPCDialog/QuestionDialog/QuestionDialog.tsx +237 -237
- package/src/components/ProgressBar.tsx +92 -95
- package/src/components/PropertySelect/PropertySelect.tsx +106 -106
- package/src/components/QuestInfo/QuestInfo.tsx +233 -233
- package/src/components/QuestList.tsx +135 -135
- package/src/components/RPGUIContainer.tsx +47 -47
- package/src/components/RPGUIForceRenderStart.tsx +45 -45
- package/src/components/RPGUIRoot.tsx +14 -14
- package/src/components/RadioButton.tsx +53 -53
- package/src/components/RadioInput/RadioButton.tsx +96 -96
- package/src/components/RadioInput/RadioInput.tsx +102 -102
- package/src/components/RadioInput/instruments.ts +15 -15
- package/src/components/RangeSlider.tsx +78 -78
- package/src/components/RelativeListMenu.tsx +90 -90
- package/src/components/ScrollList.tsx +79 -79
- package/src/components/Shortcuts/Shortcuts.tsx +193 -193
- package/src/components/Shortcuts/ShortcutsSetter.tsx +139 -139
- package/src/components/Shortcuts/SingleShortcut.ts +82 -82
- package/src/components/Shortcuts/useShortcutCooldown.ts +23 -23
- package/src/components/SimpleProgressBar.tsx +62 -62
- package/src/components/SkillProgressBar.tsx +133 -133
- package/src/components/SkillsContainer.tsx +217 -211
- package/src/components/Spellbook/Spell.tsx +236 -236
- package/src/components/Spellbook/Spellbook.tsx +161 -161
- package/src/components/Spellbook/cards/MobileSpellTooltip.tsx +137 -137
- package/src/components/Spellbook/cards/SpellInfo.tsx +134 -134
- package/src/components/Spellbook/cards/SpellInfoDisplay.tsx +31 -31
- package/src/components/Spellbook/cards/SpellInfoWrapper.tsx +48 -48
- package/src/components/Spellbook/cards/SpellTooltip.tsx +70 -70
- package/src/components/Spellbook/constants.ts +7 -7
- package/src/components/Spellbook/mockSpells.ts +84 -84
- package/src/components/StaticBook/StaticBook.tsx +103 -103
- package/src/components/TextArea.tsx +11 -11
- package/src/components/TimeWidget/DayNightPeriod/DayNightPeriod.tsx +35 -35
- package/src/components/TimeWidget/TimeWidget.tsx +65 -65
- package/src/components/TradingMenu/TradingItemRow.tsx +199 -199
- package/src/components/TradingMenu/TradingMenu.tsx +219 -219
- package/src/components/TradingMenu/items.mock.ts +48 -48
- package/src/components/Truncate.tsx +25 -25
- package/src/components/itemSelector/ItemSelector.tsx +136 -136
- package/src/components/shared/Column.tsx +16 -16
- package/src/components/shared/Ellipsis.tsx +68 -68
- package/src/components/shared/SpriteFromAtlas.tsx +104 -104
- package/src/components/typography/DynamicText.tsx +49 -49
- package/src/constants/uiColors.ts +20 -20
- package/src/constants/uiDevices.ts +3 -3
- package/src/constants/uiFonts.ts +12 -12
- package/src/hooks/useEventListener.ts +21 -21
- package/src/hooks/useOutsideAlerter.ts +25 -25
- package/src/index.tsx +42 -42
- package/src/libs/CastingTypeHelper.ts +7 -7
- package/src/libs/StringHelpers.ts +3 -3
- package/src/libs/itemCounter.ts +21 -21
- package/src/mocks/atlas/entities/entities.json +20215 -20215
- package/src/mocks/atlas/icons/icons.json +735 -735
- package/src/mocks/atlas/items/items.json +12086 -12086
- package/src/mocks/equipmentSet.mocks.ts +391 -391
- package/src/mocks/itemContainer.mocks.ts +605 -605
- package/src/mocks/skills.mocks.ts +128 -128
- package/src/stories/Arrow.stories.tsx +26 -26
- package/src/stories/Button.stories.tsx +36 -36
- package/src/stories/CharacterSelection.stories.tsx +44 -44
- package/src/stories/CharacterStatus.stories.tsx +29 -29
- package/src/stories/Chat.stories.tsx +187 -187
- package/src/stories/ChatDeprecated.stories.tsx +170 -170
- package/src/stories/CheckButton.stories.tsx +48 -48
- package/src/stories/CircullarController.stories.tsx +37 -37
- package/src/stories/CraftBook.stories.tsx +42 -42
- package/src/stories/DayNightPeriod.stories.tsx +27 -27
- package/src/stories/DraggableContainer.stories.tsx +28 -28
- package/src/stories/Dropdown.stories.tsx +46 -46
- package/src/stories/DropdownSelectorContainer.stories.tsx +41 -41
- package/src/stories/EquipmentSet.stories.tsx +65 -65
- package/src/stories/HistoryDialog.stories.tsx +61 -61
- package/src/stories/ItemContainer.stories.tsx +201 -201
- package/src/stories/ItemInfoDisplay.stories.tsx +33 -33
- package/src/stories/ItemQuantitySelector.stories.tsx +26 -26
- package/src/stories/ItemSelector.stories.tsx +77 -77
- package/src/stories/ItemTradingComponent.stories.tsx +35 -35
- package/src/stories/ListMenu.stories.tsx +56 -56
- package/src/stories/Marketplace.stories.tsx +42 -42
- package/src/stories/MarketplaceRows.stories.tsx +28 -28
- package/src/stories/Multitab.stories.tsx +51 -51
- package/src/stories/NPCDialog.stories.tsx +130 -130
- package/src/stories/NPCMultiDialog.stories.tsx +71 -71
- package/src/stories/ProgressBar.stories.tsx +23 -23
- package/src/stories/PropertySelect.stories.tsx +40 -40
- package/src/stories/QuestInfo.stories.tsx +107 -107
- package/src/stories/QuestList.stories.tsx +82 -82
- package/src/stories/RPGUIContainers.stories.tsx +42 -42
- package/src/stories/RadioButton.stories.tsx +49 -49
- package/src/stories/RadioInput.stories.tsx +34 -34
- package/src/stories/RangeSlider.stories.tsx +64 -64
- package/src/stories/ScrollList.stories.tsx +85 -85
- package/src/stories/Shortcuts.stories.tsx +39 -39
- package/src/stories/SimpleProgressBar.stories.tsx +22 -22
- package/src/stories/SkillProgressBar.stories.tsx +34 -34
- package/src/stories/SkillsContainer.stories.tsx +35 -35
- package/src/stories/SpellInfoDisplay.stories.tsx +27 -27
- package/src/stories/Spellbook.stories.tsx +104 -104
- package/src/stories/StaticBook.stories.tsx +32 -32
- package/src/stories/Text.stories.tsx +42 -42
- package/src/stories/TimeWidget.stories.tsx +27 -27
- package/src/stories/TradingMenu.stories.tsx +47 -47
- package/src/types/eventTypes.ts +4 -4
- package/src/types/index.d.ts +2 -2
|
@@ -1,391 +1,391 @@
|
|
|
1
|
-
import {
|
|
2
|
-
IEquipmentSet,
|
|
3
|
-
IItem,
|
|
4
|
-
ItemRarities,
|
|
5
|
-
// IItem,
|
|
6
|
-
ItemSlotType,
|
|
7
|
-
ItemSubType,
|
|
8
|
-
ItemType,
|
|
9
|
-
} from '@rpg-engine/shared';
|
|
10
|
-
|
|
11
|
-
interface IEquipmentSetItems {
|
|
12
|
-
leftHand: IItem;
|
|
13
|
-
head: IItem;
|
|
14
|
-
armor: IItem;
|
|
15
|
-
legs: IItem;
|
|
16
|
-
boot: IItem;
|
|
17
|
-
neck: IItem;
|
|
18
|
-
ring: IItem;
|
|
19
|
-
accessory: IItem;
|
|
20
|
-
inventory: IItem;
|
|
21
|
-
rightHand: IItem;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export const items: IEquipmentSetItems = {
|
|
25
|
-
leftHand: {
|
|
26
|
-
_id: '0',
|
|
27
|
-
type: ItemType.Weapon,
|
|
28
|
-
subType: ItemSubType.Sword,
|
|
29
|
-
textureAtlas: 'items',
|
|
30
|
-
allowedEquipSlotType: [ItemSlotType.LeftHand, ItemSlotType.RightHand],
|
|
31
|
-
maxStackSize: 1,
|
|
32
|
-
isUsable: false,
|
|
33
|
-
isStorable: true,
|
|
34
|
-
layer: 1,
|
|
35
|
-
isItemContainer: false,
|
|
36
|
-
isSolid: false,
|
|
37
|
-
key: 'basilisk-sword',
|
|
38
|
-
texturePath: 'swords/basilisk-sword.png',
|
|
39
|
-
textureKey: 'basilisk-sword',
|
|
40
|
-
name: 'basilisk sword',
|
|
41
|
-
description:
|
|
42
|
-
'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
|
|
43
|
-
attack: 5,
|
|
44
|
-
defense: 0,
|
|
45
|
-
weight: 10,
|
|
46
|
-
tiledId: 66,
|
|
47
|
-
x: 320,
|
|
48
|
-
y: 144,
|
|
49
|
-
scene: 'MainScene',
|
|
50
|
-
fullDescription:
|
|
51
|
-
'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
|
|
52
|
-
isEquipable: true,
|
|
53
|
-
isStackable: false,
|
|
54
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
55
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
56
|
-
isTwoHanded: false,
|
|
57
|
-
hasUseWith: false,
|
|
58
|
-
rarity: ItemRarities.Common,
|
|
59
|
-
},
|
|
60
|
-
head: {
|
|
61
|
-
_id: '1',
|
|
62
|
-
type: ItemType.Armor,
|
|
63
|
-
subType: ItemSubType.Helmet,
|
|
64
|
-
textureAtlas: 'items',
|
|
65
|
-
allowedEquipSlotType: [ItemSlotType.Head],
|
|
66
|
-
maxStackSize: 1,
|
|
67
|
-
isUsable: false,
|
|
68
|
-
isStorable: true,
|
|
69
|
-
layer: 1,
|
|
70
|
-
isItemContainer: false,
|
|
71
|
-
isSolid: false,
|
|
72
|
-
key: 'iron-helmet',
|
|
73
|
-
texturePath: 'helmets/iron-helmet.png',
|
|
74
|
-
textureKey: 'iron-helmet',
|
|
75
|
-
name: 'Helmet',
|
|
76
|
-
description: 'You see a broad bow.',
|
|
77
|
-
attack: 7,
|
|
78
|
-
defense: 3,
|
|
79
|
-
weight: 13,
|
|
80
|
-
tiledId: 67,
|
|
81
|
-
x: 320,
|
|
82
|
-
y: 144,
|
|
83
|
-
scene: 'MainScene',
|
|
84
|
-
fullDescription: 'You see a board bow.',
|
|
85
|
-
isEquipable: true,
|
|
86
|
-
isStackable: false,
|
|
87
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
88
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
89
|
-
isTwoHanded: false,
|
|
90
|
-
hasUseWith: false,
|
|
91
|
-
rarity: ItemRarities.Common,
|
|
92
|
-
},
|
|
93
|
-
armor: {
|
|
94
|
-
_id: '2',
|
|
95
|
-
type: ItemType.Armor,
|
|
96
|
-
subType: ItemSubType.Armor,
|
|
97
|
-
textureAtlas: 'items',
|
|
98
|
-
allowedEquipSlotType: [ItemSlotType.Torso],
|
|
99
|
-
isEquipable: false,
|
|
100
|
-
isStackable: false,
|
|
101
|
-
maxStackSize: 99,
|
|
102
|
-
|
|
103
|
-
isUsable: true,
|
|
104
|
-
isStorable: true,
|
|
105
|
-
layer: 1,
|
|
106
|
-
isItemContainer: false,
|
|
107
|
-
isSolid: false,
|
|
108
|
-
key: 'board-sword-22',
|
|
109
|
-
texturePath: 'armors/golden-armor.png',
|
|
110
|
-
textureKey: 'golden-armor',
|
|
111
|
-
name: 'golden armor',
|
|
112
|
-
description: 'Recover your life',
|
|
113
|
-
attack: 7,
|
|
114
|
-
defense: 3,
|
|
115
|
-
weight: 13,
|
|
116
|
-
tiledId: 67,
|
|
117
|
-
x: 320,
|
|
118
|
-
y: 144,
|
|
119
|
-
scene: 'MainScene',
|
|
120
|
-
fullDescription: 'Recover your life',
|
|
121
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
122
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
123
|
-
isTwoHanded: false,
|
|
124
|
-
hasUseWith: false,
|
|
125
|
-
rarity: ItemRarities.Common,
|
|
126
|
-
},
|
|
127
|
-
legs: {
|
|
128
|
-
_id: '3',
|
|
129
|
-
type: ItemType.Armor,
|
|
130
|
-
subType: ItemSubType.Legs,
|
|
131
|
-
textureAtlas: 'items',
|
|
132
|
-
allowedEquipSlotType: [ItemSlotType.Legs],
|
|
133
|
-
isEquipable: false,
|
|
134
|
-
isStackable: false,
|
|
135
|
-
maxStackSize: 99,
|
|
136
|
-
stackQty: 13,
|
|
137
|
-
isUsable: true,
|
|
138
|
-
isStorable: true,
|
|
139
|
-
layer: 1,
|
|
140
|
-
isItemContainer: false,
|
|
141
|
-
isSolid: false,
|
|
142
|
-
key: 'leather-legs',
|
|
143
|
-
texturePath: 'legs/leather-legs.png',
|
|
144
|
-
textureKey: 'leather-legs',
|
|
145
|
-
name: 'Leather legs',
|
|
146
|
-
description: 'Protect your legs',
|
|
147
|
-
attack: 7,
|
|
148
|
-
defense: 3,
|
|
149
|
-
weight: 13,
|
|
150
|
-
tiledId: 67,
|
|
151
|
-
x: 320,
|
|
152
|
-
y: 144,
|
|
153
|
-
scene: 'MainScene',
|
|
154
|
-
fullDescription: 'Leather legs',
|
|
155
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
156
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
157
|
-
isTwoHanded: false,
|
|
158
|
-
hasUseWith: false,
|
|
159
|
-
rarity: ItemRarities.Common,
|
|
160
|
-
},
|
|
161
|
-
boot: {
|
|
162
|
-
_id: '4',
|
|
163
|
-
type: ItemType.Armor,
|
|
164
|
-
subType: ItemSubType.Boot,
|
|
165
|
-
textureAtlas: 'items',
|
|
166
|
-
allowedEquipSlotType: [ItemSlotType.Feet],
|
|
167
|
-
isEquipable: false,
|
|
168
|
-
isStackable: false,
|
|
169
|
-
maxStackSize: 999,
|
|
170
|
-
isUsable: true,
|
|
171
|
-
isStorable: true,
|
|
172
|
-
layer: 1,
|
|
173
|
-
isItemContainer: false,
|
|
174
|
-
isSolid: false,
|
|
175
|
-
key: 'board-sword-22',
|
|
176
|
-
texturePath: 'boots/golden-boots.png',
|
|
177
|
-
textureKey: 'golden-boots',
|
|
178
|
-
name: 'golden-boots',
|
|
179
|
-
description: 'Open the gates, but use the key!',
|
|
180
|
-
attack: 7,
|
|
181
|
-
defense: 3,
|
|
182
|
-
weight: 13,
|
|
183
|
-
tiledId: 67,
|
|
184
|
-
x: 320,
|
|
185
|
-
y: 144,
|
|
186
|
-
scene: 'MainScene',
|
|
187
|
-
fullDescription: 'Key to open things',
|
|
188
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
189
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
190
|
-
isTwoHanded: false,
|
|
191
|
-
hasUseWith: false,
|
|
192
|
-
rarity: ItemRarities.Common,
|
|
193
|
-
},
|
|
194
|
-
neck: {
|
|
195
|
-
_id: '5',
|
|
196
|
-
type: ItemType.Armor,
|
|
197
|
-
subType: ItemSubType.Accessory,
|
|
198
|
-
textureAtlas: 'items',
|
|
199
|
-
allowedEquipSlotType: [ItemSlotType.Neck],
|
|
200
|
-
isEquipable: false,
|
|
201
|
-
isStackable: false,
|
|
202
|
-
maxStackSize: 999,
|
|
203
|
-
|
|
204
|
-
isUsable: false,
|
|
205
|
-
isStorable: true,
|
|
206
|
-
layer: 1,
|
|
207
|
-
isItemContainer: false,
|
|
208
|
-
isSolid: false,
|
|
209
|
-
key: 'sapphire-necklace',
|
|
210
|
-
texturePath: 'accessories/sapphire-necklace.png',
|
|
211
|
-
textureKey: 'sapphire-necklace',
|
|
212
|
-
name: 'sapphire-necklace',
|
|
213
|
-
description: 'Use this to craft things!',
|
|
214
|
-
attack: 7,
|
|
215
|
-
defense: 3,
|
|
216
|
-
weight: 13,
|
|
217
|
-
tiledId: 67,
|
|
218
|
-
x: 320,
|
|
219
|
-
y: 144,
|
|
220
|
-
scene: 'MainScene',
|
|
221
|
-
fullDescription: 'Somes shard, some crafts.',
|
|
222
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
223
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
224
|
-
isTwoHanded: false,
|
|
225
|
-
hasUseWith: false,
|
|
226
|
-
rarity: ItemRarities.Common,
|
|
227
|
-
},
|
|
228
|
-
ring: {
|
|
229
|
-
_id: '6',
|
|
230
|
-
type: ItemType.Accessory,
|
|
231
|
-
subType: ItemSubType.Armor,
|
|
232
|
-
textureAtlas: 'items',
|
|
233
|
-
allowedEquipSlotType: [ItemSlotType.Ring],
|
|
234
|
-
isEquipable: false,
|
|
235
|
-
isStackable: false,
|
|
236
|
-
maxStackSize: 999,
|
|
237
|
-
|
|
238
|
-
isUsable: false,
|
|
239
|
-
isStorable: true,
|
|
240
|
-
layer: 1,
|
|
241
|
-
isItemContainer: false,
|
|
242
|
-
isSolid: false,
|
|
243
|
-
key: 'jade-ring',
|
|
244
|
-
texturePath: '"rings/jade-ring.png',
|
|
245
|
-
textureKey: 'jade-ring',
|
|
246
|
-
name: 'jade-ring',
|
|
247
|
-
description: 'Chop chop.',
|
|
248
|
-
attack: 7,
|
|
249
|
-
defense: 3,
|
|
250
|
-
weight: 13,
|
|
251
|
-
tiledId: 67,
|
|
252
|
-
x: 320,
|
|
253
|
-
y: 144,
|
|
254
|
-
scene: 'MainScene',
|
|
255
|
-
fullDescription: 'Use this axe to chop wood and stuffs.',
|
|
256
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
257
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
258
|
-
isTwoHanded: false,
|
|
259
|
-
hasUseWith: false,
|
|
260
|
-
rarity: ItemRarities.Common,
|
|
261
|
-
},
|
|
262
|
-
accessory: {
|
|
263
|
-
_id: '392acek4j7c8e80d2fs60404',
|
|
264
|
-
hasUseWith: false,
|
|
265
|
-
type: ItemType.Accessory,
|
|
266
|
-
subType: ItemSubType.Ranged,
|
|
267
|
-
textureAtlas: 'items',
|
|
268
|
-
allowedEquipSlotType: [ItemSlotType.Accessory],
|
|
269
|
-
isEquipable: true,
|
|
270
|
-
isStackable: true,
|
|
271
|
-
maxStackSize: 999,
|
|
272
|
-
stackQty: 275,
|
|
273
|
-
isUsable: false,
|
|
274
|
-
isStorable: true,
|
|
275
|
-
isTwoHanded: false,
|
|
276
|
-
layer: 1,
|
|
277
|
-
isItemContainer: true,
|
|
278
|
-
isSolid: false,
|
|
279
|
-
key: 'stone',
|
|
280
|
-
texturePath: 'ranged-weapons/stone-qty-5.png',
|
|
281
|
-
textureKey: 'stone',
|
|
282
|
-
name: 'stone',
|
|
283
|
-
generateContainerSlots: 10,
|
|
284
|
-
description: 'You see a stone. It is used with slingshot.',
|
|
285
|
-
attack: 7,
|
|
286
|
-
defense: 3,
|
|
287
|
-
weight: 13,
|
|
288
|
-
tiledId: 67,
|
|
289
|
-
x: 320,
|
|
290
|
-
y: 144,
|
|
291
|
-
scene: 'MainScene',
|
|
292
|
-
fullDescription: 'You see a stone. It is used with slingshot',
|
|
293
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
294
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
295
|
-
rarity: ItemRarities.Common,
|
|
296
|
-
},
|
|
297
|
-
inventory: {
|
|
298
|
-
_id: '8',
|
|
299
|
-
type: ItemType.Container,
|
|
300
|
-
subType: ItemSubType.Other,
|
|
301
|
-
textureAtlas: 'items',
|
|
302
|
-
allowedEquipSlotType: [ItemSlotType.Inventory],
|
|
303
|
-
isEquipable: false,
|
|
304
|
-
isStackable: false,
|
|
305
|
-
maxStackSize: 999,
|
|
306
|
-
isUsable: true,
|
|
307
|
-
isStorable: true,
|
|
308
|
-
layer: 1,
|
|
309
|
-
isItemContainer: true,
|
|
310
|
-
isSolid: false,
|
|
311
|
-
key: 'backpack',
|
|
312
|
-
texturePath: 'containers/backpack.png',
|
|
313
|
-
textureKey: 'containers/backpack.png',
|
|
314
|
-
name: 'backpack',
|
|
315
|
-
description: 'Open the gates, but use the key!',
|
|
316
|
-
attack: 7,
|
|
317
|
-
defense: 3,
|
|
318
|
-
weight: 13,
|
|
319
|
-
tiledId: 67,
|
|
320
|
-
x: 320,
|
|
321
|
-
y: 144,
|
|
322
|
-
scene: 'MainScene',
|
|
323
|
-
fullDescription: 'Key to open things',
|
|
324
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
325
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
326
|
-
generateContainerSlots: 10,
|
|
327
|
-
itemContainer: {
|
|
328
|
-
_id: '62aebdb5785a9f0089a4f8cf',
|
|
329
|
-
slotQty: 10,
|
|
330
|
-
allowedItemTypes: [],
|
|
331
|
-
parentItem: '8',
|
|
332
|
-
slots: {},
|
|
333
|
-
owner: '62aebdb2785a9f0089a4f869',
|
|
334
|
-
createdAt: '2022-06-19T06:09:57.971Z',
|
|
335
|
-
updatedAt: '2022-06-19T06:09:57.971Z',
|
|
336
|
-
isEmpty: true,
|
|
337
|
-
},
|
|
338
|
-
isTwoHanded: false,
|
|
339
|
-
hasUseWith: false,
|
|
340
|
-
rarity: ItemRarities.Common,
|
|
341
|
-
},
|
|
342
|
-
rightHand: {
|
|
343
|
-
_id: '629acef1c7c8e8002ff60736',
|
|
344
|
-
type: ItemType.Armor,
|
|
345
|
-
subType: ItemSubType.Shield,
|
|
346
|
-
textureAtlas: 'items',
|
|
347
|
-
allowedEquipSlotType: [ItemSlotType.LeftHand, ItemSlotType.RightHand],
|
|
348
|
-
maxStackSize: 1,
|
|
349
|
-
isUsable: false,
|
|
350
|
-
isStorable: true,
|
|
351
|
-
layer: 1,
|
|
352
|
-
isItemContainer: false,
|
|
353
|
-
isSolid: false,
|
|
354
|
-
key: 'plate-shield',
|
|
355
|
-
texturePath: 'shields/plate-shield.png',
|
|
356
|
-
textureKey: 'plate-shield',
|
|
357
|
-
name: 'Plate Shield',
|
|
358
|
-
description:
|
|
359
|
-
'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
|
|
360
|
-
attack: 5,
|
|
361
|
-
defense: 0,
|
|
362
|
-
weight: 10,
|
|
363
|
-
tiledId: 66,
|
|
364
|
-
x: 320,
|
|
365
|
-
y: 144,
|
|
366
|
-
scene: 'MainScene',
|
|
367
|
-
fullDescription:
|
|
368
|
-
'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
|
|
369
|
-
isEquipable: true,
|
|
370
|
-
isStackable: false,
|
|
371
|
-
createdAt: '2022-06-04T03:18:09.335Z',
|
|
372
|
-
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
373
|
-
isTwoHanded: false,
|
|
374
|
-
hasUseWith: false,
|
|
375
|
-
rarity: ItemRarities.Common,
|
|
376
|
-
},
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
export const equipmentSetMock: IEquipmentSet = {
|
|
380
|
-
_id: '629acef1c7c8e8002ff60736',
|
|
381
|
-
head: undefined,
|
|
382
|
-
armor: items.armor,
|
|
383
|
-
legs: undefined,
|
|
384
|
-
boot: items.boot,
|
|
385
|
-
leftHand: items.leftHand,
|
|
386
|
-
rightHand: items.rightHand,
|
|
387
|
-
neck: undefined,
|
|
388
|
-
ring: undefined,
|
|
389
|
-
accessory: items.accessory,
|
|
390
|
-
inventory: items.inventory,
|
|
391
|
-
};
|
|
1
|
+
import {
|
|
2
|
+
IEquipmentSet,
|
|
3
|
+
IItem,
|
|
4
|
+
ItemRarities,
|
|
5
|
+
// IItem,
|
|
6
|
+
ItemSlotType,
|
|
7
|
+
ItemSubType,
|
|
8
|
+
ItemType,
|
|
9
|
+
} from '@rpg-engine/shared';
|
|
10
|
+
|
|
11
|
+
interface IEquipmentSetItems {
|
|
12
|
+
leftHand: IItem;
|
|
13
|
+
head: IItem;
|
|
14
|
+
armor: IItem;
|
|
15
|
+
legs: IItem;
|
|
16
|
+
boot: IItem;
|
|
17
|
+
neck: IItem;
|
|
18
|
+
ring: IItem;
|
|
19
|
+
accessory: IItem;
|
|
20
|
+
inventory: IItem;
|
|
21
|
+
rightHand: IItem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const items: IEquipmentSetItems = {
|
|
25
|
+
leftHand: {
|
|
26
|
+
_id: '0',
|
|
27
|
+
type: ItemType.Weapon,
|
|
28
|
+
subType: ItemSubType.Sword,
|
|
29
|
+
textureAtlas: 'items',
|
|
30
|
+
allowedEquipSlotType: [ItemSlotType.LeftHand, ItemSlotType.RightHand],
|
|
31
|
+
maxStackSize: 1,
|
|
32
|
+
isUsable: false,
|
|
33
|
+
isStorable: true,
|
|
34
|
+
layer: 1,
|
|
35
|
+
isItemContainer: false,
|
|
36
|
+
isSolid: false,
|
|
37
|
+
key: 'basilisk-sword',
|
|
38
|
+
texturePath: 'swords/basilisk-sword.png',
|
|
39
|
+
textureKey: 'basilisk-sword',
|
|
40
|
+
name: 'basilisk sword',
|
|
41
|
+
description:
|
|
42
|
+
'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
|
|
43
|
+
attack: 5,
|
|
44
|
+
defense: 0,
|
|
45
|
+
weight: 10,
|
|
46
|
+
tiledId: 66,
|
|
47
|
+
x: 320,
|
|
48
|
+
y: 144,
|
|
49
|
+
scene: 'MainScene',
|
|
50
|
+
fullDescription:
|
|
51
|
+
'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
|
|
52
|
+
isEquipable: true,
|
|
53
|
+
isStackable: false,
|
|
54
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
55
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
56
|
+
isTwoHanded: false,
|
|
57
|
+
hasUseWith: false,
|
|
58
|
+
rarity: ItemRarities.Common,
|
|
59
|
+
},
|
|
60
|
+
head: {
|
|
61
|
+
_id: '1',
|
|
62
|
+
type: ItemType.Armor,
|
|
63
|
+
subType: ItemSubType.Helmet,
|
|
64
|
+
textureAtlas: 'items',
|
|
65
|
+
allowedEquipSlotType: [ItemSlotType.Head],
|
|
66
|
+
maxStackSize: 1,
|
|
67
|
+
isUsable: false,
|
|
68
|
+
isStorable: true,
|
|
69
|
+
layer: 1,
|
|
70
|
+
isItemContainer: false,
|
|
71
|
+
isSolid: false,
|
|
72
|
+
key: 'iron-helmet',
|
|
73
|
+
texturePath: 'helmets/iron-helmet.png',
|
|
74
|
+
textureKey: 'iron-helmet',
|
|
75
|
+
name: 'Helmet',
|
|
76
|
+
description: 'You see a broad bow.',
|
|
77
|
+
attack: 7,
|
|
78
|
+
defense: 3,
|
|
79
|
+
weight: 13,
|
|
80
|
+
tiledId: 67,
|
|
81
|
+
x: 320,
|
|
82
|
+
y: 144,
|
|
83
|
+
scene: 'MainScene',
|
|
84
|
+
fullDescription: 'You see a board bow.',
|
|
85
|
+
isEquipable: true,
|
|
86
|
+
isStackable: false,
|
|
87
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
88
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
89
|
+
isTwoHanded: false,
|
|
90
|
+
hasUseWith: false,
|
|
91
|
+
rarity: ItemRarities.Common,
|
|
92
|
+
},
|
|
93
|
+
armor: {
|
|
94
|
+
_id: '2',
|
|
95
|
+
type: ItemType.Armor,
|
|
96
|
+
subType: ItemSubType.Armor,
|
|
97
|
+
textureAtlas: 'items',
|
|
98
|
+
allowedEquipSlotType: [ItemSlotType.Torso],
|
|
99
|
+
isEquipable: false,
|
|
100
|
+
isStackable: false,
|
|
101
|
+
maxStackSize: 99,
|
|
102
|
+
|
|
103
|
+
isUsable: true,
|
|
104
|
+
isStorable: true,
|
|
105
|
+
layer: 1,
|
|
106
|
+
isItemContainer: false,
|
|
107
|
+
isSolid: false,
|
|
108
|
+
key: 'board-sword-22',
|
|
109
|
+
texturePath: 'armors/golden-armor.png',
|
|
110
|
+
textureKey: 'golden-armor',
|
|
111
|
+
name: 'golden armor',
|
|
112
|
+
description: 'Recover your life',
|
|
113
|
+
attack: 7,
|
|
114
|
+
defense: 3,
|
|
115
|
+
weight: 13,
|
|
116
|
+
tiledId: 67,
|
|
117
|
+
x: 320,
|
|
118
|
+
y: 144,
|
|
119
|
+
scene: 'MainScene',
|
|
120
|
+
fullDescription: 'Recover your life',
|
|
121
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
122
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
123
|
+
isTwoHanded: false,
|
|
124
|
+
hasUseWith: false,
|
|
125
|
+
rarity: ItemRarities.Common,
|
|
126
|
+
},
|
|
127
|
+
legs: {
|
|
128
|
+
_id: '3',
|
|
129
|
+
type: ItemType.Armor,
|
|
130
|
+
subType: ItemSubType.Legs,
|
|
131
|
+
textureAtlas: 'items',
|
|
132
|
+
allowedEquipSlotType: [ItemSlotType.Legs],
|
|
133
|
+
isEquipable: false,
|
|
134
|
+
isStackable: false,
|
|
135
|
+
maxStackSize: 99,
|
|
136
|
+
stackQty: 13,
|
|
137
|
+
isUsable: true,
|
|
138
|
+
isStorable: true,
|
|
139
|
+
layer: 1,
|
|
140
|
+
isItemContainer: false,
|
|
141
|
+
isSolid: false,
|
|
142
|
+
key: 'leather-legs',
|
|
143
|
+
texturePath: 'legs/leather-legs.png',
|
|
144
|
+
textureKey: 'leather-legs',
|
|
145
|
+
name: 'Leather legs',
|
|
146
|
+
description: 'Protect your legs',
|
|
147
|
+
attack: 7,
|
|
148
|
+
defense: 3,
|
|
149
|
+
weight: 13,
|
|
150
|
+
tiledId: 67,
|
|
151
|
+
x: 320,
|
|
152
|
+
y: 144,
|
|
153
|
+
scene: 'MainScene',
|
|
154
|
+
fullDescription: 'Leather legs',
|
|
155
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
156
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
157
|
+
isTwoHanded: false,
|
|
158
|
+
hasUseWith: false,
|
|
159
|
+
rarity: ItemRarities.Common,
|
|
160
|
+
},
|
|
161
|
+
boot: {
|
|
162
|
+
_id: '4',
|
|
163
|
+
type: ItemType.Armor,
|
|
164
|
+
subType: ItemSubType.Boot,
|
|
165
|
+
textureAtlas: 'items',
|
|
166
|
+
allowedEquipSlotType: [ItemSlotType.Feet],
|
|
167
|
+
isEquipable: false,
|
|
168
|
+
isStackable: false,
|
|
169
|
+
maxStackSize: 999,
|
|
170
|
+
isUsable: true,
|
|
171
|
+
isStorable: true,
|
|
172
|
+
layer: 1,
|
|
173
|
+
isItemContainer: false,
|
|
174
|
+
isSolid: false,
|
|
175
|
+
key: 'board-sword-22',
|
|
176
|
+
texturePath: 'boots/golden-boots.png',
|
|
177
|
+
textureKey: 'golden-boots',
|
|
178
|
+
name: 'golden-boots',
|
|
179
|
+
description: 'Open the gates, but use the key!',
|
|
180
|
+
attack: 7,
|
|
181
|
+
defense: 3,
|
|
182
|
+
weight: 13,
|
|
183
|
+
tiledId: 67,
|
|
184
|
+
x: 320,
|
|
185
|
+
y: 144,
|
|
186
|
+
scene: 'MainScene',
|
|
187
|
+
fullDescription: 'Key to open things',
|
|
188
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
189
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
190
|
+
isTwoHanded: false,
|
|
191
|
+
hasUseWith: false,
|
|
192
|
+
rarity: ItemRarities.Common,
|
|
193
|
+
},
|
|
194
|
+
neck: {
|
|
195
|
+
_id: '5',
|
|
196
|
+
type: ItemType.Armor,
|
|
197
|
+
subType: ItemSubType.Accessory,
|
|
198
|
+
textureAtlas: 'items',
|
|
199
|
+
allowedEquipSlotType: [ItemSlotType.Neck],
|
|
200
|
+
isEquipable: false,
|
|
201
|
+
isStackable: false,
|
|
202
|
+
maxStackSize: 999,
|
|
203
|
+
|
|
204
|
+
isUsable: false,
|
|
205
|
+
isStorable: true,
|
|
206
|
+
layer: 1,
|
|
207
|
+
isItemContainer: false,
|
|
208
|
+
isSolid: false,
|
|
209
|
+
key: 'sapphire-necklace',
|
|
210
|
+
texturePath: 'accessories/sapphire-necklace.png',
|
|
211
|
+
textureKey: 'sapphire-necklace',
|
|
212
|
+
name: 'sapphire-necklace',
|
|
213
|
+
description: 'Use this to craft things!',
|
|
214
|
+
attack: 7,
|
|
215
|
+
defense: 3,
|
|
216
|
+
weight: 13,
|
|
217
|
+
tiledId: 67,
|
|
218
|
+
x: 320,
|
|
219
|
+
y: 144,
|
|
220
|
+
scene: 'MainScene',
|
|
221
|
+
fullDescription: 'Somes shard, some crafts.',
|
|
222
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
223
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
224
|
+
isTwoHanded: false,
|
|
225
|
+
hasUseWith: false,
|
|
226
|
+
rarity: ItemRarities.Common,
|
|
227
|
+
},
|
|
228
|
+
ring: {
|
|
229
|
+
_id: '6',
|
|
230
|
+
type: ItemType.Accessory,
|
|
231
|
+
subType: ItemSubType.Armor,
|
|
232
|
+
textureAtlas: 'items',
|
|
233
|
+
allowedEquipSlotType: [ItemSlotType.Ring],
|
|
234
|
+
isEquipable: false,
|
|
235
|
+
isStackable: false,
|
|
236
|
+
maxStackSize: 999,
|
|
237
|
+
|
|
238
|
+
isUsable: false,
|
|
239
|
+
isStorable: true,
|
|
240
|
+
layer: 1,
|
|
241
|
+
isItemContainer: false,
|
|
242
|
+
isSolid: false,
|
|
243
|
+
key: 'jade-ring',
|
|
244
|
+
texturePath: '"rings/jade-ring.png',
|
|
245
|
+
textureKey: 'jade-ring',
|
|
246
|
+
name: 'jade-ring',
|
|
247
|
+
description: 'Chop chop.',
|
|
248
|
+
attack: 7,
|
|
249
|
+
defense: 3,
|
|
250
|
+
weight: 13,
|
|
251
|
+
tiledId: 67,
|
|
252
|
+
x: 320,
|
|
253
|
+
y: 144,
|
|
254
|
+
scene: 'MainScene',
|
|
255
|
+
fullDescription: 'Use this axe to chop wood and stuffs.',
|
|
256
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
257
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
258
|
+
isTwoHanded: false,
|
|
259
|
+
hasUseWith: false,
|
|
260
|
+
rarity: ItemRarities.Common,
|
|
261
|
+
},
|
|
262
|
+
accessory: {
|
|
263
|
+
_id: '392acek4j7c8e80d2fs60404',
|
|
264
|
+
hasUseWith: false,
|
|
265
|
+
type: ItemType.Accessory,
|
|
266
|
+
subType: ItemSubType.Ranged,
|
|
267
|
+
textureAtlas: 'items',
|
|
268
|
+
allowedEquipSlotType: [ItemSlotType.Accessory],
|
|
269
|
+
isEquipable: true,
|
|
270
|
+
isStackable: true,
|
|
271
|
+
maxStackSize: 999,
|
|
272
|
+
stackQty: 275,
|
|
273
|
+
isUsable: false,
|
|
274
|
+
isStorable: true,
|
|
275
|
+
isTwoHanded: false,
|
|
276
|
+
layer: 1,
|
|
277
|
+
isItemContainer: true,
|
|
278
|
+
isSolid: false,
|
|
279
|
+
key: 'stone',
|
|
280
|
+
texturePath: 'ranged-weapons/stone-qty-5.png',
|
|
281
|
+
textureKey: 'stone',
|
|
282
|
+
name: 'stone',
|
|
283
|
+
generateContainerSlots: 10,
|
|
284
|
+
description: 'You see a stone. It is used with slingshot.',
|
|
285
|
+
attack: 7,
|
|
286
|
+
defense: 3,
|
|
287
|
+
weight: 13,
|
|
288
|
+
tiledId: 67,
|
|
289
|
+
x: 320,
|
|
290
|
+
y: 144,
|
|
291
|
+
scene: 'MainScene',
|
|
292
|
+
fullDescription: 'You see a stone. It is used with slingshot',
|
|
293
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
294
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
295
|
+
rarity: ItemRarities.Common,
|
|
296
|
+
},
|
|
297
|
+
inventory: {
|
|
298
|
+
_id: '8',
|
|
299
|
+
type: ItemType.Container,
|
|
300
|
+
subType: ItemSubType.Other,
|
|
301
|
+
textureAtlas: 'items',
|
|
302
|
+
allowedEquipSlotType: [ItemSlotType.Inventory],
|
|
303
|
+
isEquipable: false,
|
|
304
|
+
isStackable: false,
|
|
305
|
+
maxStackSize: 999,
|
|
306
|
+
isUsable: true,
|
|
307
|
+
isStorable: true,
|
|
308
|
+
layer: 1,
|
|
309
|
+
isItemContainer: true,
|
|
310
|
+
isSolid: false,
|
|
311
|
+
key: 'backpack',
|
|
312
|
+
texturePath: 'containers/backpack.png',
|
|
313
|
+
textureKey: 'containers/backpack.png',
|
|
314
|
+
name: 'backpack',
|
|
315
|
+
description: 'Open the gates, but use the key!',
|
|
316
|
+
attack: 7,
|
|
317
|
+
defense: 3,
|
|
318
|
+
weight: 13,
|
|
319
|
+
tiledId: 67,
|
|
320
|
+
x: 320,
|
|
321
|
+
y: 144,
|
|
322
|
+
scene: 'MainScene',
|
|
323
|
+
fullDescription: 'Key to open things',
|
|
324
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
325
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
326
|
+
generateContainerSlots: 10,
|
|
327
|
+
itemContainer: {
|
|
328
|
+
_id: '62aebdb5785a9f0089a4f8cf',
|
|
329
|
+
slotQty: 10,
|
|
330
|
+
allowedItemTypes: [],
|
|
331
|
+
parentItem: '8',
|
|
332
|
+
slots: {},
|
|
333
|
+
owner: '62aebdb2785a9f0089a4f869',
|
|
334
|
+
createdAt: '2022-06-19T06:09:57.971Z',
|
|
335
|
+
updatedAt: '2022-06-19T06:09:57.971Z',
|
|
336
|
+
isEmpty: true,
|
|
337
|
+
},
|
|
338
|
+
isTwoHanded: false,
|
|
339
|
+
hasUseWith: false,
|
|
340
|
+
rarity: ItemRarities.Common,
|
|
341
|
+
},
|
|
342
|
+
rightHand: {
|
|
343
|
+
_id: '629acef1c7c8e8002ff60736',
|
|
344
|
+
type: ItemType.Armor,
|
|
345
|
+
subType: ItemSubType.Shield,
|
|
346
|
+
textureAtlas: 'items',
|
|
347
|
+
allowedEquipSlotType: [ItemSlotType.LeftHand, ItemSlotType.RightHand],
|
|
348
|
+
maxStackSize: 1,
|
|
349
|
+
isUsable: false,
|
|
350
|
+
isStorable: true,
|
|
351
|
+
layer: 1,
|
|
352
|
+
isItemContainer: false,
|
|
353
|
+
isSolid: false,
|
|
354
|
+
key: 'plate-shield',
|
|
355
|
+
texturePath: 'shields/plate-shield.png',
|
|
356
|
+
textureKey: 'plate-shield',
|
|
357
|
+
name: 'Plate Shield',
|
|
358
|
+
description:
|
|
359
|
+
'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
|
|
360
|
+
attack: 5,
|
|
361
|
+
defense: 0,
|
|
362
|
+
weight: 10,
|
|
363
|
+
tiledId: 66,
|
|
364
|
+
x: 320,
|
|
365
|
+
y: 144,
|
|
366
|
+
scene: 'MainScene',
|
|
367
|
+
fullDescription:
|
|
368
|
+
'You see a short sword. It is a single-handed sword with a handle that just features a grip.',
|
|
369
|
+
isEquipable: true,
|
|
370
|
+
isStackable: false,
|
|
371
|
+
createdAt: '2022-06-04T03:18:09.335Z',
|
|
372
|
+
updatedAt: '2022-06-04T18:16:49.056Z',
|
|
373
|
+
isTwoHanded: false,
|
|
374
|
+
hasUseWith: false,
|
|
375
|
+
rarity: ItemRarities.Common,
|
|
376
|
+
},
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
export const equipmentSetMock: IEquipmentSet = {
|
|
380
|
+
_id: '629acef1c7c8e8002ff60736',
|
|
381
|
+
head: undefined,
|
|
382
|
+
armor: items.armor,
|
|
383
|
+
legs: undefined,
|
|
384
|
+
boot: items.boot,
|
|
385
|
+
leftHand: items.leftHand,
|
|
386
|
+
rightHand: items.rightHand,
|
|
387
|
+
neck: undefined,
|
|
388
|
+
ring: undefined,
|
|
389
|
+
accessory: items.accessory,
|
|
390
|
+
inventory: items.inventory,
|
|
391
|
+
};
|