Abyss: Moved word seperation into the translation, instead of being handled via the code
This commit is contained in:
1 parent
096c202b18
commit
b4c6f8dad8
3 files changed
+15
-15
No files matched your search
@@ -694,11 +694,11 @@ EID.descriptions[languageCode].AbyssTexts = {
|
||||
InfoText = "Eine {size}{speed}Heuschrecke ({dmg})", -- values inside {} brackets will be replaced with text parts below.
|
||||
InfoTextPlural = "{amount} {size}{speed}Heuschrecken ({dmg})", -- Will be shown when more than 1 locust will spawn
|
||||
Chance = " ({1}% Chance)", -- {1} will be replaced with the chance
|
||||
SpeedSlow = "schnelle", -- Speed < 1
|
||||
SpeedFast = "langsame", -- Speed > 1
|
||||
SpeedDash = "flotte", -- Speed >= 6
|
||||
SizeSmall = "kleine", -- Size < 1
|
||||
SizeBig = "große", -- Size > 1
|
||||
SpeedSlow = "schnelle ", -- Speed < 1
|
||||
SpeedFast = "langsame ", -- Speed > 1
|
||||
SpeedDash = "flotte ", -- Speed >= 6
|
||||
SizeSmall = "kleine ", -- Size < 1
|
||||
SizeBig = "große ", -- Size > 1
|
||||
DamageMult = "{1}x Isaac's Schaden", -- {1} will be replaced with the calculated damage multiplier
|
||||
}
|
||||
|
||||
|
||||
@@ -653,11 +653,11 @@ EID.descriptions[languageCode].AbyssTexts = {
|
||||
InfoText = "{amount} {size}{speed}locust ({dmg})", -- values inside {} brackets will be replaced with text parts below
|
||||
InfoTextPlural = "{amount} {size}{speed}locusts ({dmg})", -- Will be shown when more than 1 locust will spawn
|
||||
Chance = " ({1}% Chance)", -- {1} will be replaced with the chance
|
||||
SpeedSlow = "slow", -- Speed < 1
|
||||
SpeedFast = "fast", -- Speed > 1
|
||||
SpeedDash = "dashing", -- Speed >= 6
|
||||
SizeSmall = "small", -- Size < 1
|
||||
SizeBig = "big", -- Size > 1
|
||||
SpeedSlow = "slow ", -- Speed < 1
|
||||
SpeedFast = "fast ", -- Speed > 1
|
||||
SpeedDash = "dashing ", -- Speed >= 6
|
||||
SizeSmall = "small ", -- Size < 1
|
||||
SizeBig = "big ", -- Size > 1
|
||||
DamageMult = "{1}x Isaac's damage", -- {1} will be replaced with the calculated damage multiplier
|
||||
}
|
||||
|
||||
|
||||
@@ -1050,13 +1050,13 @@ if EID.isRepentance then
|
||||
|
||||
-- size
|
||||
local scaleText = ""
|
||||
if scale < 1 then scaleText = EID:getDescriptionEntry("AbyssTexts", "SizeSmall") .. " "
|
||||
elseif scale > 1 then scaleText = EID:getDescriptionEntry("AbyssTexts", "SizeBig") .. " " end
|
||||
if scale < 1 then scaleText = EID:getDescriptionEntry("AbyssTexts", "SizeSmall")
|
||||
elseif scale > 1 then scaleText = EID:getDescriptionEntry("AbyssTexts", "SizeBig") end
|
||||
-- speed
|
||||
local speedText = ""
|
||||
if speed < 1 then speedText = EID:getDescriptionEntry("AbyssTexts", "SpeedSlow") .. " "
|
||||
elseif speed >=6 then speedText = EID:getDescriptionEntry("AbyssTexts", "SpeedDash") .. " "
|
||||
elseif speed > 1 then speedText = EID:getDescriptionEntry("AbyssTexts", "SpeedFast") .. " " end
|
||||
if speed < 1 then speedText = EID:getDescriptionEntry("AbyssTexts", "SpeedSlow")
|
||||
elseif speed >=6 then speedText = EID:getDescriptionEntry("AbyssTexts", "SpeedDash")
|
||||
elseif speed > 1 then speedText = EID:getDescriptionEntry("AbyssTexts", "SpeedFast") end
|
||||
|
||||
-- overview / headline
|
||||
local infoText = EID:getDescriptionEntry("AbyssTexts", amount > 1 and "InfoTextPlural" or "InfoText")
|
||||
|
||||
Reference in new issue
Block a user