Auto-eat found ice claws
This commit is contained in:
parent
b34fc773f4
commit
62f134f095
BIN
Skyrim.esm
BIN
Skyrim.esm
Binary file not shown.
Binary file not shown.
@ -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.
Loading…
Reference in New Issue
Block a user