forked from OpenWF/SpaceNinjaServer
		
	feat(inventory&loadouts): motorcycles (#580)
This commit is contained in:
		
							parent
							
								
									cd514d47af
								
							
						
					
					
						commit
						0dd98393a5
					
				@ -867,6 +867,8 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
 | 
				
			|||||||
        //https://warframe.fandom.com/wiki/Parazon
 | 
					        //https://warframe.fandom.com/wiki/Parazon
 | 
				
			||||||
        DataKnives: [EquipmentSchema],
 | 
					        DataKnives: [EquipmentSchema],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Motorcycles: [EquipmentSchema],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //CorpusLich or GrineerLich
 | 
					        //CorpusLich or GrineerLich
 | 
				
			||||||
        NemesisAbandonedRewards: [String],
 | 
					        NemesisAbandonedRewards: [String],
 | 
				
			||||||
        //CorpusLich\KuvaLich
 | 
					        //CorpusLich\KuvaLich
 | 
				
			||||||
@ -974,6 +976,7 @@ type InventoryDocumentProps = {
 | 
				
			|||||||
    MechSuits: Types.DocumentArray<IEquipmentDatabase>;
 | 
					    MechSuits: Types.DocumentArray<IEquipmentDatabase>;
 | 
				
			||||||
    Scoops: Types.DocumentArray<IEquipmentDatabase>;
 | 
					    Scoops: Types.DocumentArray<IEquipmentDatabase>;
 | 
				
			||||||
    DataKnives: Types.DocumentArray<IEquipmentDatabase>;
 | 
					    DataKnives: Types.DocumentArray<IEquipmentDatabase>;
 | 
				
			||||||
 | 
					    Motorcycles: Types.DocumentArray<IEquipmentDatabase>;
 | 
				
			||||||
    DrifterMelee: Types.DocumentArray<IEquipmentDatabase>;
 | 
					    DrifterMelee: Types.DocumentArray<IEquipmentDatabase>;
 | 
				
			||||||
    Sentinels: Types.DocumentArray<IEquipmentDatabase>;
 | 
					    Sentinels: Types.DocumentArray<IEquipmentDatabase>;
 | 
				
			||||||
    Horses: Types.DocumentArray<IEquipmentDatabase>;
 | 
					    Horses: Types.DocumentArray<IEquipmentDatabase>;
 | 
				
			||||||
 | 
				
			|||||||
@ -144,7 +144,8 @@ export const handleInventoryItemConfigChange = async (
 | 
				
			|||||||
            case "Hoverboards":
 | 
					            case "Hoverboards":
 | 
				
			||||||
            case "MechSuits":
 | 
					            case "MechSuits":
 | 
				
			||||||
            case "CrewShipHarnesses":
 | 
					            case "CrewShipHarnesses":
 | 
				
			||||||
            case "CrewShips": {
 | 
					            case "CrewShips":
 | 
				
			||||||
 | 
					            case "Motorcycles": {
 | 
				
			||||||
                logger.debug(`general Item config saved of type ${equipmentName}`, { config: equipment });
 | 
					                logger.debug(`general Item config saved of type ${equipmentName}`, { config: equipment });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                const itemEntries = equipment as IItemEntry;
 | 
					                const itemEntries = equipment as IItemEntry;
 | 
				
			||||||
 | 
				
			|||||||
@ -245,6 +245,7 @@ export interface IInventoryResponse {
 | 
				
			|||||||
    EquippedInstrument: string;
 | 
					    EquippedInstrument: string;
 | 
				
			||||||
    InvasionChainProgress: IInvasionChainProgress[];
 | 
					    InvasionChainProgress: IInvasionChainProgress[];
 | 
				
			||||||
    DataKnives: IEquipmentDatabase[];
 | 
					    DataKnives: IEquipmentDatabase[];
 | 
				
			||||||
 | 
					    Motorcycles: IEquipmentDatabase[];
 | 
				
			||||||
    NemesisHistory: INemesisHistory[];
 | 
					    NemesisHistory: INemesisHistory[];
 | 
				
			||||||
    LastNemesisAllySpawnTime?: IMongoDate;
 | 
					    LastNemesisAllySpawnTime?: IMongoDate;
 | 
				
			||||||
    Settings: ISettings;
 | 
					    Settings: ISettings;
 | 
				
			||||||
 | 
				
			|||||||
@ -21,6 +21,7 @@ export interface ISaveLoadoutRequest {
 | 
				
			|||||||
    MoaPets: IItemEntry;
 | 
					    MoaPets: IItemEntry;
 | 
				
			||||||
    Hoverboards: IItemEntry;
 | 
					    Hoverboards: IItemEntry;
 | 
				
			||||||
    DataKnives: IItemEntry;
 | 
					    DataKnives: IItemEntry;
 | 
				
			||||||
 | 
					    Motorcycles: IItemEntry;
 | 
				
			||||||
    MechSuits: IItemEntry;
 | 
					    MechSuits: IItemEntry;
 | 
				
			||||||
    CrewShipHarnesses: IItemEntry;
 | 
					    CrewShipHarnesses: IItemEntry;
 | 
				
			||||||
    Horses: IItemEntry;
 | 
					    Horses: IItemEntry;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user