Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
25 lines
817 B
25 lines
817 B
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
|
|
;NEXT FRAGMENT INDEX 1
|
|
Scriptname TIF__0012E10F Extends TopicInfo Hidden
|
|
|
|
;BEGIN FRAGMENT Fragment_0
|
|
Function Fragment_0(ObjectReference akSpeakerRef)
|
|
Actor akSpeaker = akSpeakerRef as Actor
|
|
;BEGIN CODE
|
|
Game.GetPlayer().RemoveItem(_00E_NQ19Artefakt01,1)
|
|
Game.GetPlayer().AddItem(Gold001, 230)
|
|
GetOwningQuest().SetObjectiveCompleted(10)
|
|
GetOwningQuest().SetObjectiveCompleted(15)
|
|
GetOwningQuest().SetCurrentStageID(GetOwningQuest().GetCurrentStageID() +1)
|
|
NQ19_ArtifactsCollected.Mod(1)
|
|
;END CODE
|
|
EndFunction
|
|
;END FRAGMENT
|
|
|
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
|
|
|
|
MiscObject Property _00E_NQ19Artefakt01 Auto
|
|
|
|
MiscObject Property Gold001 Auto
|
|
|
|
GlobalVariable Property NQ19_ArtifactsCollected Auto
|
|
|