2024-02-29 22:31:40 +00:00
|
|
|
Scriptname _00E_IceClaw extends ObjectReference
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
If akActionRef == PlayerREF
|
|
|
|
GoToState("DoNothing")
|
2023-12-10 06:33:30 +00:00
|
|
|
PlayerREF.AddItem(_00E_FloraEispranke, 1, true)
|
2024-01-20 14:46:56 +00:00
|
|
|
int EPC = _00E_EisprankeCounter.GetValueInt()
|
|
|
|
_00E_EisprankeCounter.SetValue(EPC + 1)
|
2021-10-05 22:15:58 +00:00
|
|
|
If EPC == 0 && _00E_DisableOtherTutorials.GetValueInt() == 0
|
|
|
|
_00E_EisprankeMessagebox.Show()
|
|
|
|
EndIf
|
2024-02-29 22:31:40 +00:00
|
|
|
DisableNoWait()
|
2023-12-10 06:33:30 +00:00
|
|
|
PlayerREF.EquipItem(_00E_FloraEispranke, false, true)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
State DoNothing
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
; Do nothing
|
|
|
|
EndEvent
|
|
|
|
EndState
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
GlobalVariable Property _00E_EisprankeCounter Auto
|
|
|
|
GlobalVariable Property _00E_DisableOtherTutorials Auto
|
|
|
|
Message Property _00E_EisprankeMessagebox Auto
|
2024-02-29 22:31:40 +00:00
|
|
|
Potion Property _00E_FloraEispranke Auto
|