diff --git a/Enderal - Forgotten Stories.esm b/Enderal - Forgotten Stories.esm index 472b5791..cb2cb4e4 100644 Binary files a/Enderal - Forgotten Stories.esm and b/Enderal - Forgotten Stories.esm differ diff --git a/Enderal - Forgotten Stories.esm.xml b/Enderal - Forgotten Stories.esm.xml index f2569301..ba8b044e 100644 --- a/Enderal - Forgotten Stories.esm.xml +++ b/Enderal - Forgotten Stories.esm.xml @@ -2,7 +2,7 @@ - + Niseam Enderal: Forgotten Stories (Special Edition) 2.0.12 @@ -130184,6 +130184,39 @@ + + EddsLuckyCoin + + + + + + + 10283 + Clutter\dominioncoin.nif + + + + + + + + + + + Clutter\dominioncoinnomaptext.dds + 0003e952 + 0003e955 + 1 + 000914e9 + + + + _00E_FS_NQR02_MissingPages @@ -337460,6 +337493,13 @@ + + 02015974 + 00000007 + + + + 0202ea88 @@ -860713,6 +860753,26 @@ 6b590102 + + EddsLuckyCoinPerk + 10284 + 0 + 0000010001 + + + + 010203 + 01 + 0000a040 + + + + + 120303 + 01 + 6666863f + + _00E_FS_A3_Mage_PsionicDart_Perk_01 0 diff --git a/meshes/clutter/dominioncoin.nif b/meshes/clutter/dominioncoin.nif new file mode 100644 index 00000000..4b2df300 --- /dev/null +++ b/meshes/clutter/dominioncoin.nif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:887910c6d537492249aaf3c5d12b2d3395b33bbc02e40477af00013b68750adb +size 6510 diff --git a/scripts/EddsLuckyCoinScript.pex b/scripts/EddsLuckyCoinScript.pex new file mode 100644 index 00000000..0306e315 Binary files /dev/null and b/scripts/EddsLuckyCoinScript.pex differ diff --git a/source/scripts/EddsLuckyCoinScript.psc b/source/scripts/EddsLuckyCoinScript.psc new file mode 100644 index 00000000..0d9d648f --- /dev/null +++ b/source/scripts/EddsLuckyCoinScript.psc @@ -0,0 +1,15 @@ +Scriptname EddsLuckyCoinScript extends ObjectReference + +Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) + + Actor PlayerRef = Game.GetForm(0x14) as Actor + + if akNewContainer == PlayerRef + PlayerRef.AddPerk(EddsLuckyCoinPerk) + elseif PlayerRef.GetItemCount(self) == 0 + PlayerRef.RemovePerk(EddsLuckyCoinPerk) + endif + +endEvent + +Perk Property EddsLuckyCoinPerk Auto diff --git a/strings/enderal - forgotten stories_english.strings b/strings/enderal - forgotten stories_english.strings index bf281ee9..c9ead070 100644 Binary files a/strings/enderal - forgotten stories_english.strings and b/strings/enderal - forgotten stories_english.strings differ diff --git a/textures/clutter/dominioncoinnomaptext.dds b/textures/clutter/dominioncoinnomaptext.dds new file mode 100644 index 00000000..58e5b4a0 --- /dev/null +++ b/textures/clutter/dominioncoinnomaptext.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51e3196c67dc9fadb4c4a5f98be993bfcc03fd2f8a665ddcdc99ac8e5c37a7ee +size 2097281 diff --git a/textures/clutter/dominioncoinnomaptext_n.dds b/textures/clutter/dominioncoinnomaptext_n.dds new file mode 100644 index 00000000..0c99aefa --- /dev/null +++ b/textures/clutter/dominioncoinnomaptext_n.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:184f45da31ecd515ee2c1958f76ff82b72390cff6cdd8d5eeaa4d38e10897e0d +size 2097281