improve: adding special weapons at powersuit creation #277
@ -16,6 +16,7 @@ import {
|
|||||||
ITypeCount,
|
ITypeCount,
|
||||||
IFocusXP,
|
IFocusXP,
|
||||||
IFocusUpgrades,
|
IFocusUpgrades,
|
||||||
|
IGenericItem2,
|
||||||
ITypeXPItem,
|
ITypeXPItem,
|
||||||
IChallengeProgress,
|
IChallengeProgress,
|
||||||
IStepSequencer,
|
IStepSequencer,
|
||||||
@ -380,6 +381,29 @@ DuviriInfoSchema.set("toJSON", {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const GenericItemSchema2 = new Schema<IGenericItem2>({
|
||||||
|
|||||||
|
ItemType: String,
|
||||||
|
ItemName: String,
|
||||||
|
XP: Number,
|
||||||
|
UpgradeVer: Number, //this is probably __v
|
||||||
|
Features: Number,
|
||||||
|
Polarized: Number,
|
||||||
|
CustomizationSlotPurchases: Number,
|
||||||
|
ModSlotPurchases: Number,
|
||||||
|
FocusLens: String,
|
||||||
|
Expiry: Date, //TODO: needs conversion
|
||||||
|
Polarity: [polaritySchema],
|
||||||
|
Configs: [ItemConfigSchema],
|
||||||
|
ModularParts: [String],
|
||||||
|
SkillTree: String,
|
||||||
|
UpgradeType: String,
|
||||||
|
UpgradeFingerprint: String,
|
||||||
|
OffensiveUpgrade: String,
|
||||||
|
DefensiveUpgrade: String,
|
||||||
|
UpgradesExpiry: Date, //TODO: needs conversion
|
||||||
|
ArchonCrystalUpgrades: []
|
||||||
|
});
|
||||||
|
|
||||||
const TypeXPItemSchema = new Schema<ITypeXPItem>(
|
const TypeXPItemSchema = new Schema<ITypeXPItem>(
|
||||||
{
|
{
|
||||||
ItemType: String,
|
ItemType: String,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user
please undo removal of all genericItem2 instances. it has a purpose for later.