Replace skillType
bonus property with enum
This commit is contained in:
parent
e88a661e7e
commit
4cc7813320
@ -1,6 +1,7 @@
|
|||||||
import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem";
|
import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem";
|
||||||
import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests";
|
import { IPmcDataRepeatableQuest } from "@spt-aki/models/eft/common/tables/IRepeatableQuests";
|
||||||
import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer";
|
import { IRagfairOffer } from "@spt-aki/models/eft/ragfair/IRagfairOffer";
|
||||||
|
import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType";
|
||||||
import { BonusType } from "@spt-aki/models/enums/BonusType";
|
import { BonusType } from "@spt-aki/models/enums/BonusType";
|
||||||
import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas";
|
import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas";
|
||||||
import { MemberCategory } from "@spt-aki/models/enums/MemberCategory";
|
import { MemberCategory } from "@spt-aki/models/enums/MemberCategory";
|
||||||
@ -502,7 +503,7 @@ export interface Bonus
|
|||||||
value?: number;
|
value?: number;
|
||||||
icon?: string;
|
icon?: string;
|
||||||
filter?: string[];
|
filter?: string[];
|
||||||
skillType?: string;
|
skillType?: BonusSkillType;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Note
|
export interface Note
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { BonusSkillType } from "@spt-aki/models/enums/BonusSkillType";
|
||||||
import { BonusType } from "@spt-aki/models/enums/BonusType";
|
import { BonusType } from "@spt-aki/models/enums/BonusType";
|
||||||
|
|
||||||
export interface IHideoutArea
|
export interface IHideoutArea
|
||||||
@ -83,7 +84,7 @@ export interface StageBonus
|
|||||||
passive: boolean;
|
passive: boolean;
|
||||||
production: boolean;
|
production: boolean;
|
||||||
visible: boolean;
|
visible: boolean;
|
||||||
skillType?: string;
|
skillType?: BonusSkillType;
|
||||||
type: BonusType;
|
type: BonusType;
|
||||||
filter?: string[];
|
filter?: string[];
|
||||||
icon?: string;
|
icon?: string;
|
||||||
|
8
project/src/models/enums/BonusSkillType.ts
Normal file
8
project/src/models/enums/BonusSkillType.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
export enum BonusSkillType
|
||||||
|
{
|
||||||
|
PHYSICAL = "Physical",
|
||||||
|
COMBAT = "Combat",
|
||||||
|
SPECIAL = "Special",
|
||||||
|
PRACTICAL = "Practical",
|
||||||
|
MENTAL = "Mental"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user