;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 3
Scriptname aaaKimachuuSignScript Extends TopicInfo Hidden

;BEGIN FRAGMENT Fragment_2
Function Fragment_2(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
ObjectReference signRef = PlayerRef.PlaceAtMe(Misc02, 1)
String signName = akSpeaker.GetBaseObject().GetName()
Location locNPC = akSpeaker.GetEditorLocation()
signRef.SetDisplayName(Misc02.GetName() + signName + " , " + locNPC.GetName())
signRef.SetActorOwner(PlayerRef.GetActorBase())
signRef.Activate(PlayerRef)
PlayerRef.RemoveItem(Misc01, 1, false)
akSpeaker.AddToFaction(Faction01)
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

Actor Property PlayerRef Auto
Faction Property Faction01 Auto
MiscObject Property Misc01 Auto
MiscObject Property Misc02 Auto
