Compare commits
	
		
			2 Commits
		
	
	
		
			bbb54f28fd
			...
			229910cf2a
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 229910cf2a | |||
| 00a75a33fa | 
@ -38,6 +38,7 @@ import {
 | 
				
			|||||||
    ExportCustoms,
 | 
					    ExportCustoms,
 | 
				
			||||||
    ExportFlavour,
 | 
					    ExportFlavour,
 | 
				
			||||||
    ExportGear,
 | 
					    ExportGear,
 | 
				
			||||||
 | 
					    ExportKeys,
 | 
				
			||||||
    ExportRecipes,
 | 
					    ExportRecipes,
 | 
				
			||||||
    ExportResources,
 | 
					    ExportResources,
 | 
				
			||||||
    ExportSentinels,
 | 
					    ExportSentinels,
 | 
				
			||||||
@ -365,6 +366,19 @@ export const addItem = async (
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    if (typeName in ExportKeys) {
 | 
				
			||||||
 | 
					        // Note: "/Lotus/Types/Keys/" contains some EmailItems and ShipFeatureItems
 | 
				
			||||||
 | 
					        inventory.QuestKeys.push({ ItemType: typeName });
 | 
				
			||||||
 | 
					        return {
 | 
				
			||||||
 | 
					            InventoryChanges: {
 | 
				
			||||||
 | 
					                QuestKeys: [
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        ItemType: typeName
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                ]
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Path-based duck typing
 | 
					    // Path-based duck typing
 | 
				
			||||||
    switch (typeName.substr(1).split("/")[1]) {
 | 
					    switch (typeName.substr(1).split("/")[1]) {
 | 
				
			||||||
@ -481,21 +495,6 @@ export const addItem = async (
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                case "Keys": {
 | 
					 | 
				
			||||||
                    if (typeName === "/Lotus/Types/Keys/InfestedMicroplanetQuest/DoubleDefenseIntroEmailItem") {
 | 
					 | 
				
			||||||
                        break;
 | 
					 | 
				
			||||||
                    }
 | 
					 | 
				
			||||||
                    inventory.QuestKeys.push({ ItemType: typeName });
 | 
					 | 
				
			||||||
                    return {
 | 
					 | 
				
			||||||
                        InventoryChanges: {
 | 
					 | 
				
			||||||
                            QuestKeys: [
 | 
					 | 
				
			||||||
                                {
 | 
					 | 
				
			||||||
                                    ItemType: typeName
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                            ]
 | 
					 | 
				
			||||||
                        }
 | 
					 | 
				
			||||||
                    };
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
                case "NeutralCreatures": {
 | 
					                case "NeutralCreatures": {
 | 
				
			||||||
                    const horseIndex = inventory.Horses.push({ ItemType: typeName });
 | 
					                    const horseIndex = inventory.Horses.push({ ItemType: typeName });
 | 
				
			||||||
                    return {
 | 
					                    return {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user