Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
811 B
28 lines
811 B
2 months ago
|
Scriptname _00E_IceClaw extends ObjectReference
|
||
3 years ago
|
|
||
|
Event OnActivate(ObjectReference akActionRef)
|
||
|
If akActionRef == PlayerREF
|
||
|
GoToState("DoNothing")
|
||
5 months ago
|
PlayerREF.AddItem(_00E_FloraEispranke, 1, true)
|
||
4 months ago
|
int EPC = _00E_EisprankeCounter.GetValueInt()
|
||
|
_00E_EisprankeCounter.SetValue(EPC + 1)
|
||
3 years ago
|
If EPC == 0 && _00E_DisableOtherTutorials.GetValueInt() == 0
|
||
|
_00E_EisprankeMessagebox.Show()
|
||
|
EndIf
|
||
2 months ago
|
DisableNoWait()
|
||
5 months ago
|
PlayerREF.EquipItem(_00E_FloraEispranke, false, true)
|
||
3 years ago
|
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
|
||
2 months ago
|
Potion Property _00E_FloraEispranke Auto
|