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) {
|
for (const bool of request.Booleans) {
|
||||||
dialogue.Booleans.push(bool);
|
dialogue.Booleans.push(bool);
|
||||||
if (bool == "LizzieShawzin") {
|
if (bool == "LizzieShawzin") {
|
||||||
await addEmailItem(inventory, "/Lotus/Types/Items/EmailItems/LizzieShawzinSkinEmailItem");
|
await addEmailItem(
|
||||||
inventoryChanges.EmailItems = [
|
inventory,
|
||||||
{ ItemType: "/Lotus/Types/Items/EmailItems/LizzieShawzinSkinEmailItem", ItemCount: 1 }
|
"/Lotus/Types/Items/EmailItems/LizzieShawzinSkinEmailItem",
|
||||||
];
|
inventoryChanges
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (const bool of request.ResetBooleans) {
|
for (const bool of request.ResetBooleans) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user