Set stage 40 in The Elixir before removing ingredients to avoid triggering inventory events

This commit is contained in:
Eddoursul 2021-11-08 20:37:48 +01:00
parent 9504301274
commit 9cf587a5df
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -19,12 +19,12 @@ Event OnActivate(ObjectReference akActionRef)
Int qStage = FS_NQ05.GetStage() Int qStage = FS_NQ05.GetStage()
If qStage >= 30 && qStage < 40 If qStage >= 30 && qStage < 40
If FS_NQ05_AlchemyMessagebox.Show() == 0 If FS_NQ05_AlchemyMessagebox.Show() == 0
FS_NQ05.SetStage(40)
PlayerREF.RemoveItem(Nirnroot, 1) PlayerREF.RemoveItem(Nirnroot, 1)
PlayerREF.RemoveItem(SkeeverTail, 1) PlayerREF.RemoveItem(SkeeverTail, 1)
PlayerREF.RemoveItem(MothWingMonarch, 1) PlayerREF.RemoveItem(MothWingMonarch, 1)
PlayerREF.RemoveItem(Garlic, 1) PlayerREF.RemoveItem(Garlic, 1)
PlayerREF.RemoveItem(FS_NQ05_Rezept, 1) PlayerREF.RemoveItem(FS_NQ05_Rezept, 1)
FS_NQ05.SetStage(40)
EndIf EndIf
EndIf EndIf