enderalse/source/scripts/tif__0012787d.psc

30 lines
851 B
Plaintext

;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
PlayerHorseNew.GetActorRef().SetFactionRank(PlayerHorseFaction, 1)
PlayerHorseNew.GetActorRef().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