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)
If akActionRef == PlayerREF
GoToState("DoNothing")
PlayerREF.AddItem(_00E_FloraEispranke, 1, false)
PlayerREF.AddItem(_00E_FloraEispranke, 1, true)
int EPC = _00E_EisprankeCounter.GetValueInt()
_00E_EisprankeCounter.SetValue(EPC + 1)
If EPC == 0 && _00E_DisableOtherTutorials.GetValueInt() == 0
_00E_EisprankeMessagebox.Show()
EndIf
Self.disable()
PlayerREF.EquipItem(_00E_FloraEispranke, false, true)
EndIf
EndEvent

Binary file not shown.

Binary file not shown.