19 lines
539 B
Plaintext
19 lines
539 B
Plaintext
|
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
|