Added Necromancer transformation
This commit is contained in:
1 parent
425815f241
commit
09e2eb5abc
6 files changed
+56
-33
No files matched your search
@@ -129,6 +129,9 @@ local abyssSynergies = {
|
|||||||
EID.descriptions[languageCode].abyssSynergies = {}
|
EID.descriptions[languageCode].abyssSynergies = {}
|
||||||
EID:updateDescriptionsViaTable(abyssSynergies, EID.descriptions[languageCode].abyssSynergies)
|
EID:updateDescriptionsViaTable(abyssSynergies, EID.descriptions[languageCode].abyssSynergies)
|
||||||
|
|
||||||
|
---------- Transformations ----------
|
||||||
|
EID.descriptions[languageCode].transformations[17] = "Necromancer" -- Add Necromancer transformation
|
||||||
|
|
||||||
|
|
||||||
-- If Debug enabled, add overwrite tables to the languagepack in order for the language completion script to be able to compare them
|
-- If Debug enabled, add overwrite tables to the languagepack in order for the language completion script to be able to compare them
|
||||||
if EID.enableDebug then
|
if EID.enableDebug then
|
||||||
|
|||||||
@@ -13,7 +13,8 @@
|
|||||||
"Bookworm", -- 12
|
"Bookworm", -- 12
|
||||||
"Spider Baby", -- 13
|
"Spider Baby", -- 13
|
||||||
"Adult", -- 14
|
"Adult", -- 14
|
||||||
"Stompy" -- 15
|
"Stompy", -- 15
|
||||||
|
"Necromancer", -- 16
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
-- Repentance transformations
|
-- Repentance transformations
|
||||||
@@ -21,5 +22,8 @@
|
|||||||
local transformations = {
|
local transformations = {
|
||||||
-- Collectibles
|
-- Collectibles
|
||||||
["5.100.519"] = "4", -- Lil Delirium: Conjoined
|
["5.100.519"] = "4", -- Lil Delirium: Conjoined
|
||||||
|
["5.100.35"] = "12,16", -- The Necronomicon: Necromancer
|
||||||
|
["5.100.262"] = "16", -- Missing Page 2: Necromancer
|
||||||
|
["5.350.48"] = "16", -- A Missing Page: Necromancer
|
||||||
}
|
}
|
||||||
EID:updateDescriptionsViaTable(transformations, EID.EntityTransformations)
|
EID:updateDescriptionsViaTable(transformations, EID.EntityTransformations)
|
||||||
@@ -2458,8 +2458,10 @@ function EID:evaluateTransformationProgress(transformation)
|
|||||||
local eType, eVariant, eSubType = entityString:match("([^.]+).([^.]+).([^.]+)")
|
local eType, eVariant, eSubType = entityString:match("([^.]+).([^.]+).([^.]+)")
|
||||||
if tonumber(eType) == EntityType.ENTITY_PICKUP then
|
if tonumber(eType) == EntityType.ENTITY_PICKUP then
|
||||||
if tonumber(eVariant) == PickupVariant.PICKUP_COLLECTIBLE then
|
if tonumber(eVariant) == PickupVariant.PICKUP_COLLECTIBLE then
|
||||||
local currentCount = EID.TransformationProgress[id][transformation]
|
-- Rep+ Exclusive: Only count a Transformation progress for Necromancer, if you own the Necronomicon
|
||||||
if activesTable[tostring(eSubType)] then
|
local isNecromancer = EID.isRepentancePlus and transformation == tostring(EID.TRANSFORMATION.NECROMANCER)
|
||||||
|
|
||||||
|
if not isNecromancer and activesTable[tostring(eSubType)] then
|
||||||
EID.TransformationProgress[id][transformation] = EID.TransformationProgress[id][transformation] + activesTable[tostring(eSubType)]
|
EID.TransformationProgress[id][transformation] = EID.TransformationProgress[id][transformation] + activesTable[tostring(eSubType)]
|
||||||
else
|
else
|
||||||
local collCount = player:GetCollectibleNum(eSubType, true)
|
local collCount = player:GetCollectibleNum(eSubType, true)
|
||||||
@@ -2474,8 +2476,8 @@ function EID:evaluateTransformationProgress(transformation)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- In AB+, only one copy of a given collectible is counted for trans
|
-- In AB+, only one copy of a given collectible is counted for trans
|
||||||
if not EID.isRepentance and EID.TransformationProgress[id][transformation] > currentCount + 1 then
|
if not EID.isRepentance and EID.TransformationProgress[id][transformation] > EID.TransformationProgress[id][transformation] + 1 then
|
||||||
EID.TransformationProgress[id][transformation] = currentCount + 1
|
EID.TransformationProgress[id][transformation] = EID.TransformationProgress[id][transformation] + 1
|
||||||
end
|
end
|
||||||
elseif tonumber(eVariant) == PickupVariant.PICKUP_TRINKET and player:HasTrinket(eSubType) then
|
elseif tonumber(eVariant) == PickupVariant.PICKUP_TRINKET and player:HasTrinket(eSubType) then
|
||||||
EID.TransformationProgress[id][transformation] = EID.TransformationProgress[id][transformation] + player:GetTrinketMultiplier(eSubType)
|
EID.TransformationProgress[id][transformation] = EID.TransformationProgress[id][transformation] + player:GetTrinketMultiplier(eSubType)
|
||||||
|
|||||||
@@ -52,7 +52,8 @@ EID.TRANSFORMATION = {
|
|||||||
["ADULT"] = 14,
|
["ADULT"] = 14,
|
||||||
["SPIDERBABY"] = 13,
|
["SPIDERBABY"] = 13,
|
||||||
["SUPERBUM"] = 11,
|
["SUPERBUM"] = 11,
|
||||||
["STOMPY"] = 15
|
["STOMPY"] = 15,
|
||||||
|
["NECROMANCER"] = 16 -- added in Rep+
|
||||||
}
|
}
|
||||||
|
|
||||||
-- List of item Types
|
-- List of item Types
|
||||||
@@ -351,8 +352,9 @@ EID.InlineIcons = {
|
|||||||
["SuperBum"] = {"Transformation11", 0, 16, 16, 0, -1, EID.IconSprite},
|
["SuperBum"] = {"Transformation11", 0, 16, 16, 0, -1, EID.IconSprite},
|
||||||
["Bookworm"] = {"Transformation12", 0, 16, 16, 0, -1, EID.IconSprite},
|
["Bookworm"] = {"Transformation12", 0, 16, 16, 0, -1, EID.IconSprite},
|
||||||
["SpiderBaby"] = {"Transformation13", 0, 16, 16, 0, -1, EID.IconSprite},
|
["SpiderBaby"] = {"Transformation13", 0, 16, 16, 0, -1, EID.IconSprite},
|
||||||
["Adult"] = {"Transformation14",0,16, 16, 0, -1, EID.IconSprite},
|
["Adult"] = {"Transformation14", 0, 16, 16, 0, -1, EID.IconSprite},
|
||||||
["Stompy"] = {"Transformation15",0,16, 16, 0, -1, EID.IconSprite},
|
["Stompy"] = {"Transformation15", 0, 16, 16, 0, -1, EID.IconSprite},
|
||||||
|
["Necromancer"] = {"Transformation16", 0, 16, 16, 0, -1, EID.IconSprite},
|
||||||
|
|
||||||
-- Quality
|
-- Quality
|
||||||
["Quality0"] = {"Quality", 0, 10, 10, 0, 0},
|
["Quality0"] = {"Quality", 0, 10, 10, 0, 0},
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<AnimatedActor>
|
<AnimatedActor>
|
||||||
<Info CreatedBy="Unknown" CreatedOn="17.06.2021 22:02:47" Version="30" Fps="30"/>
|
<Info CreatedBy="Unknown" CreatedOn="10.09.2025 15:57:12" Version="31" Fps="30"/>
|
||||||
<Content>
|
<Content>
|
||||||
<Spritesheets>
|
<Spritesheets>
|
||||||
<Spritesheet Path="eid_transform_icons.png" Id="0"/>
|
<Spritesheet Path="eid_transform_icons.png" Id="0"/>
|
||||||
@@ -194,6 +194,42 @@
|
|||||||
<NullAnimations/>
|
<NullAnimations/>
|
||||||
<Triggers/>
|
<Triggers/>
|
||||||
</Animation>
|
</Animation>
|
||||||
|
<Animation Name="Transformation14" FrameNum="1" Loop="false">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="32" YCrop="80" Width="16" Height="16" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations/>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
|
<Animation Name="Transformation15" FrameNum="1" Loop="false">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="32" YCrop="64" Width="16" Height="16" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations/>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
|
<Animation Name="Transformation16" FrameNum="1" Loop="false">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="48" YCrop="64" Width="16" Height="16" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations/>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
<Animation Name="CurseOfBlind" FrameNum="1" Loop="false">
|
<Animation Name="CurseOfBlind" FrameNum="1" Loop="false">
|
||||||
<RootAnimation>
|
<RootAnimation>
|
||||||
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
@@ -251,30 +287,6 @@
|
|||||||
<NullAnimations/>
|
<NullAnimations/>
|
||||||
<Triggers/>
|
<Triggers/>
|
||||||
</Animation>
|
</Animation>
|
||||||
<Animation Name="Transformation14" FrameNum="1" Loop="false">
|
|
||||||
<RootAnimation>
|
|
||||||
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
||||||
</RootAnimation>
|
|
||||||
<LayerAnimations>
|
|
||||||
<LayerAnimation LayerId="0" Visible="true">
|
|
||||||
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="32" YCrop="80" Width="16" Height="16" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
||||||
</LayerAnimation>
|
|
||||||
</LayerAnimations>
|
|
||||||
<NullAnimations/>
|
|
||||||
<Triggers/>
|
|
||||||
</Animation>
|
|
||||||
<Animation Name="Transformation15" FrameNum="1" Loop="false">
|
|
||||||
<RootAnimation>
|
|
||||||
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
||||||
</RootAnimation>
|
|
||||||
<LayerAnimations>
|
|
||||||
<LayerAnimation LayerId="0" Visible="true">
|
|
||||||
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="32" YCrop="64" Width="16" Height="16" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
|
||||||
</LayerAnimation>
|
|
||||||
</LayerAnimations>
|
|
||||||
<NullAnimations/>
|
|
||||||
<Triggers/>
|
|
||||||
</Animation>
|
|
||||||
<Animation Name="TransformationCustom" FrameNum="1" Loop="false">
|
<Animation Name="TransformationCustom" FrameNum="1" Loop="false">
|
||||||
<RootAnimation>
|
<RootAnimation>
|
||||||
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 21 KiB |
Reference in new issue
Block a user