let addEmailItem populate inventoryChanges
This commit is contained in:
parent
b13e48904c
commit
543ae25071
@ -51,10 +51,11 @@ export const saveDialogueController: RequestHandler = async (req, res) => {
|
||||
for (const bool of request.Booleans) {
|
||||
dialogue.Booleans.push(bool);
|
||||
if (bool == "LizzieShawzin") {
|
||||
await addEmailItem(inventory, "/Lotus/Types/Items/EmailItems/LizzieShawzinSkinEmailItem");
|
||||
inventoryChanges.EmailItems = [
|
||||
{ ItemType: "/Lotus/Types/Items/EmailItems/LizzieShawzinSkinEmailItem", ItemCount: 1 }
|
||||
];
|
||||
await addEmailItem(
|
||||
inventory,
|
||||
"/Lotus/Types/Items/EmailItems/LizzieShawzinSkinEmailItem",
|
||||
inventoryChanges
|
||||
);
|
||||
}
|
||||
}
|
||||
for (const bool of request.ResetBooleans) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user