Auto-eat found ice claws

This commit is contained in:
Eddoursul 2023-12-10 07:33:30 +01:00
parent b34fc773f4
commit 62f134f095
5 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -3,13 +3,14 @@ Scriptname _00E_EisprankeSCN extends ObjectReference
Event OnActivate(ObjectReference akActionRef) Event OnActivate(ObjectReference akActionRef)
If akActionRef == PlayerREF If akActionRef == PlayerREF
GoToState("DoNothing") GoToState("DoNothing")
PlayerREF.AddItem(_00E_FloraEispranke, 1, false) PlayerREF.AddItem(_00E_FloraEispranke, 1, true)
int EPC = _00E_EisprankeCounter.GetValueInt() int EPC = _00E_EisprankeCounter.GetValueInt()
_00E_EisprankeCounter.SetValue(EPC + 1) _00E_EisprankeCounter.SetValue(EPC + 1)
If EPC == 0 && _00E_DisableOtherTutorials.GetValueInt() == 0 If EPC == 0 && _00E_DisableOtherTutorials.GetValueInt() == 0
_00E_EisprankeMessagebox.Show() _00E_EisprankeMessagebox.Show()
EndIf EndIf
Self.disable() Self.disable()
PlayerREF.EquipItem(_00E_FloraEispranke, false, true)
EndIf EndIf
EndEvent EndEvent

Binary file not shown.

Binary file not shown.