Show new carry weight after eating an Ice Claw

This commit is contained in:
Eddoursul 2024-01-20 15:46:56 +01:00
parent ad8882da07
commit 80cb664bbc
7 changed files with 8 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -4,4 +4,8 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
akTarget.ModActorValue("CarryWeight", 1) akTarget.ModActorValue("CarryWeight", 1)
EndEvent _00E_CarryWeightEispranke.Show(akTarget.GetActorValue("CarryWeight"))
EndEvent
Message Property _00E_CarryWeightEispranke Auto

View File

@ -4,12 +4,12 @@ Event OnActivate(ObjectReference akActionRef)
If akActionRef == PlayerREF If akActionRef == PlayerREF
GoToState("DoNothing") GoToState("DoNothing")
PlayerREF.AddItem(_00E_FloraEispranke, 1, true) 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() Disable()
PlayerREF.EquipItem(_00E_FloraEispranke, false, true) PlayerREF.EquipItem(_00E_FloraEispranke, false, true)
EndIf EndIf
EndEvent EndEvent

Binary file not shown.

Binary file not shown.