|
|
|
@ -48,7 +48,7 @@ Function UpdateGlobals() |
|
|
|
|
ModObjectiveGlobal(0, _00E_FS_NQ05_MothWingMonarchCountGlobal, 38, 1, true, true, false) |
|
|
|
|
ModObjectiveGlobal(0, _00E_FS_NQ05_VynrootCountGlobal, 39, 1, true, true, false) |
|
|
|
|
|
|
|
|
|
ReferenceAlias PlayerAlias = Self.GetAlias(6) as ReferenceAlias |
|
|
|
|
ReferenceAlias PlayerAlias = GetAlias(6) as ReferenceAlias |
|
|
|
|
PlayerAlias.ForceRefTo(PlayerREF) |
|
|
|
|
PlayerAlias.AddInventoryEventFilter(SkeeverTail) |
|
|
|
|
PlayerAlias.AddInventoryEventFilter(Garlic) |
|
|
|
@ -57,15 +57,6 @@ Function UpdateGlobals() |
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
Function TestFunction() ;DELETE FOR RELEASE |
|
|
|
|
|
|
|
|
|
PlayerREF.AddItem(Vynroot, 1) |
|
|
|
|
PlayerREF.AddItem(SkeeverTail, 1) |
|
|
|
|
PlayerREF.AddItem(MothWingMonarch, 1) |
|
|
|
|
PlayerREF.AddItem(Garlic, 1) |
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
Function MoveMirellStandby() |
|
|
|
|
|
|
|
|
|
Tochter.RemoveItem(FS_NQ05_Elixier, 1, false, PlayerREF) |
|
|
|
@ -88,7 +79,7 @@ Function PrepareKeller() |
|
|
|
|
FS_NQ05_CollisionsBox.Disable() |
|
|
|
|
FS_NQ05AushangStatic.Disable() |
|
|
|
|
Wait(2) |
|
|
|
|
SetStage(60) |
|
|
|
|
SetCurrentStageID(60) |
|
|
|
|
FS_NQ05_SceneTochter.ForceStart() |
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
@ -99,7 +90,7 @@ Function Warten() |
|
|
|
|
wait(3) |
|
|
|
|
Mirell.MoveTo(FS_NQ05MirellWohnzimmerMarker) |
|
|
|
|
Levelsystem.FadeToBlackBack() |
|
|
|
|
SetStage(75) |
|
|
|
|
SetCurrentStageID(75) |
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
@ -141,7 +132,7 @@ EndFunction |
|
|
|
|
Function MirellAttacksPlayer() |
|
|
|
|
|
|
|
|
|
Mirell.RemoveFromAllFactions() |
|
|
|
|
Mirell.setAv("Aggression", 2) |
|
|
|
|
Mirell.SetActorValue("Aggression", 2) |
|
|
|
|
Mirell.AddItem(FS_NQ05_Amulett, 1) |
|
|
|
|
Mirell.SetGhost(false) |
|
|
|
|
wait(0.1) |
|
|
|
@ -153,7 +144,7 @@ Function PrepareEnde2() |
|
|
|
|
|
|
|
|
|
Levelsystem.GiveEP(350) |
|
|
|
|
Tochter.SetGhost(false) |
|
|
|
|
Tochter.setAv("Aggression", 2) |
|
|
|
|
Tochter.SetActorValue("Aggression", 2) |
|
|
|
|
Tochter.RemoveFromAllFactions() |
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
@ -199,10 +190,10 @@ EndFunction |
|
|
|
|
|
|
|
|
|
Function AskCreatePotion() |
|
|
|
|
|
|
|
|
|
Int qStage = Self.GetStage() |
|
|
|
|
Int qStage = GetCurrentStageID() |
|
|
|
|
If qStage >= 30 && qStage < 40 |
|
|
|
|
If FS_NQ05_AlchemyMessagebox.Show() == 0 |
|
|
|
|
Self.SetStage(40) |
|
|
|
|
SetCurrentStageID(40) |
|
|
|
|
PlayerREF.RemoveItem(Vynroot, 1) |
|
|
|
|
PlayerREF.RemoveItem(SkeeverTail, 1) |
|
|
|
|
PlayerREF.RemoveItem(MothWingMonarch, 1) |
|
|
|
@ -218,14 +209,14 @@ EndFunction |
|
|
|
|
;===================================================================================== |
|
|
|
|
|
|
|
|
|
Event OnUpdateGameTime() ; because of how we registered, this event occurs every 30 minutes of game time |
|
|
|
|
if (GameDaysPassed.GetValue() + 1 >= GameDay && GetStage() == 80) |
|
|
|
|
SetStage(90) |
|
|
|
|
if (GameDaysPassed.GetValue() + 1 >= GameDay && GetCurrentStageID() == 80) |
|
|
|
|
SetCurrentStageID(90) |
|
|
|
|
UnregisterForUpdateGameTime() |
|
|
|
|
Elseif (GameDaysPassed.GetValue() + 1 >= GameDay && GetStage() == 150) |
|
|
|
|
SetStage(160) |
|
|
|
|
Elseif (GameDaysPassed.GetValue() + 1 >= GameDay && GetCurrentStageID() == 150) |
|
|
|
|
SetCurrentStageID(160) |
|
|
|
|
UnregisterForUpdateGameTime() |
|
|
|
|
Elseif (GameDaysPassed.GetValue() + 1 >= GameDay && GetStage() == 180) |
|
|
|
|
SetStage(190) |
|
|
|
|
Elseif (GameDaysPassed.GetValue() + 1 >= GameDay && GetCurrentStageID() == 180) |
|
|
|
|
SetCurrentStageID(190) |
|
|
|
|
UnregisterForUpdateGameTime() |
|
|
|
|
Endif |
|
|
|
|
EndEvent |
|
|
|
|