@rpg-engine/long-bow 0.8.21 → 0.8.22
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/dist/components/InformationCenter/InformationCenter.d.ts +16 -13
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterBestiarySection.d.ts +1 -1
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterNPCDetails.d.ts +2 -1
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterNPCTooltip.d.ts +1 -1
- package/dist/components/InformationCenter/sections/faq/InformationCenterFaqSection.d.ts +1 -1
- package/dist/components/InformationCenter/sections/items/InformationCenterItemDetails.d.ts +1 -1
- package/dist/components/InformationCenter/sections/items/InformationCenterItemTooltip.d.ts +1 -1
- package/dist/components/InformationCenter/sections/items/InformationCenterItemsSection.d.ts +2 -1
- package/dist/components/InformationCenter/sections/tutorials/InformationCenterTutorialsSection.d.ts +1 -1
- package/dist/long-bow.cjs.development.js +788 -687
- 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 +789 -688
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/mocks/informationCenter.mocks.d.ts +1 -2
- package/package.json +2 -2
- package/src/components/CraftBook/CraftBook.tsx +1 -1
- package/src/components/Dropdown.tsx +25 -3
- package/src/components/InformationCenter/InformationCenter.tsx +125 -124
- package/src/components/InformationCenter/sections/bestiary/InformationCenterBestiarySection.tsx +52 -7
- package/src/components/InformationCenter/sections/bestiary/InformationCenterNPCDetails.tsx +201 -207
- package/src/components/InformationCenter/sections/bestiary/InformationCenterNPCTooltip.tsx +7 -6
- package/src/components/InformationCenter/sections/faq/InformationCenterFaqSection.tsx +1 -1
- package/src/components/InformationCenter/sections/items/InformationCenterItemDetails.tsx +8 -6
- package/src/components/InformationCenter/sections/items/InformationCenterItemTooltip.tsx +1 -1
- package/src/components/InformationCenter/sections/items/InformationCenterItemsSection.tsx +36 -10
- package/src/components/InformationCenter/sections/tutorials/InformationCenterTutorialsSection.tsx +133 -34
- package/src/mocks/informationCenter.mocks.ts +158 -47
- package/src/stories/UI/info/InformationCenter.stories.tsx +1 -1
- package/dist/components/InformationCenter/InformationCenterTypes.d.ts +0 -96
- package/src/components/InformationCenter/InformationCenterTypes.ts +0 -105
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EntityAttackType,
|
|
3
|
-
ICharacterPermanentBuff,
|
|
4
|
-
IEquippableItemBlueprint,
|
|
5
|
-
INPCLoot,
|
|
6
|
-
ItemRarities,
|
|
7
|
-
NPCAlignment,
|
|
8
|
-
NPCSubtype,
|
|
9
|
-
RangeTypes,
|
|
10
|
-
} from '@rpg-engine/shared';
|
|
11
|
-
import { IFaqItem, IVideoGuide } from './InformationCenter';
|
|
12
|
-
|
|
13
|
-
export enum MovementSpeed {
|
|
14
|
-
ExtraSlow = 1.5,
|
|
15
|
-
Slow = 2.25,
|
|
16
|
-
Standard = 2.6,
|
|
17
|
-
Fast = 3,
|
|
18
|
-
ExtraFast = 3.5,
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export enum EntityEffectBlueprint {
|
|
22
|
-
Poison = 'poison',
|
|
23
|
-
Bleeding = 'bleeding',
|
|
24
|
-
Freezing = 'freezing',
|
|
25
|
-
Burning = 'burning',
|
|
26
|
-
Corruption = 'corruption',
|
|
27
|
-
VineGrasp = 'vine-grasp',
|
|
28
|
-
Curse = 'curse',
|
|
29
|
-
Drain = 'drain',
|
|
30
|
-
Shadow = 'shadow',
|
|
31
|
-
Stun = 'stun',
|
|
32
|
-
Knockback = 'knockback',
|
|
33
|
-
Rage = 'rage',
|
|
34
|
-
Weakness = 'weakness',
|
|
35
|
-
Cripple = 'cripple',
|
|
36
|
-
Regeneration = 'regeneration',
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export enum LootProbability {
|
|
40
|
-
VeryRare = 0.5,
|
|
41
|
-
Rare = 1,
|
|
42
|
-
Uncommon = 10,
|
|
43
|
-
SemiCommon = 15,
|
|
44
|
-
Common = 20,
|
|
45
|
-
VeryCommon = 35,
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
interface INPCBlueprintSpellArea {
|
|
49
|
-
spellKey: string;
|
|
50
|
-
probability: number;
|
|
51
|
-
power: string;
|
|
52
|
-
texturePath: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface IInformationCenterNPC {
|
|
56
|
-
id: string;
|
|
57
|
-
name: string;
|
|
58
|
-
key: string;
|
|
59
|
-
subType: NPCSubtype;
|
|
60
|
-
alignment: NPCAlignment;
|
|
61
|
-
attackType: EntityAttackType;
|
|
62
|
-
maxRangeAttack: RangeTypes;
|
|
63
|
-
speed: MovementSpeed;
|
|
64
|
-
baseHealth: number;
|
|
65
|
-
skills: {
|
|
66
|
-
level: number;
|
|
67
|
-
strength?: { level: number };
|
|
68
|
-
dexterity?: { level: number };
|
|
69
|
-
resistance?: { level: number };
|
|
70
|
-
};
|
|
71
|
-
fleeOnLowHealth: boolean;
|
|
72
|
-
entityEffects: EntityEffectBlueprint[];
|
|
73
|
-
areaSpells: INPCBlueprintSpellArea[];
|
|
74
|
-
loots: INPCLoot[];
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export interface IInformationCenterItem extends IEquippableItemBlueprint {
|
|
78
|
-
tier: number;
|
|
79
|
-
rarity: ItemRarities;
|
|
80
|
-
rangeType?: EntityAttackType;
|
|
81
|
-
basePrice: number;
|
|
82
|
-
canSell: boolean;
|
|
83
|
-
maxStackSize: number;
|
|
84
|
-
usableEffectDescription?: string;
|
|
85
|
-
entityEffects?: [EntityEffectBlueprint];
|
|
86
|
-
entityEffectChance?: number;
|
|
87
|
-
equippedBuff?: ICharacterPermanentBuff[];
|
|
88
|
-
equippedBuffDescription?: string;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export interface IInformationCenterProps {
|
|
92
|
-
itemsAtlasJSON: Record<string, any>;
|
|
93
|
-
itemsAtlasIMG: string;
|
|
94
|
-
entitiesAtlasJSON: Record<string, any>;
|
|
95
|
-
entitiesAtlasIMG: string;
|
|
96
|
-
iconsAtlasJSON: any;
|
|
97
|
-
iconsAtlasIMG: any;
|
|
98
|
-
faqItems?: IFaqItem[];
|
|
99
|
-
bestiaryItems?: IInformationCenterNPC[];
|
|
100
|
-
videoGuides?: IVideoGuide[];
|
|
101
|
-
items?: IInformationCenterItem[];
|
|
102
|
-
loading?: boolean;
|
|
103
|
-
error?: string;
|
|
104
|
-
initialSearchQuery?: string;
|
|
105
|
-
}
|