From d861ec8bcca0abf1a4dce3dbe3e4583fb0292835 Mon Sep 17 00:00:00 2001 From: Eddoursul Date: Fri, 1 Mar 2024 13:38:14 +0100 Subject: [PATCH] Added versions to a few more scripts --- scripts/enderalfunctions.pex | Bin 2528 -> 2581 bytes source/Enderal DLL/src/Util.h | 4 ++++ source/scripts/enderalfunctions.psc | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/scripts/enderalfunctions.pex b/scripts/enderalfunctions.pex index 5728694f6ab7cabbf75cd87d605f74ce0d302e56..227b5224183131703582196e6c55a89085018da0 100644 GIT binary patch delta 1298 zcmZWo%Tg0T6g@pNAq06PM39K6n23VN`yqmc@Q8wffPjdAF||9!I`3Fmv{(>t{_Y4JS_uT2*r_bDb`gYIHnvdb?KTF?!m<9ycS`9nrytBHU-_{3f|1-i)(HAiVEa#JNd0bUNpb9Y2pu3t@1Ad&>y$Nnt za8R+Dbyw36P>xpBoyn3&F@W~}x}t?u3gw(sgMnJ0PH@U*zUHVrZ?4BMPT-VAnaz)S zL~xow1MLj0k#?4Lj;2}-WvUQG{WdB00;0rXv_QSUMS*64CR1^%1fui}Tq@IEw9*}F zIVgffKEnhBVwz7@jE~ETMaV)a<*0Pj<~AR7xcNLkqm&<*e`>CK`U_hWvB`_Fs`IUidl+aGBLZFWx>o=&qPDK)0N|BUqfljVn z*IuuNDY};j=hjFkH!#FK3==Y$?1sQifg#Ohd4@fIh~EwKc;m-+5jq;k#0Uc=2#wN; z#cVzYV?TW;;a@9KV~*}ode@vZHYdDx>vvA9kfP^gYBMnwokX})HGD*{&qx~x9c3q$fs67AZqc+it=Z(qG3^{azkah9@f=MC`R)${F*?YK#vv9xL*2H?{(Gt1qPfg zsLtbFo8>O2$#y9*x0D$3$82^i%s@WcKdq?3pxc`&3}G18aRVb5#ZB6n>L5qp^aV7G z6OI$o?c#3s9+VMyw zw}&8@;`iBsO&3zD`qH)>2DTX@utP|vWJusKca|b+NC|8c4W2>~BK3(Yr-*+6+O~hZ diff --git a/source/Enderal DLL/src/Util.h b/source/Enderal DLL/src/Util.h index 240616a4..c7737b9c 100644 --- a/source/Enderal DLL/src/Util.h +++ b/source/Enderal DLL/src/Util.h @@ -110,7 +110,10 @@ inline void CheckScriptVersions() }; std::map scripts; + scripts["EnderalFunctions"] = 1; + scripts["_00E_PlayerFunctions"] = 1; scripts["_00E_PlayerSetUpScript"] = 1; + scripts["_00E_EngineBugfixAlias"] = 1; scripts["_00E_Phasmalist_NewApparitionAlias"] = 1; scripts["_FS_Phasmalist_ControlQuest"] = 1; scripts["_00E_Phasmalist_Workbench"] = 1; @@ -119,6 +122,7 @@ inline void CheckScriptVersions() scripts["_00E_PlayerhousingMaster"] = 1; scripts["_00E_ContainerBonusControl"] = 1; scripts["_00E_AffinityControl"] = 1; + scripts["_00E_SympathyControl"] = 1; scripts["_00E_EnderalMCM"] = 1; scripts["_00E_SkillControl"] = 1; scripts["_00E_VisionControl"] = 1; diff --git a/source/scripts/enderalfunctions.psc b/source/scripts/enderalfunctions.psc index 310638f1..52425ea7 100644 --- a/source/scripts/enderalfunctions.psc +++ b/source/scripts/enderalfunctions.psc @@ -1,5 +1,9 @@ Scriptname EnderalFunctions Hidden +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