2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_FS_HeavySaddleSC extends ObjectReference
|
|
|
|
|
|
|
|
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
|
|
|
|
|
2021-10-05 22:22:24 +00:00
|
|
|
if akNewContainer == Game.GetPlayer()
|
|
|
|
|
|
|
|
if PlayerHorse.GetActorBase().GetOutfit() != _00E_FS_HeavySaddleOutfit
|
|
|
|
|
|
|
|
_00E_FS_SaddleEquipped.Show()
|
|
|
|
|
|
|
|
PlayerHorse.GetActorBase().SetOutfit(_00E_FS_HeavySaddleOutfit)
|
|
|
|
PlayerHorse.SetOutfit(_00E_FS_HeavySaddleOutfit)
|
|
|
|
|
|
|
|
PlayerHorse.SetActorValue("speedMult", PlayerHorse.GetAV("speedMult")*1.20)
|
|
|
|
|
|
|
|
Game.GetPlayer().RemoveItem(_00E_FS_HeavySaddleItem, 1)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
endIf
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
endEvent
|
|
|
|
|
|
|
|
Message Property _00E_FS_SaddleEquipped Auto
|
|
|
|
|
|
|
|
Actor Property PlayerHorse Auto
|
|
|
|
|
2021-10-05 22:22:24 +00:00
|
|
|
Outfit Property _00E_FS_HeavySaddleOutfit Auto
|
|
|
|
|
|
|
|
Armor Property _00E_FS_HeavySaddleItem Auto
|