1
Fork 0

Compare commits

...

6 Commits

  1. BIN
      Enderal - Forgotten Stories.esm
  2. BIN
      scripts/_00e_game_talentcontrolsc.pex
  3. BIN
      scripts/_00e_smoking_crossleggedmarkerscript.pex
  4. BIN
      scripts/_00e_theriantrophist_alchemycontrol.pex
  5. BIN
      scripts/mineoreenderal.pex
  6. 10
      source/scripts/_00e_game_talentcontrolsc.psc
  7. 4
      source/scripts/_00e_smoking_crossleggedmarkerscript.psc
  8. 27
      source/scripts/_00e_theriantrophist_alchemycontrol.psc
  9. 5
      source/scripts/mineoreenderal.psc

Binary file not shown.

Binary file not shown.

@ -42,11 +42,13 @@ Event OnInit()
EndEvent EndEvent
Event OnPlayerLoadGame() Event OnPlayerLoadGame()
If self == PlayerREF && SKSE.GetVersion() > 0 If SKSE.GetVersion()
if GetState() != "RealPlayer" if self == PlayerREF
GoToState("RealPlayer") if GetState() != "RealPlayer"
GoToState("RealPlayer")
endif
RegisterForActions()
endif endif
RegisterForActions()
else else
Debug.Trace("NO SKSE: individual shout cooldowns are disabled") Debug.Trace("NO SKSE: individual shout cooldowns are disabled")
if GetState() != "Disabled" if GetState() != "Disabled"

@ -96,7 +96,9 @@ Event OnPackageChange(Package akOldPackage)
; Debug.Trace(self + ": OnPackageChange, " + Target + ", old package " + akOldPackage) ; Debug.Trace(self + ": OnPackageChange, " + Target + ", old package " + akOldPackage)
; Failsafe auto-stop smoking on package change ; Failsafe auto-stop smoking on package change
Target.RemoveSpell(_00E_Smoking_CrossLeggedMarkerSP) if Target
Target.RemoveSpell(_00E_Smoking_CrossLeggedMarkerSP)
endif
EndEvent EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster) Event OnEffectFinish(Actor akTarget, Actor akCaster)

@ -140,15 +140,10 @@ function _addNamedPotion(Potion aPotion, string sName, string sModel)
endfunction endfunction
function _removeNamedPotion(Potion aPotion) function _removeNamedPotion(int iIndex)
if aPotion aCreatedPotions[iIndex] = None
int i = aCreatedPotions.Find(aPotion) aPotionNames[iIndex] = ""
if i > -1 aPotionModels[iIndex] = ""
aCreatedPotions[i] = None
aPotionNames[i] = ""
aPotionModels[i] = ""
endif
endif
endfunction endfunction
Function _UpdatePotion(Potion item, Int count) Function _UpdatePotion(Potion item, Int count)
@ -401,8 +396,10 @@ EndFunction
Function _InitAchemyControl() Function _InitAchemyControl()
GoToState("") if GetState() != ""
GoToState("")
endif
; Version update ; Version update
If curScriptVersion < LATEST_SCRIPT_VERSION If curScriptVersion < LATEST_SCRIPT_VERSION
Int oldScriptVersion = curScriptVersion Int oldScriptVersion = curScriptVersion
@ -463,9 +460,11 @@ Event OnPlayerLoadGame()
int i = 0 int i = 0
while i < 128 while i < 128
if aCreatedPotions[i] if aCreatedPotions[i] ; this may be None but return true when a potion no longer exists
if PlayerREF.GetItemCount(aCreatedPotions[i]) == 0 && _00E_SecureChest_HostChestREF.GetItemCount(aCreatedPotions[i]) == 0 if aCreatedPotions[i] as String == "[Potion <None>]"
_removeNamedPotion(aCreatedPotions[i]) _removeNamedPotion(i)
elseif PlayerREF.GetItemCount(aCreatedPotions[i]) == 0 && _00E_SecureChest_HostChestREF.GetItemCount(aCreatedPotions[i]) == 0
_removeNamedPotion(i)
else else
aCreatedPotions[i].SetName(aPotionNames[i]) aCreatedPotions[i].SetName(aPotionNames[i])
if aPotionModels[i] != "" if aPotionModels[i] != ""

@ -105,6 +105,11 @@ Function TryPlayerActivate(ObjectReference myLinkedRef)
Return Return
EndIf EndIf
if _FS_TheriantrophistControlQuest.getControlQuest().IsTransformed()
(Game.GetFormFromFile(0x2F032, "Enderal - Forgotten Stories.esm") as Message).Show()
return
endif
If PlayerREF.GetItemCount(mineOreToolsList) < 1 If PlayerREF.GetItemCount(mineOreToolsList) < 1
FailureMessage.Show() FailureMessage.Show()
Return Return

Loading…
Cancel
Save