4
Fork 0

Removed _00E_FS_IsForgottenStoriesActivated checks

development
Eddoursul 4 months ago
parent 84c47e3a43
commit b5c1a5b3ad
  1. BIN
      Enderal - Forgotten Stories.esm
  2. BIN
      Skyrim.esm
  3. BIN
      scripts/_00E_IntegrityCheckAlias.pex
  4. BIN
      scripts/_00e_ark_travelcrossroadssc.pex
  5. BIN
      scripts/_00e_chestanddoorlockscript.pex
  6. BIN
      scripts/_00e_fs_nqr01_startboxsc.pex
  7. BIN
      scripts/_00e_fs_sleightofhand_hiddenslotsc.pex
  8. BIN
      scripts/_00e_lootcontainer.pex
  9. BIN
      scripts/_00e_mq13a_functions.pex
  10. BIN
      scripts/_00e_mq14_functions.pex
  11. BIN
      scripts/_00e_mq17_functions.pex
  12. BIN
      scripts/_00e_mqp02_functions.pex
  13. BIN
      scripts/_00e_myradsystem02.pex
  14. 5
      source/scripts/_00E_IntegrityCheckAlias.psc
  15. 1
      source/scripts/_00e_ark_travelcrossroadssc.psc
  16. 18
      source/scripts/_00e_chestanddoorlockscript.psc
  17. 10
      source/scripts/_00e_fs_nqr01_startboxsc.psc
  18. 3
      source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc
  19. 18
      source/scripts/_00e_lootcontainer.psc
  20. 13
      source/scripts/_00e_mq13a_functions.psc
  21. 3
      source/scripts/_00e_mq14_functions.psc
  22. 3
      source/scripts/_00e_mq17_functions.psc
  23. 6
      source/scripts/_00e_mqp02_functions.psc
  24. 2
      source/scripts/_00e_myradsystem02.psc
  25. BIN
      strings/skyrim_english.strings

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -10,9 +10,12 @@ EndEvent
Event OnUpdate()
if _00E_FS_IsForgottenStoriesActivated == None
_00E_FS_IsForgottenStoriesActivated = Game.GetForm(0x4320E) as GlobalVariable
endif
; If Enderal - Forgotten Stories.esm is not loaded, kick the player back to main menu
if _00E_FS_IsForgottenStoriesActivated.GetValue() as Int != 1
Utility.wait(0.1)
Game.QuitToMainMenu()
Debug.MessageBox("Enderal - Forgotten Stories.esm is not loaded! The game will not run properly.")
EndIf

@ -143,7 +143,6 @@ Message Property _00E_FastTravel_Ark_SelectionMenu_02 Auto
Message Property _00E_FastTravel_Ark_SelectionMenu_Restricted1 Auto
GlobalVariable Property _00E_TeleportGlobal Auto
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
ObjectReference Property _00E_FastTravel_Ark_Marker_CapitalCity_Entrance Auto
ObjectReference Property _00E_FastTravel_Ark_Marker_CapitalCity_StrangerQuarter Auto

@ -12,19 +12,13 @@ float fPlayerLockpicking
bool bDone
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
Message Property _00E_FS_LockpickingGoldBuffMSG Auto
MiscObject Property Gold001 Auto
Event OnOpen(ObjectReference akActionRef)
If _00E_FS_IsForgottenStoriesActivated == None ; just in case, all properties in all doors and containers should be filled by now
_00E_FS_IsForgottenStoriesActivated = Game.GetForm(0x0004320E) as GlobalVariable
EndIf
if !bDone && (Self.GetBaseObject().GetType() == 28) && _00E_FS_IsForgottenStoriesActivated.GetValueInt() == 1 ; check if it's a container otherwise the script tries to call this stuff on doors
if !bDone && (Self.GetBaseObject().GetType() == 28) ; check if it's a container otherwise the script tries to call this stuff on doors
bDone = True
iCurrentGoldCount = Self.GetItemCount(Gold001)
@ -59,17 +53,7 @@ EndFunction
;=====================================================================================
Event OnLoad()
If _00E_FS_IsForgottenStoriesActivated == None ; just in case, all properties in all doors and containers should be filled by now
_00E_FS_IsForgottenStoriesActivated = Game.GetForm(0x0004320E) as GlobalVariable
Gold001 = Game.GetFormFromFile(0x0000000F, "Skyrim.esm") as MiscObject
_00E_FS_LockpickingGoldBuffMSG = Game.GetFormFromFile(0x0001ED74, "Enderal - Forgotten Stories.esm") as Message
_00E_sDoorLocked = Game.GetForm(0x00141570) as Message
_00E_Game_UnlockNeedsSkill = Game.GetForm(0x00042AE0) as Message
EndIf
BlockActivation(True)
EndEvent
Int Property LOCK_LEVEL_NOVICE = 1 AutoReadOnly

@ -2,7 +2,7 @@ Scriptname _00E_FS_NQR01_StartBoxSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if !bDone && _00E_FS_IsForgottenStoriesActivated.GetValueInt() == 1
if !bDone
if FS_NQR01.GetStage() < 1
@ -16,10 +16,4 @@ Event OnTriggerEnter(ObjectReference akActionRef)
EndEvent
bool bDone
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
Actor Property PlayerREF Auto
Quest Property FS_NQR01 Auto
Quest Property FS_NQR01 Auto

