Simplified Book of Virtues wisp stats into 1 line
This commit is contained in:
1 parent
8562e24645
commit
407ee71fb6
12 files changed
+34
-104
No files matched your search
@@ -1603,20 +1603,11 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
|
|||||||
-- values inside {} brackets will be replaced with text parts below
|
-- values inside {} brackets will be replaced with text parts below
|
||||||
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
||||||
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
||||||
StatDescription = "{{Heart}} {health} {{Damage}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
|
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
|
||||||
Health = "{1} zdraví", -- {1} will be replaced with the health
|
|
||||||
Damage = "{1} dps", -- {1} will be replaced with the calculated damage
|
|
||||||
CantShoot = "Nemůže střílet!",
|
|
||||||
Shotspeed = "{1}% Rychlost střely", -- {1} will be replaced with the shot speed changes in %
|
Shotspeed = "{1}% Rychlost střely", -- {1} will be replaced with the shot speed changes in %
|
||||||
Chance = " ({1}% Šance)", -- {1} will be replaced with the chance
|
Chance = " ({1}% Šance)", -- {1} will be replaced with the chance
|
||||||
SingleRoom = "Bludička pro jednu místnost",
|
SingleRoom = "Bludička pro jednu místnost",
|
||||||
NoWisps = "Žádné bludičky",
|
NoWisps = "Žádné bludičky",
|
||||||
Ring = {
|
|
||||||
[-1] = "{amount} nehybná bludička/y{pluralize}",
|
|
||||||
[0] = "{amount} bludička/y ve vnitřním kruhu{pluralize} {{InnerWisp}}",
|
|
||||||
[1] = "{amount} bludička/y v prostředním kruhu{pluralize} {{MiddleWisp}}",
|
|
||||||
[2] = "{amount} bludička/y ve vnějším kruhu{pluralize} {{OuterWisp}}",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
---------- Abyss Locust description parts ----------
|
---------- Abyss Locust description parts ----------
|
||||||
|
|||||||
+1
-11
@@ -523,21 +523,11 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
|
|||||||
-- values inside {} brackets will be replaced with text parts below
|
-- values inside {} brackets will be replaced with text parts below
|
||||||
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
||||||
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
||||||
StatDescription = "{{Heart}} {health} {{Damage}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
|
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
|
||||||
Health = "{1} Leben", -- {1} will be replaced with the health
|
|
||||||
Damage = "{1} DPS", -- {1} will be replaced with the calculated damage
|
|
||||||
Damage2 = "dmg", -- prepend text for damage multiplier based on proc chance
|
|
||||||
CantShoot = "Schießt nicht!",
|
|
||||||
Shotspeed = "{1}% Schussgeschwindigkeit", -- {1} will be replaced with the shot speed changes in %
|
Shotspeed = "{1}% Schussgeschwindigkeit", -- {1} will be replaced with the shot speed changes in %
|
||||||
Chance = " ({1}% Chance)", -- {1} will be replaced with the chance
|
Chance = " ({1}% Chance)", -- {1} will be replaced with the chance
|
||||||
SingleRoom = "Einzelraum-Wisp{plural_s}",
|
SingleRoom = "Einzelraum-Wisp{plural_s}",
|
||||||
NoWisps = "Kein Wisp",
|
NoWisps = "Kein Wisp",
|
||||||
Ring = {
|
|
||||||
[-1] = "{amount} stationäre{singular_r} Wisp{plural_s}",
|
|
||||||
[0] = "{amount} innere{singular_r} Ring-Wisp{plural_s} {{InnerWisp}}",
|
|
||||||
[1] = "{amount} mittlere{singular_r} Ring-Wisp{plural_s} {{MiddleWisp}}",
|
|
||||||
[2] = "{amount} äußere{singular_r} Ring-Wisp{plural_s} {{OuterWisp}}",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Old table that now is used to store additional information and effects for Book of Virtues Wisps
|
-- Old table that now is used to store additional information and effects for Book of Virtues Wisps
|
||||||
|
|||||||
@@ -483,20 +483,11 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
|
|||||||
-- values inside {} brackets will be replaced with text parts below
|
-- values inside {} brackets will be replaced with text parts below
|
||||||
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
||||||
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
||||||
StatDescription = "{{Heart}} {health} {{Damage}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
|
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
|
||||||
Health = "{1} health", -- {1} will be replaced with the health
|
|
||||||
Damage = "{1} dps", -- {1} will be replaced with the calculated damage
|
|
||||||
CantShoot = "Can't shoot!",
|
|
||||||
Shotspeed = "{1}% Shot speed", -- {1} will be replaced with the shot speed changes in %
|
Shotspeed = "{1}% Shot speed", -- {1} will be replaced with the shot speed changes in %
|
||||||
Chance = " ({1}% Chance)", -- {1} will be replaced with the chance
|
Chance = " ({1}% Chance)", -- {1} will be replaced with the chance
|
||||||
SingleRoom = "Single room wisp",
|
SingleRoom = "Single room wisp",
|
||||||
NoWisps = "No Wisps",
|
NoWisps = "No Wisps",
|
||||||
Ring = {
|
|
||||||
[-1] = "{amount} stationary wisp{pluralize}",
|
|
||||||
[0] = "{amount} inner ring wisp{pluralize} {{InnerWisp}}",
|
|
||||||
[1] = "{amount} middle ring wisp{pluralize} {{MiddleWisp}}",
|
|
||||||
[2] = "{amount} outer ring wisp{pluralize} {{OuterWisp}}",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Old table that now is used to store additional information and effects for Book of Virtues Wisps
|
-- Old table that now is used to store additional information and effects for Book of Virtues Wisps
|
||||||
|
|||||||
+1
-10
@@ -487,20 +487,11 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
|
|||||||
-- values inside {} brackets will be replaced with text parts below
|
-- values inside {} brackets will be replaced with text parts below
|
||||||
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
||||||
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
||||||
StatDescription = "{{Heart}} {health} {{Damage}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
|
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
|
||||||
Health = "{1} Salute", -- {1} will be replaced with the health
|
|
||||||
Damage = "{1} DPS", -- {1} will be replaced with the calculated damage
|
|
||||||
CantShoot = "Non spara!",
|
|
||||||
Shotspeed = "{1}% Velocità Colpi", -- {1} will be replaced with the shot speed changes in %
|
Shotspeed = "{1}% Velocità Colpi", -- {1} will be replaced with the shot speed changes in %
|
||||||
Chance = " ({1}% di chance)", -- {1} will be replaced with the chance
|
Chance = " ({1}% di chance)", -- {1} will be replaced with the chance
|
||||||
SingleRoom = "Fiammella per una singola stanza",
|
SingleRoom = "Fiammella per una singola stanza",
|
||||||
NoWisps = "Niente fiammelle",
|
NoWisps = "Niente fiammelle",
|
||||||
Ring = {
|
|
||||||
[-1] = "{amount} fiammella/e stazionaria/e",
|
|
||||||
[0] = "{amount} Fiammella/e dell'anello interno {{InnerWisp}}",
|
|
||||||
[1] = "{amount} Fiammella/e dell'anello mediano {{MiddleWisp}}",
|
|
||||||
[2] = "{amount} Fiammella/e dell'anello esterno {{OuterWisp}}",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Old table that now is used to store additional information and effects for Book of Virtues Wisps
|
-- Old table that now is used to store additional information and effects for Book of Virtues Wisps
|
||||||
|
|||||||
@@ -491,20 +491,11 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
|
|||||||
-- values inside {} brackets will be replaced with text parts below
|
-- values inside {} brackets will be replaced with text parts below
|
||||||
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
||||||
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
||||||
StatDescription = "{{Heart}} {health} {{Damage}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
|
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
|
||||||
Health = "体力:{1}", -- {1} will be replaced with the health
|
|
||||||
Damage = "DPS:{1}", -- {1} will be replaced with the calculated damage
|
|
||||||
CantShoot = "涙攻撃なし",
|
|
||||||
Shotspeed = "弾速:{1}%", -- {1} will be replaced with the shot speed changes in %
|
Shotspeed = "弾速:{1}%", -- {1} will be replaced with the shot speed changes in %
|
||||||
Chance = "(確率{1}%)", -- {1} will be replaced with the chance
|
Chance = "(確率{1}%)", -- {1} will be replaced with the chance
|
||||||
SingleRoom = "その部屋でのみ有効",
|
SingleRoom = "その部屋でのみ有効",
|
||||||
NoWisps = "ウィスプなし",
|
NoWisps = "ウィスプなし",
|
||||||
Ring = {
|
|
||||||
[-1] = "固定のウィスプ x{amount}",
|
|
||||||
[0] = "内側{{InnerWisp}}のウィスプ x{amount}",
|
|
||||||
[1] = "中心{{MiddleWisp}}のウィスプ x{amount}",
|
|
||||||
[2] = "外側{{OuterWisp}}のウィスプ x{amount}",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Old table that now is used to store additional information and effects for Book of Virtues Wisps
|
-- Old table that now is used to store additional information and effects for Book of Virtues Wisps
|
||||||
|
|||||||
@@ -576,20 +576,11 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
|
|||||||
-- values inside {} brackets will be replaced with text parts below
|
-- values inside {} brackets will be replaced with text parts below
|
||||||
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
||||||
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
||||||
StatDescription = "{{Heart}} {health} / {{DamageSmall}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
|
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
|
||||||
Health = "{1}", -- {1} will be replaced with the health
|
|
||||||
Damage = "{1} DPS", -- {1} will be replaced with the calculated damage
|
|
||||||
CantShoot = "공격불가",
|
|
||||||
Shotspeed = "탄속 {1}%", -- {1} will be replaced with the shot speed changes in %
|
Shotspeed = "탄속 {1}%", -- {1} will be replaced with the shot speed changes in %
|
||||||
Chance = " (확률 {1}%)", -- {1} will be replaced with the chance
|
Chance = " (확률 {1}%)", -- {1} will be replaced with the chance
|
||||||
SingleRoom = "방을 나가면 사라집니다.",
|
SingleRoom = "방을 나가면 사라집니다.",
|
||||||
NoWisps = "위습 없음",
|
NoWisps = "위습 없음",
|
||||||
Ring = {
|
|
||||||
[-1] = "고정 x{amount}",
|
|
||||||
[0] = "{{InnerWisp}} {{ColorLime}}내부 x{amount}{{CR}}",
|
|
||||||
[1] = "{{MiddleWisp}} {{ColorYellow}}중앙 x{amount}{{CR}}",
|
|
||||||
[2] = "{{OuterWisp}} {{ColorOrange}}외부 x{amount}{{CR}}",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Book of Virtues wisp types
|
-- Book of Virtues wisp types
|
||||||
|
|||||||
@@ -483,21 +483,13 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
|
|||||||
-- values inside {} brackets will be replaced with text parts below
|
-- values inside {} brackets will be replaced with text parts below
|
||||||
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
||||||
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
||||||
StatDescription = "{{Heart}} {health} {{Damage}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
|
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
|
||||||
Health = "{1} salud", -- {1} will be replaced with the health
|
|
||||||
Damage = "{1} dps", -- {1} will be replaced with the calculated damage
|
|
||||||
CantShoot = "No puede disparar lágrimas",
|
|
||||||
Shotspeed = "{1}% vel. de lágrimas", -- {1} will be replaced with the shot speed changes in %
|
Shotspeed = "{1}% vel. de lágrimas", -- {1} will be replaced with the shot speed changes in %
|
||||||
Chance = " ({1}% de probabilidad)", -- {1} will be replaced with the chance
|
Chance = " ({1}% de probabilidad)", -- {1} will be replaced with the chance
|
||||||
SingleRoom = "Fuego de una sola habitación",
|
SingleRoom = "Fuego de una sola habitación",
|
||||||
NoWisps = "No hay fuego",
|
NoWisps = "No hay fuego",
|
||||||
Ring = {
|
|
||||||
[-1] = "{amount} Fuego{plural_s} estacionario{plural_s}",
|
|
||||||
[0] = "{amount} Fuego orbital{plural_es} interior {{InnerWisp}}",
|
|
||||||
[1] = "{amount} Fuego orbital{plural_es} central {{MiddleWisp}}",
|
|
||||||
[2] = "{amount} Fuego orbital{plural_es} exterior {{OuterWisp}}",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Book of Virtues wisp types
|
-- Book of Virtues wisp types
|
||||||
EID.descriptions[languageCode].bookOfVirtuesWisps = {
|
EID.descriptions[languageCode].bookOfVirtuesWisps = {
|
||||||
[35] = "{{Collectible35}} Activa el efecto del Necronomicón al destruirse", -- The Necronomicon
|
[35] = "{{Collectible35}} Activa el efecto del Necronomicón al destruirse", -- The Necronomicon
|
||||||
|
|||||||
@@ -483,20 +483,11 @@ EID.descriptions[languageCode].BookOfVirtuesWispTexts = {
|
|||||||
-- values inside {} brackets will be replaced with text parts below
|
-- values inside {} brackets will be replaced with text parts below
|
||||||
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
-- Wisp texts are affected by the PluralizeFunction (ab+ file)
|
||||||
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
-- The placeholder therefore can be used in all parts that make up the wisp descriptions
|
||||||
StatDescription = "{{Heart}} {health} {{Damage}} {damage}", -- {health} will be replaced with the health text, {damage} with the damage text or the "CantShoot" text
|
StatDescription = "{ringIcon}{{Wisp}} {amount}|{{Heart}} {health}|{{Damage}} {damage}", -- {ringIcon} will be replaced with an icon representing the wisp movement, {amount} with the number of wisps, {health} with the HP, {damage} with the damage or the "CantShoot" text
|
||||||
Health = "{1}血量", -- {1} will be replaced with the health
|
|
||||||
Damage = "{1}dps", -- {1} will be replaced with the calculated damage
|
|
||||||
CantShoot = "无法发射泪弹!",
|
|
||||||
Shotspeed = "{1}%弹速", -- {1} will be replaced with the shot speed changes in %
|
Shotspeed = "{1}%弹速", -- {1} will be replaced with the shot speed changes in %
|
||||||
Chance = " ({1}%几率)", -- {1} will be replaced with the chance
|
Chance = " ({1}%几率)", -- {1} will be replaced with the chance
|
||||||
SingleRoom = "单房间魂火",
|
SingleRoom = "单房间魂火",
|
||||||
NoWisps = "无魂火",
|
NoWisps = "无魂火",
|
||||||
Ring = {
|
|
||||||
[-1] = "{amount}个固定位置魂火",
|
|
||||||
[0] = "{amount}个内环魂火{{InnerWisp}}",
|
|
||||||
[1] = "{amount}个中环魂火{{MiddleWisp}}",
|
|
||||||
[2] = "{amount}个外环魂火{{OuterWisp}}",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Book of Virtues wisp types
|
-- Book of Virtues wisp types
|
||||||
|
|||||||
@@ -630,9 +630,11 @@ EID.InlineIcons = {
|
|||||||
["ItemPoolRottenBeggar"] = {"ItemPools", 30, 11, 11, 0, 0},
|
["ItemPoolRottenBeggar"] = {"ItemPools", 30, 11, 11, 0, 0},
|
||||||
|
|
||||||
-- Wisps
|
-- Wisps
|
||||||
["InnerWisp"] = {"Wisps", 0, 10, 9, 0, 2},
|
["InnerWisp"] = {"Wisps", 0, 10, 10, 0, -3},
|
||||||
["MiddleWisp"] = {"Wisps", 1, 10, 9, 0, 2},
|
["MiddleWisp"] = {"Wisps", 1, 10, 10, 0, -3},
|
||||||
["OuterWisp"] = {"Wisps", 2, 10, 9, 0, 2},
|
["OuterWisp"] = {"Wisps", 2, 10, 10, 0, -3},
|
||||||
|
["StationaryWisp"] = {"Wisps", 3, 10, 10, 0, -3},
|
||||||
|
["Wisp"] = {"Wisps", 4, 10, 10, 0, -3},
|
||||||
|
|
||||||
-- Dice Faces
|
-- Dice Faces
|
||||||
["DiceFace1"] = {"DiceFaces", 0, 14, 14, 0, -1},
|
["DiceFace1"] = {"DiceFaces", 0, 14, 14, 0, -1},
|
||||||
|
|||||||
+14
-16
@@ -1078,6 +1078,12 @@ if EID.isRepentance then
|
|||||||
---------------------------------------
|
---------------------------------------
|
||||||
---- Book of Virtues Wisp Handling-----
|
---- Book of Virtues Wisp Handling-----
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
local ringIconLookup = {
|
||||||
|
[-1] = "{{StationaryWisp}}",
|
||||||
|
[0] = "{{InnerWisp}}",
|
||||||
|
[1] = "{{MiddleWisp}}",
|
||||||
|
[2] = "{{OuterWisp}}"
|
||||||
|
}
|
||||||
|
|
||||||
local function BookOfVirtuesWispDescriptionBuilder(descObj, itemID)
|
local function BookOfVirtuesWispDescriptionBuilder(descObj, itemID)
|
||||||
local textColor = "{{ColorPastelBlue}}"
|
local textColor = "{{ColorPastelBlue}}"
|
||||||
@@ -1118,33 +1124,25 @@ if EID.isRepentance then
|
|||||||
descriptionText = "#{{VirtuesCollectible"..itemID.."}} " .. textColor .. noWispsText
|
descriptionText = "#{{VirtuesCollectible"..itemID.."}} " .. textColor .. noWispsText
|
||||||
else
|
else
|
||||||
-- base damage via damage, stage damage and firedelay
|
-- base damage via damage, stage damage and firedelay
|
||||||
local damageText = ""
|
-- Display "-" text if it cant shoot
|
||||||
|
local damageText = "-"
|
||||||
if canShoot then
|
if canShoot then
|
||||||
damageText = EID:getDescriptionEntry("BookOfVirtuesWispTexts", "Damage")
|
|
||||||
local dmg = (damage + (stageDamage * (game:GetLevel():GetAbsoluteStage() - 1))) * (30 / fireDelay)
|
local dmg = (damage + (stageDamage * (game:GetLevel():GetAbsoluteStage() - 1))) * (30 / fireDelay)
|
||||||
local dmgTxt = string.format("%.2f", dmg):gsub("%.?0+$", "") -- formated and without trailing zeros
|
damageText = string.format("%.2f", dmg):gsub("%.?0+$", "") -- formated and without trailing zeros
|
||||||
damageText = EID:ReplaceVariableStr(damageText, dmgTxt)
|
|
||||||
else
|
|
||||||
-- Display "Cant Shoot" text instead of damage values
|
|
||||||
damageText = EID:getDescriptionEntry("BookOfVirtuesWispTexts", "CantShoot")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- HP Text
|
-- HP Text
|
||||||
local hpText = EID:getDescriptionEntry("BookOfVirtuesWispTexts", "Health")
|
local hpText = EID:getDescriptionEntry("BookOfVirtuesWispTexts", "Health")
|
||||||
hpText = EID:ReplaceVariableStr(hpText, hp)
|
hpText = EID:ReplaceVariableStr(hpText, hp)
|
||||||
|
|
||||||
-- layer
|
|
||||||
local ringTable = EID:getDescriptionEntry("BookOfVirtuesWispTexts", "Ring")
|
|
||||||
local ringText = ringTable[layer] or ringTable[1]
|
|
||||||
-- overview / headline
|
|
||||||
descriptionText = "#{{VirtuesCollectible"..itemID.."}} " .. textColor .. ringText
|
|
||||||
descriptionText = EID:ReplaceVariableStr(descriptionText, "amount", amount ~= 0 and amount or "")
|
|
||||||
|
|
||||||
-- HP and damage text
|
-- HP and damage text
|
||||||
local statText = EID:getDescriptionEntry("BookOfVirtuesWispTexts", "StatDescription")
|
local statText = EID:getDescriptionEntry("BookOfVirtuesWispTexts", "StatDescription")
|
||||||
statText = EID:ReplaceVariableStr(statText, "health", textColor .. hpText) -- TODO: Fix issue where color definition before icon definition causes 1 extra space
|
statText = EID:ReplaceVariableStr(statText, "ringIcon", textColor .. ringIconLookup[layer] or ringIconLookup[1])
|
||||||
|
statText = EID:ReplaceVariableStr(statText, "amount", amount ~= 0 and amount or "") -- TODO: Fix issue where color definition before icon definition causes 1 extra space
|
||||||
|
statText = EID:ReplaceVariableStr(statText, "health", hp)
|
||||||
statText = EID:ReplaceVariableStr(statText, "damage", damageText)
|
statText = EID:ReplaceVariableStr(statText, "damage", damageText)
|
||||||
descriptionText = descriptionText .. "#" .. statText
|
-- overview / headline
|
||||||
|
descriptionText = "#{{VirtuesCollectible"..itemID.."}} " .. textColor .. statText
|
||||||
|
|
||||||
-- Single room warning
|
-- Single room warning
|
||||||
if EID.WispData.SingleRoom[itemID] then
|
if EID.WispData.SingleRoom[itemID] then
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<AnimatedActor>
|
<AnimatedActor>
|
||||||
<Info CreatedBy="Unknown" CreatedOn="07.05.2025 23:49:05" Version="216" Fps="30"/>
|
<Info CreatedBy="Unknown" CreatedOn="11.09.2025 18:17:58" Version="218" Fps="30"/>
|
||||||
<Content>
|
<Content>
|
||||||
<Spritesheets>
|
<Spritesheets>
|
||||||
<Spritesheet Path="eid_inline_icons.png" Id="0"/>
|
<Spritesheet Path="eid_inline_icons.png" Id="0"/>
|
||||||
@@ -723,9 +723,11 @@
|
|||||||
</RootAnimation>
|
</RootAnimation>
|
||||||
<LayerAnimations>
|
<LayerAnimations>
|
||||||
<LayerAnimation LayerId="0" Visible="true">
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="3" YCrop="195" Width="9" Height="9" 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" XPivot="0" YPivot="0" XCrop="64" YCrop="112" 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"/>
|
||||||
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="14" YCrop="195" Width="9" Height="9" 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" XPivot="0" YPivot="0" XCrop="80" YCrop="112" 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"/>
|
||||||
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="25" YCrop="195" Width="9" Height="9" 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" XPivot="0" YPivot="0" XCrop="96" YCrop="112" 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"/>
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="112" YCrop="112" 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"/>
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="128" YCrop="112" 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>
|
</LayerAnimation>
|
||||||
<LayerAnimation LayerId="1" Visible="true"/>
|
<LayerAnimation LayerId="1" Visible="true"/>
|
||||||
</LayerAnimations>
|
</LayerAnimations>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 51 KiB |
Reference in new issue
Block a user