4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

36 lines
1013 B

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname TIF__0008126A Extends TopicInfo Hidden
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
NQ36.SetObjectiveCompleted(10)
if _00E_WishWell_Done_Suncoast.GetValue() == 0
NQ36.CheckForWishingWells()
if PlayerRef.GetItemCount(GemEmerald) >= 1
PlayerRef.RemoveItem(GemEmerald, 1)
else
PlayerRef.RemoveItem(GemEmeraldFlawless, 1)
endif
PlayerRef.RemoveItem(TGRGoblet, 1)
endif
_00E_WishWell_Done_Suncoast.SetValue(1)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
_00E_NQ36_Functions Property NQ36 Auto
Actor Property PlayerRef Auto
MiscObject Property GemEmerald Auto
MiscObject Property TGRGoblet Auto
MiscObject Property GemEmeraldFlawless Auto
GlobalVariable Property _00E_WishWell_Done_Suncoast Auto