Removed password inputs from Dal Galars locks

This commit is contained in:
Eddoursul 2024-02-01 06:10:58 +01:00
parent d15ea438a0
commit 6dfaa33219
5 changed files with 21 additions and 41 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -373,18 +373,6 @@ Function CaliaRemark()
EndFunction
bool Function ShowTowerRiddleBox(String sCodeWord)
String sRiddleInput = (((Self as QUEST) as FORM) as UILIB_1).ShowTextInput("$Say the password:")
if sRiddleInput == sCodeWord
Return True
Else
Return False
EndIf
EndFunction
;=====================================SCENE10================================================
Function SpawnAnomaly()

View File

@ -2,38 +2,33 @@ Scriptname _00E_MQ11a_SC20_SigilBox extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
if (MQ11a.GetCurrentStageID() >= 115) && (akActionRef == PlayerREF) && !Done
if !Done && akActionRef == PlayerREF && MQ11a.GetCurrentStageID() >= 115
; int iButton = _00E_MQ11a_SC20_SigilBox01.Show()
if GlobalVariableToCheck.GetValueInt() >= 9
if MQ11a.ShowTowerRiddleBox(sCodeword)
Done = True
if sCodeword == "Taniysha"
MQ11a.SetObjectiveCompleted(45)
MQ11a.SetObjectiveCompleted(47)
Else
MQ11a.SetObjectiveCompleted(42)
MQ11a.SetObjectiveCompleted(40)
EndIf
MQ11a_DoorRiddle.SetValueInt(MQ11a_DoorRiddle.GetValueInt() + 1)
if MQ11a_DoorRiddle.GetValueInt() == 1
DRSStoneLabyrinthianKnockM.Play(Self)
EndIf
MQ11a.CheckForRiddleDoor()
Else
_00E_MQ07_sNothingHappens.Show()
Return
Done = True
if GlobalVariableToCheck == MQ11a_RightTower ; Taynisha
MQ11a.SetObjectiveCompleted(45)
MQ11a.SetObjectiveCompleted(47)
Else ; Maya
MQ11a.SetObjectiveCompleted(42)
MQ11a.SetObjectiveCompleted(40)
EndIf
MQ11a_DoorRiddle.SetValueInt(MQ11a_DoorRiddle.GetValueInt() + 1)
if MQ11a_DoorRiddle.GetValueInt() == 1
DRSStoneLabyrinthianKnockM.Play(Self)
EndIf
MQ11a.CheckForRiddleDoor()
Else
_00E_MQ11a_sSigilBoxMagic.Show()
Return
EndIf
EndIf
EndIf
@ -41,19 +36,16 @@ EndEvent
bool Done
String Property sCodeword Auto
Actor Property PlayerREF Auto
Message Property _00E_MQ11a_SC20_SigilBox01 Auto
Message Property _00E_MQ11a_sSigilBoxMagic Auto
Message Property _00E_MQ07_sNothingHappens Auto
GlobalVariable Property MQ11a_DoorRiddle Auto
GlobalVariable Property GlobalVariableToCheck Auto
GlobalVariable Property MQ11a_LeftTower Auto
GlobalVariable Property MQ11a_RightTower Auto
_00E_MQ11a_Functions Property MQ11a Auto
Sound Property DRSStoneLabyrinthianKnockM Auto