From f686e2ec677d50e3fa6ed036ff199e33bfabb904 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Tue, 30 Jul 2024 16:55:03 +0200 Subject: [PATCH] fixe korean language, fixed error in UpdateAllPlayerPassiveItems and improved language debugger errors --- descriptions/ab+/ko_kr.lua | 2 +- features/eid_api.lua | 4 ++-- features/eid_debugging.lua | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/descriptions/ab+/ko_kr.lua b/descriptions/ab+/ko_kr.lua index c51525b5..7218265b 100644 --- a/descriptions/ab+/ko_kr.lua +++ b/descriptions/ab+/ko_kr.lua @@ -1093,7 +1093,7 @@ EID.descriptions[languageCode].ConditionalDescs = { ["5.300.15"] = {"{{DemonBeggar}} 악마거지를 하나 소환합니다."}, -- Temperance (Greed) ["5.300.19"] = {"그 스테이지의 시작방으로 순간이동합니다."}, -- The Moon (Greed) ["5.300.20"] = {"{{Heart}} 방 안의 모든 적에게 100의 피해를 주고 체력을 모두 회복합니다."}, -- XIX - The Sun (Greed) - ["5.100.483"] = "{{GreedMode}} 각 방마다 발생, 웨이브마다 발생시키지는 않음", -- Mama Mega (Greed) + ["5.100.483 (Greed)"] = "{{GreedMode}} 각 방마다 발생, 웨이브마다 발생시키지는 않음", -- Mama Mega (Greed) ["5.100.535"] = "{{GreedMode}} Ultra Greed 보스전에서만 효과 발동", -- Blanket (Greed) ["5.350.120"] = "{{GreedMode}} Ultra Greed 보스전에서만 효과 발동", -- Hairpin (Greed) ["5.100.246"] = {"맵에 {{SuperSecretRoom}}일급 비밀방의 위치가 표시됩니다."}, -- Blue Map (Greed) diff --git a/features/eid_api.lua b/features/eid_api.lua index bb67b487..b7225dfc 100644 --- a/features/eid_api.lua +++ b/features/eid_api.lua @@ -2296,8 +2296,8 @@ function EID:UpdateAllPlayerPassiveItems() -- super hacky Tainted Cain active items check, mostly for transformation progress -- Only adds up to one copy of any active, I can't think of a good way to recognize a craft of the same active twice. better than nothing if EID.isRepentance and player:GetPlayerType() == 23 then - for i = 0, 1 do - local itemID = tostring(player:GetActiveItem(i)) + for j = 0, 1 do + local itemID = tostring(player:GetActiveItem(j)) if itemID ~= "0" then EID:InitActiveItemInteraction(itemID) if EID.PlayerItemInteractions[playerNum].actives[itemID] == 0 then EID.PlayerItemInteractions[playerNum].actives[itemID] = 1 end diff --git a/features/eid_debugging.lua b/features/eid_debugging.lua index 049f9777..61968d05 100644 --- a/features/eid_debugging.lua +++ b/features/eid_debugging.lua @@ -32,7 +32,7 @@ for _,lang in ipairs(languageFilesToCheck) do print("Type mismatch in table '" .. prevKey .. "', key: " .. k) progress[2] = progress[2] + 1 elseif type(table2[k]) == "table" then - EID:compareTables(table1[k], table2[k], k, progress) + EID:compareTables(table1[k], table2[k], prevKey.."->"..k, progress) else -- check for broken markup stuff local filteredText = EID:replaceShortMarkupStrings(table2[k])