diff --git a/scripts/_00e_func_checkskse.pex b/scripts/_00e_func_checkskse.pex index e4e486e0..5da6a37d 100644 Binary files a/scripts/_00e_func_checkskse.pex and b/scripts/_00e_func_checkskse.pex differ diff --git a/scripts/critter.pex b/scripts/critter.pex index 2bb07531..41f54851 100644 Binary files a/scripts/critter.pex and b/scripts/critter.pex differ diff --git a/scripts/crittermoth.pex b/scripts/crittermoth.pex index c1f78389..a3846456 100644 Binary files a/scripts/crittermoth.pex and b/scripts/crittermoth.pex differ diff --git a/scripts/qf_mq101_0003372b.pex b/scripts/qf_mq101_0003372b.pex index 788535ab..1763a40c 100644 Binary files a/scripts/qf_mq101_0003372b.pex and b/scripts/qf_mq101_0003372b.pex differ diff --git a/source/scripts/_00e_func_checkskse.psc b/source/scripts/_00e_func_checkskse.psc index dfbe84e0..c2c5a34e 100644 --- a/source/scripts/_00e_func_checkskse.psc +++ b/source/scripts/_00e_func_checkskse.psc @@ -8,8 +8,7 @@ Function Run() global if SKSEVer == 0 Utility.wait(2.0) Game.QuitToMainMenu() - Debug.MessageBox("SKSE is not detected! Start Enderal through the launcher or skse64_loader.exe in the game directory.") - Return + Debug.MessageBox("SKSE is not detected! Start Enderal through skse64_loader.exe in the game directory.") endif EndFunction diff --git a/source/scripts/critter.psc b/source/scripts/critter.psc index a532072c..f84b9fe5 100644 --- a/source/scripts/critter.psc +++ b/source/scripts/critter.psc @@ -119,6 +119,8 @@ bool property bCalculating = false auto hidden bool bDeleting = false ; don't do DisableAndDelete() a second time +bool Property bSKSE = true Auto Hidden + ;---------------------------------------------- ; Events ;---------------------------------------------- @@ -289,6 +291,7 @@ Event OnInit() ; We know default properties are good bDefaultPropertiesInitialized = true bAttached = true + bSKSE = (SKSE.GetVersion() > 0) ; If everything else is also good, start doing stuff CheckStateAndStart() endEvent diff --git a/source/scripts/crittermoth.psc b/source/scripts/crittermoth.psc index 1c18e88d..f59261e2 100644 --- a/source/scripts/crittermoth.psc +++ b/source/scripts/crittermoth.psc @@ -326,7 +326,7 @@ ObjectReference Function PickPlant(float x, float y, float z, float searchDistan endif endif - if (!newPlant.IsHarvested() || IgnoreHarvestedPlants.Find(plantForm) == -1) + if ! bSKSE || (!newPlant.IsHarvested() || IgnoreHarvestedPlants.Find(plantForm) == -1) return newPlant; [USKP 2.0.1b] endif endif diff --git a/source/scripts/qf_mq101_0003372b.psc b/source/scripts/qf_mq101_0003372b.psc index 9bfebe87..2c97d800 100644 --- a/source/scripts/qf_mq101_0003372b.psc +++ b/source/scripts/qf_mq101_0003372b.psc @@ -17,7 +17,7 @@ Actor PlayerREF = Game.GetForm(0x14) as Actor PlayerREF.RemoveAllItems(none, false, false) PlayerREF.MoveTo(PlayerStartMarkerNew) -if EnderalFunctions.GetNewGameCount() > 1 +if SKSE.GetVersion() > 0 && EnderalFunctions.GetNewGameCount() > 1 Game.QuitToMainMenu() Debug.MessageBox("Due to an engine bug, new game should not be started after quitting to the main menu. Please, restart Enderal first.") endif