diff --git a/scripts/SKSE.pex b/scripts/SKSE.pex new file mode 100644 index 00000000..301eef8a Binary files /dev/null and b/scripts/SKSE.pex differ diff --git a/source/scripts/SKSE.psc b/source/scripts/SKSE.psc new file mode 100644 index 00000000..ab6406a1 --- /dev/null +++ b/source/scripts/SKSE.psc @@ -0,0 +1,35 @@ +Scriptname SKSE Hidden +{Dummy SKSE script to avoid Papyrus errors, when SKSE is missing} +; General SKSE-specific information + +; get the major version of SKSE +int Function GetVersion() global + return 0 +endFunction + +; get the minor version of SKSE +int Function GetVersionMinor() global + return 0 +endFunction + +; get the beta version of SKSE +int Function GetVersionBeta() + return 0 +endFunction + +; get the release index of SKSE. This number is incremented every time +; SKSE is released outside of the development team +int Function GetVersionRelease() global + return 0 +endFunction + +; get the release index of this script file. +; Can be used to detect a script/runtime version mismatch +int Function GetScriptVersionRelease() global + return 65 +endFunction + +; get a plugins version number, -1 if the plugin is not loaded +int Function GetPluginVersion(string name) global + return -1 +endFunction