@ -8,7 +8,7 @@ Scriptname _00E_FS_SleightOfHand_HiddenSlotSC extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
If _00E_FS_IsForgottenStoriesActivated.GetValueInt() == 1 && !Self.IsLocked() && akActionRef == PlayerREF
If !Self.IsLocked() && akActionRef == PlayerREF
If !bSetUp
SetUpHiddenSlot()
@ -254,7 +254,6 @@ Cell ContainerParentCell
Actor Property PlayerREF Auto
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
GlobalVariable Property PlayerLevel Auto
GlobalVariable Property _00E_HiddenSlotAchievementUnlocked Auto

@ -33,18 +33,13 @@ EndEvent
Function CheckForGoldIncrementation()
if _00E_FS_IsForgottenStoriesActivated.GetValueInt() == 1
bDone = True
iCurrentGoldCount = Self.GetItemCount(Gold001)
fPlayerLockpicking = PlayerREF.GetActorValue("Lockpicking")
bDone = True
iCurrentGoldCount = Self.GetItemCount(Gold001)
fPlayerLockpicking = PlayerREF.GetActorValue("Lockpicking")
if fPlayerLockpicking >= 15
IncrementGold()
EndIf
if fPlayerLockpicking >= 15
IncrementGold()
EndIf
EndFunction
@ -69,7 +64,6 @@ int iGoldMultiplicator = 5
float fPlayerLockpicking
int iCurrentGoldCount
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
Actor Property PlayerREF Auto
Sound Property ITMGoldUp Auto

@ -28,9 +28,7 @@ Function SetUp()
; This starts the Forgotten Stories - quest for Yuslan.
if _00E_FS_IsForgottenStoriesActivated.GetValueInt() == 1
FS_NQ01.SetStage(5)
EndIf
FS_NQ01.SetStage(5)
_00E_MC_YuslanREF.MoveTo(MQ13a_SC01_YuslanMarker)
_00E_MC_LexREF.MoveTo(MQ13a_SC01_LexMarkerREF)
@ -44,12 +42,8 @@ Function AddScrollSetUpSC02()
_00E_SC_KurmaiREF.Enable()
EndIf
If _00E_FS_IsForgottenStoriesActivated.GetValueInt() == 1
if FS_NQ01.GetStage() < 10
FS_NQ01.SetStage(10)
EndIf
if FS_NQ01.GetStage() < 10
FS_NQ01.SetStage(10)
EndIf
_00E_SC_KurmaiREF.MoveTo(MQ13a_SC03_KurmaiStartMarker)
@ -617,7 +611,6 @@ GlobalVariable Property JesparFlirtCounter Auto
GlobalVariable Property _00E_TeleportGlobal Auto
GlobalVariable Property _00E_MQ13a_JesparDump Auto
GlobalVariable Property _00E_MQ13a_CaliaDump Auto
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
Message Property MQ13a_WaitPrompt Auto
Message Property MQ13a_SC07_WaitPrompt02 Auto

@ -175,7 +175,7 @@ Function LockUpEverything()
SetObjectiveFailed(5)
EndIf
If !FS_NQ01.IsCompleted() && _00E_FS_IsForgottenStoriesActivated.GetValueInt() == 1
If !FS_NQ01.IsCompleted()
FS_NQ01.SetStage(200)
EndIf
@ -720,7 +720,6 @@ EffectShader Property _00E_BloodyFXShader Auto
GlobalVariable Property _00E_TeleportGlobal Auto
GlobalVariable Property Timescale Auto
GlobalVariable Property _00E_MQ14_Readyfor10 Auto
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
Outfit Property _00E_MC_Calia_SimpleClothingBarefeet Auto
Outfit Property MinerClothesOutfit01NoBoots Auto

@ -933,7 +933,7 @@ Function SetUpEpilogue()
if bHasChosenEndingKatharsis
if _00E_FS_DreamflowerConsumed.GetValueInt() == 1 && _00E_FS_IsForgottenStoriesActivated.GetValueInt() == 1
if _00E_FS_DreamflowerConsumed.GetValueInt() == 1
FS_MQ18c.SetStage(5)
@ -1065,7 +1065,6 @@ GlobalVariable Property MQ17_JesparFinalCompanion Auto
GlobalVariable Property CompanionIsTalking Auto
GlobalVariable Property MQ17_BlackGuardianIsTalking Auto
GlobalVariable Property _00E_FS_DreamflowerConsumed Auto
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
GlobalVariable Property _00E_VideoSkip Auto
ImageSpaceModifier Property _00E_MQ16_VisionIMOD Auto

@ -110,9 +110,7 @@ Function StartSC2()
Game.EnablePlayerControls()
MQP02_SC3_Navcut.Disable()
If _00E_FS_IsForgottenStoriesActivated.GetValueInt() == 1
AddRacialAbilites()
EndIf
AddRacialAbilites()
FreightRoomDoor.GetReference().Lock(False)
Riq.GetActorReference().Enable()
@ -504,8 +502,6 @@ MusicType Property _00E_Music_Special_WiegeDesLebens Auto
Topic Property MQP02_D3_SebaldCombatCommentTopic Auto
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
Actor Property PlayerREF Auto
Idle Property TG05_GetUp Auto

@ -144,8 +144,6 @@ EndFunction
bool bDone
int MyradFligthCounter = 0
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
Quest Property MQ04 Auto
Keyword Property _00E_FS_MyradTakeOffMarker Auto

Binary file not shown.
Loading…
Cancel
Save