Do not clear player alias in The Elixir since it's used later in a condition
This commit is contained in:
parent
9083a6f38b
commit
b67d6bc9a9
Binary file not shown.
@ -24,12 +24,11 @@ EndEvent
|
|||||||
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
|
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
|
||||||
|
|
||||||
If FS_NQ05.GetCurrentStageID() != 35
|
If FS_NQ05.GetCurrentStageID() != 35
|
||||||
AddInventoryEventFilter(_00E_EmptyFormlist) ; in case clearing fails
|
AddInventoryEventFilter(_00E_EmptyFormlist)
|
||||||
RemoveInventoryEventFilter(Garlic)
|
RemoveInventoryEventFilter(Garlic)
|
||||||
RemoveInventoryEventFilter(MothWingMonarch)
|
RemoveInventoryEventFilter(MothWingMonarch)
|
||||||
RemoveInventoryEventFilter(Vynroot)
|
RemoveInventoryEventFilter(Vynroot)
|
||||||
RemoveInventoryEventFilter(SkeeverTail)
|
RemoveInventoryEventFilter(SkeeverTail)
|
||||||
Self.Clear()
|
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -57,13 +56,12 @@ EndEvent
|
|||||||
|
|
||||||
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
|
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
|
||||||
|
|
||||||
If FS_NQ05.GetStage() != 35
|
If FS_NQ05.GetCurrentStageID() != 35
|
||||||
AddInventoryEventFilter(_00E_EmptyFormlist) ; in case clearing fails
|
AddInventoryEventFilter(_00E_EmptyFormlist)
|
||||||
RemoveInventoryEventFilter(Garlic)
|
RemoveInventoryEventFilter(Garlic)
|
||||||
RemoveInventoryEventFilter(MothWingMonarch)
|
RemoveInventoryEventFilter(MothWingMonarch)
|
||||||
RemoveInventoryEventFilter(Vynroot)
|
RemoveInventoryEventFilter(Vynroot)
|
||||||
RemoveInventoryEventFilter(SkeeverTail)
|
RemoveInventoryEventFilter(SkeeverTail)
|
||||||
Self.Clear()
|
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user