2022-07-31 18:55:11 +00:00
|
|
|
Scriptname EnderalFunctions Hidden
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2022-08-10 19:04:23 +00:00
|
|
|
Actor[] function GetPlayerFollowers() native global
|
|
|
|
|
2024-01-24 17:12:06 +00:00
|
|
|
String Function GetAutosaveName(int index) native global
|
2023-12-03 22:45:37 +00:00
|
|
|
|
2024-01-15 01:47:42 +00:00
|
|
|
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
|
2023-12-19 15:58:36 +00:00
|
|
|
|
2023-12-15 06:26:39 +00:00
|
|
|
; Disables the TAB Key during dialogue. Resets automatically upon dialogue exit via Goodbye.
|
2024-01-15 01:47:42 +00:00
|
|
|
Function DisableDialogueQuitting() native global
|
|
|
|
Function EnableDialogueQuitting() native global
|
|
|
|
|
|
|
|
bool function IsInRegion(Form region) native global
|
2023-12-15 06:26:39 +00:00
|
|
|
|
2024-01-22 15:00:04 +00:00
|
|
|
int function MoveItemsToCountByKeyword(ObjectReference sourceRef, ObjectReference targetRef, Keyword kword, int iCount = 1) native global
|
|
|
|
|
2022-07-31 18:55:11 +00:00
|
|
|
bool function IsDLLLoaded() global
|
2024-01-15 01:47:42 +00:00
|
|
|
return SKSE.GetPluginVersion("EnderalSE") > 0
|
2022-07-31 18:55:11 +00:00
|
|
|
endfunction
|
2024-01-11 11:33:30 +00:00
|
|
|
|
2024-01-15 01:47:42 +00:00
|
|
|
String Function GetPlayerClassNameGlobal() global
|
2024-01-11 11:33:30 +00:00
|
|
|
{Called by EnderalSE.dll}
|
|
|
|
Quest AffinityQuest = Game.GetFormFromFile(0x1597B, "Enderal - Forgotten Stories.esm") as Quest
|
|
|
|
return (AffinityQuest.GetAlias(0) as _00E_AffinityControl).GetPlayerClassName()
|
|
|
|
endfunction
|
2024-02-15 09:55:12 +00:00
|
|
|
|
|
|
|
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
|