82 lines
2.4 KiB
Plaintext
82 lines
2.4 KiB
Plaintext
Scriptname _00E_NQ13Functions extends Quest Conditional
|
|
|
|
;=====================================================================================
|
|
; FUNCTIONS
|
|
;=====================================================================================
|
|
|
|
Function SetUp()
|
|
|
|
BaltarRef.Enable()
|
|
|
|
EndFunction
|
|
|
|
Function UnlockDoor()
|
|
|
|
NebelhaimDoor.Lock(0)
|
|
|
|
EndFunction
|
|
|
|
Function PortBaltar()
|
|
|
|
BaltarRef.MoveTo(NQ13BartarMarker)
|
|
|
|
EndFunction
|
|
|
|
Function FinishQuestBaltar()
|
|
|
|
PlayerRef.RemoveItem(_00E_NQ13Pilzprobe1, 1)
|
|
PlayerRef.RemoveItem(_00E_NQ13Pilzprobe2, 1)
|
|
PlayerRef.RemoveItem(_00E_NQ13Pilzprobe3, 1)
|
|
PlayerRef.RemoveItem(_00E_NQ13Pilzprobe4, 1)
|
|
PlayerRef.RemoveItem(_00E_NQ13Forschungsberichte, 1)
|
|
PlayerRef.AddItem(Gold001, 150)
|
|
PlayerRef.AddItem(_05E_NQ13ElixirDesApothekari, 1)
|
|
PlayerRef.AddItem(_00E_FS_CraftingPlan_HeavySaddle, 1)
|
|
Levelsystem.GiveEp(1100)
|
|
CompleteAllObjectives()
|
|
|
|
EndFunction
|
|
|
|
Function FinishQuestTorius()
|
|
|
|
PlayerRef.RemoveItem(_00E_NQ13Pilzprobe1, 1)
|
|
PlayerRef.RemoveItem(_00E_NQ13Pilzprobe2, 1)
|
|
PlayerRef.RemoveItem(_00E_NQ13Pilzprobe3, 1)
|
|
PlayerRef.RemoveItem(_00E_NQ13Pilzprobe4, 1)
|
|
PlayerRef.RemoveItem(_00E_NQ13Forschungsberichte, 1)
|
|
PlayerRef.AddItem(Gold001, 100)
|
|
PlayerRef.AddItem(_00E_SpellMudelementarRufen, 1)
|
|
PlayerRef.AddItem(_00E_FS_CraftingPlan_HeavySaddle, 1)
|
|
Levelsystem.GiveEp(1100)
|
|
CompleteAllObjectives()
|
|
|
|
EndFunction
|
|
|
|
Function BalPayTokenPay()
|
|
|
|
PlayerREF.AddItem(Gold001, 25)
|
|
|
|
EndFunction
|
|
|
|
;=====================================================================================
|
|
; PROPERTIES
|
|
;=====================================================================================
|
|
|
|
bool Property bToldBalAboutPlan Auto Conditional Hidden
|
|
|
|
MiscObject Property _00E_NQ13Pilzprobe1 Auto
|
|
MiscObject Property _00E_NQ13Pilzprobe2 Auto
|
|
MiscObject Property _00E_NQ13Pilzprobe3 Auto
|
|
MiscObject Property _00E_NQ13Pilzprobe4 Auto
|
|
|
|
MiscObject Property _00E_FS_CraftingPlan_HeavySaddle Auto
|
|
|
|
ObjectReference Property PlayerRef Auto
|
|
ObjectReference Property NebelhaimDoor Auto
|
|
ObjectReference Property BaltarRef Auto
|
|
ObjectReference Property NQ13BartarMarker Auto
|
|
Book Property _00E_SpellMudelementarRufen Auto
|
|
Book Property _00E_NQ13Forschungsberichte Auto
|
|
MiscObject Property Gold001 Auto
|
|
Potion Property _05E_NQ13ElixirDesApothekari Auto
|
|
_00E_QuestFunctions Property Levelsystem Auto |