Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4400ac7271 | ||
|
|
91f88f160f | ||
|
|
f3871a1d1c | ||
|
|
c8fd32cce6 | ||
|
|
00116ae93d | ||
|
|
9f3660ad1a | ||
|
|
09e84c34c7 | ||
|
|
1ca60623c0 | ||
|
|
87641f1d29 | ||
|
|
ca5d4d13ae | ||
|
|
08b8b07b1a | ||
|
|
df10be8fcf | ||
|
|
5588246013 | ||
|
|
e70356825d |
No files matched your search
@@ -2,7 +2,7 @@
|
|||||||
----- Basic Chinese descriptions ---
|
----- Basic Chinese descriptions ---
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
-- Last Update: 2023.12.20
|
-- Last Update: 2023.12.25
|
||||||
|
|
||||||
-- FORMAT: Item ID | Name | Description
|
-- FORMAT: Item ID | Name | Description
|
||||||
|
|
||||||
@@ -114,7 +114,7 @@ EID.descriptions[languageCode].collectibles={
|
|||||||
{"90", "小石头", "↑ {{Damage}} +1.0伤害#↑ {{Tears}} +0.2射速#↓ {{Speed}} -0.2移速"},
|
{"90", "小石头", "↑ {{Damage}} +1.0伤害#↑ {{Tears}} +0.2射速#↓ {{Speed}} -0.2移速"},
|
||||||
{"91", "探窟帽", "揭示相邻房间的类型#也可以揭示{{SecretRoom}}隐藏房,超级隐藏房和小Boss房"},
|
{"91", "探窟帽", "揭示相邻房间的类型#也可以揭示{{SecretRoom}}隐藏房,超级隐藏房和小Boss房"},
|
||||||
{"92", "超级绷带", "↑ +1心之容器#{{SoulHeart}} +2魂心#{{Heart}} 治疗1红心"},
|
{"92", "超级绷带", "↑ +1心之容器#{{SoulHeart}} +2魂心#{{Heart}} 治疗1红心"},
|
||||||
{"93", "游戏掌机", "在6秒内获得:#无敌#{{Fear}} 恐惧所有敌人#无法发射眼泪#造成每秒40点接触伤害#{{HalfHeart}} 吃掉两个敌人回复半个红心"},
|
{"93", "游戏掌机", "在6.5秒内获得:#无敌#{{Fear}} 恐惧所有敌人#无法发射眼泪#造成每秒40点接触伤害#{{HalfHeart}} 吃掉两个敌人回复半个红心"},
|
||||||
{"94", "硬币袋", "{{Coin}} 每2个房间随机生成1硬币"},
|
{"94", "硬币袋", "{{Coin}} 每2个房间随机生成1硬币"},
|
||||||
{"95", "机器宝宝", "激光眼泪跟班#每次射击造成3.5点伤害"},
|
{"95", "机器宝宝", "激光眼泪跟班#每次射击造成3.5点伤害"},
|
||||||
{"96", "查德宝宝", "{{HalfHeart}} 每3个房间生成1半红心"},
|
{"96", "查德宝宝", "{{HalfHeart}} 每3个房间生成1半红心"},
|
||||||
@@ -576,6 +576,35 @@ EID.descriptions[languageCode].collectibles={
|
|||||||
{"552", "妈妈的铲子", "生成通往下一层的活板门#!!! 在\"暗室\"的土丘上使用铲子#!!! 解锁某个很酷的东西"},
|
{"552", "妈妈的铲子", "生成通往下一层的活板门#!!! 在\"暗室\"的土丘上使用铲子#!!! 解锁某个很酷的东西"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
---------- Modifiers ----------
|
||||||
|
|
||||||
|
-- Effect of Car battery on Active Items
|
||||||
|
-- these all need way more consistency with the original effect text and spellchecking
|
||||||
|
EID.descriptions[languageCode].carBattery = {
|
||||||
|
[58] = "持续20秒", -- Book of Shadows
|
||||||
|
[66] = "持续16秒", -- The Hourglass
|
||||||
|
[77] = "持续12秒", -- My Little Unicorn
|
||||||
|
[93] = "持续13秒", -- The Gamekid
|
||||||
|
[111] = "造成两倍伤害", -- The Bean
|
||||||
|
[124] = "触发两次效果", -- Dead Sea Scrolls
|
||||||
|
[145] = "生成4~8个蓝苍蝇", -- Guppy's Head
|
||||||
|
[171] = "造成10点额外伤害", -- Spider Butt
|
||||||
|
[293] = "激光柱的伤害加倍", -- Head of Krampus
|
||||||
|
[298] = "持续12秒", -- Unicorn Stump
|
||||||
|
[351] = "造成两倍伤害", -- Mega Bean
|
||||||
|
[383] = "一次分裂成36颗泪弹", -- Tear Detonator
|
||||||
|
[421] = "造成两倍伤害", -- Kidney Bean
|
||||||
|
[427] = "生成两个炸药包", -- Mine Crafter
|
||||||
|
[477] = "每个被吸收的主动道具会触发两次", -- Void
|
||||||
|
[482] = "更换角色两次并移除两个道具", -- Clicker
|
||||||
|
[485] = "25%概率四倍道具和掉落物, 75%概率移除它们", -- Crooked Penny
|
||||||
|
[486] = "触发受伤相关道具效果两次", -- Dull Razor
|
||||||
|
[488] = "获得两个道具效果", -- Metronome
|
||||||
|
[489] = "触发两次骰子效果,第二个骰子效果无法预测", -- D Infinity
|
||||||
|
[523] = "将盒子内容物与房间掉落物交换", -- Moving Box
|
||||||
|
[550] = "在挑战房和头目车轮战中防止两轮妈妈的脚的踩踏 {{ChallengeRoom}} {{BossRushRoom}}", -- Broken Shovel
|
||||||
|
}
|
||||||
|
|
||||||
---------- Trinkets ----------
|
---------- Trinkets ----------
|
||||||
EID.descriptions[languageCode].trinkets={
|
EID.descriptions[languageCode].trinkets={
|
||||||
{"1", "被吞下的硬币", "受伤时生成1硬币"},
|
{"1", "被吞下的硬币", "受伤时生成1硬币"},
|
||||||
|
|||||||
+10
-10
@@ -122,7 +122,7 @@ local repCollectibles={
|
|||||||
[280] = {"280", "Sissy Langbein", "Erzeugt zufällig blaue Spinnen in feindlichen Räumen#{{Charm}} Verzaubert Feinde, mit denen es in Kontakt kommt"}, -- Sissy Longlegs
|
[280] = {"280", "Sissy Langbein", "Erzeugt zufällig blaue Spinnen in feindlichen Räumen#{{Charm}} Verzaubert Feinde, mit denen es in Kontakt kommt"}, -- Sissy Longlegs
|
||||||
[283] = {"283", "D100", "Dupliziert 1 Aufsammelobjekt im Raum#Würfelt Isaacs Geschwindigkeit, Tränen, Schaden, Reichweite und passive Objekte neu#Würfelt alle Sockelobjekte, Aufsammelobjekte und Felsen im Raum neu#Startet den Raum neu, lässt alle Feinde respawnen und würfelt sie neu"}, -- D100
|
[283] = {"283", "D100", "Dupliziert 1 Aufsammelobjekt im Raum#Würfelt Isaacs Geschwindigkeit, Tränen, Schaden, Reichweite und passive Objekte neu#Würfelt alle Sockelobjekte, Aufsammelobjekte und Felsen im Raum neu#Startet den Raum neu, lässt alle Feinde respawnen und würfelt sie neu"}, -- D100
|
||||||
[285] = {"285", "D10", "Verwandelt alle Feinde im Raum zurück#Zum Beispiel werden alle roten Fliegen zu schwarzen Fliegen"}, -- D10
|
[285] = {"285", "D10", "Verwandelt alle Feinde im Raum zurück#Zum Beispiel werden alle roten Fliegen zu schwarzen Fliegen"}, -- D10
|
||||||
[286] = {"286", "Leere Karte", "Löst den Effekt der Karte aus, die Isaac hält, ohne sie zu verwenden"}, -- Blank Card
|
[286] = {"286", "Blanko-Karte", "Löst den Effekt der Karte aus, die Isaac hält, ohne sie zu verwenden"}, -- Blank Card
|
||||||
[287] = {"287", "Buch der Geheimnisse", "Markiert getönte und Kellerfelsen im Raum#{{Timer}} Erhalte einen dieser Effekte für den Raum:#{{Collectible54}} Schatzkarte#{{Collectible21}} Kompass#{{Collectible246}} Blaue Karte#Gewährt nur Effekte, die noch nicht aktiv sind#{{Collectible76}} Wenn alle Effekte aktiv sind, gewährt Röntgensicht"}, -- Book of Secrets
|
[287] = {"287", "Buch der Geheimnisse", "Markiert getönte und Kellerfelsen im Raum#{{Timer}} Erhalte einen dieser Effekte für den Raum:#{{Collectible54}} Schatzkarte#{{Collectible21}} Kompass#{{Collectible246}} Blaue Karte#Gewährt nur Effekte, die noch nicht aktiv sind#{{Collectible76}} Wenn alle Effekte aktiv sind, gewährt Röntgensicht"}, -- Book of Secrets
|
||||||
[288] = {"288", "Spinnenbox", "Erzeugt 4-8 blaue Spinnen"}, -- Box of Spiders
|
[288] = {"288", "Spinnenbox", "Erzeugt 4-8 blaue Spinnen"}, -- Box of Spiders
|
||||||
[289] = {"289", "Rote Kerze", "Wirft eine rote Flamme#Die Flamme verschwindet, wenn sie Schaden verursacht hat oder 5 Schüsse blockiert hat oder nach 10 Sekunden"}, -- Red Candle
|
[289] = {"289", "Rote Kerze", "Wirft eine rote Flamme#Die Flamme verschwindet, wenn sie Schaden verursacht hat oder 5 Schüsse blockiert hat oder nach 10 Sekunden"}, -- Red Candle
|
||||||
@@ -133,12 +133,12 @@ local repCollectibles={
|
|||||||
[296] = {"296", "Konverter", "{{Heart}} Wandelt 1 Seelen- oder Schwarzes Herz in 1 Herzcontainer um"}, -- Converter
|
[296] = {"296", "Konverter", "{{Heart}} Wandelt 1 Seelen- oder Schwarzes Herz in 1 Herzcontainer um"}, -- Converter
|
||||||
--NOTE FOR LOCALIZERS: There is code to highlight the text of your current floor
|
--NOTE FOR LOCALIZERS: There is code to highlight the text of your current floor
|
||||||
--For it to work, only use line breaks or semicolons to separate floor details, and use the same order as English
|
--For it to work, only use line breaks or semicolons to separate floor details, and use the same order as English
|
||||||
[297] = {"297", "Pandoras Schachtel", "{{Warning}} EINMALIGE VERWENDUNG {{Warning}} Erzeugt Belohnungen basierend auf der Ebene:#B1: 2{{SoulHeart}}; B2: 2{{Bomb}} + 2{{Key}}#C1: Boss-Gegenstand; C2: B1+C1#D1: 4{{SoulHeart}}; D2: 20{{Coin}}#W1: 2 Boss-Gegenstände#W2: {{Collectible33}} Die Bibel#???/Leere: Nichts#Sheol: Teufelsgegenstand + 1{{BlackHeart}}#Kathedrale: Engelsgenstand + 1{{EternalHeart}}#Dunkler Raum: Schaltet {{Collectible523}} Die Umzugskiste frei; Truhe: 1{{Coin}}#Zuhause: {{Collectible580}} Roter Schlüssel"}, -- Pandora's Box
|
[297] = {"297", "Pandoras Box", "{{Warning}} EINMALIGE VERWENDUNG {{Warning}} Erzeugt Belohnungen basierend auf der Ebene:#B1: 2{{SoulHeart}}; B2: 2{{Bomb}} + 2{{Key}}#C1: Boss-Gegenstand; C2: B1+C1#D1: 4{{SoulHeart}}; D2: 20{{Coin}}#W1: 2 Boss-Gegenstände#W2: {{Collectible33}} Die Bibel#???/Leere: Nichts#Sheol: Teufelsgegenstand + 1{{BlackHeart}}#Kathedrale: Engelsgenstand + 1{{EternalHeart}}#Dunkler Raum: Schaltet {{Collectible523}} Die Umzugskiste frei; Truhe: 1{{Coin}}#Zuhause: {{Collectible580}} Roter Schlüssel"}, -- Pandora's Box
|
||||||
[300] = {"300", "Widder", "↑ {{Speed}} +0.25 Geschwindigkeit#Bewegung über 0,85 Geschwindigkeit macht Isaac immun gegen Berührungsschaden und fügt Feinden 25 Schaden zu"}, -- Aries
|
[300] = {"300", "Widder", "↑ {{Speed}} +0.25 Geschwindigkeit#Bewegung über 0,85 Geschwindigkeit macht Isaac immun gegen Berührungsschaden und fügt Feinden 25 Schaden zu"}, -- Aries
|
||||||
[307] = {"307", "Steinbock", "↑ {{Heart}} +1 Gesundheit#↑ {{Speed}} +0.1 Geschwindigkeit#↑ {{Tears}} +0.5 Feuerrate#↑ {{Damage}} +0.5 Schaden#↑ {{Range}} +0.75 Reichweite#+1 {{Coin}} Münze, {{Bomb}} Bombe und {{Key}} Schlüssel"}, -- Capricorn
|
[307] = {"307", "Steinbock", "↑ {{Heart}} +1 Gesundheit#↑ {{Speed}} +0.1 Geschwindigkeit#↑ {{Tears}} +0.5 Feuerrate#↑ {{Damage}} +0.5 Schaden#↑ {{Range}} +0.75 Reichweite#+1 {{Coin}} Münze, {{Bomb}} Bombe und {{Key}} Schlüssel"}, -- Capricorn
|
||||||
[308] = {"308", "Wassermann", "Isaac hinterlässt eine Spur aus Klecksen#{{Damage}} Der Klecks fügt 66% des Schadens von Isaac pro Sekunde zu und übernimmt seine Träreffekte"}, -- Aquarius
|
[308] = {"308", "Wassermann", "Isaac hinterlässt eine Spur aus Klecksen#{{Damage}} Der Klecks fügt 66% des Schadens von Isaac pro Sekunde zu und übernimmt seine Träreffekte"}, -- Aquarius
|
||||||
[309] = {"309", "Fische", "↑ {{Tears}} +0.5 Feuerrate#↑ {{Tearsize}} +0.12 Tränengröße#Erhöht den Rückstoß der Tränen"}, -- Pisces
|
[309] = {"309", "Fische", "↑ {{Tears}} +0.5 Feuerrate#↑ {{Tearsize}} +0.12 Tränengröße#Erhöht den Rückstoß der Tränen"}, -- Pisces
|
||||||
[310] = {"310", "Evas Mascara", "↑ {{Damage}} x2 Schadensmultiplikator#↓ {{Tears}} x0.66 Tränenmultiplikator#↓ {{Shotspeed}} -0.5 Schussschnelligkeit"},
|
[310] = {"310", "Evas Mascara", "↑ {{Damage}} x2 Schadensmultiplikator#↓ {{Tears}} x0.66 Tränenmultiplikator#↓ {{Shotspeed}} -0.5 Schussgeschwindigkeit"},
|
||||||
[311] = {"311", "Judas' Schatten", "{{Player12}} Beim Tod wiederbeleben als Dunkler Judas mit einem 2x Schadensmultiplikator#{{Player24}} Befleckter Judas wird einfach wiederbelebt"}, -- Judas' Shadow
|
[311] = {"311", "Judas' Schatten", "{{Player12}} Beim Tod wiederbeleben als Dunkler Judas mit einem 2x Schadensmultiplikator#{{Player24}} Befleckter Judas wird einfach wiederbelebt"}, -- Judas' Shadow
|
||||||
[314] = {"314", "Donner-Oberschenkel", "↑ {{Heart}} +1 Gesundheit#↓ {{Speed}} -0.4 Geschwindigkeit#{{Heart}} Heilt 1 Herz#Isaac kann Felsen zerstören, indem er darüber läuft"}, -- Thunder Thighs
|
[314] = {"314", "Donner-Oberschenkel", "↑ {{Heart}} +1 Gesundheit#↓ {{Speed}} -0.4 Geschwindigkeit#{{Heart}} Heilt 1 Herz#Isaac kann Felsen zerstören, indem er darüber läuft"}, -- Thunder Thighs
|
||||||
[315] = {"315", "Seltsamer Anzieher", "Isaacs Tränen ziehen Feinde, Aufsammelobjekte und Trinkets an#Der Anziehungseffekt ist am Ende des Tränenweges viel stärker"}, -- Strange Attractor
|
[315] = {"315", "Seltsamer Anzieher", "Isaacs Tränen ziehen Feinde, Aufsammelobjekte und Trinkets an#Der Anziehungseffekt ist am Ende des Tränenweges viel stärker"}, -- Strange Attractor
|
||||||
@@ -149,11 +149,11 @@ local repCollectibles={
|
|||||||
[326] = {"326", "Atem Des Lebens", "Das Halten der BENUTZEN-Taste leert die Ladeleiste#Isaac ist vorübergehend unverwundbar, wenn die Ladeleiste leer ist#Isaac ruft Lichtstrahlen hervor, wenn er Feinde berührt, während er unverwundbar ist#Wenn Schaden mit perfektem Timing blockiert wird, schießt ein 4-Wege-Heiligkeitsstrahl und gewinnt einen kurzen Schild#{{Warning}} Das Halten für zu lange fügt Isaac Schaden zu"}, -- Breath of Life
|
[326] = {"326", "Atem Des Lebens", "Das Halten der BENUTZEN-Taste leert die Ladeleiste#Isaac ist vorübergehend unverwundbar, wenn die Ladeleiste leer ist#Isaac ruft Lichtstrahlen hervor, wenn er Feinde berührt, während er unverwundbar ist#Wenn Schaden mit perfektem Timing blockiert wird, schießt ein 4-Wege-Heiligkeitsstrahl und gewinnt einen kurzen Schild#{{Warning}} Das Halten für zu lange fügt Isaac Schaden zu"}, -- Breath of Life
|
||||||
[328] = {"328", "Das Negative", "↑ {{Damage}} +1 Schaden#Wenn er bei einem halben roten Herz oder gar keinem Schaden nimmt, erleiden alle Feinde im Raum Schaden"}, -- The Negative
|
[328] = {"328", "Das Negative", "↑ {{Damage}} +1 Schaden#Wenn er bei einem halben roten Herz oder gar keinem Schaden nimmt, erleiden alle Feinde im Raum Schaden"}, -- The Negative
|
||||||
[330] = {"330", "Sojamilch", "↑ {{Tears}} x5.5 Feuerratenmultiplikator#↓ {{Damage}} x0.2 Schadensmultiplikator#↓ {{Tearsize}} -0.3 Tränengröße#Reduziert den Rückstoß drastisch"}, -- Soy Milk
|
[330] = {"330", "Sojamilch", "↑ {{Tears}} x5.5 Feuerratenmultiplikator#↓ {{Damage}} x0.2 Schadensmultiplikator#↓ {{Tearsize}} -0.3 Tränengröße#Reduziert den Rückstoß drastisch"}, -- Soy Milk
|
||||||
[331] = {"331", "Götterkopf", "↑ {{Damage}} +0.5 Schaden#↓ {{Tears}} -0.3 Tränen#↓ {{Shotspeed}} -0.3 Schussschnelligkeit#Heilige Tränen#Tränen erhalten eine Aura, die pro Sekunde 60 Schaden verursacht"}, -- Godhead
|
[331] = {"331", "Götterkopf", "↑ {{Damage}} +0.5 Schaden#↓ {{Tears}} -0.3 Tränen#↓ {{Shotspeed}} -0.3 Schussgeschwindigkeit#Heilige Tränen#Tränen erhalten eine Aura, die pro Sekunde 60 Schaden verursacht"}, -- Godhead
|
||||||
[332] = {"332", "Lazarus Lappen", "{{Player11}} Beim Tod wiederbeleben als Lazarus (Auferstanden)#{{Player29}} Befleckter Lazarus wird einfach wiederbelebt"},
|
[332] = {"332", "Lazarus Lappen", "{{Player11}} Beim Tod wiederbeleben als Lazarus (Auferstanden)#{{Player29}} Befleckter Lazarus wird einfach wiederbelebt"},
|
||||||
[336] = {"336", "Tote Zwiebel", "↑ {{Tearsize}} +0.22 Tränengröße#↓ {{Range}} -1.5 Reichweite#↓ {{Shotspeed}} -0.4 Schussschnelligkeit#Durchdringende + spektrale Tränen"}, -- Dead Onion
|
[336] = {"336", "Tote Zwiebel", "↑ {{Tearsize}} +0.22 Tränengröße#↓ {{Range}} -1.5 Reichweite#↓ {{Shotspeed}} -0.4 Schussgeschwindigkeit#Durchdringende + spektrale Tränen"}, -- Dead Onion
|
||||||
[339] = {"339", "Sicherheitsnadel", "↑ {{Range}} +2.5 Reichweite#↑ {{Shotspeed}} +0.16 Schussschnelligkeit#{{BlackHeart}} +1 Schwarzes Herz"}, -- Safety Pin
|
[339] = {"339", "Sicherheitsnadel", "↑ {{Range}} +2.5 Reichweite#↑ {{Shotspeed}} +0.16 Schussgeschwindigkeit#{{BlackHeart}} +1 Schwarzes Herz"}, -- Safety Pin
|
||||||
[342] = {"342", "Blaue Mütze", "↑ {{Heart}} +1 Gesundheit#↑ {{Tears}} +0.7 Tränen#↓ {{Shotspeed}} -0.16 Schussschnelligkeit#{{Heart}} Heilt 1 Herz"}, -- Blue Cap
|
[342] = {"342", "Blaue Mütze", "↑ {{Heart}} +1 Gesundheit#↑ {{Tears}} +0.7 Tränen#↓ {{Shotspeed}} -0.16 Schussgeschwindigkeit#{{Heart}} Heilt 1 Herz"}, -- Blue Cap
|
||||||
[344] = {"344", "Streichholzschachtel", "{{BlackHeart}} +1 Schwarzes Herz#{{Bomb}} Erzeugt 3 Bomben#{{Trinket41}} Erzeugt den Streichholztrinket"}, -- Match Book
|
[344] = {"344", "Streichholzschachtel", "{{BlackHeart}} +1 Schwarzes Herz#{{Bomb}} Erzeugt 3 Bomben#{{Trinket41}} Erzeugt den Streichholztrinket"}, -- Match Book
|
||||||
[345] = {"345", "Synthöl", "↑ {{Damage}} +1 Schaden#↑ {{Range}} +2.5 Reichweite"}, -- Synthoil
|
[345] = {"345", "Synthöl", "↑ {{Damage}} +1 Schaden#↑ {{Range}} +2.5 Reichweite"}, -- Synthoil
|
||||||
[346] = {"346", "Ein Snack", "↑ {{Heart}} +1 Gesundheit#{{Heart}} Heilt 1 Herz"}, -- A Snack
|
[346] = {"346", "Ein Snack", "↑ {{Heart}} +1 Gesundheit#{{Heart}} Heilt 1 Herz"}, -- A Snack
|
||||||
@@ -305,7 +305,7 @@ local repCollectibles={
|
|||||||
[618] = {"618", "Verfaulte Tomate", "{{Bait}} 17% Chance, Tränen zu schießen, die Feinde markieren#{{Luck}} 100% Chance bei 5 Glück#Markierte Feinde werden von anderen Feinden angegriffen"}, -- Rotten Tomato
|
[618] = {"618", "Verfaulte Tomate", "{{Bait}} 17% Chance, Tränen zu schießen, die Feinde markieren#{{Luck}} 100% Chance bei 5 Glück#Markierte Feinde werden von anderen Feinden angegriffen"}, -- Rotten Tomato
|
||||||
[619] = {"619", "Geburtsrecht", "Hat für jeden Charakter eine andere Wirkung"}, -- Birthright
|
[619] = {"619", "Geburtsrecht", "Hat für jeden Charakter eine andere Wirkung"}, -- Birthright
|
||||||
[620] = {"620", "", "<Gegenstand existiert nicht>"}, --
|
[620] = {"620", "", "<Gegenstand existiert nicht>"}, --
|
||||||
[621] = {"621", "Rotes Eintopf", "↑ {{Damage}} +21.6 Schadensmultiplikator#{{Heart}} Vollgesundheit#Der Schadensbonus lässt in 3 Minuten nach#Töten von Feinden während des aktiven Effekts verlängert diesen"}, -- Red Stew
|
[621] = {"621", "Roter Eintopf", "↑ {{Damage}} +21.6 Schadensmultiplikator#{{Heart}} Vollgesundheit#Der Schadensbonus lässt in 3 Minuten nach#Töten von Feinden während des aktiven Effekts verlängert diesen"}, -- Red Stew
|
||||||
[622] = {"622", "Genesis", "{{Warning}} EINMAL VERWENDEN {{Warning}}#Entfernt alle von Isaac's Gegenständen und Aufsammlungen#Teleportiert Isaac zu einem Schlafzimmer mit Aufsammlungen und Truhen#Für jeden entfernten Gegenstand kann Isaac zwischen 3 Gegenständen aus demselben Pool wählen#Verlassen des Schlafzimmers teleportiert Isaac zum nächsten Stock"}, -- Genesis
|
[622] = {"622", "Genesis", "{{Warning}} EINMAL VERWENDEN {{Warning}}#Entfernt alle von Isaac's Gegenständen und Aufsammlungen#Teleportiert Isaac zu einem Schlafzimmer mit Aufsammlungen und Truhen#Für jeden entfernten Gegenstand kann Isaac zwischen 3 Gegenständen aus demselben Pool wählen#Verlassen des Schlafzimmers teleportiert Isaac zum nächsten Stock"}, -- Genesis
|
||||||
[623] = {"623", "Scharfer Schlüssel", "{{Key}} +5 Schlüssel#Wirft einen von Isaacs Schlüsseln in die Richtung, in die er schießt#Die geworfenen Schlüssel verursachen Schaden, zerstören Hindernisse und öffnen Türen#Feinde, die mit Schlüsseln getötet werden, können den Inhalt einer Truhe, einschließlich Gegenständen, fallen lassen"}, -- Sharp Key
|
[623] = {"623", "Scharfer Schlüssel", "{{Key}} +5 Schlüssel#Wirft einen von Isaacs Schlüsseln in die Richtung, in die er schießt#Die geworfenen Schlüssel verursachen Schaden, zerstören Hindernisse und öffnen Türen#Feinde, die mit Schlüsseln getötet werden, können den Inhalt einer Truhe, einschließlich Gegenständen, fallen lassen"}, -- Sharp Key
|
||||||
[624] = {"624", "Booster-Pack", "{{Card}} Spawnt 5 zufällige Karten"}, -- Booster Pack
|
[624] = {"624", "Booster-Pack", "{{Card}} Spawnt 5 zufällige Karten"}, -- Booster Pack
|
||||||
@@ -329,7 +329,7 @@ local repCollectibles={
|
|||||||
[642] = {"642", "Zauberhaut", "Beschwört einen Gegenstand aus dem aktuellen Gegenstands-Pool des Raums#{{BrokenHeart}} Verwandelt 1 Herzcontainer oder 1 Knochenherz oder 2 Seelenherzen in ein Gebrochenes Herz#{{Warning}} Ersetzt zukünftige Gegenstände, wenn Isaac ihn nicht hält {{ColorSilver}}(33% nach 1 Verwendung, 50% nach 2, 100% nach 3)#Geringere Chance, wenn die Magic Skin auf einem Podest im aktuellen Stockwerk liegt#{{Player10}} Einmalige Verwendung für The Lost"}, -- Magic Skin
|
[642] = {"642", "Zauberhaut", "Beschwört einen Gegenstand aus dem aktuellen Gegenstands-Pool des Raums#{{BrokenHeart}} Verwandelt 1 Herzcontainer oder 1 Knochenherz oder 2 Seelenherzen in ein Gebrochenes Herz#{{Warning}} Ersetzt zukünftige Gegenstände, wenn Isaac ihn nicht hält {{ColorSilver}}(33% nach 1 Verwendung, 50% nach 2, 100% nach 3)#Geringere Chance, wenn die Magic Skin auf einem Podest im aktuellen Stockwerk liegt#{{Player10}} Einmalige Verwendung für The Lost"}, -- Magic Skin
|
||||||
[643] = {"643", "Offenbarung", "{{SoulHeart}} +2 Seelenherzen#Flug#{{Chargeable}} Aufladbare hochschädliche heilige Strahlen#Ersetzt nicht die Tränen von Isaac"}, -- Revelation
|
[643] = {"643", "Offenbarung", "{{SoulHeart}} +2 Seelenherzen#Flug#{{Chargeable}} Aufladbare hochschädliche heilige Strahlen#Ersetzt nicht die Tränen von Isaac"}, -- Revelation
|
||||||
[644] = {"644", "Trostpreis", "↑ Erhöht die niedrigste Statistik von Isaac aus Geschwindigkeit, Schussrate, Schaden und Reichweite#Spawnt entweder 3 {{Coin}} Münzen, 1 {{Bomb}} Bombe oder 1 {{Key}} Schlüssel, abhängig davon, von welchem Isaac am wenigsten hat"}, -- Consolation Prize
|
[644] = {"644", "Trostpreis", "↑ Erhöht die niedrigste Statistik von Isaac aus Geschwindigkeit, Schussrate, Schaden und Reichweite#Spawnt entweder 3 {{Coin}} Münzen, 1 {{Bomb}} Bombe oder 1 {{Key}} Schlüssel, abhängig davon, von welchem Isaac am wenigsten hat"}, -- Consolation Prize
|
||||||
[645] = {"645", "Winz-Toma", "Großes Orbital, das Schüsse blockiert#Verursacht 3,5 Kontakt-Schaden pro Sekunde#Teilt sich in kleinere Versionen auf, nachdem es 3 Treffer genommen hat#Die kleineren Versionen brechen in blaue Spinnen auf#Respawnt 5 Sekunden nach dem vollständigen Verschwinden"}, -- Tinytoma
|
[645] = {"645", "Tinytoma", "Großes Orbital, das Schüsse blockiert#Verursacht 3,5 Kontakt-Schaden pro Sekunde#Teilt sich in kleinere Versionen auf, nachdem es 3 Treffer genommen hat#Die kleineren Versionen brechen in blaue Spinnen auf#Respawnt 5 Sekunden nach dem vollständigen Verschwinden"}, -- Tinytoma
|
||||||
[646] = {"646", "Schwefelbomben", "{{Bomb}} +5 Bomben#{{Collectible118}} Isaacs Bomben geben einen 4-Wege-Blutstrahl ab#Die Strahlen verletzen Isaac nicht"}, -- Brimstone Bombs
|
[646] = {"646", "Schwefelbomben", "{{Bomb}} +5 Bomben#{{Collectible118}} Isaacs Bomben geben einen 4-Wege-Blutstrahl ab#Die Strahlen verletzen Isaac nicht"}, -- Brimstone Bombs
|
||||||
[647] = {"647", "4.5 Volt", "Das Abschließen von Räumen lädt active Items nicht mehr auf#Schaden an Feinden füllt langsam die Ladeleiste#Der für jede Ladung benötigte Schaden steigt auf jedem Stockwerk"}, -- 4.5 Volt
|
[647] = {"647", "4.5 Volt", "Das Abschließen von Räumen lädt active Items nicht mehr auf#Schaden an Feinden füllt langsam die Ladeleiste#Der für jede Ladung benötigte Schaden steigt auf jedem Stockwerk"}, -- 4.5 Volt
|
||||||
[648] = {"648", "", "<Gegenstand existiert nicht>"}, --
|
[648] = {"648", "", "<Gegenstand existiert nicht>"}, --
|
||||||
@@ -353,7 +353,7 @@ local repCollectibles={
|
|||||||
[666] = {"666", "", "<Gegenstand existiert nicht>"}, --
|
[666] = {"666", "", "<Gegenstand existiert nicht>"}, --
|
||||||
[667] = {"667", "Strohmann", "{{Bomb}} +1 Bombe#{{Player14}} Beschwört Keeper als zweiten Charakter herbei#Wenn er stirbt, beschwört er blaue Spinnen herbei und entfernt dauerhaft Strohmann und jeden Gegenstand, den er aufgenommen hat, aus dem Inventar#{{DevilRoom}} Teufelsraumgegenstände kosten Münzen, solange Strohmann lebt#{{Warning}} Strohmann kann Story-Gegenstände aufnehmen"}, -- Strawman
|
[667] = {"667", "Strohmann", "{{Bomb}} +1 Bombe#{{Player14}} Beschwört Keeper als zweiten Charakter herbei#Wenn er stirbt, beschwört er blaue Spinnen herbei und entfernt dauerhaft Strohmann und jeden Gegenstand, den er aufgenommen hat, aus dem Inventar#{{DevilRoom}} Teufelsraumgegenstände kosten Münzen, solange Strohmann lebt#{{Warning}} Strohmann kann Story-Gegenstände aufnehmen"}, -- Strawman
|
||||||
[668] = {"668", "Papas Notiz", "Beginnt den Aufstieg#In vorherigen {{TreasureRoom}} Schatz- oder {{BossRoom}} Bossräumen zurückgelassene Glückspillen werden zu {{Card78}} Rissigen Schlüsseln"}, -- Dad's Note
|
[668] = {"668", "Papas Notiz", "Beginnt den Aufstieg#In vorherigen {{TreasureRoom}} Schatz- oder {{BossRoom}} Bossräumen zurückgelassene Glückspillen werden zu {{Card78}} Rissigen Schlüsseln"}, -- Dad's Note
|
||||||
[669] = {"669", "Wurst", "↑ {{Heart}} +1 Gesundheit#↑ {{Speed}} +0,2 Geschwindigkeit#↑ {{Tears}} +0,5 Tränen#↑ {{Damage}} +0,5 Schaden#↑ {{Range}} +2,5 Reichweite#↑ {{Shotspeed}} +0,16 Schussschnelligkeit#↑ {{Luck}} +1 Glück#{{Heart}} Volle Gesundheit#↑ {{AngelDevilChance}} +6,9% Teufels-/Engelsraum-Chance#↑ {{PlanetariumChance}} +6,9% Planetarium-Chance"}, -- Sausage
|
[669] = {"669", "Wurst", "↑ {{Heart}} +1 Gesundheit#↑ {{Speed}} +0,2 Geschwindigkeit#↑ {{Tears}} +0,5 Tränen#↑ {{Damage}} +0,5 Schaden#↑ {{Range}} +2,5 Reichweite#↑ {{Shotspeed}} +0,16 Schussgeschwindigkeit#↑ {{Luck}} +1 Glück#{{Heart}} Volle Gesundheit#↑ {{AngelDevilChance}} +6,9% Teufels-/Engelsraum-Chance#↑ {{PlanetariumChance}} +6,9% Planetarium-Chance"}, -- Sausage
|
||||||
[670] = {"670", "Optionen?", "Ermöglicht es Isaac, zwischen zwei verschiedenen Belohnungen für das Leeren eines Raumes zu wählen"}, -- Options?
|
[670] = {"670", "Optionen?", "Ermöglicht es Isaac, zwischen zwei verschiedenen Belohnungen für das Leeren eines Raumes zu wählen"}, -- Options?
|
||||||
[671] = {"671", "Bonbonherz", "↑ Aufsammeln von {{Heart}} Rote Herzen gewährt zufällige dauerhafte Statistikverbesserungen#{{Heart}} Spawnt ein Rotes Herz"}, -- Candy Heart
|
[671] = {"671", "Bonbonherz", "↑ Aufsammeln von {{Heart}} Rote Herzen gewährt zufällige dauerhafte Statistikverbesserungen#{{Heart}} Spawnt ein Rotes Herz"}, -- Candy Heart
|
||||||
[672] = {"672", "Ein Pfund Fleisch", "{{DevilRoom}} Teufelsraumgegenstände kosten Münzen#{{Shop}} Ladenobjekte kosten Herzen#Verbrauchsmaterialien in Läden sind von Stacheln umgeben"}, -- A Pound of Flesh
|
[672] = {"672", "Ein Pfund Fleisch", "{{DevilRoom}} Teufelsraumgegenstände kosten Münzen#{{Shop}} Ladenobjekte kosten Herzen#Verbrauchsmaterialien in Läden sind von Stacheln umgeben"}, -- A Pound of Flesh
|
||||||
|
|||||||
@@ -785,7 +785,7 @@ local repTrinkets={
|
|||||||
[149] = {"149", "Panic Button", "Taking damage uses the active item if it is charged"}, -- Panic Button
|
[149] = {"149", "Panic Button", "Taking damage uses the active item if it is charged"}, -- Panic Button
|
||||||
[150] = {"150", "Blue Key", "Locked doors can be opened for free, but Isaac has to clear a room from the Hush floor before accessing the room behind them"}, -- Blue Key
|
[150] = {"150", "Blue Key", "Locked doors can be opened for free, but Isaac has to clear a room from the Hush floor before accessing the room behind them"}, -- Blue Key
|
||||||
[151] = {"151", "Flat File", "Retracts most spikes, rendering them harmless#Also affects {{CursedRoom}} Curse Room doors, mimics and any spike obstacle"}, -- Flat File
|
[151] = {"151", "Flat File", "Retracts most spikes, rendering them harmless#Also affects {{CursedRoom}} Curse Room doors, mimics and any spike obstacle"}, -- Flat File
|
||||||
[152] = {"152", "Telescope Lens", "{{PlanetariumChance}} +24% Planetarium chance if none have spawned#+9% if a Planetarium has already spawned#Planetariums can spawn in the Womb and Corpse"}, -- Telescope Lens
|
[152] = {"152", "Telescope Lens", "{{PlanetariumChance}} +9% Planetarium chance#Additional +15% chance if a Planetarium hasn't been entered yet#Planetariums can spawn in the Womb and Corpse"}, -- Telescope Lens
|
||||||
[153] = {"153", "Mom's Lock", "25% chance for a random Mom item effect each room"}, -- Mom's Lock
|
[153] = {"153", "Mom's Lock", "25% chance for a random Mom item effect each room"}, -- Mom's Lock
|
||||||
[154] = {"154", "Dice Bag", "50% chance per new room to grant a single use die consumable item#The die disappears when leaving#The die does not take up a pill/card slot"}, -- Dice Bag
|
[154] = {"154", "Dice Bag", "50% chance per new room to grant a single use die consumable item#The die disappears when leaving#The die does not take up a pill/card slot"}, -- Dice Bag
|
||||||
[155] = {"155", "Holy Crown", "Spawns a {{TreasureRoom}} Treasure Room and {{Shop}} Shop in Cathedral"}, -- Holy Crown
|
[155] = {"155", "Holy Crown", "Spawns a {{TreasureRoom}} Treasure Room and {{Shop}} Shop in Cathedral"}, -- Holy Crown
|
||||||
@@ -1077,7 +1077,7 @@ EID.descriptions[languageCode].GlitchedItemText = {
|
|||||||
AddBlackHearts = "{{BlackHeart}} {1} Black Heart",
|
AddBlackHearts = "{{BlackHeart}} {1} Black Heart",
|
||||||
AddBombs = "{{Bomb}} {1} Bomb",
|
AddBombs = "{{Bomb}} {1} Bomb",
|
||||||
AddCoins = "{{Coin}} {1} Coin",
|
AddCoins = "{{Coin}} {1} Coin",
|
||||||
AddHearts = "Heals {{Heart}} {1} heart",
|
AddHearts = "{{Heart}} Heals {1} heart",
|
||||||
AddKeys = "{{Key}} {1} Key",
|
AddKeys = "{{Key}} {1} Key",
|
||||||
AddMaxHearts = "{{EmptyHeart}} {1} Heart container",
|
AddMaxHearts = "{{EmptyHeart}} {1} Heart container",
|
||||||
AddSoulHearts = "{{SoulHeart}} {1} Soul Heart",
|
AddSoulHearts = "{{SoulHeart}} {1} Soul Heart",
|
||||||
@@ -1089,21 +1089,21 @@ EID.descriptions[languageCode].GlitchedItemText = {
|
|||||||
-- Attribute triggers
|
-- Attribute triggers
|
||||||
active = "On use:#",
|
active = "On use:#",
|
||||||
pickup_collected = "On collecting a pickup:#",
|
pickup_collected = "On collecting a pickup:#",
|
||||||
enemy_kill = "Killing an enemy might:#",
|
enemy_kill = "Killing an enemy has a 20% chance to:#",
|
||||||
damage_taken = "Upon taking damage:#",
|
damage_taken = "Upon taking damage:#",
|
||||||
entity_spawned = "When a {T1} is spawned:#",
|
entity_spawned = "When a {T1} is spawned:#",
|
||||||
tear_fire = "Firing a tear might:#",
|
tear_fire = "Firing a tear has a 5% chance to:#",
|
||||||
enemy_hit = "Hitting an enemy might:#",
|
enemy_hit = "Hitting an enemy has a 5% chance to:#",
|
||||||
room_clear = "On clearing a room:#",
|
room_clear = "On clearing a room:#",
|
||||||
chain = "Then:{{CR}} ",
|
chain = "Then:{{CR}} ",
|
||||||
|
|
||||||
-- Attribute effects
|
-- Attribute effects
|
||||||
area_damage = "Deal {1} damage in an area around Isaac",
|
area_damage = "Deal {1} damage in {2} tiles around Isaac",
|
||||||
add_temporary_effect = "Grant {1} for the room",
|
add_temporary_effect = "Grant {1} for the room",
|
||||||
convert_entities = "Convert all {1} in the room to {2}",
|
convert_entities = "Convert all {1} in the room to {2}",
|
||||||
use_active_item = "Use {1}",
|
use_active_item = "Use {1}",
|
||||||
spawn_entity = "Spawn a {1}",
|
spawn_entity = "Spawn a {1}",
|
||||||
fart = "Fart with size {1}",
|
fart = "Fart on {1} tiles around Isaac",
|
||||||
|
|
||||||
-- Generic entity names not obtained from entities2.xml
|
-- Generic entity names not obtained from entities2.xml
|
||||||
-- This could also be a place to localize entity names; this table is read from before EID.XMLEntityNames
|
-- This could also be a place to localize entity names; this table is read from before EID.XMLEntityNames
|
||||||
@@ -1121,6 +1121,9 @@ EID.descriptions[languageCode].GlitchedItemText = {
|
|||||||
["999.-1"] = "grid object",
|
["999.-1"] = "grid object",
|
||||||
["1000.0"] = "effect",
|
["1000.0"] = "effect",
|
||||||
|
|
||||||
|
-- Text for the base item that is granted
|
||||||
|
grants = "Grants ",
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
---------- Misc. Text ----------
|
---------- Misc. Text ----------
|
||||||
@@ -1182,7 +1185,7 @@ EID.descriptions[languageCode].AchievementWarningText = "Achievements are disabl
|
|||||||
|
|
||||||
EID.descriptions[languageCode].OldGameVersionWarningText = "EID is updated for the newest Steam version#Your game version is not officially supported, so some descriptions and features will be inaccurate#(This warning can be disabled in the config)"
|
EID.descriptions[languageCode].OldGameVersionWarningText = "EID is updated for the newest Steam version#Your game version is not officially supported, so some descriptions and features will be inaccurate#(This warning can be disabled in the config)"
|
||||||
|
|
||||||
EID.descriptions[languageCode].ModdedRecipesWarningText = "Modded items could make the crafting recipe calculation inaccurate!#Use the Item Probability display mode or turn off the Bag of Crafting display if your recipes are incorrect#(This warning can be disabled in the config)"
|
EID.descriptions[languageCode].ModdedRecipesWarningText = "Modded items could make the crafting recipe calculation inaccurate!#Install REPENTOGON for modded recipe support#(This warning can be disabled in the config)"
|
||||||
|
|
||||||
EID.descriptions[languageCode].ResultsWithX = "(Results with {1})"
|
EID.descriptions[languageCode].ResultsWithX = "(Results with {1})"
|
||||||
|
|
||||||
@@ -1193,3 +1196,8 @@ if EID.enableDebug then
|
|||||||
EID.descriptions[languageCode].repCards = repCards
|
EID.descriptions[languageCode].repCards = repCards
|
||||||
EID.descriptions[languageCode].repPills = repPills
|
EID.descriptions[languageCode].repPills = repPills
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if REPENTOGON then
|
||||||
|
EID.descriptions[languageCode].custom["6.8.0"] = {"0", "Donation Machine", "{1} of {2} coins remaining until next achievement#{{Luck}} 2% chance for +1 Luck when donating#{{AngelRoom}} Donating 10 coins increases Angel Room chance"}
|
||||||
|
EID.descriptions[languageCode].custom["6.11.0"] = {"0", "Greed Donation Machine", "{{ColorGold}}{1} of {2}{{CR}} coins remaining until next achievement"}
|
||||||
|
end
|
||||||
+13
-11
@@ -791,11 +791,11 @@ local repCarBattery = {
|
|||||||
[635] = "!!! {{BlinkYellowGreen}}더 이상 인형의 위치와 맞바꿀 수 없으나{{CR}} 두 위치 모두 주변의 적에게 피해를 줍니다.", -- Stitches
|
[635] = "!!! {{BlinkYellowGreen}}더 이상 인형의 위치와 맞바꿀 수 없으나{{CR}} 두 위치 모두 주변의 적에게 피해를 줍니다.", -- Stitches
|
||||||
[639] = {"+1", "+2"}, -- Yuck Heart
|
[639] = {"+1", "+2"}, -- Yuck Heart
|
||||||
[642] = {"하나", "2개", "소지 불가능 체력 1칸", "{{CR}}소지 불가능 체력 {{BlinkYellowRed}}2칸", "1칸 또는 {{SoulHeart}}2칸", "2칸 또는 {{SoulHeart}}4칸"}, -- Magic Skin
|
[642] = {"하나", "2개", "소지 불가능 체력 1칸", "{{CR}}소지 불가능 체력 {{BlinkYellowRed}}2칸", "1칸 또는 {{SoulHeart}}2칸", "2칸 또는 {{SoulHeart}}4칸"}, -- Magic Skin
|
||||||
[605] = {"소환합니다", "2마리{{CR}} 소환합니다"}, -- Plum Flute
|
[650] = {"소환합니다", "2마리{{CR}} 소환합니다"}, -- Plum Flute
|
||||||
[687] = {"소환합니다", "2마리{{CR}} 소환합니다"}, -- Friend Finder
|
[687] = {"소환합니다", "2마리{{CR}} 소환합니다"}, -- Friend Finder
|
||||||
[705] = {"1초", "2초"}, -- Dark Arts
|
[705] = {"1초", "2초"}, -- Dark Arts
|
||||||
[712] = {"소환합니다", "2마리{{CR}} 소환합니다"}, -- Lemegeton
|
[712] = {"소환합니다", "2마리{{CR}} 소환합니다"}, -- Lemegeton
|
||||||
[712] = {"소환합니다", "2개{{CR}} 소환합니다"}, -- Keeper's Box
|
[719] = {"소환합니다", "2개{{CR}} 소환합니다"}, -- Keeper's Box
|
||||||
[720] = "똥을 추가로 쌉니다.", -- Everything Jar
|
[720] = "똥을 추가로 쌉니다.", -- Everything Jar
|
||||||
[722] = {"가장 가까운 적을", "가장 가까운 적 2마리를"}, --Anima Sola
|
[722] = {"가장 가까운 적을", "가장 가까운 적 2마리를"}, --Anima Sola
|
||||||
[723] = {"앞번호", "앞 2개 번호"}, -- Spindown Dice
|
[723] = {"앞번호", "앞 2개 번호"}, -- Spindown Dice
|
||||||
@@ -1199,23 +1199,23 @@ EID.descriptions[languageCode].GlitchedItemText = {
|
|||||||
[0] = "{{DamageSmall}}공격력", "{{TearsSmall}}연사(+상한)", "{{ShotspeedSmall}}탄속", "{{RangeSmall}}사거리", "{{SpeedSmall}}이동속도", "눈물효과", "눈물색깔", "비행", "공격 유형", "패밀리어", "{{LuckSmall}}행운", "캐릭터의 크기", "캐릭터의 색깔", "상자 내용물", [16] = "모든 능력치",
|
[0] = "{{DamageSmall}}공격력", "{{TearsSmall}}연사(+상한)", "{{ShotspeedSmall}}탄속", "{{RangeSmall}}사거리", "{{SpeedSmall}}이동속도", "눈물효과", "눈물색깔", "비행", "공격 유형", "패밀리어", "{{LuckSmall}}행운", "캐릭터의 크기", "캐릭터의 색깔", "상자 내용물", [16] = "모든 능력치",
|
||||||
|
|
||||||
-- Attribute triggers
|
-- Attribute triggers
|
||||||
chain = "그 다음:{{CR}} ",
|
chain = "체인:{{CR}} ",
|
||||||
active = "아이템 사용 시:#",
|
active = "아이템 사용 시:#",
|
||||||
pickup_collected = "픽업을 주울 시:#",
|
pickup_collected = "픽업을 주울 시:#",
|
||||||
enemy_kill = "적을 죽일 시 확률적으로 발동:#",
|
enemy_kill = "적을 죽일 시 20%의 확률로:#",
|
||||||
damage_taken = "캐릭터가 피격 시:#",
|
damage_taken = "캐릭터가 피격 시:#",
|
||||||
entity_spawned = "{T1}이/가 소환될 시:#",
|
entity_spawned = "{T1}이/가 소환될 시:#",
|
||||||
tear_fire = "눈물 발사 시 확률적으로 발동:#",
|
tear_fire = "눈물 발사 시 5%의 확률로:#",
|
||||||
enemy_hit = "적들이 피격 시 확률적으로 발동:#",
|
enemy_hit = "적 명중 시 5%의 확률로:#",
|
||||||
room_clear = "방 클리어 시:#",
|
room_clear = "방 클리어 시:#",
|
||||||
|
|
||||||
-- Attribute effects
|
-- Attribute effects
|
||||||
area_damage = "캐릭터 주변의 적에게 {1}의 피해를 줍니다.",
|
area_damage = "캐릭터 주변 {2} 범위 적에게 {1}의 피해를 줍니다.",
|
||||||
add_temporary_effect = "현재 방에서 {1} 아이템의 효과를 얻습니다.",
|
add_temporary_effect = "그 방에서 {1} 아이템의 효과를 얻습니다.",
|
||||||
convert_entities = "방 안의 {1}을/를 {2}(으)로 바꿉니다.",
|
convert_entities = "그 방의 {1}을/를 {2}(으)로 바꿉니다.",
|
||||||
use_active_item = "{1}을/를 사용합니다.",
|
use_active_item = "{1}을/를 사용합니다.",
|
||||||
spawn_entity = "{1}을/를 소환합니다.",
|
spawn_entity = "{1}을/를 소환합니다.",
|
||||||
fart = "{1}의 크기만큼 방귀를 뀝니다.",
|
fart = "{1}칸의 크기만큼 방귀를 뀝니다.",
|
||||||
|
|
||||||
-- Generic entity names not obtained from entities2.xml
|
-- Generic entity names not obtained from entities2.xml
|
||||||
-- This could also be a place to localize entity names; this table is read from before EID.XMLEntityNames
|
-- This could also be a place to localize entity names; this table is read from before EID.XMLEntityNames
|
||||||
@@ -1233,6 +1233,8 @@ EID.descriptions[languageCode].GlitchedItemText = {
|
|||||||
["999.-1"] = "장애물",
|
["999.-1"] = "장애물",
|
||||||
["1000.0"] = "효과",
|
["1000.0"] = "효과",
|
||||||
|
|
||||||
|
grants = "아이템 적용:#",
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1304,7 +1306,7 @@ EID.descriptions[languageCode].AchievementWarningText = "{{ColorRed}}지금 모
|
|||||||
|
|
||||||
EID.descriptions[languageCode].OldGameVersionWarningText = "리펜턴스가 최신 버전이 아닙니다!#최신 버전이 아닐 경우 모드 오류가 발생할 수 있습니다(1.7.9b).#(config 설정을 수정하여 메세지를 비활성화 할 수 있습니다.)"
|
EID.descriptions[languageCode].OldGameVersionWarningText = "리펜턴스가 최신 버전이 아닙니다!#최신 버전이 아닐 경우 모드 오류가 발생할 수 있습니다(1.7.9b).#(config 설정을 수정하여 메세지를 비활성화 할 수 있습니다.)"
|
||||||
|
|
||||||
EID.descriptions[languageCode].ModdedRecipesWarningText = "아이템 추가 모드나 아이템 배열 변경 모드가 적용되어 있을 경우 조합법이 일치하지 않을 수 있습니다.#조합법 설명을 숨기거나 BagOfCraftingDisplayRecipesMode를 Itempool percentage로 설정해 주세요.#(config 설정을 수정하여 해당 메세지를 비활성화 할 수 있습니다.)"
|
EID.descriptions[languageCode].ModdedRecipesWarningText = "아이템 추가 모드나 아이템 배열 변경 모드가 적용되어 있을 경우 조합법이 일치하지 않을 수 있습니다.#조합법 설명을 숨기거나 REPENTOGON 모드를 설치해 주세요.#(config 설정을 수정하여 해당 메세지를 비활성화 할 수 있습니다.)"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+13
-11
@@ -2,7 +2,7 @@
|
|||||||
----- Basic Chinese descriptions ---
|
----- Basic Chinese descriptions ---
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
-- Last Update: 2023.12.20
|
-- Last Update: 2023.12.25
|
||||||
-- FORMAT: Item ID | Name | Description
|
-- FORMAT: Item ID | Name | Description
|
||||||
|
|
||||||
-- Special character markup:
|
-- Special character markup:
|
||||||
@@ -399,7 +399,7 @@ local repCollectibles={
|
|||||||
[720] = {"720", "百宝罐", "使用时生成掉落物,使用时的充能不同,效果不同#满充能时具有强力随机效果#充能:1:便便 2:{{Coin}} 3:{{Bomb}} 4:{{Key}} 5:{{Heart}} 6:{{Pill}} 7:{{Card}} 8:{{SoulHeart}} 9:{{GoldenHeart}} 10:{{GoldenKey}} 11:{{GoldenBomb}}"}, -- Everything Jar
|
[720] = {"720", "百宝罐", "使用时生成掉落物,使用时的充能不同,效果不同#满充能时具有强力随机效果#充能:1:便便 2:{{Coin}} 3:{{Bomb}} 4:{{Key}} 5:{{Heart}} 6:{{Pill}} 7:{{Card}} 8:{{SoulHeart}} 9:{{GoldenHeart}} 10:{{GoldenKey}} 11:{{GoldenBomb}}"}, -- Everything Jar
|
||||||
[721] = {"721", "错误技", "使未来获得的所有物品混乱#其效果完全随机"}, -- TMTRAINER
|
[721] = {"721", "错误技", "使未来获得的所有物品混乱#其效果完全随机"}, -- TMTRAINER
|
||||||
[722] = {"722", "孤魂铁索", "禁锢离角色最近的敌人5秒"}, -- Anima Sola
|
[722] = {"722", "孤魂铁索", "禁锢离角色最近的敌人5秒"}, -- Anima Sola
|
||||||
[723] = {"723", "计数二十面骰", "将房间内所有道具转变为内部ID减1的道具"}, -- Spindown Dice
|
[723] = {"723", "计数二十面骰", "将房间内所有道具重置为内部ID减1的道具"}, -- Spindown Dice
|
||||||
[724] = {"724", "高凝血", "{{Heart}} 受伤时生成半红心或整红心#产生的红心在1.5秒后消失"}, -- Hypercoagulation
|
[724] = {"724", "高凝血", "{{Heart}} 受伤时生成半红心或整红心#产生的红心在1.5秒后消失"}, -- Hypercoagulation
|
||||||
[725] = {"725", "大肠激躁症", "造成足够伤害后,停止攻击并触发随机{{Player25}}堕化???的效果:#投掷随机便便#生成增益水迹#放有毒的屁#放置5个激活的炸弹"}, -- IBS
|
[725] = {"725", "大肠激躁症", "造成足够伤害后,停止攻击并触发随机{{Player25}}堕化???的效果:#投掷随机便便#生成增益水迹#放有毒的屁#放置5个激活的炸弹"}, -- IBS
|
||||||
[726] = {"726", "咯血症", "双击发射键咯血#{{Damage}} 对前方的敌人造成150%角色伤害#1秒冷却时间#{{BrimstoneCurse}} 被击中的敌人会受到硫磺火束的额外伤害"}, -- Hemoptysis
|
[726] = {"726", "咯血症", "双击发射键咯血#{{Damage}} 对前方的敌人造成150%角色伤害#1秒冷却时间#{{BrimstoneCurse}} 被击中的敌人会受到硫磺火束的额外伤害"}, -- Hemoptysis
|
||||||
@@ -418,10 +418,10 @@ EID:updateDescriptionsViaTable(repCollectibles, EID.descriptions[languageCode].c
|
|||||||
EID.descriptions[languageCode].birthright ={
|
EID.descriptions[languageCode].birthright ={
|
||||||
{"以撒", "", "所有道具在2个选择间切换"},
|
{"以撒", "", "所有道具在2个选择间切换"},
|
||||||
{"抹大拉", "", "↑ +1心之容器#心上限提高到18"},
|
{"抹大拉", "", "↑ +1心之容器#心上限提高到18"},
|
||||||
{"该隐", "", "↑ {{Luck}} +1运气#除暗室和宝箱层外,所有层都含有一个升级的赌博房#极大增强{{Collectible46}}幸运脚的获胜几率提高的效果"},
|
{"该隐", "", "↑ {{Luck}} +1运气#除暗室、玩具箱、???、虚空,家层外,所有层都含有一个升级的赌博房#极大增强{{Collectible46}}幸运脚的获胜几率提高的效果"},
|
||||||
{"犹大", "", "{{Collectible34}}彼列之书变成类似于{{Collectible584}}美德之书的被动道具#如果未持有{{Collectible34}}彼列之书则获得彼列之书#获得的伤害加成与在其上的主动道具充能量成比例#对特定的主动道具会获得特殊效果"},
|
{"犹大", "", "{{Collectible34}}彼列之书变成类似于{{Collectible584}}美德之书的被动道具#如果未持有{{Collectible34}}彼列之书则获得彼列之书#获得的伤害加成与在其上的主动道具充能量成比例#对特定的主动道具会获得特殊效果"},
|
||||||
{"???", "", "生命提升获得的魂心翻倍"},
|
{"???", "", "生命提升获得的魂心翻倍"},
|
||||||
{"夏娃", "", "无论血量如何,巴比伦娼妇始终激活#不受伤死鸟也会激活"},
|
{"夏娃", "", "巴比伦大淫妇和死鸟始终激活"},
|
||||||
{"参孙", "", "嗜血获得额外4次伤害加成,新的上限为+14伤害"},
|
{"参孙", "", "嗜血获得额外4次伤害加成,新的上限为+14伤害"},
|
||||||
{"阿撒泻勒", "", "阿撒泻勒的硫磺火变得更宽,就像超级喷射一样#对伤害无影响"},
|
{"阿撒泻勒", "", "阿撒泻勒的硫磺火变得更宽,就像超级喷射一样#对伤害无影响"},
|
||||||
{"拉撒路", "", "无特殊效果,除非死亡并以复活的拉撒路重生#{{Damage}} 复活的拉撒路+7.2额外伤害#额外伤害在接下来的一分钟内逐渐衰退#击杀敌人可以延长获得额外伤害的时间"},
|
{"拉撒路", "", "无特殊效果,除非死亡并以复活的拉撒路重生#{{Damage}} 复活的拉撒路+7.2额外伤害#额外伤害在接下来的一分钟内逐渐衰退#击杀敌人可以延长获得额外伤害的时间"},
|
||||||
@@ -431,20 +431,20 @@ EID.descriptions[languageCode].birthright ={
|
|||||||
{"黑暗犹大", "", "{{Collectible34}}彼列之书变成类似于{{Collectible584}}美德之书的被动道具#如果未持有{{Collectible34}}彼列之书则获得彼列之书#获得的伤害加成与在其上的主动道具充能量成比例"},
|
{"黑暗犹大", "", "{{Collectible34}}彼列之书变成类似于{{Collectible584}}美德之书的被动道具#如果未持有{{Collectible34}}彼列之书则获得彼列之书#获得的伤害加成与在其上的主动道具充能量成比例"},
|
||||||
{"莉莉丝", "", "跟班在莉莉丝面前位置"},
|
{"莉莉丝", "", "跟班在莉莉丝面前位置"},
|
||||||
{"店主", "", "↑ +1心之容器"},
|
{"店主", "", "↑ +1心之容器"},
|
||||||
{"亚玻伦", "", "使用{{Collectible477}}虚空时有几率生成之前被虚空化的道具#属性加成保留#使用的次数越多,生成道具的几率越高"},
|
{"亚玻伦", "", "使用{{Collectible477}}虚空时有几率生成之前被虚空吸收的道具#属性加成保留#使用的次数越多,生成道具的几率越高"},
|
||||||
{"遗骸", "", "灵魂不再受锁,可自由移动"},
|
{"遗骸", "", "灵魂不再受锁,可自由移动"},
|
||||||
{"遗骸之魂", "", "灵魂不再受锁,可自由移动"},
|
{"遗骸之魂", "", "灵魂不再受锁,可自由移动"},
|
||||||
{"伯大尼", "", "使用魂心充能主动道具时几率不消耗魂心"},
|
{"伯大尼", "", "使用魂心充能主动道具时几率不消耗魂心"},
|
||||||
{"雅各", "", "拿起这个道具的角色获得另1个角色3个被动道具的复制"},
|
{"雅各", "", "拿起这个道具的角色获得另1个角色3个被动道具的复制"},
|
||||||
{"以扫", "", "拿起这个道具的角色获得另1个角色3个被动道具的复制"},
|
{"以扫", "", "拿起这个道具的角色获得另1个角色3个被动道具的复制"},
|
||||||
{"堕化以撒", "", "增加4个额外被动道具槽位#本身不占用槽位"},
|
{"堕化以撒", "", "增加4个额外被动道具槽位#本身不占用槽位"},
|
||||||
{"堕化抹大拉", "", "增加1不流失的红心"},
|
{"堕化抹大拉", "", "↑ 增加1不流失的红心#恢复1红心"},
|
||||||
{"堕化该隐", "", "道具生成的掉落物数量翻倍"},
|
{"堕化该隐", "", "道具分解生成的掉落物数量翻倍"},
|
||||||
{"堕化犹大", "", "{{Collectible705}}暗仪刺刀击中敌人和弹幕的范围变大"},
|
{"堕化犹大", "", "{{Collectible705}}暗仪刺刀击中敌人和弹幕的范围变大"},
|
||||||
{"堕化???", "", "增加便便最大携带量为29"},
|
{"堕化???", "", "增加便便最大携带量为29"},
|
||||||
{"堕化夏娃", "", "死亡的红心血凝块生成红心,2秒后消失"},
|
{"堕化夏娃", "", "死亡的红心血凝块生成红心,2秒后消失"},
|
||||||
{"堕化参孙", "", "堕化参孙杀死敌人时狂暴计时器增加3秒而不是1秒"},
|
{"堕化参孙", "", "堕化参孙杀死敌人时狂暴计时器增加3秒而不是1秒"},
|
||||||
{"堕化阿撒泻勒", "", "堕化阿撒泻勒的{{Collectible726}}咯血症攻击大小加倍"},
|
{"堕化阿撒泻勒", "", "堕化阿撒泻勒的{{Collectible726}}咯血症攻击范围加倍"},
|
||||||
{"堕化拉撒路", "", "生成另一种状态的角色的幻影作为副角色#幻影免疫伤害,可以发射眼泪,造成25%的伤害#主角色对首领的伤害降低20%#两个角色都有长子名分的效果"},
|
{"堕化拉撒路", "", "生成另一种状态的角色的幻影作为副角色#幻影免疫伤害,可以发射眼泪,造成25%的伤害#主角色对首领的伤害降低20%#两个角色都有长子名分的效果"},
|
||||||
{"堕化伊甸", "", "在长子权之前拿到的被动和主动道具不再因为受伤而重置"},
|
{"堕化伊甸", "", "在长子权之前拿到的被动和主动道具不再因为受伤而重置"},
|
||||||
{"堕化游魂", "", "获得1额外生命#复活的游魂在相同房间中重生并对附近敌人造成200点伤害"},
|
{"堕化游魂", "", "获得1额外生命#复活的游魂在相同房间中重生并对附近敌人造成200点伤害"},
|
||||||
@@ -700,7 +700,7 @@ EID.descriptions[languageCode].abyssSynergies = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- Effect of Car battery on Active Items
|
-- Effect of Car battery on Active Items
|
||||||
EID.descriptions[languageCode].carBattery = {
|
local repCarBattery = {
|
||||||
[323] = "泪弹造成两次伤害", -- Isaac's Tears
|
[323] = "泪弹造成两次伤害", -- Isaac's Tears
|
||||||
[421] = "", -- Kidney Bean, 双倍放屁伤害于忏悔移除
|
[421] = "", -- Kidney Bean, 双倍放屁伤害于忏悔移除
|
||||||
[489] = "触发两次当前所选择骰子的效果", -- D Infinity
|
[489] = "触发两次当前所选择骰子的效果", -- D Infinity
|
||||||
@@ -708,12 +708,14 @@ EID.descriptions[languageCode].carBattery = {
|
|||||||
[556] = "获得两次硫磺火,给予额外伤害", -- Sulfur
|
[556] = "获得两次硫磺火,给予额外伤害", -- Sulfur
|
||||||
[584] = "双倍魂火", -- Book of Virtues
|
[584] = "双倍魂火", -- Book of Virtues
|
||||||
[605] = "生成两个窥眼跟班,不给予额外伤害", -- The Scooper
|
[605] = "生成两个窥眼跟班,不给予额外伤害", -- The Scooper
|
||||||
[609] = "道具消失的几率提高", -- Eternal D6
|
[609] = "道具消失的概率提高", -- Eternal D6
|
||||||
[625] = "效果持续60秒", -- Mega Mush
|
[625] = "效果持续60秒", -- Mega Mush
|
||||||
[705] = "暗影效果持续2秒", -- Dark Arts
|
[705] = "暗影效果持续2秒", -- Dark Arts
|
||||||
[720] = "随掉落物一起生成一个大便", -- Everything Jar
|
[720] = "随掉落物一起生成一个大便", -- Everything Jar
|
||||||
[723] = "转变为内部ID减2的道具", -- Spindown Dice
|
[723] = "重置为内部ID减2的道具", -- Spindown Dice
|
||||||
}
|
}
|
||||||
|
--EID.descriptions[languageCode].carBattery[284] = nil -- D4
|
||||||
|
EID:updateDescriptionsViaTable(repCarBattery, EID.descriptions[languageCode].carBattery)
|
||||||
|
|
||||||
---------- Trinkets ----------
|
---------- Trinkets ----------
|
||||||
|
|
||||||
|
|||||||
+10
-41
@@ -608,7 +608,7 @@ function EID:getObjectName(Type, Variant, SubType)
|
|||||||
elseif tableName == "dice" then
|
elseif tableName == "dice" then
|
||||||
return EID:getDescriptionEntry("diceHeader").." ("..SubType..")"
|
return EID:getDescriptionEntry("diceHeader").." ("..SubType..")"
|
||||||
elseif tableName == "custom" then
|
elseif tableName == "custom" then
|
||||||
local xmlName = EID.XMLEntityNames[Type.."."..Variant] or EID.XMLEntityNames[Type.."."..Variant.."."..SubType]
|
local xmlName = EID:GetEntityXMLName(Type, Variant, SubType)
|
||||||
return name or xmlName or Type.."."..Variant.."."..SubType
|
return name or xmlName or Type.."."..Variant.."."..SubType
|
||||||
end
|
end
|
||||||
return Type.."."..Variant.."."..SubType
|
return Type.."."..Variant.."."..SubType
|
||||||
@@ -1167,45 +1167,6 @@ function EID:PlayersHaveCharacter(playerType)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Obtains information about glitched items from the ItemConfig (hearts added on pickup, cacheflags affected), returns string of info
|
|
||||||
local itemConfigItemAttributes = { "AddMaxHearts", "AddHearts", "AddSoulHearts", "AddBlackHearts", "AddBombs", "AddCoins", "AddKeys", "CacheFlags" }
|
|
||||||
function EID:CheckGlitchedItemConfig(id)
|
|
||||||
local localizedNames = EID:getDescriptionEntry("GlitchedItemText")
|
|
||||||
local item = EID.itemConfig:GetCollectible(id)
|
|
||||||
if not item then return "" end
|
|
||||||
local attributes = "#"
|
|
||||||
for _,v in ipairs(itemConfigItemAttributes) do
|
|
||||||
local val = item[v]
|
|
||||||
if val ~= 0 then
|
|
||||||
if (v == "CacheFlags") then
|
|
||||||
local flagString = localizedNames["cacheFlagStart"]
|
|
||||||
if val == CacheFlag.CACHE_ALL then
|
|
||||||
flagString = flagString .. localizedNames[16]
|
|
||||||
else
|
|
||||||
for i=0, 13 do
|
|
||||||
if 2^i & val ~= 0 then
|
|
||||||
flagString = flagString .. localizedNames[i] .. ", "
|
|
||||||
end
|
|
||||||
end
|
|
||||||
flagString = string.sub(flagString, 0, -3) -- remove final comma
|
|
||||||
end
|
|
||||||
attributes = attributes .. flagString .. "#"
|
|
||||||
else
|
|
||||||
-- the Add Heart attributes count half a heart as 1, so divide the value in half
|
|
||||||
if string.find(v, "Hearts") then val = val / 2 end
|
|
||||||
-- the g flag removes .0 in numbers like 1.0 (caused by the hearts division)
|
|
||||||
local s = string.format("%.4g",val)
|
|
||||||
local prefix = "↑ "
|
|
||||||
if val > 0 then s = "+" .. s else prefix = "↓ " end
|
|
||||||
attributes = attributes .. prefix .. string.gsub(localizedNames[v], "{1}", s)
|
|
||||||
if val ~= 1 and val ~= -1 then attributes = attributes .. localizedNames["pluralize"] end
|
|
||||||
attributes = attributes .. "#"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return attributes
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Converts a given CollectibleID into the respective Spindown dice result
|
-- Converts a given CollectibleID into the respective Spindown dice result
|
||||||
function EID:getSpindownResult(collectibleID)
|
function EID:getSpindownResult(collectibleID)
|
||||||
if collectibleID <= 0 or collectibleID > 4294960000 then return 0 end
|
if collectibleID <= 0 or collectibleID > 4294960000 then return 0 end
|
||||||
@@ -1702,7 +1663,10 @@ function EID:evaluateTransformationProgress(transformation)
|
|||||||
|
|
||||||
if not EID.TransformationLookup[transformation] then return end
|
if not EID.TransformationLookup[transformation] then return end
|
||||||
|
|
||||||
if transformData and transformData.VanillaForm and player:HasPlayerForm(transformData.VanillaForm) then
|
if REPENTOGON and transformData and transformData.VanillaForm then
|
||||||
|
-- REPENTOGON lets us ignore everything else for vanilla transformation progress
|
||||||
|
EID.TransformationProgress[i][transformation] = player:GetPlayerFormCounter(transformData.VanillaForm)
|
||||||
|
elseif transformData and transformData.VanillaForm and player:HasPlayerForm(transformData.VanillaForm) then
|
||||||
EID.TransformationProgress[i][transformation] = transformData.NumNeeded or 3
|
EID.TransformationProgress[i][transformation] = transformData.NumNeeded or 3
|
||||||
else
|
else
|
||||||
local pickupHistory = EID.PlayerItemInteractions[i].pickupHistory
|
local pickupHistory = EID.PlayerItemInteractions[i].pickupHistory
|
||||||
@@ -1958,3 +1922,8 @@ end
|
|||||||
function EID:WasPillUsed(pillColor)
|
function EID:WasPillUsed(pillColor)
|
||||||
return EID.UsedPillColors[tostring(pillColor)] ~= nil
|
return EID.UsedPillColors[tostring(pillColor)] ~= nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- returns the name of the given entity
|
||||||
|
function EID:GetEntityXMLName(Type, Variant, SubType)
|
||||||
|
return EID.XMLEntityNames[Type.."."..Variant] or EID.XMLEntityNames[Type.."."..Variant.."."..SubType]
|
||||||
|
end
|
||||||
+25
-42
@@ -526,45 +526,28 @@ local function GameStartCrafting()
|
|||||||
CraftingItemAllowed[item.ID] = EID:isCollectibleAllowed(item.ID)
|
CraftingItemAllowed[item.ID] = EID:isCollectibleAllowed(item.ID)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if not EID:PlayersHaveCollectible(CollectibleType.COLLECTIBLE_TMTRAINER) then
|
-- Use REPENTOGON to support modded items / updating the XML item pools
|
||||||
-- Check for modded items past the known max item ID on game start (can also support game updates)
|
if REPENTOGON and not moddedCrafting then
|
||||||
-- Only works if the new items are at Weight 1.0 in their item pools, but better than nothing
|
-- Add modded items
|
||||||
if EID.Config["BagOfCraftingModdedRecipes"] and EID.itemConfig:GetCollectible(EID.XMLMaxItemID+1) ~= nil and not moddedCrafting then
|
CraftingMaxItemID = EID.XMLMaxItemID
|
||||||
-- Save last pool
|
local coll = EID.itemConfig:GetCollectible(CraftingMaxItemID+1)
|
||||||
local itemPool = game:GetItemPool()
|
while coll ~= nil do
|
||||||
local lastPool = itemPool:GetLastPool()
|
CraftingMaxItemID = CraftingMaxItemID + 1
|
||||||
-- Items past max ID detected
|
CraftingItemQualities[coll.ID] = coll.CraftingQuality or coll.Quality
|
||||||
CraftingMaxItemID = EID.XMLMaxItemID -- XMLMaxItemID is never modified
|
CraftingItemAllowed[coll.ID] = true
|
||||||
-- Add new item qualities
|
coll = EID.itemConfig:GetCollectible(CraftingMaxItemID+1)
|
||||||
local coll = EID.itemConfig:GetCollectible(CraftingMaxItemID+1)
|
end
|
||||||
while coll ~= nil do
|
-- Redo the entire item pool table, not just add modded items, in case of mods messing the vanilla ones up
|
||||||
CraftingMaxItemID = CraftingMaxItemID + 1
|
local itemPool = game:GetItemPool()
|
||||||
CraftingItemQualities[coll.ID] = coll.CraftingQuality or coll.Quality
|
for poolNum,_ in pairs(poolToIcon) do
|
||||||
CraftingItemAllowed[coll.ID] = true
|
CraftingItemPools[poolNum+1] = {}
|
||||||
coll = EID.itemConfig:GetCollectible(CraftingMaxItemID+1)
|
local thePool = itemPool:GetCollectiblesFromPool(poolNum)
|
||||||
|
for _,collTable in pairs(thePool) do
|
||||||
|
table.insert(CraftingItemPools[poolNum+1], {collTable.itemID, collTable.weight})
|
||||||
end
|
end
|
||||||
-- Add new items to the crafting item pools, assuming Weight 1.0
|
|
||||||
for poolNum,_ in pairs(poolToIcon) do
|
|
||||||
for i=1,EID.XMLMaxItemID do itemPool:AddRoomBlacklist(i) end
|
|
||||||
|
|
||||||
local collID = itemPool:GetCollectible(poolNum, false, 1, 25)
|
|
||||||
local attempts = CraftingMaxItemID
|
|
||||||
while collID ~= 25 and collID ~= 642 and collID > 0 and attempts > 0 do
|
|
||||||
attempts = attempts - 1
|
|
||||||
table.insert(CraftingItemPools[poolNum+1], {collID, 1.0})
|
|
||||||
itemPool:AddRoomBlacklist(collID)
|
|
||||||
collID = itemPool:GetCollectible(poolNum, false, 1, 25)
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Do getCollectible again to revert last pool
|
|
||||||
itemPool:GetCollectible(lastPool, false, 1, 25)
|
|
||||||
|
|
||||||
itemPool:ResetRoomBlacklist()
|
|
||||||
end
|
|
||||||
moddedCrafting = true
|
|
||||||
end
|
end
|
||||||
|
|
||||||
sortNeeded = true
|
sortNeeded = true
|
||||||
|
moddedCrafting = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
EID:AddCallback(ModCallbacks.MC_POST_GAME_STARTED, GameStartCrafting)
|
EID:AddCallback(ModCallbacks.MC_POST_GAME_STARTED, GameStartCrafting)
|
||||||
@@ -586,7 +569,7 @@ EID:AddCallback(ModCallbacks.MC_PRE_PICKUP_COLLISION, function(_, pickup,collide
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- Formerly a MC_POST_PICKUP_UPDATE, but moved to this so that it's only called when we own a bag
|
-- Formerly a MC_POST_PICKUP_UPDATE, but moved to this so that it's only called when we own a bag
|
||||||
local function checkForPickups()
|
function EID:BoCCheckForPickups()
|
||||||
for _,pickup in ipairs(Isaac.FindByType(EntityType.ENTITY_PICKUP, -1, -1, false, false)) do
|
for _,pickup in ipairs(Isaac.FindByType(EntityType.ENTITY_PICKUP, -1, -1, false, false)) do
|
||||||
if pickup:GetSprite():GetAnimation() == "Collect" and not pickupsCollected[pickup.Index] then
|
if pickup:GetSprite():GetAnimation() == "Collect" and not pickupsCollected[pickup.Index] then
|
||||||
pickupsCollected[pickup.Index] = true
|
pickupsCollected[pickup.Index] = true
|
||||||
@@ -623,7 +606,7 @@ end)
|
|||||||
--Tainted Cain "hold to craft" check
|
--Tainted Cain "hold to craft" check
|
||||||
local holdCounter = 0
|
local holdCounter = 0
|
||||||
local icount = 0
|
local icount = 0
|
||||||
local function trackBagHolding()
|
function EID:BoCTrackBagHolding()
|
||||||
if not IsTaintedCain() then return end
|
if not IsTaintedCain() then return end
|
||||||
local isCardHold = Input.IsActionPressed(ButtonAction.ACTION_PILLCARD, EID.bagPlayer.ControllerIndex)
|
local isCardHold = Input.IsActionPressed(ButtonAction.ACTION_PILLCARD, EID.bagPlayer.ControllerIndex)
|
||||||
local animationName = EID.bagPlayer:GetSprite():GetAnimation()
|
local animationName = EID.bagPlayer:GetSprite():GetAnimation()
|
||||||
@@ -656,7 +639,7 @@ local function shiftBagContent()
|
|||||||
EID.BoC.BagItems = newContent
|
EID.BoC.BagItems = newContent
|
||||||
end
|
end
|
||||||
-- only Tainted Cain's consumable slot bag can have its ingredients shifted
|
-- only Tainted Cain's consumable slot bag can have its ingredients shifted
|
||||||
local function detectBagContentShift()
|
function EID:BoCDetectBagContentShift()
|
||||||
if Input.IsActionTriggered(ButtonAction.ACTION_DROP, EID.bagPlayer.ControllerIndex) and IsTaintedCain() then
|
if Input.IsActionTriggered(ButtonAction.ACTION_DROP, EID.bagPlayer.ControllerIndex) and IsTaintedCain() then
|
||||||
shiftBagContent()
|
shiftBagContent()
|
||||||
end
|
end
|
||||||
@@ -931,9 +914,9 @@ function EID:handleBagOfCraftingUpdating()
|
|||||||
lastSeedUsed = curSeed
|
lastSeedUsed = curSeed
|
||||||
|
|
||||||
-- watch for holding the Craft button, and pressing the ingredient shift button
|
-- watch for holding the Craft button, and pressing the ingredient shift button
|
||||||
trackBagHolding()
|
EID:BoCTrackBagHolding()
|
||||||
detectBagContentShift()
|
EID:BoCDetectBagContentShift()
|
||||||
if EID.GameRenderCount % 2 == 0 then checkForPickups() end
|
if EID.GameRenderCount % 2 == 0 then EID:BoCCheckForPickups() end
|
||||||
|
|
||||||
-- Check for Hide/Preview hotkeys; prevent them from triggering while in MCM
|
-- Check for Hide/Preview hotkeys; prevent them from triggering while in MCM
|
||||||
if not ModConfigMenu or not ModConfigMenu.IsVisible then
|
if not ModConfigMenu or not ModConfigMenu.IsVisible then
|
||||||
|
|||||||
+28
-13
@@ -274,11 +274,10 @@ EID.UserConfig = {
|
|||||||
---------- Glitched Items ---------
|
---------- Glitched Items ---------
|
||||||
|
|
||||||
-- Toggle Display of Glitched Item (TMTRAINER) descriptions
|
-- Toggle Display of Glitched Item (TMTRAINER) descriptions
|
||||||
-- Note: The --luadebug launch option is required for more detailed glitched item descriptions
|
-- Note: Installing REPENTOGON is required for more detailed glitched item descriptions
|
||||||
-- This option allows mods to have access to your files, breaks some mods, and should be turned on at your own risk!
|
-- Without REPENTOGON, you still can see the effect the item will have on your Hearts, and what stats it might modify
|
||||||
-- Without --luadebug, you still can see the effect the item will have on your Hearts, and what stats it might modify
|
-- Default = false
|
||||||
-- Default = false, unless luadebug is on
|
["DisplayGlitchedItemInfo"] = false,
|
||||||
["DisplayGlitchedItemInfo"] = debug and true or false,
|
|
||||||
|
|
||||||
---------- Sacrifice Room ----------
|
---------- Sacrifice Room ----------
|
||||||
|
|
||||||
@@ -362,7 +361,6 @@ EID.UserConfig = {
|
|||||||
-- "Preview Only" shows the description of the item you can currently craft in your bag
|
-- "Preview Only" shows the description of the item you can currently craft in your bag
|
||||||
-- "Item Probability" shows percentages of what item you might get from your bag / best option on the floor, for a more intended experience
|
-- "Item Probability" shows percentages of what item you might get from your bag / best option on the floor, for a more intended experience
|
||||||
-- "Pickups Only" just shows the room/floor pickup count
|
-- "Pickups Only" just shows the room/floor pickup count
|
||||||
-- ("Item Probability" is recommended if you have modded items)
|
|
||||||
-- Default = "Recipe List"
|
-- Default = "Recipe List"
|
||||||
["BagOfCraftingDisplayRecipesMode"] = "Recipe List",
|
["BagOfCraftingDisplayRecipesMode"] = "Recipe List",
|
||||||
-- Hide the recipe list when in battle
|
-- Hide the recipe list when in battle
|
||||||
@@ -389,11 +387,6 @@ EID.UserConfig = {
|
|||||||
-- Display recipes as 8 icons instead of grouped ingredients
|
-- Display recipes as 8 icons instead of grouped ingredients
|
||||||
-- Default = false
|
-- Default = false
|
||||||
["BagOfCraftingDisplayIcons"] = false,
|
["BagOfCraftingDisplayIcons"] = false,
|
||||||
-- Enable or disable basic modded item support
|
|
||||||
-- Only modded items with a weight of 1.0 in their item pools are supported, as we can't determine modded item pool weight
|
|
||||||
-- If you have a lot of modded items, it will slow down game launch
|
|
||||||
-- Default = true
|
|
||||||
["BagOfCraftingModdedRecipes"] = true,
|
|
||||||
-- Set the keybinding to toggle the crafting display, so you can see descriptions of items/pickups on the floor
|
-- Set the keybinding to toggle the crafting display, so you can see descriptions of items/pickups on the floor
|
||||||
-- Look into the AB+ or Repentance documentation for the key names here: https://wofsauge.github.io/IsaacDocs/rep/enums/Keyboard.html
|
-- Look into the AB+ or Repentance documentation for the key names here: https://wofsauge.github.io/IsaacDocs/rep/enums/Keyboard.html
|
||||||
-- Default = Keyboard.KEY_F3
|
-- Default = Keyboard.KEY_F3
|
||||||
@@ -421,6 +414,10 @@ EID.UserConfig = {
|
|||||||
-- Default: 0 (Deactivate all Savegame features)
|
-- Default: 0 (Deactivate all Savegame features)
|
||||||
["SaveGameNumber"] = 0,
|
["SaveGameNumber"] = 0,
|
||||||
|
|
||||||
|
-- Highlight items, if they need to be collected for the collection page
|
||||||
|
-- Default: true
|
||||||
|
["ItemCollectionIndicator"] = true,
|
||||||
|
|
||||||
-- Color in which the name of an item should be highlighted, which needs to be collected for the collection page
|
-- Color in which the name of an item should be highlighted, which needs to be collected for the collection page
|
||||||
-- Color names are defined in "eid_data.lua" (line 365)
|
-- Color names are defined in "eid_data.lua" (line 365)
|
||||||
-- Default: "ColorFade"
|
-- Default: "ColorFade"
|
||||||
@@ -436,6 +433,20 @@ EID.UserConfig = {
|
|||||||
-- Default = false
|
-- Default = false
|
||||||
["ShowCursor"] = false,
|
["ShowCursor"] = false,
|
||||||
|
|
||||||
|
|
||||||
|
---------- Repentogon ----------
|
||||||
|
-- The following options only affect features that require the API extention "Repentogon" to be installed.
|
||||||
|
-- Website: https://repentogon.com/index.html
|
||||||
|
|
||||||
|
-- Toggles descriptions to be visible, when using the item collection page in the main menu.
|
||||||
|
-- Default = true
|
||||||
|
["RGON_ShowOnCollectionPage"] = true,
|
||||||
|
|
||||||
|
-- Toggles achievement progress descriptions for donation machines
|
||||||
|
-- Default = true
|
||||||
|
["RGON_DonationMachineDescriptions"] = true,
|
||||||
|
|
||||||
|
|
||||||
---------- Misc ----------
|
---------- Misc ----------
|
||||||
|
|
||||||
-- Changes the number of results shown for the additional Spindown Dice description
|
-- Changes the number of results shown for the additional Spindown Dice description
|
||||||
@@ -552,7 +563,7 @@ EID.DefaultConfig = {
|
|||||||
["DisplayObstructedPillInfo"] = false,
|
["DisplayObstructedPillInfo"] = false,
|
||||||
["OnlyShowPillWhenUsedAtLeastOnce"] = false,
|
["OnlyShowPillWhenUsedAtLeastOnce"] = false,
|
||||||
["ShowUnidentifiedPillDescriptions"] = false,
|
["ShowUnidentifiedPillDescriptions"] = false,
|
||||||
["DisplayGlitchedItemInfo"] = debug and true or false,
|
["DisplayGlitchedItemInfo"] = false,
|
||||||
["DisplaySacrificeInfo"] = true,
|
["DisplaySacrificeInfo"] = true,
|
||||||
["DisplaySanguineInfo"] = true,
|
["DisplaySanguineInfo"] = true,
|
||||||
["PredictionSanguineBond"] = false,
|
["PredictionSanguineBond"] = false,
|
||||||
@@ -568,7 +579,6 @@ EID.DefaultConfig = {
|
|||||||
["BagOfCraftingHideInBattle"] = true,
|
["BagOfCraftingHideInBattle"] = true,
|
||||||
["BagOfCraftingShowControls"] = true,
|
["BagOfCraftingShowControls"] = true,
|
||||||
["BagOfCraftingDisplayRecipesMode"] = "Recipe List",
|
["BagOfCraftingDisplayRecipesMode"] = "Recipe List",
|
||||||
["BagOfCraftingModdedRecipes"] = true,
|
|
||||||
["CraftingHideKey"] = Keyboard.KEY_F3,
|
["CraftingHideKey"] = Keyboard.KEY_F3,
|
||||||
["CraftingHideButton"] = -1,
|
["CraftingHideButton"] = -1,
|
||||||
["CraftingResultKey"] = Keyboard.KEY_F4,
|
["CraftingResultKey"] = Keyboard.KEY_F4,
|
||||||
@@ -589,9 +599,14 @@ EID.DefaultConfig = {
|
|||||||
["SpindownDiceDisplayName"] = false,
|
["SpindownDiceDisplayName"] = false,
|
||||||
["SpindownDiceSkipLocked"] = false,
|
["SpindownDiceSkipLocked"] = false,
|
||||||
["SaveGameNumber"] = 0,
|
["SaveGameNumber"] = 0,
|
||||||
|
["ItemCollectionIndicator"] = true,
|
||||||
["ItemCollectionColor"] = "ColorFade",
|
["ItemCollectionColor"] = "ColorFade",
|
||||||
["EnableMouseControls"] = false,
|
["EnableMouseControls"] = false,
|
||||||
["ShowCursor"] = false,
|
["ShowCursor"] = false,
|
||||||
|
|
||||||
|
["RGON_ShowOnCollectionPage"] = true,
|
||||||
|
["RGON_DonationMachineDescriptions"] = true,
|
||||||
|
|
||||||
["ErrorMessage"] = "[Effect not defined]",
|
["ErrorMessage"] = "[Effect not defined]",
|
||||||
["TextColor"] = "ColorEIDText",
|
["TextColor"] = "ColorEIDText",
|
||||||
["ErrorColor"] = "ColorEIDError",
|
["ErrorColor"] = "ColorEIDError",
|
||||||
|
|||||||
@@ -894,3 +894,10 @@ EID.TransformationData = {
|
|||||||
EID.RoomShapeToMarkup = { "{{Room}}", "{{RoomSmallHorizontal}}", "{{RoomSmallVertical}}", "{{RoomLongVertical}}", "{{RoomLongThinVertical}}","{{RoomLongHorizontal}}", "{{RoomLongThinHorizontal}}", "{{RoomXL}}", "{{RoomLTopLeft}}", "{{RoomL}}", "{{RoomLBottomLeft}}", "{{RoomLBottomRight}}" }
|
EID.RoomShapeToMarkup = { "{{Room}}", "{{RoomSmallHorizontal}}", "{{RoomSmallVertical}}", "{{RoomLongVertical}}", "{{RoomLongThinVertical}}","{{RoomLongHorizontal}}", "{{RoomLongThinHorizontal}}", "{{RoomXL}}", "{{RoomLTopLeft}}", "{{RoomL}}", "{{RoomLBottomLeft}}", "{{RoomLBottomRight}}" }
|
||||||
EID.RoomTypeToMarkup = { "{{Room}}", "{{Shop}}", "{{ErrorRoom}}", "{{TreasureRoom}}", "{{BossRoom}}", "{{MiniBoss}}", "{{SecretRoom}}", "{{SuperSecretRoom}}", "{{ArcadeRoom}}", "{{CursedRoom}}", "{{ChallengeRoom}}", "{{Library}}", "{{SacrificeRoom}}", "{{DevilRoom}}", "{{AngelRoom}}", "{{LadderRoom}}", "{{Room}}" --[[boss rush]], "{{IsaacsRoom}}", "{{BarrenRoom}}", "{{ChestRoom}}", "{{DiceRoom}}", "{{Shop}}", "{{Room}}", --[[Black Market / Greed Exit]] "{{Planetarium}}", "{{Teleporter}}","{{Teleporter}}", "{{Room}}", "{{Room}}" --[[Blue Key rooms]], "{{UltraSecretRoom}}" }
|
EID.RoomTypeToMarkup = { "{{Room}}", "{{Shop}}", "{{ErrorRoom}}", "{{TreasureRoom}}", "{{BossRoom}}", "{{MiniBoss}}", "{{SecretRoom}}", "{{SuperSecretRoom}}", "{{ArcadeRoom}}", "{{CursedRoom}}", "{{ChallengeRoom}}", "{{Library}}", "{{SacrificeRoom}}", "{{DevilRoom}}", "{{AngelRoom}}", "{{LadderRoom}}", "{{Room}}" --[[boss rush]], "{{IsaacsRoom}}", "{{BarrenRoom}}", "{{ChestRoom}}", "{{DiceRoom}}", "{{Shop}}", "{{Room}}", --[[Black Market / Greed Exit]] "{{Planetarium}}", "{{Teleporter}}","{{Teleporter}}", "{{Room}}", "{{Room}}" --[[Blue Key rooms]], "{{UltraSecretRoom}}" }
|
||||||
EID.ItemPoolTypeToMarkup = { [0] = "{{ItemPoolTreasure}}", "{{ItemPoolShop}}", "{{ItemPoolBoss}}", "{{ItemPoolDevil}}", "{{ItemPoolAngel}}", "{{ItemPoolSecret}}", "{{ItemPoolLibrary}}", "{{ItemPoolShellGame}}", "{{ItemPoolGoldenChest}}", "{{ItemPoolRedChest}}", "{{ItemPoolBeggar}}", "{{ItemPoolDemonBeggar}}", "{{ItemPoolCurse}}", "{{ItemPoolKeyMaster}}", "{{ItemPoolBombBum}}", "{{ItemPoolMomsChest}}", "{{ItemPoolGreedTreasure}}", "{{ItemPoolGreedShop}}", "{{ItemPoolGreedBoss}}", "{{ItemPoolGreedDevil}}", "{{ItemPoolGreedAngel}}", "{{ItemPoolGreedCurse}}", "{{ItemPoolGreedSecret}}", "{{ItemPoolCraneGame}}", "{{ItemPoolUltraSecret}}", "{{ItemPoolBatteryBum}}", "{{ItemPoolPlanetarium}}", "{{ItemPoolOldChest}}", "{{ItemPoolBabyShop}}", "{{ItemPoolWoodenChest}}", "{{ItemPoolRottenBeggar}}"}
|
EID.ItemPoolTypeToMarkup = { [0] = "{{ItemPoolTreasure}}", "{{ItemPoolShop}}", "{{ItemPoolBoss}}", "{{ItemPoolDevil}}", "{{ItemPoolAngel}}", "{{ItemPoolSecret}}", "{{ItemPoolLibrary}}", "{{ItemPoolShellGame}}", "{{ItemPoolGoldenChest}}", "{{ItemPoolRedChest}}", "{{ItemPoolBeggar}}", "{{ItemPoolDemonBeggar}}", "{{ItemPoolCurse}}", "{{ItemPoolKeyMaster}}", "{{ItemPoolBombBum}}", "{{ItemPoolMomsChest}}", "{{ItemPoolGreedTreasure}}", "{{ItemPoolGreedShop}}", "{{ItemPoolGreedBoss}}", "{{ItemPoolGreedDevil}}", "{{ItemPoolGreedAngel}}", "{{ItemPoolGreedCurse}}", "{{ItemPoolGreedSecret}}", "{{ItemPoolCraneGame}}", "{{ItemPoolUltraSecret}}", "{{ItemPoolBatteryBum}}", "{{ItemPoolPlanetarium}}", "{{ItemPoolOldChest}}", "{{ItemPoolBabyShop}}", "{{ItemPoolWoodenChest}}", "{{ItemPoolRottenBeggar}}"}
|
||||||
|
|
||||||
|
-- additional offset of the textbox to the entity position. Only applies in local description mode.
|
||||||
|
-- If a function returns a value, it will be used as the offset
|
||||||
|
EID.LocalModePositionOffset = {
|
||||||
|
Default = Vector(0, 20),
|
||||||
|
Shop = function(entity) if entity:ToPickup() and entity:ToPickup():IsShopItem() then return Vector(0, 35) end end,
|
||||||
|
}
|
||||||
@@ -324,5 +324,5 @@ function EID:D1Prediction(rng)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local pickupNames = EID:getDescriptionEntry("PickupNames") or {}
|
local pickupNames = EID:getDescriptionEntry("PickupNames") or {}
|
||||||
return pickupNames[fullID] or EID.XMLEntityNames[fullID] or fullID
|
return pickupNames[fullID] or EID:GetEntityXMLNameByString(fullID) or fullID
|
||||||
end
|
end
|
||||||
+92
-50
@@ -426,7 +426,7 @@ if MCMLoaded then
|
|||||||
EID:AddBooleanSetting("Display", "DisplayCardInfo", "Card Infos")
|
EID:AddBooleanSetting("Display", "DisplayCardInfo", "Card Infos")
|
||||||
EID:AddBooleanSetting("Display", "DisplayPillInfo", "Pill Infos")
|
EID:AddBooleanSetting("Display", "DisplayPillInfo", "Pill Infos")
|
||||||
EID:AddBooleanSetting("Display", "DisplayGlitchedItemInfo", "Glitched Item Infos", {repOnly = true,
|
EID:AddBooleanSetting("Display", "DisplayGlitchedItemInfo", "Glitched Item Infos", {repOnly = true,
|
||||||
infoText = "Note: The --luadebug launch option is required for more detailed glitched item descriptions; this can be dangerous!"})
|
infoText = "Note: Installing REPENTOGON is required for more detailed glitched item descriptions!"})
|
||||||
EID:AddBooleanSetting("Display", "DisplaySacrificeInfo", "Sacrifice Room Infos")
|
EID:AddBooleanSetting("Display", "DisplaySacrificeInfo", "Sacrifice Room Infos")
|
||||||
EID:AddBooleanSetting("Display", "DisplayDiceInfo", "Dice Room Infos")
|
EID:AddBooleanSetting("Display", "DisplayDiceInfo", "Dice Room Infos")
|
||||||
EID:AddBooleanSetting("Display", "DisplayCraneInfo", "Crane Game Infos", {repOnly = true})
|
EID:AddBooleanSetting("Display", "DisplayCraneInfo", "Crane Game Infos", {repOnly = true})
|
||||||
@@ -621,9 +621,6 @@ if MCMLoaded then
|
|||||||
-- Bag of Crafting 8 icons toggle
|
-- Bag of Crafting 8 icons toggle
|
||||||
EID:AddBooleanSetting("Crafting", "BagOfCraftingDisplayIcons", "Show Recipes/Best Bag as", {onText = "8 Icons", offText = "Groups",
|
EID:AddBooleanSetting("Crafting", "BagOfCraftingDisplayIcons", "Show Recipes/Best Bag as", {onText = "8 Icons", offText = "Groups",
|
||||||
infoText = "Choose if you want recipes (and the Best Quality bag in Item Probability Mode) shown as 8 icons, or as grouped ingredients"})
|
infoText = "Choose if you want recipes (and the Best Quality bag in Item Probability Mode) shown as 8 icons, or as grouped ingredients"})
|
||||||
-- Modded Recipes toggle
|
|
||||||
EID:AddBooleanSetting("Crafting", "BagOfCraftingModdedRecipes", "Load Modded Item Recipes (WIP)", {
|
|
||||||
infoText = {"Enable or disable basic modded item support", "If you have a lot of modded items, it will slow down game launch"}})
|
|
||||||
|
|
||||||
MCM.AddSpace("EID", "Crafting")
|
MCM.AddSpace("EID", "Crafting")
|
||||||
MCM.AddText("EID", "Crafting", function() return "Recipe List Options" end)
|
MCM.AddText("EID", "Crafting", function() return "Recipe List Options" end)
|
||||||
@@ -697,49 +694,19 @@ if MCMLoaded then
|
|||||||
end
|
end
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
----------------------------Savegame Config--------------------------------
|
-------------------------------REPENTOGON----------------------------------
|
||||||
if EID.SaveGame then
|
if EID.isRepentance then
|
||||||
MCM.AddText("EID", "Save Game", function() EID.MCMCompat_isDisplayingEIDTab = ""; return "Loaded savegame data:" end)
|
if not REPENTOGON then
|
||||||
MCM.AddText("EID", "Save Game", function() return EID.SaveGame.Platform .." User: "..EID.SaveGame.UserName.." ("..EID.SaveGame.UserID..")" end)
|
-- show disclaimer, but also show available features
|
||||||
MCM.AddSpace("EID", "Save Game")
|
MCM.AddText("EID", "Repentogon", "You need to install REPENTOGON to use the following features:")
|
||||||
|
MCM.AddSpace("EID", "Repentogon")
|
||||||
-- Show Item needs Collection
|
end
|
||||||
MCM.AddSetting(
|
|
||||||
"EID",
|
EID:AddBooleanSetting("Repentogon", "ItemCollectionIndicator", "Highlight uncollected items",{ infoText = "Highlight items, if they need to be collected for the collection page"})
|
||||||
"Save Game",
|
|
||||||
{
|
|
||||||
Type = ModConfigMenu.OptionType.NUMBER,
|
|
||||||
CurrentSetting = function()
|
|
||||||
return EID.Config["SaveGameNumber"]
|
|
||||||
end,
|
|
||||||
Minimum = 0,
|
|
||||||
Maximum = 3,
|
|
||||||
Display = function()
|
|
||||||
if EID.Config["SaveGameNumber"] == 0 then
|
|
||||||
return "Current Save Game: 0 (Deactivated)"
|
|
||||||
end
|
|
||||||
return "Current Save Game: " .. EID.Config["SaveGameNumber"]
|
|
||||||
end,
|
|
||||||
OnChange = function(currentNum)
|
|
||||||
EID.MCM_OptionChanged = true
|
|
||||||
EID.Config["SaveGameNumber"] = currentNum
|
|
||||||
end,
|
|
||||||
Info = {"Save game you are currently on. This info needs to be set to get the correct lookup tables"}
|
|
||||||
}
|
|
||||||
)
|
|
||||||
MCM.AddText("EID", "Save Game", function()
|
|
||||||
if EID.Config["SaveGameNumber"] == 0 then return "" end
|
|
||||||
local count = 0
|
|
||||||
for k, v in pairs(EID.SaveGame[EID.Config["SaveGameNumber"]].ItemNeedsPickup) do
|
|
||||||
count = count + 1
|
|
||||||
end
|
|
||||||
return "Collection page items missing: "..count end)
|
|
||||||
MCM.AddSpace("EID", "Save Game")
|
|
||||||
|
|
||||||
-- Needs collection Color
|
-- Needs collection Color
|
||||||
MCM.AddSetting(
|
MCM.AddSetting(
|
||||||
"EID",
|
"EID",
|
||||||
"Save Game",
|
"Repentogon",
|
||||||
{
|
{
|
||||||
Type = ModConfigMenu.OptionType.NUMBER,
|
Type = ModConfigMenu.OptionType.NUMBER,
|
||||||
CurrentSetting = function()
|
CurrentSetting = function()
|
||||||
@@ -761,13 +728,88 @@ if MCMLoaded then
|
|||||||
Info = {"Color in which item names are colored to highlight that this item needs to be collected for the collection page"}
|
Info = {"Color in which item names are colored to highlight that this item needs to be collected for the collection page"}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
else
|
EID:AddBooleanSetting("Repentogon", "RGON_ShowOnCollectionPage", "Show descriptions on collection page", { infoText = "Displays item effects when navigating the collection page in the main menu."})
|
||||||
MCM.AddSpace("EID", "Save Game")
|
|
||||||
MCM.AddSpace("EID", "Save Game")
|
-- Achievement tracking section
|
||||||
MCM.AddText("EID", "Save Game", function() EID.MCMCompat_isDisplayingEIDTab = ""; return "To enable savegame related features," end)
|
MCM.AddSpace("EID", "Repentogon")
|
||||||
MCM.AddText("EID", "Save Game", "please run \"scripts\\savegame_reader.exe\"")
|
MCM.AddText("EID", "Repentogon", "Achievement tracking")
|
||||||
MCM.AddText("EID", "Save Game", "found in the EID mod folder")
|
EID:AddBooleanSetting("Repentogon", "RGON_DonationMachineDescriptions", "Donation machine progress", { infoText = "Displays the number of coins required to gain the next achievement from donation machines"})
|
||||||
end
|
end
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
----------------------------Savegame Config--------------------------------
|
||||||
|
if not REPENTOGON then
|
||||||
|
if EID.SaveGame then
|
||||||
|
MCM.AddText("EID", "Save Game", function() EID.MCMCompat_isDisplayingEIDTab = ""; return "Loaded savegame data:" end)
|
||||||
|
MCM.AddText("EID", "Save Game", function() return EID.SaveGame.Platform .." User: "..EID.SaveGame.UserName.." ("..EID.SaveGame.UserID..")" end)
|
||||||
|
MCM.AddSpace("EID", "Save Game")
|
||||||
|
|
||||||
|
-- Show Item needs Collection
|
||||||
|
MCM.AddSetting(
|
||||||
|
"EID",
|
||||||
|
"Save Game",
|
||||||
|
{
|
||||||
|
Type = ModConfigMenu.OptionType.NUMBER,
|
||||||
|
CurrentSetting = function()
|
||||||
|
return EID.Config["SaveGameNumber"]
|
||||||
|
end,
|
||||||
|
Minimum = 0,
|
||||||
|
Maximum = 3,
|
||||||
|
Display = function()
|
||||||
|
if EID.Config["SaveGameNumber"] == 0 then
|
||||||
|
return "Current Save Game: 0 (Deactivated)"
|
||||||
|
end
|
||||||
|
return "Current Save Game: " .. EID.Config["SaveGameNumber"]
|
||||||
|
end,
|
||||||
|
OnChange = function(currentNum)
|
||||||
|
EID.MCM_OptionChanged = true
|
||||||
|
EID.Config["SaveGameNumber"] = currentNum
|
||||||
|
end,
|
||||||
|
Info = {"Save game you are currently on. This info needs to be set to get the correct lookup tables"}
|
||||||
|
}
|
||||||
|
)
|
||||||
|
MCM.AddText("EID", "Save Game", function()
|
||||||
|
if EID.Config["SaveGameNumber"] == 0 then return "" end
|
||||||
|
local count = 0
|
||||||
|
for k, v in pairs(EID.SaveGame[EID.Config["SaveGameNumber"]].ItemNeedsPickup) do
|
||||||
|
count = count + 1
|
||||||
|
end
|
||||||
|
return "Collection page items missing: "..count end)
|
||||||
|
MCM.AddSpace("EID", "Save Game")
|
||||||
|
|
||||||
|
EID:AddBooleanSetting("Repentogon", "ItemCollectionIndicator", "Highlight uncollected items")
|
||||||
|
-- Needs collection Color
|
||||||
|
MCM.AddSetting(
|
||||||
|
"EID",
|
||||||
|
"Save Game",
|
||||||
|
{
|
||||||
|
Type = ModConfigMenu.OptionType.NUMBER,
|
||||||
|
CurrentSetting = function()
|
||||||
|
return AnIndexOf(colorNameArray, EID.Config["ItemCollectionColor"])
|
||||||
|
end,
|
||||||
|
Minimum = 0,
|
||||||
|
Maximum = 1000,
|
||||||
|
Display = function()
|
||||||
|
if EID.Config["ItemCollectionColor"] == nil then EID.Config["ItemCollectionColor"] = EID.DefaultConfig["ItemCollectionColor"] end
|
||||||
|
EID.MCMCompat_isDisplayingEIDTab = "Visuals";
|
||||||
|
return "Collection Page Highlight color: " .. string.gsub(EID.Config["ItemCollectionColor"], "Color", "").. " ("..AnIndexOf(colorNameArray, EID.Config["ItemCollectionColor"]).."/"..#colorNameArray..")"
|
||||||
|
end,
|
||||||
|
OnChange = function(currentNum)
|
||||||
|
EID.MCM_OptionChanged = true
|
||||||
|
if currentNum == 0 then currentNum = #colorNameArray end
|
||||||
|
if currentNum > #colorNameArray then currentNum = 1 end
|
||||||
|
EID.Config["ItemCollectionColor"] = colorNameArray[currentNum]
|
||||||
|
end,
|
||||||
|
Info = {"Color in which item names are colored to highlight that this item needs to be collected for the collection page"}
|
||||||
|
}
|
||||||
|
)
|
||||||
|
else
|
||||||
|
MCM.AddSpace("EID", "Save Game")
|
||||||
|
MCM.AddSpace("EID", "Save Game")
|
||||||
|
MCM.AddText("EID", "Save Game", function() EID.MCMCompat_isDisplayingEIDTab = ""; return "To enable savegame related features," end)
|
||||||
|
MCM.AddText("EID", "Save Game", "please run \"scripts\\savegame_reader.exe\"")
|
||||||
|
MCM.AddText("EID", "Save Game", "found in the EID mod folder")
|
||||||
|
end
|
||||||
|
end -- if not repentogon
|
||||||
|
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -421,8 +421,6 @@ if MCMLoaded and MCM and MCM.i18n == "Chinese" then
|
|||||||
= "切换显示配方列表,袋满时的道具预览,道具池/品质信息,或地面上的掉落物",
|
= "切换显示配方列表,袋满时的道具预览,道具池/品质信息,或地面上的掉落物",
|
||||||
["Hides the Bag of Crafting info when in a fight"] = "在战斗中隐藏合成宝袋信息",
|
["Hides the Bag of Crafting info when in a fight"] = "在战斗中隐藏合成宝袋信息",
|
||||||
["Show the text for the Hide/Preview and Recipe List hotkeys"] = "显示切换隐藏/预览和配方列表的热键",
|
["Show the text for the Hide/Preview and Recipe List hotkeys"] = "显示切换隐藏/预览和配方列表的热键",
|
||||||
["Choose if you want recipes (and the Best Quality bag in Item Probability Mode) shown as 8 icons, or as grouped ingredients"]
|
|
||||||
= "切换配方显示模式(或无配方模式下的最佳品质)为8个图标, 或者分组显示",
|
|
||||||
["Enable or disable basic modded item support"] = "开关基础的模组道具支持",
|
["Enable or disable basic modded item support"] = "开关基础的模组道具支持",
|
||||||
["If you have a lot of modded items, it will slow down game launch"] = "如果模组道具太多,游戏会变卡",
|
["If you have a lot of modded items, it will slow down game launch"] = "如果模组道具太多,游戏会变卡",
|
||||||
["(12 = 500 combinations, 14 = 3,000, 16 = 13,000)"] = "(12=500组合,14=3000,16=13000)",
|
["(12 = 500 combinations, 14 = 3,000, 16 = 13,000)"] = "(12=500组合,14=3000,16=13000)",
|
||||||
@@ -434,8 +432,6 @@ if MCMLoaded and MCM and MCM.i18n == "Chinese" then
|
|||||||
= "额外检查此值数量的随机组合 在掉落物生成/消失或刷新时变化",
|
= "额外检查此值数量的随机组合 在掉落物生成/消失或刷新时变化",
|
||||||
["If on, each recipe result takes two lines, one for the item name, one for the recipe"]
|
["If on, each recipe result takes two lines, one for the item name, one for the recipe"]
|
||||||
= "如果开启,每个配方会显示两行,第一行是名字,第二行是配方",
|
= "如果开启,每个配方会显示两行,第一行是名字,第二行是配方",
|
||||||
["Press this to clear all currently detected items on the floor"] = "按此键清除所有当前房间中已检测的物品",
|
|
||||||
["Press this to clear all currently detected items on the bag"] = "按此键清除所有当前袋中已检测的物品",
|
|
||||||
["Choose if you want recipes (and the Best Quality bag in Item Probability Mode) shown as 8 icons, or as grouped ingredients"]
|
["Choose if you want recipes (and the Best Quality bag in Item Probability Mode) shown as 8 icons, or as grouped ingredients"]
|
||||||
= "选择使用八个图标还是分组 显示配方(或无配方模式的最佳组合)",
|
= "选择使用八个图标还是分组 显示配方(或无配方模式的最佳组合)",
|
||||||
["Press this key to toggle the crafting display, allowing you to check descriptions of items/pickups on the floor"]
|
["Press this key to toggle the crafting display, allowing you to check descriptions of items/pickups on the floor"]
|
||||||
|
|||||||
+2
-2
@@ -318,7 +318,7 @@ if EID.isRepentance then
|
|||||||
end
|
end
|
||||||
|
|
||||||
--simple decimal rounding
|
--simple decimal rounding
|
||||||
function SimpleRound(num, dp)
|
local function SimpleRound(num, dp)
|
||||||
dp = dp or 2
|
dp = dp or 2
|
||||||
local mult = 10^dp
|
local mult = 10^dp
|
||||||
return math.floor(num * mult + 0.5)/mult
|
return math.floor(num * mult + 0.5)/mult
|
||||||
@@ -805,7 +805,7 @@ local function EIDConditionsAB(descObj)
|
|||||||
|
|
||||||
-- Collectible Pedestal Callbacks
|
-- Collectible Pedestal Callbacks
|
||||||
if descObj.ObjVariant == PickupVariant.PICKUP_COLLECTIBLE then
|
if descObj.ObjVariant == PickupVariant.PICKUP_COLLECTIBLE then
|
||||||
if EID:requiredForCollectionPage(descObj.ObjSubType) then table.insert(callbacks, ItemCollectionPageCallback) end
|
if EID.Config["ItemCollectionIndicator"] and EID:requiredForCollectionPage(descObj.ObjSubType) then table.insert(callbacks, ItemCollectionPageCallback) end
|
||||||
|
|
||||||
if descObj.ObjSubType == 297 then table.insert(callbacks, PandorasBoxCallback) end
|
if descObj.ObjSubType == 297 then table.insert(callbacks, PandorasBoxCallback) end
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,150 @@
|
|||||||
|
if not REPENTOGON then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
---@diagnostic disable: duplicate-set-field
|
||||||
|
local game = Game()
|
||||||
|
|
||||||
|
-- REPENTOGON: Use PersistentGameData to determine item collection status
|
||||||
|
-- Returns true if an item needs to be collected for the collection page
|
||||||
|
function EID:requiredForCollectionPage(itemID)
|
||||||
|
if itemID >= CollectibleType.NUM_COLLECTIBLES or game:GetVictoryLap() > 0 or game:GetSeeds():IsCustomRun() then return false end
|
||||||
|
return not Isaac.GetPersistentGameData():IsItemInCollection(itemID)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- REPENTOGON: Function is no longer used since we can directly read the collection state from the game
|
||||||
|
function EID:checkPlayersForMissingItems() end
|
||||||
|
|
||||||
|
-- REPENTOGON: Function is no longer used since repentogon always has progress enabled.
|
||||||
|
function EID:AreAchievementsAllowed() return true end
|
||||||
|
|
||||||
|
-- REPENTOGON: Entity names can now be directly read from XML
|
||||||
|
-- returns the name of the given entity
|
||||||
|
function EID:GetEntityXMLName(Type, Variant, SubType)
|
||||||
|
local xmlEntry = XMLData.GetEntityByTypeVarSub(Type, Variant, SubType)
|
||||||
|
return xmlEntry and xmlEntry.name or EID.XMLEntityNames[Type .. "." .. Variant] or
|
||||||
|
EID.XMLEntityNames[Type .. "." .. Variant .. "." .. SubType]
|
||||||
|
end
|
||||||
|
|
||||||
|
-- takes a string like "5.100.69"
|
||||||
|
function EID:GetEntityXMLNameByString(str)
|
||||||
|
local sep = {}
|
||||||
|
for i in string.gmatch(str, "([^.]+)") do
|
||||||
|
table.insert(sep, i)
|
||||||
|
end
|
||||||
|
return EID:GetEntityXMLName(sep[1], sep[2], sep[3])
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Render EID above hud, if REPENTOGON is installed
|
||||||
|
EID:RemoveCallback(ModCallbacks.MC_POST_RENDER, EID.OnRender)
|
||||||
|
EID:AddCallback(ModCallbacks.MC_HUD_RENDER, EID.OnRender)
|
||||||
|
|
||||||
|
|
||||||
|
-- render descriptions for items on the collection page
|
||||||
|
|
||||||
|
local oldPosInitFunc = EID.PositionLocalMode
|
||||||
|
function EID:PositionLocalMode(entity)
|
||||||
|
oldPosInitFunc(entity)
|
||||||
|
-- custom description position when describing collectionpage entries
|
||||||
|
if not Isaac.IsInGame() and MenuManager:GetActiveMenu() == MainMenuType.COLLECTION then
|
||||||
|
EID.CurrentScaleType = "MainMenu"
|
||||||
|
EID.UsedPosition = Vector(10, 10)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local skipItemIDs = {}
|
||||||
|
function EID:OnMenuRender()
|
||||||
|
if EID.Config["RGON_ShowOnCollectionPage"] and MenuManager:GetActiveMenu() == MainMenuType.COLLECTION then
|
||||||
|
if #skipItemIDs == 0 then -- build list of items not listed in the collectionpage
|
||||||
|
local itemConfig = Isaac.GetItemConfig()
|
||||||
|
for i = 1, EID:GetMaxCollectibleID(), 1 do
|
||||||
|
if itemConfig:GetCollectible(i) == nil or itemConfig:GetCollectible(i).Hidden then
|
||||||
|
table.insert(skipItemIDs, i)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local selectedPage = CollectionMenu.GetSelectedPage()
|
||||||
|
local CollectibleId = selectedPage * (20 * 6) + CollectionMenu.GetSelectedElement() + 1
|
||||||
|
for _, id in ipairs(skipItemIDs) do -- some items dont exist, so we need to "skip" those when counting
|
||||||
|
if id < CollectibleId then
|
||||||
|
CollectibleId = CollectibleId + 1
|
||||||
|
end
|
||||||
|
end
|
||||||
|
local demoDescObj = EID:getDescriptionObj(5, 100, CollectibleId)
|
||||||
|
if not Isaac.GetPersistentGameData():IsItemInCollection(CollectibleId) then
|
||||||
|
EID:renderQuestionMark(nil)
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
EID:printDescription(demoDescObj, nil)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
EID:AddCallback(ModCallbacks.MC_MAIN_MENU_RENDER, EID.OnMenuRender)
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------BAG OF CRAFTING-------------------------------
|
||||||
|
-- Directly read bag of crafting content
|
||||||
|
function EID:BoCCheckForPickups()
|
||||||
|
EID.BoC.BagItems = {}
|
||||||
|
for key, value in pairs(EID.bagPlayer:GetBagOfCraftingContent()) do
|
||||||
|
if value <= 0 then return end -- no more items in the bag
|
||||||
|
EID.BoC.BagItems[key] = value
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Deactivate manual tracking code
|
||||||
|
function EID:BoCTrackBagHolding() end
|
||||||
|
|
||||||
|
function EID:BoCDetectBagContentShift() end
|
||||||
|
|
||||||
|
-----------------------Descriptions & Modifiers --------------------------
|
||||||
|
local oldHasDescription = EID.hasDescription
|
||||||
|
function EID:hasDescription(entity)
|
||||||
|
local oldReturnVal = oldHasDescription(_,entity)
|
||||||
|
-- repentogon related checks
|
||||||
|
|
||||||
|
-- check if donation machines should have a description
|
||||||
|
if entity.Type == 6 and (entity.Variant == 8 or entity.Variant == 11) and entity.SubType == 0 then
|
||||||
|
local isGreed = entity.Variant == 11
|
||||||
|
local eventCounter = isGreed and EventCounter.GREED_DONATION_MACHINE_COUNTER or
|
||||||
|
EventCounter.DONATION_MACHINE_COUNTER
|
||||||
|
local totalDonations = Isaac.GetPersistentGameData():GetEventCounter(eventCounter)
|
||||||
|
|
||||||
|
return EID.Config["RGON_DonationMachineDescriptions"] and totalDonations < 1000
|
||||||
|
end
|
||||||
|
return oldReturnVal
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
local requirementsDonationMachine = { 10, 20, 50, 100, 150, 200, 400, 600, 900, 999 }
|
||||||
|
local requirementsGreedDonationMachine = { 2, 14, 33, 68, 111, 234, 439, 500, 666, 879, 999, 1000 }
|
||||||
|
local function DonationMachineCallback(descObj)
|
||||||
|
local isGreed = descObj.ObjVariant == 11
|
||||||
|
local eventCounter = isGreed and EventCounter.GREED_DONATION_MACHINE_COUNTER or
|
||||||
|
EventCounter.DONATION_MACHINE_COUNTER
|
||||||
|
local rewardsTable = isGreed and requirementsGreedDonationMachine or requirementsDonationMachine
|
||||||
|
local totalDonations = Isaac.GetPersistentGameData():GetEventCounter(eventCounter)
|
||||||
|
|
||||||
|
local coinsNeeded = 0
|
||||||
|
for _, value in ipairs(rewardsTable) do
|
||||||
|
if totalDonations < value then
|
||||||
|
coinsNeeded = value
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
descObj.Description = string.gsub(descObj.Description, "{1}", coinsNeeded - totalDonations)
|
||||||
|
descObj.Description = string.gsub(descObj.Description, "{2}", coinsNeeded)
|
||||||
|
descObj.Icon = EID.InlineIcons["DonationMachine"]
|
||||||
|
return descObj
|
||||||
|
end
|
||||||
|
|
||||||
|
local function RepentogonModifierConditions(descObj)
|
||||||
|
-- Donation machine and Greed donation machine description
|
||||||
|
if descObj.ObjType == 6 and (descObj.ObjVariant == 8 or descObj.ObjVariant == 11) then
|
||||||
|
return { DonationMachineCallback }
|
||||||
|
end
|
||||||
|
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
EID:addDescriptionModifier("EID Repentogon", RepentogonModifierConditions, nil)
|
||||||
+156
-141
@@ -1,24 +1,10 @@
|
|||||||
--[[
|
-- This file handles creating glitched item descriptions.
|
||||||
|
-- It requires installing REPENTOGON to give fully accurate descriptions.
|
||||||
This file is only loaded when the game is launched with the "--luadebug" launch option.
|
-- https://repentogon.com/install.html
|
||||||
This allows mods to have access to your computer's files, which is necessary to read glitched item info that's printed to the game's log file.
|
|
||||||
|
|
||||||
Having --luadebug on would allow malicious mods to delete your files, execute command prompt commands, and probably much more. It also makes certain Lua functions behave differently, which breaks some other mods.
|
|
||||||
USE AT YOUR OWN RISK.
|
|
||||||
|
|
||||||
]]
|
|
||||||
|
|
||||||
local game = Game()
|
|
||||||
|
|
||||||
-- glitched items start at 4294967295
|
-- glitched items start at 4294967295
|
||||||
local maxNumber = 4294967296
|
local maxNumber = 4294967296
|
||||||
local spawnedItems = 0
|
|
||||||
local lastEffectTrigger = "chain"
|
local lastEffectTrigger = "chain"
|
||||||
local descOne = ""
|
|
||||||
|
|
||||||
local logLocation = os.getenv("USERPROFILE") .. "/Documents/My Games/Binding of Isaac Repentance/log.txt"
|
|
||||||
local logFound = false
|
|
||||||
local logCursor = 0
|
|
||||||
|
|
||||||
local triggerColors = {
|
local triggerColors = {
|
||||||
chain = "{{ColorSilver}}",
|
chain = "{{ColorSilver}}",
|
||||||
@@ -32,12 +18,26 @@ local triggerColors = {
|
|||||||
room_clear = "{{ColorOrange}}",
|
room_clear = "{{ColorOrange}}",
|
||||||
}
|
}
|
||||||
|
|
||||||
local function entityToName(e, plural)
|
-- Convert REPENTOGON's action/trigger enums to the text used in EID's localization files
|
||||||
local localizedNames = EID:getDescriptionEntry("GlitchedItemText")
|
local actions = { [0] = "use_active_item", "add_temporary_effect", "convert_entities", "area_damage", "spawn_entity", "fart" }
|
||||||
-- -1 is often used as an "any of this type", even if there's only one of that type, so converting it to 0 can help find names
|
local triggers = { [0] = "active", "tear_fire", "enemy_hit", "enemy_kill", "damage_taken", "room_clear", "entity_spawned", "pickup_collected", "chain" }
|
||||||
local eWithZero = string.gsub(e, "-1", "0")
|
|
||||||
|
--simple decimal rounding
|
||||||
|
local function SimpleRound(num, dp)
|
||||||
|
dp = dp or 2
|
||||||
|
local mult = 10^dp
|
||||||
|
return math.floor(num * mult + 0.5)/mult
|
||||||
|
end
|
||||||
|
|
||||||
|
local function entityToName(Type, Variant, plural)
|
||||||
plural = plural or false
|
plural = plural or false
|
||||||
local name = localizedNames[e] or EID.XMLEntityNames[e] or localizedNames[eWithZero] or EID.XMLEntityNames[eWithZero] or e
|
-- -1 is often used as an "any of this type", even if there's only one of that type, so converting it to 0 can help find names
|
||||||
|
-- the string.format is in case this receives the type/variant as a Lua float
|
||||||
|
local e = string.format("%d",Type) .. "." .. string.format("%d",Variant)
|
||||||
|
local eWithZero = string.gsub(e, "-1", "0")
|
||||||
|
|
||||||
|
local localizedNames = EID:getDescriptionEntry("GlitchedItemText")
|
||||||
|
local name = localizedNames[e] or localizedNames[eWithZero] or EID:GetEntityXMLName(Type, Variant, 0) or e
|
||||||
|
|
||||||
--print out entities with no name yet
|
--print out entities with no name yet
|
||||||
if name == e then Isaac.DebugString("No name found for " .. e .. " (could be modded)")
|
if name == e then Isaac.DebugString("No name found for " .. e .. " (could be modded)")
|
||||||
@@ -46,137 +46,152 @@ local function entityToName(e, plural)
|
|||||||
return name
|
return name
|
||||||
end
|
end
|
||||||
|
|
||||||
local function parseEffectLine(raw)
|
-- attributes we need to check on the glitched item's ItemConfig
|
||||||
local words = {}
|
local itemConfigItemAttributes = { "AddMaxHearts", "AddHearts", "AddSoulHearts", "AddBlackHearts", "AddBombs", "AddCoins", "AddKeys", "CacheFlags" }
|
||||||
for w in string.gmatch(raw,"%S+") do table.insert(words, w) end
|
-- REPENTOGON's ProceduralItem functions, in the same order as en_us's VoidNames text we'll be using
|
||||||
|
local getFunctions = { "GetSpeed", "GetFireDelay", "GetDamage", "GetRange", "GetShotSpeed", "GetLuck" }
|
||||||
local triggerReplacements = {}
|
-- The items have a value between 0 and 1, and multiplied by these before being added to the player's stats
|
||||||
local replacements = {}
|
local statMult = { 0.2, 1, 1, 1.5, 0.2, 1 }
|
||||||
local printEffect = true
|
|
||||||
|
|
||||||
-- words[1] = "[INFO]", words[2] = "-"
|
|
||||||
local effectTrigger = words[3]
|
|
||||||
-- the effects list is rarely interrupted by music loading log entries, just ignore it and have a slightly inaccurate desc
|
|
||||||
if effectTrigger == "Queued" then return "" end
|
|
||||||
if (string.find(effectTrigger, "entity_spawned")) then
|
|
||||||
effectTrigger = "entity_spawned"
|
|
||||||
triggerReplacements[1] = "{{ColorEIDObjName}}" .. entityToName(string.sub(words[3], 16, -2)) .. "{{CR}}"
|
|
||||||
end
|
|
||||||
-- words[4] = "->"
|
|
||||||
local effectType = words[5]
|
|
||||||
local fullEffect = ""
|
|
||||||
for i=5,#words do fullEffect = fullEffect .. words[i] .. " " end
|
|
||||||
|
|
||||||
if effectType == "add_temporary_effect" or effectType == "use_active_item" then
|
|
||||||
-- remainder of line = collectible name that's granted for the room
|
|
||||||
local name = ""
|
|
||||||
for i=6,#words do
|
|
||||||
name = name .. words[i]
|
|
||||||
if (i ~= #words) then name = name .. " " end
|
|
||||||
end
|
|
||||||
|
|
||||||
replacements[1] = name
|
|
||||||
if (Isaac.GetItemIdByName(name) > 0) then
|
|
||||||
replacements[1] = "{{Collectible" .. Isaac.GetItemIdByName(name) .. "}} " .. name
|
|
||||||
end
|
|
||||||
elseif effectType == "convert_entities" then
|
|
||||||
replacements[1] = "{{ColorGray}}" .. entityToName(words[6], true) .. "{{CR}}"
|
|
||||||
replacements[2] = "{{ColorGray}}" .. entityToName(words[8])
|
|
||||||
elseif effectType == "spawn_entity" then
|
|
||||||
replacements[1] = "{{ColorGray}}" .. entityToName(words[6])
|
|
||||||
elseif effectType == "fart" then
|
|
||||||
replacements[1] = words[6]
|
|
||||||
elseif effectType == "area_damage" then
|
|
||||||
replacements[1] = words[6]
|
|
||||||
-- display area_damage 0's because they still need to be done to chain to the next thing
|
|
||||||
--if words[6] == "0" then printEffect = false end
|
|
||||||
end
|
|
||||||
|
|
||||||
|
-- Obtains information about glitched items from the ItemConfig (hearts added on pickup, cacheflags affected), returns string of info
|
||||||
|
function EID:CheckGlitchedItemConfig(id)
|
||||||
|
local itemConfig = EID.itemConfig:GetCollectible(id)
|
||||||
|
if not itemConfig then return "" end
|
||||||
|
|
||||||
local localizedNames = EID:getDescriptionEntry("GlitchedItemText")
|
local localizedNames = EID:getDescriptionEntry("GlitchedItemText")
|
||||||
local eidString = ""
|
local attributes = "#"
|
||||||
if effectTrigger ~= lastEffectTrigger then eidString = eidString .. triggerColors[effectTrigger] .. (localizedNames[effectTrigger] or (effectTrigger .. "#")) end
|
|
||||||
if printEffect then eidString = eidString .. (localizedNames[effectType] or fullEffect) .. "#" end
|
-- Check the base item config for the Hearts/Bombs/Coins/Keys this item adds,
|
||||||
for k,v in ipairs(triggerReplacements) do eidString = string.gsub(eidString, "{T" .. k .. "}", v) end
|
-- as well as what cache flags it affects if we're not using REPENTOGON
|
||||||
for k,v in ipairs(replacements) do eidString = string.gsub(eidString, "{" .. k .. "}", v) end
|
for _,v in ipairs(itemConfigItemAttributes) do
|
||||||
|
local val = itemConfig[v]
|
||||||
if effectTrigger ~= "chain" then lastEffectTrigger = effectTrigger end
|
if val ~= 0 then
|
||||||
return eidString
|
if v == "CacheFlags" then
|
||||||
end
|
if not REPENTOGON then -- we don't need to check these if we have REPENTOGON
|
||||||
|
local flagString = localizedNames["cacheFlagStart"]
|
||||||
local function CheckLogForItems(_)
|
if val == CacheFlag.CACHE_ALL then
|
||||||
-- Check log.txt every 5 frames if there's a collectible we haven't read the data for yet
|
flagString = flagString .. localizedNames[16]
|
||||||
-- (Should work well for Corrupted Data)
|
else
|
||||||
if game:GetFrameCount() % 5 ~= 0 or not EID.Config["DisplayGlitchedItemInfo"] or not logFound or
|
for i=0, 13 do
|
||||||
EID.itemConfig:GetCollectible(maxNumber - spawnedItems - 1) == nil then return end
|
if 2^i & val ~= 0 then
|
||||||
|
flagString = flagString .. localizedNames[i] .. ", "
|
||||||
local numEffects = 0
|
end
|
||||||
local eidDesc = ""
|
end
|
||||||
|
flagString = string.sub(flagString, 0, -3) -- remove final comma
|
||||||
local theLog = io.open(logLocation, "r")
|
end
|
||||||
if theLog == nil then return end
|
attributes = attributes .. flagString .. "#"
|
||||||
theLog:seek("set", logCursor)
|
end
|
||||||
|
else
|
||||||
local line = theLog:read()
|
-- the Add Heart attributes count half a heart as 1, so divide the value in half
|
||||||
while line ~= nil do
|
if string.find(v, "Hearts") then val = val / 2 end
|
||||||
if string.find(line, "initialized with") then
|
-- the g flag removes .0 in numbers like 1.0 (caused by the hearts division)
|
||||||
spawnedItems = spawnedItems + 1
|
local s = string.format("%.4g",val)
|
||||||
lastEffectTrigger = "chain"
|
local prefix = "↑ "
|
||||||
eidDesc = ""
|
if val > 0 then s = "+" .. s else prefix = "↓ " end
|
||||||
-- find the number of effects to watch for
|
attributes = attributes .. prefix .. string.gsub(localizedNames[v], "{1}", s)
|
||||||
for s in string.gmatch(line, "%d*%.?%d+") do
|
if val ~= 1 and val ~= -1 then attributes = attributes .. localizedNames["pluralize"] end
|
||||||
numEffects = tonumber(s)
|
attributes = attributes .. "#"
|
||||||
break
|
|
||||||
end
|
end
|
||||||
elseif numEffects > 0 then
|
|
||||||
numEffects = numEffects - 1
|
|
||||||
eidDesc = eidDesc .. parseEffectLine(line)
|
|
||||||
if numEffects == 0 then
|
|
||||||
eidDesc = EID:CheckGlitchedItemConfig(maxNumber - spawnedItems) .. eidDesc
|
|
||||||
-- Glowing Hour Glass type effects cause the game to reload all items, check if our desc is equal to the first one
|
|
||||||
if (descOne == eidDesc) then spawnedItems = 1 end
|
|
||||||
|
|
||||||
EID:addCollectible(maxNumber - spawnedItems, eidDesc)
|
|
||||||
if spawnedItems == 1 then descOne = eidDesc end
|
|
||||||
end
|
|
||||||
elseif string.find(line, "Game ended;") then
|
|
||||||
spawnedItems = 0
|
|
||||||
lastEffectTrigger = "chain"
|
|
||||||
eidDesc = ""
|
|
||||||
end
|
end
|
||||||
|
|
||||||
line = theLog:read()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if REPENTOGON then
|
||||||
|
-- Use REPENTOGON to print what base item this glitched item gives, and its stat increases
|
||||||
|
local item = ProceduralItemManager.GetProceduralItem(maxNumber - 1 - id)
|
||||||
|
if item:GetTargetItem() then
|
||||||
|
-- Glitched items grant a random collectible/trinket
|
||||||
|
-- It can be a bit weird though (granting A Quarter doesn't give you 25 coins, cause that's an on pickup thing)
|
||||||
|
local innerItem = item:GetTargetItem()
|
||||||
|
local itemText = "{{Collectible"
|
||||||
|
local itemType = 100
|
||||||
|
if innerItem:IsTrinket() then
|
||||||
|
itemText = "{{Trinket"
|
||||||
|
itemType = 350
|
||||||
|
end
|
||||||
|
attributes = attributes .. localizedNames["grants"] .. itemText .. innerItem.ID .. "}} " .. EID:getObjectName(5, itemType, innerItem.ID) .. "#"
|
||||||
|
end
|
||||||
|
-- If it's an active, these are given to you upon using the item, so let's print an "On use:" first
|
||||||
|
if itemConfig.Type == ItemType.ITEM_ACTIVE then
|
||||||
|
lastEffectTrigger = "active"
|
||||||
|
attributes = attributes .. "{{Blank}} " .. triggerColors["active"] .. localizedNames["active"]
|
||||||
|
end
|
||||||
|
local voidNames = EID:getDescriptionEntry("VoidNames")
|
||||||
|
for i,func in ipairs(getFunctions) do
|
||||||
|
local val = item[func](item) * statMult[i]
|
||||||
|
if val ~= 0 then
|
||||||
|
if (i == 4) then print("range!") end
|
||||||
|
local s = string.format("%.2g",SimpleRound(val))
|
||||||
|
local prefix = "↑ "
|
||||||
|
if val > 0 then s = "+" .. s else prefix = "↓ " end
|
||||||
|
attributes = attributes .. prefix .. string.gsub(voidNames[i], "{1}", s) .. "#"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Use REPENTOGON to print out the glitched effects this item has
|
||||||
|
local triggerReplacements = {}
|
||||||
|
local replacements = {}
|
||||||
|
|
||||||
|
-- cheeck the effects
|
||||||
|
local count = item:GetEffectCount()
|
||||||
|
for i=0,count-1 do
|
||||||
|
local effect = item:GetEffect(i)
|
||||||
|
|
||||||
|
local effectTrigger = triggers[effect:GetConditionType()]
|
||||||
|
local effectTriggerProp = effect:GetConditionProperty()
|
||||||
|
if effectTrigger == "entity_spawned" then
|
||||||
|
triggerReplacements[1] = "{{ColorEIDObjName}}" .. entityToName(effectTriggerProp.type, effectTriggerProp.variant) .. "{{CR}}"
|
||||||
|
end
|
||||||
|
|
||||||
|
local effectType = actions[effect:GetActionType()]
|
||||||
|
local effectProp = effect:GetActionProperty()
|
||||||
|
if effectType == "add_temporary_effect" or effectType == "use_active_item" then
|
||||||
|
replacements[1] = "{{Collectible" .. effectProp.id .. "}} " .. EID:getObjectName(5, 100, effectProp.id)
|
||||||
|
elseif effectType == "convert_entities" then
|
||||||
|
replacements[1] = "{{ColorGray}}" .. entityToName(effectProp.fromType, effectProp.fromVariant, true) .. "{{CR}}"
|
||||||
|
replacements[2] = "{{ColorGray}}" .. entityToName(effectProp.toType, effectProp.toVariant) .. "{{CR}}"
|
||||||
|
elseif effectType == "spawn_entity" then
|
||||||
|
replacements[1] = "{{ColorGray}}" .. entityToName(effectProp.type, effectProp.variant) .. "{{CR}}"
|
||||||
|
elseif effectType == "fart" then
|
||||||
|
--I think the fart scale is strictly visual and therefore useless
|
||||||
|
--replacements[1] = SimpleRound(effectProp.scale)
|
||||||
|
replacements[1] = string.format("%.4g",SimpleRound(effectProp.radius))
|
||||||
|
elseif effectType == "area_damage" then
|
||||||
|
replacements[1] = string.format("%.4g",SimpleRound(effectProp.damage))
|
||||||
|
--Fart scales are all small numbers and seem to be tiles; area damage is huge numbers, but still tiles?
|
||||||
|
--so area damage is almost always the entire room
|
||||||
|
replacements[2] = string.format("%.4g",SimpleRound(effectProp.radius))
|
||||||
|
end
|
||||||
|
|
||||||
|
if effectTrigger ~= lastEffectTrigger then
|
||||||
|
if effectTrigger ~= "chain" then attributes = attributes .. "{{Blank}} " end
|
||||||
|
attributes = attributes .. triggerColors[effectTrigger] .. localizedNames[effectTrigger]
|
||||||
|
end
|
||||||
|
attributes = attributes .. localizedNames[effectType] .. "#"
|
||||||
|
for k,v in ipairs(triggerReplacements) do attributes = string.gsub(attributes, "{T" .. k .. "}", v) end
|
||||||
|
for k,v in ipairs(replacements) do attributes = string.gsub(attributes, "{" .. k .. "}", v) end
|
||||||
|
|
||||||
logCursor = theLog:seek()
|
if effectTrigger ~= "chain" then lastEffectTrigger = effectTrigger end
|
||||||
theLog:close()
|
end
|
||||||
end
|
|
||||||
EID:AddCallback(ModCallbacks.MC_POST_UPDATE, CheckLogForItems)
|
|
||||||
|
|
||||||
local function GameStartTMTRAINER(_,isSave)
|
|
||||||
local theLog = io.open(logLocation, "r")
|
|
||||||
if (theLog == nil) then
|
|
||||||
print("[EID] Could not find the log file at " .. logLocation .. "; glitched item descriptions won't work!")
|
|
||||||
Isaac.DebugString("[EID] Could not find the log file at " .. logLocation .. "; glitched item descriptions won't work!")
|
|
||||||
logFound = false
|
|
||||||
return
|
|
||||||
else
|
|
||||||
logFound = true
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- luckily, when the game reloads, it also reloads all glitched items, so resuming works perfectly as long as we start at the beginning
|
-- print the glitchy part of the description at the end if it's not "complete"
|
||||||
spawnedItems = 0
|
if not REPENTOGON then
|
||||||
|
attributes = attributes .. itemConfig.Description
|
||||||
|
end
|
||||||
|
lastEffectTrigger = "chain"
|
||||||
|
|
||||||
|
return attributes
|
||||||
|
|
||||||
end
|
end
|
||||||
EID:AddCallback(ModCallbacks.MC_POST_GAME_STARTED, GameStartTMTRAINER)
|
|
||||||
|
|
||||||
local function GameEndTMTRAINER()
|
|
||||||
-- Our cursor spot in the log gets wiped if mods are reloaded; can't think of a better way than this
|
|
||||||
Isaac.DebugString("[EID] Game ended; ignore previous glitched items in the log!")
|
|
||||||
end
|
|
||||||
EID:AddCallback(ModCallbacks.MC_PRE_GAME_EXIT, GameEndTMTRAINER)
|
|
||||||
|
|
||||||
|
|
||||||
-- shh. it's a non-obtrusive april fools joke for the 1% of people with luadebug
|
-- shh. it's a non-obtrusive april fools joke for the 1% of people with luadebug
|
||||||
|
-- this made more sense when this file was only executed when --luadebug was present
|
||||||
-- https://www.youtube.com/watch?v=msDuNZyYAIQ
|
-- https://www.youtube.com/watch?v=msDuNZyYAIQ
|
||||||
if (os.date("%m/%d") == "04/01") then
|
if (debug and os.date("%m/%d") == "04/01") then
|
||||||
EID.descriptions["en_us"].sacrifice[1][3] = "{{Coin}} 50% chance of winning 1 coin at Sacrifice#75% chance if you're a genetic freak#!!! If you add Kurt Angle to the mix, your chances of winning drastically go down"
|
EID.descriptions["en_us"].sacrifice[1][3] = "{{Coin}} 50% chance of winning 1 coin at Sacrifice#75% chance if you're a genetic freak#!!! If you add Kurt Angle to the mix, your chances of winning drastically go down"
|
||||||
end
|
end
|
||||||
@@ -127,6 +127,7 @@ if EID.isRepentance then
|
|||||||
end
|
end
|
||||||
local wasSuccessful, _ = pcall(require,"descriptions."..EID.GameVersion..".transformations")
|
local wasSuccessful, _ = pcall(require,"descriptions."..EID.GameVersion..".transformations")
|
||||||
require("eid_bagofcrafting")
|
require("eid_bagofcrafting")
|
||||||
|
require("eid_tmtrainer")
|
||||||
end
|
end
|
||||||
|
|
||||||
EID.LastRenderCallColor = EID:getTextColor()
|
EID.LastRenderCallColor = EID:getTextColor()
|
||||||
@@ -138,7 +139,6 @@ local modfolder ='external item descriptions_836319872' --release mod folder nam
|
|||||||
|
|
||||||
function EID:GetCurrentModPath()
|
function EID:GetCurrentModPath()
|
||||||
if debug then
|
if debug then
|
||||||
if EID.isRepentance then require("eid_tmtrainer") end
|
|
||||||
return string.sub(debug.getinfo(EID.GetCurrentModPath).source,2) .. "/../"
|
return string.sub(debug.getinfo(EID.GetCurrentModPath).source,2) .. "/../"
|
||||||
end
|
end
|
||||||
--use some very hacky trickery to get the path to this mod
|
--use some very hacky trickery to get the path to this mod
|
||||||
@@ -698,7 +698,6 @@ function EID:printDescription(desc, cachedID)
|
|||||||
local itemConfig = EID.itemConfig:GetCollectible(desc.ObjSubType)
|
local itemConfig = EID.itemConfig:GetCollectible(desc.ObjSubType)
|
||||||
if itemConfig:IsCollectible() and not itemConfig:HasTags(ItemConfig.TAG_QUEST) then
|
if itemConfig:IsCollectible() and not itemConfig:HasTags(ItemConfig.TAG_QUEST) then
|
||||||
local lastPool = game:GetItemPool():GetLastPool()
|
local lastPool = game:GetItemPool():GetLastPool()
|
||||||
local itemPoolLineHeight = EID.lineHeight
|
|
||||||
|
|
||||||
local poolName = ""
|
local poolName = ""
|
||||||
local poolDescPrepend = EID:getDescriptionEntry("itemPoolFor")
|
local poolDescPrepend = EID:getDescriptionEntry("itemPoolFor")
|
||||||
@@ -919,7 +918,17 @@ function EID:PositionLocalMode(entity)
|
|||||||
EID.Scale = EID.Config["LocalModeSize"]
|
EID.Scale = EID.Config["LocalModeSize"]
|
||||||
EID.CurrentScaleType = "LocalModeSize"
|
EID.CurrentScaleType = "LocalModeSize"
|
||||||
local textBoxWidth = EID.Config["LocalModeCentered"] and tonumber(EID.Config["TextboxWidth"])/2 * EID.Scale or -30
|
local textBoxWidth = EID.Config["LocalModeCentered"] and tonumber(EID.Config["TextboxWidth"])/2 * EID.Scale or -30
|
||||||
local textPosOffset = Vector(-textBoxWidth, 20)
|
local textPosOffset = Vector(-textBoxWidth, 0)
|
||||||
|
|
||||||
|
local additiveOffset = EID.LocalModePositionOffset.Default
|
||||||
|
for _, offsetFunc in pairs(EID.LocalModePositionOffset) do
|
||||||
|
if type(offsetFunc) == "function" then
|
||||||
|
additiveOffset = offsetFunc(entity) or additiveOffset
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
textPosOffset = textPosOffset + additiveOffset
|
||||||
|
|
||||||
EID:alterTextPos(Isaac.WorldToScreen(entity.Position + textPosOffset))
|
EID:alterTextPos(Isaac.WorldToScreen(entity.Position + textPosOffset))
|
||||||
if EID.isMirrorRoom then
|
if EID.isMirrorRoom then
|
||||||
EID:alterTextPos(Isaac.WorldToScreen(entity.Position + textPosOffset * Vector(-1,0)))
|
EID:alterTextPos(Isaac.WorldToScreen(entity.Position + textPosOffset * Vector(-1,0)))
|
||||||
@@ -1127,7 +1136,7 @@ function EID:CheckStartOfRunWarnings()
|
|||||||
EID:displayPermanentText(demoDescObj, "AchievementWarningTitle")
|
EID:displayPermanentText(demoDescObj, "AchievementWarningTitle")
|
||||||
hasShownStartWarning = true
|
hasShownStartWarning = true
|
||||||
-- Bag of Crafting modded items check
|
-- Bag of Crafting modded items check
|
||||||
elseif EID:PlayersHaveCollectible(710) and EID:DetectModdedItems() and EID.Config.DisplayBagOfCrafting ~= "never" and
|
elseif not REPENTOGON and EID:PlayersHaveCollectible(710) and EID:DetectModdedItems() and EID.Config.DisplayBagOfCrafting ~= "never" and
|
||||||
(EID.Config.BagOfCraftingDisplayRecipesMode == "Recipe List" or EID.Config.BagOfCraftingDisplayRecipesMode == "Preview Only") then
|
(EID.Config.BagOfCraftingDisplayRecipesMode == "Recipe List" or EID.Config.BagOfCraftingDisplayRecipesMode == "Preview Only") then
|
||||||
local demoDescObj = EID:getDescriptionObj(-999, -1, 1)
|
local demoDescObj = EID:getDescriptionObj(-999, -1, 1)
|
||||||
demoDescObj.Name = EID:getDescriptionEntry("AchievementWarningTitle") or ""
|
demoDescObj.Name = EID:getDescriptionEntry("AchievementWarningTitle") or ""
|
||||||
@@ -1429,14 +1438,15 @@ function EID:OnRender()
|
|||||||
end
|
end
|
||||||
|
|
||||||
local glitchedObj = EID:getDescriptionObj(closest.Type, closest.Variant, closest.SubType, closest)
|
local glitchedObj = EID:getDescriptionObj(closest.Type, closest.Variant, closest.SubType, closest)
|
||||||
|
local glitchedName = EID.itemConfig:GetCollectible(closest.SubType).Name
|
||||||
local glitchedDesc = EID:getXMLDescription(closest.Type, closest.Variant, closest.SubType)
|
local glitchedDesc = EID:getXMLDescription(closest.Type, closest.Variant, closest.SubType)
|
||||||
|
|
||||||
-- force the default glitchy description if option is off
|
-- force the default glitchy description if option is off
|
||||||
if not EID.Config["DisplayGlitchedItemInfo"] then
|
if not EID.Config["DisplayGlitchedItemInfo"] then
|
||||||
glitchedObj.Description = glitchedDesc
|
glitchedObj.Description = glitchedDesc
|
||||||
-- grab the Item Config info if eid_tmtrainer.lua hasn't taken care of it, and it hasn't been done before
|
-- grab the Item Config info if we haven't created a desc for it before, or its name has changed since we did (different game session)
|
||||||
elseif not debug and glitchedObj.Description == glitchedDesc then
|
elseif glitchedObj.Description == glitchedDesc or glitchedObj.Name ~= glitchedName then
|
||||||
EID:addCollectible(closest.SubType, EID:CheckGlitchedItemConfig(closest.SubType) .. glitchedDesc)
|
EID:addCollectible(closest.SubType, EID:CheckGlitchedItemConfig(closest.SubType), glitchedName)
|
||||||
glitchedObj = EID:getDescriptionObj(closest.Type, closest.Variant, closest.SubType, closest)
|
glitchedObj = EID:getDescriptionObj(closest.Type, closest.Variant, closest.SubType, closest)
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -1803,4 +1813,11 @@ if EID.enableDebug then
|
|||||||
require("eid_debugging")
|
require("eid_debugging")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- load repentogon stuff last to allow overrides of functions
|
||||||
|
require("eid_repentogon")
|
||||||
|
|
||||||
|
Isaac.DebugString("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
|
||||||
|
Isaac.DebugString("External Item Descriptions v"..EID.ModVersion.."_"..EID.ModVersionCommit.." loaded.")
|
||||||
|
Isaac.DebugString("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
|
||||||
|
|
||||||
print("External Item Descriptions v"..EID.ModVersion.."_"..EID.ModVersionCommit.." loaded.")
|
print("External Item Descriptions v"..EID.ModVersion.."_"..EID.ModVersionCommit.." loaded.")
|
||||||
Reference in new issue
Block a user