enderalse/source/scripts/enderalfunctions.psc

49 lines
1.7 KiB
Plaintext
Raw Normal View History

Scriptname EnderalFunctions Hidden
2024-03-01 12:38:14 +00:00
int function _GetScriptVersion() Global
return 1
endFunction
float function CalculateContentStrength(ObjectReference container) native global
Potion function CreatePotion(MagicEffect[] effects, float[] magnitudes, int[] areas, int[] durations, int arraySize) native global
ObjectReference function GetCurrentContainer() native global
int function GetNewGameCount() native global
Actor[] function GetPlayerFollowers() native global
2024-01-24 17:12:06 +00:00
String Function GetAutosaveName(int index) native global
float function ComputeNeededExp(int CurrentLevel, float Slope, float Mult, float fExpAcc = 1.0, float fExpAcc_Level20 = 1.2, float fExpAcc_Level30 = 1.5, float fExpAcc_Level40 = 2.0) native global
; Disables the TAB Key during dialogue. Resets automatically upon dialogue exit via Goodbye.
Function DisableDialogueQuitting() native global
Function EnableDialogueQuitting() native global
int function MoveItemsToCountByKeyword(ObjectReference sourceRef, ObjectReference targetRef, Keyword kword, int iCount = 1) native global
bool function IsDLLLoaded() global
return SKSE.GetPluginVersion("EnderalSE") > 0
endfunction
String Function GetPlayerClassNameGlobal() global
{Called by EnderalSE.dll}
Quest AffinityQuest = Game.GetFormFromFile(0x1597B, "Enderal - Forgotten Stories.esm") as Quest
return (AffinityQuest.GetAlias(0) as _00E_AffinityControl).GetPlayerClassName()
endfunction
bool function IsVR() global
; Current VR build 2.0.12 (game version 1.4.15)
return SKSE.GetVersionRelease() == 60
endfunction
bool function TextInputEnabled() global
return SKSE.GetVersion() && ! Game.UsingGamepad() && ! IsVR()
endfunction
bool function VideoSupport() global
return Debug.GetPlatformName() != "Orbis" && ! IsVR()
endfunction