4
Fork 0

Added a few script version checks

development
Eddoursul 3 months ago
parent be0053d572
commit 8ea3423be5
  1. BIN
      scripts/_00E_AffinityControl.pex
  2. BIN
      scripts/_00E_ContainerController.pex
  3. BIN
      scripts/_00e_phasmalist_newapparitionalias.pex
  4. BIN
      scripts/_00e_playerhousingmaster.pex
  5. BIN
      scripts/_00e_theriantrophist_playeraswerewolf.pex
  6. 12
      source/Enderal DLL/src/Util.h
  7. 9
      source/scripts/_00E_AffinityControl.psc
  8. 4
      source/scripts/_00E_ContainerController.psc
  9. 3
      source/scripts/_00e_phasmalist_newapparitionalias.psc
  10. 4
      source/scripts/_00e_playerhousingmaster.psc
  11. 4
      source/scripts/_00e_theriantrophist_playeraswerewolf.psc

Binary file not shown.

@ -111,9 +111,21 @@ inline void CheckScriptVersions()
RE::BSTSmartPointer<ScriptVersionCallback>{
new ScriptVersionCallback("_00E_PlayerSetUpScript", 1)
};
RE::BSTSmartPointer<ScriptVersionCallback>{
new ScriptVersionCallback("_00E_Phasmalist_NewApparitionAlias", 1)
};
RE::BSTSmartPointer<ScriptVersionCallback>{
new ScriptVersionCallback("_00E_Theriantrophist_PlayerAsWerewolf", 1)
};
RE::BSTSmartPointer<ScriptVersionCallback>{
new ScriptVersionCallback("_00E_Theriantrophist_AlchemyControl", 1)
};
RE::BSTSmartPointer<ScriptVersionCallback>{
new ScriptVersionCallback("_00E_PlayerhousingMaster", 1)
};
RE::BSTSmartPointer<ScriptVersionCallback>{
new ScriptVersionCallback("_00E_ContainerController", 1)
};
}
inline void LoadINI(std::map<std::string, bool>* settings, const char* iniPath)

@ -1,16 +1,9 @@
Scriptname _00E_AffinityControl extends ReferenceAlias Hidden Conditional
;
; ATTENTION
; this script contains a new affinity system that requires FS. Therefore, many elements in this script are redundant, as
; one version is required for the new system and one is required so that the old system can be used when FS is not
; available. If possible, the properties and functions are labeled with NEW or OLD in comments
;
;
int function _GetScriptVersion() Global
return 1
endFunction
;=====================================================================================
; EVENTS

@ -1,6 +1,10 @@
Scriptname _00E_ContainerController extends ReferenceAlias Hidden
; This script sets up the sleight of hand loot of a chest upon activating it
int function _GetScriptVersion() Global
return 1
endFunction
;=====================================================================================
; EVENTS
;=====================================================================================

@ -100,6 +100,9 @@ Actor Property AliasFailsafeRef = None Auto Hidden
Bool bTeleportHealRate = False
int function _GetScriptVersion() Global
return 1
endFunction
;=====================================================================================
; SUMMON & SETUP

@ -37,6 +37,10 @@ String Property CONTROL_SHEATH = "Ready Weapon" AutoReadOnly
; GLOBAL FUNCTIONS
;=====================================================================================
int function _GetScriptVersion() Global
return 1
endFunction
_00E_PlayerhousingMaster Function GetMaster() Global
Return Game.GetFormFromFile(0x00043270, "Skyrim.esm") as _00E_PlayerhousingMaster
EndFunction

@ -85,6 +85,10 @@ Float Property BoostFactorInfluenceOnArmor = 11 Autoreadonly Hidden
_00E_Theriantrophist_Chymikum[] RegisteredChymikums
bool Sneaking = false
int function _GetScriptVersion() Global
return 1
endFunction
Function Transform(int duration)
bool bWasParalyzed

Loading…
Cancel
Save