enderalse/source/scripts/tif__0012787d.psc

30 lines
863 B
Plaintext
Raw Normal View History

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname TIF__0012787D Extends TopicInfo Hidden
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
2023-12-08 02:57:30 +00:00
PlayerHorseNew.GetActorReference().SetFactionRank(PlayerHorseFaction, 1)
PlayerHorseNew.GetActorReference().SetFactionOwner(PlayerFaction)
game.IncrementStat( "Horses Owned" )
Game.GetPlayer().RemoveItem(Gold001, 600)
NQ06.SetHorseName()
NQ06.AddHorseFlute()
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
MiscObject Property Gold001 Auto
Faction Property PlayerFaction Auto
Faction Property PlayerHorseFaction Auto
ReferenceAlias Property PlayerHorseNew Auto
_00E_NQ06_Functions Property NQ06 Auto