enderalse/scripts/source/_00e_fs_heavysaddlesc.psc

19 lines
539 B
Plaintext
Raw Normal View History

Scriptname _00E_FS_HeavySaddleSC extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
if akNewContainer == Game.GetPlayer()
_00E_FS_SaddleEquipped.Show()
PlayerHorse.SetOutfit(_00E_FS_HeavySaddleOutfit)
PlayerHorse.SetActorValue("speedMult", PlayerHorse.GetAV("speedMult")*1.20)
Game.GetPlayer().RemoveItem(Self, 1)
endIf
endEvent
Message Property _00E_FS_SaddleEquipped Auto
Actor Property PlayerHorse Auto
Outfit Property _00E_FS_HeavySaddleOutfit Auto