added fallback to translations and made them more accessible

This commit is contained in:
wofsauge committed 2020-09-26 22:10:31 +02:00
1 parent 3f0c7218aa
commit 5b604f18f4
11 files changed
+178 -126

No files matched your search

+32 -16
View File
@@ -1,4 +1,20 @@
descriptarray={{"1","0", "The Sad Onion / Тъжният лук", "© 0.7 Скорост на сълзите"},
------------------------------------------------------------------
----- Basic Bulgarian descriptions based on Platinumgod.co.uk -----
------------------------------------------------------------------
-- Transformations: uses the number next to the transformation entry (can be found at the bottom of this file)
-- Item ID | transformation id| Description text
-- '#' = starts new line of text
-- Example: 69|1|+1.0 Tears up |Example Item#Example Second Line
--Special character markup:
-- ^ = Up Arrow | v = Down Arrow | ! = Warning
-- init bul table
EID.descriptions["bul"] = {}
EID.descriptions["bul"].collectibles={{"1","0", "The Sad Onion / Тъжният лук", "© 0.7 Скорост на сълзите"},
{"2","0", "The Inner Eye / Вътрешно око", "Тройна стрелба#® 2 Скорост на сълзите"},
{"3","0", "Spoon Bender / Огъната лъжица", "Самонасочващи се сълзи"},
{"4","0", "Cricket's Head / Главата на Крикет", "© 0.5 Атака#© 50% Умножена атака #+ к отдаче"},
@@ -430,7 +446,7 @@ descriptarray={{"1","0", "The Sad Onion /
}
---------- Trinkets ----------
trinketdescriptions={{"1", "Swallowed Penny / Проглоченный Пенни", "При получении вами урона, на пол падает монетка"},
EID.descriptions["bul"].trinkets={{"1", "Swallowed Penny / Проглоченный Пенни", "При получении вами урона, на пол падает монетка"},
{"2", "Petrified Poop / Окаменевшая Какашка", "Больше предметов из какашек"},
{"3", "AAA Battery / Батарейка ААА", "Уменьшает количество необходимых для предмета зарядов на 1"},
{"4", "Broken Remote / Сломанный Пульт", "Телепортирует в случайную комнату, когда вы используете активный предмет"},
@@ -561,7 +577,7 @@ trinketdescriptions={{"1", "Swallowed Penny /
}
---------- Cards ----------
cardDescriptions={{"1", "0 — The Fool / Дурак", "Телепортирует в начало уровня"},
EID.descriptions["bul"].cards={{"1", "0 — The Fool / Дурак", "Телепортирует в начало уровня"},
{"2", "I — The Magician / Маг", "Самонаводящиеся слезы в пределах комнаты"},
{"3", "II — The High Priestess / Верховная Жрица", "Мамина Нога атакует случайного врага"},
{"4", "III — The Empress / Императрица", "© 2.35 к урону и © 0.3 к скорости в пределах комнаты"},
@@ -619,9 +635,9 @@ cardDescriptions={{"1", "0
---------- Pills ----------
unidentifiedPillMessage = "- Неизвестная пилюля"
EID.descriptions["bul"].unidentifiedPill = "- Неизвестная пилюля"
pillDescriptions={
EID.descriptions["bul"].pills={
{"0", "Bad Gas / Вонючий Газ", " Создает облако ядовитого газа"},
{"1", "Bad Trip / Плохой Приход", " Наносит урон в 1 сердце"},
{"2", "Balls Of Steel / Стальные Яйца", " +2 Сердца Душ"},
@@ -672,9 +688,9 @@ pillDescriptions={
}
---------- Sacrifice Room ----------
sacrificeDescriptionHeader = "[Комната Жертвоприношений - награда]"
EID.descriptions["bul"].sacrificeHeader = "[Комната Жертвоприношений - награда]"
sacrificeDescriptions={
EID.descriptions["bul"].sacrifice={
{"1", "", "50% шанс на 1 Монету#100% шанс на 1 Бомбу, если вы в Подвале 1 и убили Босса за 1 минуту."},
{"2", "", "50% шанс на 1 Монету#100% шанс на 1 Бомбу, если вы в Подвале 1 и убили Босса за 1 минуту."},
{"3", "", "67% вероятность повысить шанс появления Комнаты Ангела."},
@@ -690,20 +706,20 @@ sacrificeDescriptions={
}
---------- Transformations ----------
transformations = {
EID.descriptions["bul"].transformations = {
"", -- 0 = none
"Гаппи", -- 1
"Весельчак", -- 2
"Повелитель Мух",-- 3
"Весельчак", -- 2
"Повелитель Мух", -- 3
"Соединенный", -- 4
"Передозировка", -- 5
"Передозировка", -- 5
"Мама", -- 6
"Вот Дерьмо!", -- 7
"Вот Дерьмо!", -- 7
"Боб", -- 8
"Левиафан", -- 9
"Левиафан", -- 9
"Серафим", -- 10
"Супер Бездельник", -- 11
"Книжный Червь", -- 12
"Супер Бездельник", -- 11
"Книжный Червь", -- 12
"Малыш-Паук", -- 13
"Топтун" -- 14
"Топтун" -- 14
}
+14 -10
View File
@@ -10,7 +10,11 @@
--Special character markup:
-- ↑ = Up Arrow | ↓ = Down Arrow | ! = Warning
descriptarray={{"1","0","↑ +0.7 Tears up"},
-- init en_us table
EID.descriptions["en_us"] = {}
EID.descriptions["en_us"].collectibles={{"1","0","↑ +0.7 Tears up"},
{"2","0","Triple shot#↓ Tears down"},
{"3","0","Homing tears"},
{"4","0","↑ +0.5 Damage up#↑ +50% Damage Multiplier"},
@@ -565,7 +569,7 @@ descriptarray={{"1","0","↑ +0.7 Tears up"},
}
---------- Trinkets ----------
trinketdescriptions={{"1","Drop 1 coin when you get hit"},
EID.descriptions["en_us"].trinkets={{"1","Drop 1 coin when you get hit"},
{"2","50% more drops from poop"},
{"3","-1 charge needed for spacebar items"},
{"4","Randomly teleports you, when using an item"},
@@ -696,7 +700,7 @@ trinketdescriptions={{"1","Drop 1 coin when you get hit"},
}
---------- Cards ----------
cardDescriptions={{"1","Teleports you back to the start"},
EID.descriptions["en_us"].cards={{"1","Teleports you back to the start"},
{"2","Homing tears for current room"},
{"3","Moms Foot stomps on an enemy!"},
{"4","↑ +2.35 Damage & +0.3 Speed for current room"},
@@ -754,9 +758,9 @@ cardDescriptions={{"1","Teleports you back to the start"},
---------- Pills ----------
unidentifiedPillMessage = "- Unidentified Pill"
EID.descriptions["en_us"].unidentifiedPill = "- Unidentified Pill"
pillDescriptions={
EID.descriptions["en_us"].pills={
{"0","Spawns a Gas cloud"},
{"1","Deals 1 heart of damage to you"},
{"2","+2 Soul Hearts"},
@@ -807,9 +811,9 @@ pillDescriptions={
}
---------- Sacrifice Room ----------
sacrificeDescriptionHeader = "[Next Sacrifice Room payout]"
EID.descriptions["en_us"].sacrificeHeader = "[Next Sacrifice Room payout]"
sacrificeDescriptions={
EID.descriptions["en_us"].sacrifice={
{"1","50% chance for 1 Coin#100% chance for 1 Bomb, when on B1 and killed the Boss under 1 minute"},
{"2","50% chance for 1 Coin#100% chance for 1 Bomb, when on B1 and killed the Boss under 1 minute"},
{"3","67% chance for increased Angel Room chance"},
@@ -825,9 +829,9 @@ sacrificeDescriptions={
}
---------- Dice Room ----------
diceDescriptionHeader = "[Dice effect]"
EID.descriptions["en_us"].diceHeader = "[Dice effect]"
diceDescriptions={
EID.descriptions["en_us"].dice={
{"1","Rerolls all of your items#(only affect collectibles)"},
{"2","Rerolls all pickups in the room"},
{"3","Rerolls all pickups on the entire floor"},
@@ -837,7 +841,7 @@ diceDescriptions={
}
---------- Transformations ----------
transformations = {
EID.descriptions["en_us"].transformations = {
"", -- 0 = none
"Guppy", -- 1
"Fun Guy", -- 2
+13 -10
View File
@@ -8,7 +8,10 @@
-- '#' = starts new line of text
-- Example: 69|1|+1.0 Tears up |Example Item#Example Second Line
descriptarray={{"1","0","+0.7 Tears up."},
-- init en_us_detailed table
EID.descriptions["en_us_detailed"] = {}
EID.descriptions["en_us_detailed"].collectibles={{"1","0","+0.7 Tears up."},
{"2","0","Triple shot. #Tears down - (Delay * 2.1) + 3."},
{"3","0","Homing tears."},
{"4","0","+0.5 Damage up.#1.5x Damage multiplier. #Increased knockback and tear size. #Damage multiplier does not stack with: #Magic Mushroom, #Book of Belial plus Blood of the Martyr, #Other Cricket's Heads."},
@@ -563,7 +566,7 @@ descriptarray={{"1","0","+0.7 Tears up."},
}
---------- Trinkets ----------
trinketdescriptions={{"1","Drops a penny, nickel or dime upon taking damage. #This effect not reduced by playing as the Keeper like other similar items are."},
EID.descriptions["en_us_detailed"].trinkets={{"1","Drops a penny, nickel or dime upon taking damage. #This effect not reduced by playing as the Keeper like other similar items are."},
{"2","Increases drop rate of pickups from poop to 50%."},
{"3","Immediately gives one charge towards an item upon use. #Has no effect on items with only one bar of charge or those with automatic recharges. #Stacks with the 9 Volt, but does not work with The Battery. #Recharging an item by taking damage with the Habit will cause this trinket not to activate."},
{"4","Upon using an active item, teleports the player to a random room which can appear on the map."},
@@ -694,7 +697,7 @@ trinketdescriptions={{"1","Drops a penny, nickel or dime upon taking damage. #Th
}
---------- Cards ----------
cardDescriptions={{"1","Teleports you back to the starting room of a floor."},
EID.descriptions["en_us_detailed"].cards={{"1","Teleports you back to the starting room of a floor."},
{"2","Grants homing tears for the current room."},
{"3","Calls down Mom's foot to stomp on the enemy with the most health in the current room, dealing 300 damage. #If used in an empty room or during the fight with Mom, it will stomp on the player instead."},
{"4","Grants the Whore of Babylon effect for the current room, increasing damage by 2.35 and speed by 0.3. #On Eve, it also increases her damage multiplier from 0.75 to 1.0."},
@@ -751,9 +754,9 @@ cardDescriptions={{"1","Teleports you back to the starting room of a floor."},
}
---------- Pills ----------
unidentifiedPillMessage = "- Unidentified Pill"
EID.descriptions["en_us_detailed"].unidentifiedPill = "- Unidentified Pill"
pillDescriptions={
EID.descriptions["en_us_detailed"].pills={
{"0","On use, the player farts, poisoning enemies around him."},
{"1","Deals a full heart of damage to the player. #If the player has a single heart or less left, it turns into a Full Health pill. #The damage count as red heart damage for purposes of getting a Devil Deal."},
{"2","Grants 2 soul hearts."},
@@ -804,9 +807,9 @@ pillDescriptions={
}
---------- Sacrifice Room ----------
sacrificeDescriptionHeader = "[Next Sacrifice Room payout]"
EID.descriptions["en_us_detailed"].sacrificeHeader = "[Next Sacrifice Room payout]"
sacrificeDescriptions={
EID.descriptions["en_us_detailed"].sacrifice={
{"1","50% chance for 1 Coin#100% chance for 1 Bomb, when on B1 and killed the Boss under 1 minute"},
{"2","50% chance for 1 Coin#100% chance for 1 Bomb, when on B1 and killed the Boss under 1 minute"},
{"3","67% chance for increased Angel Room chance"},
@@ -822,9 +825,9 @@ sacrificeDescriptions={
}
---------- Dice Room ----------
diceDescriptionHeader = "[Dice effect]"
EID.descriptions["en_us_detailed"].diceHeader = "[Dice effect]"
diceDescriptions={
EID.descriptions["en_us_detailed"].dice={
{"1","Rerolls all of your items#(only affect collectibles)"},
{"2","Rerolls all pickups in the room"},
{"3","Rerolls all pickups on the entire floor"},
@@ -835,7 +838,7 @@ diceDescriptions={
---------- Transformations ----------
transformations = {
EID.descriptions["en_us_detailed"].transformations = {
"", -- 0 = none
"Guppy", -- 1
"Fun Guy", -- 2
+17 -12
View File
@@ -8,12 +8,17 @@
-- '#' = starts new line of text
-- Example: 69|1|+1.0 Tears up |Example Item#Example Second Line
-- French letter rendercheck :
--print("ùÙûÛüÜÿŸ àÀâÂæÆçÇ éÉèÈêÊëË ïÏîÎôÔœŒ")
-- French letters :
--ùÙûÛüÜÿŸ àÀâÂæÆçÇ éÉèÈêÊëË ïÏîÎôÔœŒ
--Special character markup:
-- \1 = Up Arrow | \2 = Down Arrow | \3 = Warning ! | \6 = health | \5 Key | \015 = Coin | \8\189 = Bomb
descriptarray={{"1","0","\1 +0.7 Cadence de tir"},
-- init fr table
EID.descriptions["fr"] = {}
EID.descriptions["fr"].collectibles={{"1","0","\1 +0.7 Cadence de tir"},
{"2","0","Triple tir#\2 Cadence de tir"},
{"3","0","Larmes à tête chercheuse"},
{"4","0","\1 +0.5 Dégât(s)#\1 +50% Multiplicateur de Dégât(s) #+ Recul"},
@@ -568,7 +573,7 @@ descriptarray={{"1","0","\1 +0.7 Cadence de tir"},
}
---------- Trinkets ----------
trinketdescriptions={{"1","Lâche une pièce quand vous vous faites toucher"},
EID.descriptions["fr"].trinkets={{"1","Lâche une pièce quand vous vous faites toucher"},
{"2","Plus de chances d'obtenir des récompenses en détruisant les cacas"},
{"3","-1 charge nécessaire pour les objets activables"},
{"4","Vous téléporte dans une salle aléatoire quand vous utilisez un objet"},
@@ -699,7 +704,7 @@ trinketdescriptions={{"1","L
}
---------- Cards ----------
cardDescriptions={{"1","Vous téléporte à la salle de départ"},
EID.descriptions["fr"].cards={{"1","Vous téléporte à la salle de départ"},
{"2","Larmes à tête chercheuse pour la salle"},
{"3","Mom's Foot tombe sur un ennemi!"},
{"4","\1 +2.35 Dégâts & +0.3 vitesse pour la salle"},
@@ -757,9 +762,9 @@ cardDescriptions={{"1","Vous t
---------- Pills ----------
unidentifiedPillMessage = "- Pilule non identifiée"
EID.descriptions["fr"].unidentifiedPill = "- Pilule non identifiée"
pillDescriptions={
EID.descriptions["fr"].pills={
{"0","Fait apparaître un nuage de gaz"},
{"1","Inflige 1 coeur de dégâts"},
{"2","+2 Coeurs Bleus"},
@@ -810,9 +815,9 @@ pillDescriptions={
}
---------- Sacrifice Room ----------
sacrificeDescriptionHeader = "[Prochaine récompense de sacrifice]"
EID.descriptions["fr"].sacrificeHeader = "[Prochaine récompense de sacrifice]"
sacrificeDescriptions={
EID.descriptions["fr"].sacrifice={
{"1","50% chances d'avoir 1 pièce#100% chances d'avoir 1 bombe, en étant au premier étage et en ayant vaincu le premier boss en moins d'une minute"},
{"2","50% chances d'avoir 1 pièce#100% chances d'avoir 1 bombe, en étant au premier étage et en ayant vaincu le premier boss en moins d'une minute"},
{"3","67% chances d'augmenter les probabilités d'avoir une Angel Room à la fin du combat de boss"},
@@ -827,9 +832,9 @@ sacrificeDescriptions={
{"12","50% chances de vous téléporter à la Dark Room"}
}
---------- Dice Room ----------
diceDescriptionHeader = "[Effet de Dé]"
EID.descriptions["fr"].diceHeader = "[Effet de Dé]"
diceDescriptions={
EID.descriptions["fr"].dice={
{"1","Transforme tous vos objets#(n'affecte que les collectibles)"},
{"2","Transforme tous les collectibles dans la salle"},
{"3","Transforme tous les collectibles de l'étage"},
@@ -839,7 +844,7 @@ diceDescriptions={
}
---------- Transformations ----------
transformations = {
EID.descriptions["fr"].transformations = {
"", -- 0 = none
"Guppy", -- 1
"Fun Guy", -- 2
+14 -10
View File
@@ -17,7 +17,11 @@
-- \1 = Up Arrow | \2 = Down Arrow | \3 = Warning ! | \6 = health | \5 Key | \015 = Coin | \8\189 = Bomb
-- Polish Letter Markup: \165 = ê \167 = Ê \222 for ñ
descriptarray={{"1","0","\1 +0.7 Szybkostrzelno¶ci"},
-- init pl table
EID.descriptions["pl"] = {}
EID.descriptions["pl"].collectibles={{"1","0","\1 +0.7 Szybkostrzelno¶ci"},
{"2","0","Potrójne strza³y#\2 Mniejsza Szybkostrzelno¶æ"},
{"3","0","Samonaprowadzaj±ce si\165 ³zy"},
{"4","0","\1 +0.5 Obra¿e\222#\1 Mno¿y obra¿enia +50% #+ ³zy odrzucaj± wrogów"},
@@ -572,7 +576,7 @@ descriptarray={{"1","0","\1 +0.7 Szybkostrzelno
}
---------- Trinkets ----------
trinketdescriptions={{"1","Drop coins when you get hit"},
EID.descriptions["pl"].trinkets={{"1","Drop coins when you get hit"},
{"2","More drops from poop"},
{"3","-1 charge needed for spacebar items"},
{"4","Randomly teleports you, when using an item"},
@@ -703,7 +707,7 @@ trinketdescriptions={{"1","Drop coins when you get hit"},
}
---------- Cards ----------
cardDescriptions={{"1","Teleports you back to the start"},
EID.descriptions["pl"].cards={{"1","Teleports you back to the start"},
{"2","Homing tears for current room"},
{"3","Moms Foot stomps on an enemy!"},
{"4","\1 +2.35 Damage & +0.3 Speed for current room"},
@@ -761,9 +765,9 @@ cardDescriptions={{"1","Teleports you back to the start"},
---------- Pills ----------
unidentifiedPillMessage = "- Unidentified Pill"
EID.descriptions["pl"].unidentifiedPill = "- Unidentified Pill"
pillDescriptions={
EID.descriptions["pl"].pills={
{"0","Spawns a Gas cloud"},
{"1","Deals 1 heart of damage"},
{"2","+2 Soul Hearts"},
@@ -814,9 +818,9 @@ pillDescriptions={
}
---------- Sacrifice Room ----------
sacrificeDescriptionHeader = "[Next Sacrifice Room payout]"
EID.descriptions["pl"].sacrificeHeader = "[Next Sacrifice Room payout]"
sacrificeDescriptions={
EID.descriptions["pl"].sacrifice={
{"1","50% chance for 1 Coin#100% chance for 1 Bomb, when on B1 and killed the Boss under 1 minute"},
{"2","50% chance for 1 Coin#100% chance for 1 Bomb, when on B1 and killed the Boss under 1 minute"},
{"3","67% chance for increased Angel Room chance"},
@@ -832,9 +836,9 @@ sacrificeDescriptions={
}
---------- Dice Room ----------
diceDescriptionHeader = "[Dice effect]"
EID.descriptions["pl"].diceHeader = "[Dice effect]"
diceDescriptions={
EID.descriptions["pl"].dice={
{"1","Rerolls all of your items#(only affect collectibles)"},
{"2","Rerolls all pickups in the room"},
{"3","Rerolls all pickups on the entire floor"},
@@ -844,7 +848,7 @@ diceDescriptions={
}
---------- Transformations ----------
transformations = {
EID.descriptions["pl"].transformations = {
"", -- 0 = none
"Guppy", -- 1
"Fun Guy", -- 2
+14 -10
View File
@@ -13,7 +13,11 @@
--Special character markup:
-- \1 = Up Arrow | \2 = Down Arrow | \3 = Warning ! | \6 = health | \5 Key | \015 = Coin | \8\189 = Bomb
descriptarray={{"1","0","\1 +0.7 lágrimas up"},
-- init pt table
EID.descriptions["pt"] = {}
EID.descriptions["pt"].collectibles={{"1","0","\1 +0.7 lágrimas up"},
{"2","0","Tiro triplo#\2 lágrimas down"},
{"3","0","lágrimas de teleguiada."},
{"4","0","\1 +0.5 Dano Up#\1 +50% Multiplicador de Dano #+ knockback"},
@@ -568,7 +572,7 @@ descriptarray={{"1","0","\1 +0.7 lágrimas up"},
}
---------- Trinkets ----------
trinketdescriptions={{"1","Solte moedas quando for atingido"},
EID.descriptions["pt"].trinkets={{"1","Solte moedas quando for atingido"},
{"2","Mais drops de cocô"},
{"3","-1 carga necessária para itens da barra de espaço "},
{"4","Teleporta-o aleatoriamente, ao usar um item"},
@@ -699,7 +703,7 @@ trinketdescriptions={{"1","Solte moedas quando for atingido"},
}
---------- Cards ----------
cardDescriptions={{"1","Teleporta você de volta ao início"},
EID.descriptions["pt"].cards={{"1","Teleporta você de volta ao início"},
{"2","Lágrimas de teleguiada para o quarto atual"},
{"3","Mães pé pisa em um inimigo!"},
{"4","\1 +2.35 de dano e +0.3 de velocidade no quarto atual"},
@@ -758,9 +762,9 @@ cardDescriptions={{"1","Teleporta você de volta ao início"},
---------- Pills ----------
unidentifiedPillMessage = "- Comprimido não identificado"
EID.descriptions["pt"].unidentifiedPill = "- Comprimido não identificado"
pillDescriptions={
EID.descriptions["pt"].pills={
{"0","Cria uma nuvem de gás"},
{"1","Causa 1 coração de dano"},
{"2","+2 Corações de Alma"},
@@ -811,9 +815,9 @@ pillDescriptions={
}
---------- Sacrifice Room ----------
sacrificeDescriptionHeader = "[Pagamento do próximo quarto de sacrifício]"
EID.descriptions["pt"].sacrificeHeader = "[Pagamento do próximo quarto de sacrifício]"
sacrificeDescriptions={
EID.descriptions["pt"].sacrifice={
{"1","50% chance de 1 moeda#100% chance de 1 bomba, quando em B1 e matou o chefe em menos de 1 minuto"},
{"2","50% chance de 1 moeda#100% de chance de 1 bomba, quando estiver em B1 e matou o chefe em menos de 1 minuto"},
{"3","67% chance de aumentar a chance da Sala dos Anjos"},
@@ -829,9 +833,9 @@ sacrificeDescriptions={
}
---------- Dice Room ----------
diceDescriptionHeader = "[Dice effect]"
EID.descriptions["pt"].diceHeader = "[Dice effect]"
diceDescriptions={
EID.descriptions["pt"].dice={
{"1","Rola novamente todos os seus itens#(afeta apenas itens colecionáveis)"},
{"2","Rola novamente todos os captadores na sala"},
{"3","Rola novamente todos os captadores em todo o piso"},
@@ -841,7 +845,7 @@ diceDescriptions={
}
---------- Transformations ----------
transformations = {
EID.descriptions["pt"].transformations = {
"", -- 0 = none
"Guppy", -- 1
"Fun Guy", -- 2
+5 -2
View File
@@ -1,5 +1,8 @@
descriptarray={{"1","0", "类 玲 骡 勉 匿 佩 奇 晴 辱 砷 赎 穗 天 晚 晤 巷 叙 疡 因 芋 贼 挣 嘱 作 伉 蠃 邡 茳 撖 ��"},
-- init ru table
EID.descriptions["ru"] = {}
EID.descriptions["ru"].collectibles={{"1","0", "类 玲 骡 勉 匿 佩 奇 晴 辱 砷 赎 穗 天 晚 晤 巷 叙 疡 因 芋 贼 挣 嘱 作 伉 蠃 邡 茳 撖 ��"},
{"2","0", "The Inner Eye / Внутренний Глаз", "Тройной выстрел#® к скорострельности"},
{"3","0", "Spoon Bender / Сгибатель Ложек", "Самонаводящиеся слезы"},
{"4","0", "Cricket's Head / Голова Крикета", "© 0.5 к урону#© 50% множитель урона #+ к отдаче"},
+32 -31
View File
@@ -1,6 +1,6 @@
------------------------------------------------------------------
----- Basic English descriptions based on Platinumgod.co.uk -----
----- Basic Spanish descriptions based on Platinumgod.co.uk -----
------------------------------------------------------------------
-- Transformations: uses the number next to the transformation entry (can be found at the bottom of this file)
@@ -11,12 +11,13 @@
-- Spanish letter rendercheck :
-- print("áéíóúüñÁÉÍÓÚÜÑ¿¡ |")
-- Spanish letter markup
-- ¡ = | dont use Ñ or ¿
--Special character markup:
-- \1 = Up Arrow | \2 = Down Arrow | \3 = Warning ! | \6 = health | \5 Key | \015 = Coin | \8\189 = Bomb
descriptarray={{"1","0","\1 +0,7 de lágrimas"},
-- init spa table
EID.descriptions["spa"] = {}
EID.descriptions["spa"].collectibles={{"1","0","\1 +0,7 de lágrimas"},
{"2","0","Disparo triple#\2 Menos lágrimas"},
{"3","0","Lágrimas teledirigidas"},
{"4","0","\1 +0,5 de daño#\1 +50% de multiplicador de daño #+Empuje"},
@@ -27,7 +28,7 @@ descriptarray={{"1","0","\1 +0,7 de l
{"9","3","Todas las moscas enemigas son aliadas"},
{"10","3","+2 moscas orbitales"},
{"11","2","\1 +1 de vida#Reaparece con la vida al completo"},
{"12","2","\1 +1 de vida#\1 +0,3 de daño#\1 +50% de multiplicador de daño#\1 +5,25 de rango#\1 +0,3 de velocidad#\1 +0,5 de tamaño de lágrima#|Vida al completo!"},
{"12","2","\1 +1 de vida#\1 +0,3 de daño#\1 +50% de multiplicador de daño#\1 +5,25 de rango#\1 +0,3 de velocidad#\1 +0,5 de tamaño de lágrima#¡Vida al completo!"},
{"13","5","Toque venenoso#\2 -0,1 de velocidad#Los enemigos pueden soltar corazones negros al morir si están envenenados"},
{"14","5","\1 +0,6 de velocidad#\1 +5,25 de rango#\1 +0,5 de tamaño de lágrima"},
{"15","0","\1 +1 de vida#Vida al completo"},
@@ -35,7 +36,7 @@ descriptarray={{"1","0","\1 +0,7 de l
{"17","0","+99 llaves"},
{"18","0","+99 monedas"},
{"19","0","+10 bombas"},
{"20","0","|Vuela!"},
{"20","0","¡Vuela!"},
{"21","0","Muestra todos los iconos del mapa#No muestra el plano del mapa"},
{"22","0","\1 +1 de vida"},
{"23","0","\1 +1 de vida"},
@@ -62,12 +63,12 @@ descriptarray={{"1","0","\1 +0,7 de l
{"44","0","Teletransporta a Isaac a una habitación aleatoria"},
{"45","0","Cura 1 corazón rojo"},
{"46","0","\1 +1,0 de suerte#Más probabilidad de ganar al apostar"},
{"47","0","|Epic Fetus (Feto épico) a la carta!#Ataques aéreos dirigidos"},
{"47","0","¡Epic Fetus (Feto épico) a la carta!#Ataques aéreos dirigidos"},
{"48","0","Lágrimas penetrantes"},
{"49","0","Rayo de Brimstone (azufre) con gran daño"},
{"50","0","\1 +1 de daño"},
{"51","9","\1 +1,0 de daño#\1 +10% probabilidad de Pacto con el Diablo"},
{"52","0","|Lágrimas bomba!"},
{"52","0","¡Lágrimas bomba!"},
{"53","0","Acerca los recolectables al jugador"},
{"54","0","Muestra el plano del mapa"},
{"55","6","Posibilidad aleatoria de disparar una lágrima hacia atrás"},
@@ -167,15 +168,15 @@ descriptarray={{"1","0","\1 +0,7 de l
{"149","8","Lágrimas explosivas"},
{"150","0","Posibilidad de disparar dientes"},
{"151","3","1/6 probabilidad de generar una mosca al golpear un enemigo"},
{"152","0","|Láser permanente!#\2 -35% de daño"},
{"153","13","|Disparo cuádruple!#\2 Menos lágrimas"},
{"152","0","¡Láser permanente!#\2 -35% de daño"},
{"153","13","¡Disparo cuádruple!#\2 Menos lágrimas"},
{"154","0","\1 +2 de daño para el ojo izquierdo"},
{"155","0","Flota por la habitación#Inflige daño por contacto"},
{"156","0","Te da una carga cuando te golpean"},
{"157","0","\1 Más daño cuando te golpean#Dura todo la planta"},
{"158","0","Muestra el mapa completo#Genera una carta aleatoria o un corazón de alma"},
{"159","9","Vuela#Lágrimas espectrales"},
{"160","0","|Rayos de luz desde el cielo!"},
{"160","0","¡Rayos de luz desde el cielo!"},
{"161","0","Reaparece como ??? (Blue Baby(Bebé Azul))"},
{"162","0","Probabilidad de ser invencible cuando te golpean"},
{"163","0","Familiar de lágrimas espectrales"},
@@ -184,7 +185,7 @@ descriptarray={{"1","0","\1 +0,7 de l
{"166","0","Cambia los recolectables"},
{"167","4","Dispara dos lágrimas en forma de V"},
{"168","0","Ataque aéreo controlable en lugar de lágrimas"},
{"169","0","|Mega lágrimas!#\1 Más daño#\2 Menos lágrimas"},
{"169","0","¡Mega lágrimas!#\1 Más daño#\2 Menos lágrimas"},
{"170","0","Cae sobre los enemigos"},
{"171","13","Ralentiza a los enemigos#Daña a todos los enemigos"},
{"172","0","Cuchillo orbital"},
@@ -235,7 +236,7 @@ descriptarray={{"1","0","\1 +0,7 de l
{"217","6","Probabilidad aleatoria de generar una araña azul al disparar"},
{"218","0","Regenera la vida poco a poco#\1 +1 de vida"},
{"219","0","\1 +1 contenedor de corazón vacío#Probabilidad aleatoria de dejar caer corazones cuando te golpean"},
{"220","0","|Explosión de lágrimas!#+5 Bombas"},
{"220","0","¡Explosión de lágrimas!#+5 Bombas"},
{"221","0","Las lágrimas rebotan"},
{"222","0","\1 Más daño#Lágrimas anti-gravedad"},
{"223","0","Las explosiones te curan#+5 Bombas"},
@@ -252,9 +253,9 @@ descriptarray={{"1","0","\1 +0,7 de l
{"234","0","Al matar a un enemigo genera arañas "},
{"235","0","<El objeto no existe>"},
{"236","7","Al tocar a los enemigos los convierte en caca"},
{"237","0","|Dispara guadañas!#\1 +1,5 de daño#\2 -0,3 de lágrimas"},
{"238","0","\3 |Pieza de llave para la puerte de Mega Satán!#Aparecen más Salas del Ángel"},
{"239","0","\3 |Pieza de llave para la puerte de Mega Satán!#Aparecen más Salas del Ángel"},
{"237","0","¡Dispara guadañas!#\1 +1,5 de daño#\2 -0,3 de lágrimas"},
{"238","0","\3 ¡Pieza de llave para la puerte de Mega Satán!#Aparecen más Salas del Ángel"},
{"239","0","\3 ¡Pieza de llave para la puerte de Mega Satán!#Aparecen más Salas del Ángel"},
{"240","5","Todas las estadisticas \1/\2 un número aleatorio"},
{"241","0","Duplica los recolectables que cojas"},
{"242","0","Posibilidad de bloquear lágrimas"},
@@ -314,12 +315,12 @@ descriptarray={{"1","0","\1 +0,7 de l
{"296","0","\3 Convierte:#2 corazones de alma/negros en un corazón rojo"},
{"297","0","\3 ÚNICO USO \3#\3 Genera cosas en función del piso en el que se active:#B1: 2 corazones de alma #B2: 2 llaves y bombas#C1: 1 objeto de jefe#C2: B1+C1#D1: 4 corazones de alma#D2: 30 monedas#W1: 2 objetos de jefe#W2: Biblia#Sheol: 1 objeto del diablo+corazón negro#Catedral: 1 objeto de ángel + corazón de alma#Chest(cofre): 1 moneda"},
{"298","0","Invencibilidad y más velocidad temporal"},
{"299","0","|Te hace más rápido en las habitaciones hostiles!#Invencibilidad al alcanzar la velocidad suficiente"},
{"299","0","¡Te hace más rápido en las habitaciones hostiles!#Invencibilidad al alcanzar la velocidad suficiente"},
{"300","0","\1 +0,25 de velocidad#Tocar a los enemigos les daña"},
{"301","0","+3 corazones de alma#Reduce a la mitad el daño que recibas en la habitación tras ser golpeado una vez"},
{"302","0","|Rompe las rocas!"},
{"302","0","¡Rompe las rocas!"},
{"303","0","Posibilidad de ser invencible cuando te tocan"},
{"304","0","+6 monedas / llaves / bombas#|Equilibra tus estadísticas!#\3 Cada estadística afectará también a otras estadísticas"},
{"304","0","+6 monedas / llaves / bombas#¡Equilibra tus estadísticas!#\3 Cada estadística afectará también a otras estadísticas"},
{"305","0","Lágrimas venenosas"},
{"306","0","\1 +0,2 de velocidad#Lágrimas penetrantes"},
{"307","0","\1 +1 Vida / Llave / Bomba / Moneda#\1 +0,5 de daño#\1 +0,1 de velocidad#\1 +1,5 de rango"},
@@ -341,7 +342,7 @@ descriptarray={{"1","0","\1 +0,7 de l
{"323","0","Potencia las lágrimas#Carga al disparar"},
{"324","0","Te teletransporta a:#Habitación Secreta / Error / Sala del tesoro"},
{"325","0","Te corta la cabeza#La cabeza no se mueve#Controla tu cuerpo por separado"},
{"326","0","Mantén hasta que la barra del objeto se vacíe para ser invencible#\3 |No mantengas demasiado tiempo!"},
{"326","0","Mantén hasta que la barra del objeto se vacíe para ser invencible#\3 ¡No mantengas demasiado tiempo!"},
{"327","0","Invencible cuando te golpean y estás a medio corazón"},
{"328","0","Efecto de necronomicón cuando te golpean y estás a medio corazón"},
{"329","0","Lágrima controlable"},
@@ -565,13 +566,13 @@ descriptarray={{"1","0","\1 +0,7 de l
{"547","0","+1 un corazón de hueso#\1 +0,7 de lágrimas#Genera el trinket Mysterious Paper"},
{"548","0","Familiar tipo boomerang#Inflige el doble del daño"},
{"549","0","Remplaza todos los contenedores de corazón por 6 corazones de hueso#Perder un corazón de hueso dispara lágrimas en todas las direcciones"},
{"550","0","Los pies de mamá te atacarán constantemente#Al usarlo los pies dejarán de caer en esta habitación#\3|Intenta ganar la Bossrush con esto!"},
{"550","0","Los pies de mamá te atacarán constantemente#Al usarlo los pies dejarán de caer en esta habitación#\3¡Intenta ganar la Bossrush con esto!"},
{"551","0","Segunda parte de la pala rota#Úsala en el montón de tierra en la \"Dark Room\"(La Sala oscura)"},
{"552","6","Genera una trampilla hacia la siguiente planta#Úsala en el montón de tierra en la \"Dark Room\"(La Sala oscura)"},
}
---------- Trinkets ----------
trinketdescriptions={{"1","Generas monedas cuando te golpean"},
EID.descriptions["spa"].trinkets={{"1","Generas monedas cuando te golpean"},
{"2","Las cacas dejan caer más recolectables"},
{"3","Se necesita 1 carga menos en los objetos activables"},
{"4","Te teletransporta de manera aleatoria al usar un objeto"},
@@ -702,7 +703,7 @@ trinketdescriptions={{"1","Generas monedas cuando te golpean"},
}
---------- Cards ----------
cardDescriptions={{"1","Te teletransporta de nuevo al inicio"},
EID.descriptions["spa"].cards={{"1","Te teletransporta de nuevo al inicio"},
{"2","Lágrimas teledirigidas en la habitación actual"},
{"3","El Pie de Mamá pisa a un enemigo"},
{"4","\1 +2.35 de daño & +0,3 de velocidad en la habitación actual"},
@@ -760,9 +761,9 @@ cardDescriptions={{"1","Te teletransporta de nuevo al inicio"},
---------- Pills ----------
unidentifiedPillMessage = "- Píldora sin identificar"
EID.descriptions["spa"].unidentifiedPill = "- Píldora sin identificar"
pillDescriptions={
EID.descriptions["spa"].pills={
{"0","Genera una nube de gas"},
{"1","Inflige 1 corazón de daño"},
{"2","+2 corazones de alma"},
@@ -813,9 +814,9 @@ pillDescriptions={
}
---------- Sacrifice Room ----------
sacrificeDescriptionHeader = "[Siguiente pago de la Sala del Sacrificio]"
EID.descriptions["spa"].sacrificeHeader = "[Siguiente pago de la Sala del Sacrificio]"
sacrificeDescriptions={
EID.descriptions["spa"].sacrifice={
{"1","50% de probabilidad de 1 moneda#100% de probabilidad de 1 bomba, al matar al Jefe de B1 en menos de 1 minuto"},
{"2","50% de probabilidad de 1 moneda#100% de probabilidad de 1 bomba, al matar al Jefe de B1 en menos de 1 minuto"},
{"3","67% de más de probabilidad de que aparezca la Sala del Ángel en lugar de la del Diablo"},
@@ -831,9 +832,9 @@ sacrificeDescriptions={
}
---------- Dice Room ----------
diceDescriptionHeader = "[Efecto del dado]"
EID.descriptions["spa"].diceHeader = "[Efecto del dado]"
diceDescriptions={
EID.descriptions["spa"].dice={
{"1","Cambia tus objetos#(no afecta a los recolectables)"},
{"2","Cambia los recolectables de la habitación"},
{"3","Cambia todos los recolectables de la planta"},
@@ -843,7 +844,7 @@ diceDescriptions={
}
---------- Transformations ----------
transformations = {
EID.descriptions["spa"].transformations = {
"", -- 0 = none
"Guppy", -- 1
"Fun Guy (Tipo divertido)", -- 2
+17 -15
View File
@@ -97,29 +97,31 @@ function EID:getLastDescribedEntity()
return lastDescriptionEntity
end
-- returns descriptions from the legacy mod descriptions
function EID:getModDescription(list, id)
return (list) and (list[id])
end
-- returns the specified object table in the current language.
-- falls back to english if it doesnt exist
function EID:getDescriptionTable(objTable)
return EID.descriptions[EIDConfig["Language"]][objTable] or EID.descriptions["en_us"][objTable]
end
-- returns the description object of the specified object table translated with the current language
-- falls back to english if the key isnt available
function EID:getDescriptionObj(objTable, key)
return EID.descriptions[EIDConfig["Language"]][objTable][key] or EID.descriptions["en_us"][objTable][key]
end
--Get the name of the given transformation by its ID
function EID:getTransformationName(id)
local str = "Custom"
if tonumber(id) == nil then
return id
elseif EID:isVanillaTransformationID(id) then
return transformations[tonumber(id) + 1]
end
return str
end
--Returns true, if the transformation has a vanilla icon
function EID:isVanillaTransformationID(id)
if tonumber(id) ~= nil then
if (tonumber(id) <= #transformations - 1) then
return true
end
end
return false
return EID:getDescriptionObj("transformations", tonumber(id) + 1) or str
end
-- tries to get the ingame name of an item based on its ID
@@ -133,9 +135,9 @@ function EID:getObjectName(objID, objType)
elseif objType == "pill" then
return EID.itemConfig:GetPillEffect(objID).Name
elseif objType == "sacrifice" then
return sacrificeDescriptionHeader
return EID:getDescriptionTable("sacrificeHeader")
elseif objType == "dice" then
return diceDescriptionHeader
return EID:getDescriptionTable("diceHeader")
elseif objType == "custom" then
return objID
end
+1 -1
View File
@@ -85,7 +85,7 @@ EID.InlineIcons = {
}
-- List of TransformationIcons based on their Name
--Format: [Ingame Name] = {Animationname, Width, Height, LeftOffset [Default: 0], TopOffset [Default: -3], IconSpriteObj (Optional)}
--Format: [Ingame Name] = {Animationname, Width, Height, LeftOffset [Default: 0], TopOffset [Default: -3], IconSpriteObj [Default: EID.IconSprite]}
EID.TransformationIcons = {
["Custom"] = {"TransformationCustom",11,16},
["Guppy"] = {"Transformation1",12,16},
+19 -9
View File
@@ -1,5 +1,6 @@
EID = RegisterMod("External Item Descriptions", 1)
EID.itemConfig = Isaac.GetItemConfig()
EID.descriptions = {} -- Table that holds all translation strings
local lineHeight = 11
local isDisplayingText = false
@@ -22,7 +23,16 @@ CardSprite:Load("gfx/cardfronts.anm2", true)
require("eid_config")
require("mod_config_menu")
require("descriptions.ab+." .. EIDConfig["Language"])
--languages
require("descriptions.ab+.en_us")
require("descriptions.ab+.en_us_detailed")
require("descriptions.ab+.bul")
require("descriptions.ab+.fr")
--require("descriptions.ab+.pl") -- WIP
require("descriptions.ab+.pt")
--require("descriptions.ab+.ru") -- WIP
require("descriptions.ab+.spa")
require("eid_data")
require("eid_api")
@@ -311,12 +321,12 @@ local function onRender(t)
if dist / 40 > tonumber(EIDConfig["MaxDistance"]) or not closest.Type == EntityType.ENTITY_PICKUP then
if Game():GetRoom():GetType() == RoomType.ROOM_SACRIFICE and EIDConfig["DisplaySacrificeInfo"] then
printTrinketDescription(sacrificeDescriptions[EID.sacrificeCounter], "sacrifice")
printTrinketDescription(EID:getDescriptionObj("sacrifice", EID.sacrificeCounter), "sacrifice")
end
if
Game():GetRoom():GetType() == RoomType.ROOM_DICE and EIDConfig["DisplayDiceInfo"] and type(closestDice) ~= type(nil)
then
printTrinketDescription(diceDescriptions[closestDice.SubType + 1], "dice")
printTrinketDescription(EID:getDescriptionObj("dice", closestDice.SubType + 1), "dice")
renderIndicator(closestDice)
end
return
@@ -361,7 +371,7 @@ local function onRender(t)
"trinket"
)
elseif closest.SubType <= 128 then
printTrinketDescription(trinketdescriptions[closest.SubType], "trinket")
printTrinketDescription(EID:getDescriptionObj("trinkets",closest.SubType), "trinket")
else
printTrinketDescription({closest.SubType, EID.itemConfig:GetTrinket(closest.SubType).Description})
end
@@ -383,11 +393,11 @@ local function onRender(t)
{
closest.SubType,
EID:getModDescription(__eidItemTransformations, closest.SubType),
descriptarray[closest.SubType][3]
EID:getDescriptionObj("collectibles",closest.SubType)[3]
}
)
else
printDescription(descriptarray[closest.SubType])
printDescription(EID:getDescriptionObj("collectibles",closest.SubType))
end
else
printDescription({closest.SubType, "", EID.itemConfig:GetCollectible(closest.SubType).Description})
@@ -401,7 +411,7 @@ local function onRender(t)
if EID:getModDescription(__eidCardDescriptions, closest.SubType) then
printTrinketDescription({closest.SubType, EID:getModDescription(__eidCardDescriptions, closest.SubType)}, "card")
elseif closest.SubType <= 54 then
printTrinketDescription(cardDescriptions[closest.SubType], "card")
printTrinketDescription(EID:getDescriptionObj("cards", closest.SubType), "card")
CardSprite:Play(tostring(closest.SubType))
CardSprite.Scale = Vector(EIDConfig["Scale"], EIDConfig["Scale"])
CardSprite:Update()
@@ -431,7 +441,7 @@ local function onRender(t)
if EID:getModDescription(__eidPillDescriptions, pillEffect) then
printTrinketDescription({pillEffect, EID:getModDescription(__eidPillDescriptions, pillEffect)}, "pill")
elseif pillEffect < 47 then
printTrinketDescription(pillDescriptions[pillEffect + 1], "pill")
printTrinketDescription(EID:getDescriptionObj("pills", pillEffect + 1), "pill")
else
EID:renderString(
EIDConfig["ErrorMessage"],
@@ -443,7 +453,7 @@ local function onRender(t)
end
else
EID:renderString(
unidentifiedPillMessage,
EID:getDescriptionTable("unidentifiedPill"),
Vector(EIDConfig["XPosition"], posY()),
Vector(EIDConfig["Scale"], EIDConfig["Scale"]),
EID:getErrorColor(),