From 4fdbe7fec0cb1da482ba176d2e66c04fca475fd3 Mon Sep 17 00:00:00 2001 From: kohashiwakaba Date: Fri, 17 Jun 2022 10:22:00 +0900 Subject: [PATCH 1/4] ko_kr : sync void/teleport strings --- descriptions/ab+/ko_kr.lua | 8 +++++--- descriptions/rep/ko_kr.lua | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/descriptions/ab+/ko_kr.lua b/descriptions/ab+/ko_kr.lua index f6579e29..8c7c55d8 100644 --- a/descriptions/ab+/ko_kr.lua +++ b/descriptions/ab+/ko_kr.lua @@ -882,7 +882,7 @@ EID.descriptions[languageCode].transformations={ ---------- Misc ---------- EID.descriptions[languageCode].VoidText = "흡수 시 이하 능력치 증가:" -EID.descriptions[languageCode].VoidNames = {"이동속도", "연사", "공격력", "사거리", "탄속", "행운"} +EID.descriptions[languageCode].VoidNames = {"이동속도 {1}", "연사 {1}", "공격력 {1}", "사거리 {1}", "탄속 {1}", "행운 {1}"} EID.descriptions[languageCode].CollectionPageInfo = "아직 해당 아이템을 획득한 적이 없습니다. 획득하여 아이템 컬렉션에 채워주세요." @@ -895,5 +895,7 @@ EID.descriptions[languageCode].MCM={ -- the Hold Map description will predict the abilities of items with a header like "Item Name Result" EID.descriptions[languageCode].HoldMapHeader = " 예상 결과" -- includes Planetarium even though it's unused in AB+ for convenience -EID.descriptions[languageCode].Teleport2RoomNames = { "일반방","보스방","일급비밀방","상점","보물방","희생방","주사위방","책방","저주방","미니보스방","도전방/보스도전방","깨끗한 침대방","더러운 침대방","오락실","금고방","천체관","비밀방","특수 빨간방","악마방/천사방","I AM ERROR (오류방)" } -EID.descriptions[languageCode].Teleport2GreedRoomNames = { "아레나", "보스방", "상점", "금/은보물방", "저주방", "출구방", "일급비밀방", "악마방/천사방", "I AM ERROR (오류방)" } \ No newline at end of file +-- Includes Repentance room types for localization convenience +EID.descriptions[languageCode].RoomTypeNames = { "일반방", "상점", "I AM ERROR (오류방)", "보물방", "보스방", "미니보스방", "비밀방", "일급비밀방", "오락실", "저주방", "도전방/보스도전방", "책방", "희생방", "악마방", "천사방", "사다리방", "보스러시", "깨끗한 침대방", "더러운 침대방", "금고방", "주사위방", "블랙마켓", "출구방", "천체관", "텔레포터 입구", "텔레포터 출구", "대체 루트 입구", "파란 방", "특급비밀방", +-- Not technically room types but still potentially useful to have localized +[666] = "악마방/천사방", [1024] = "빨간방(일반)", [1025] = "빨간방(특수)" } diff --git a/descriptions/rep/ko_kr.lua b/descriptions/rep/ko_kr.lua index de7b5fe0..ba607bc7 100644 --- a/descriptions/rep/ko_kr.lua +++ b/descriptions/rep/ko_kr.lua @@ -1139,6 +1139,7 @@ EID.descriptions[languageCode].poopSpells = { EID.descriptions[languageCode].VoidShopText = "아이템을 드는 도중 흡수 시 이하 능력치 증가:" EID.descriptions[languageCode].VoidOptionText = " 아이템이 대신 흡수됨" +EID.descriptions[languageCode].VoidNames[2] = "연사(상한) {1}" EID.descriptions[languageCode].spindownError = "아이템 사라짐" From 3456d2b1e90cb3448142014a5063bcd91eecc3e0 Mon Sep 17 00:00:00 2001 From: kohashiwakaba Date: Fri, 17 Jun 2022 13:33:36 +0900 Subject: [PATCH 2/4] ko_kr : sync with en_us --- descriptions/ab+/ko_kr.lua | 4 ++-- descriptions/rep/ko_kr.lua | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/descriptions/ab+/ko_kr.lua b/descriptions/ab+/ko_kr.lua index 8c7c55d8..30096618 100644 --- a/descriptions/ab+/ko_kr.lua +++ b/descriptions/ab+/ko_kr.lua @@ -273,7 +273,7 @@ EID.descriptions[languageCode].collectibles={ {"238", "열쇠 조각 1", "{{MegaSatanSmall}} Key Piece 2와 조합 시 Chest/Dark Room 스테이지에서 Mega Satan 문을 열 수 있습니다.#↑ {{AngelChanceSmall}}천사방 확률 +25%"}, -- Key Piece 1 {"239", "열쇠 조각 2", "{{MegaSatanSmall}} Key Piece 1와 조합 시 Chest/Dark Room 스테이지에서 Mega Satan 문을 열 수 있습니다.#↑ {{AngelChanceSmall}}천사방 확률 +25%"}, -- Key Piece 2 {"240", "임상시험", "모든 능력치가 랜덤으로 증가하거나 감소합니다."}, -- Experimental Treatment - {"241", "지하로부터의 계약", "방 클리어 보상이 하나 더 나옵니다.#방 클리어 보상이 33%의 확률로 등장하지 않습니다.#{{Blank}} (중첩 시 보상 개수 증가, 보상 미등장 확률 감소)"}, -- Contract from Below + {"241", "지하로부터의 계약", "방 클리어 보상이 하나 더 나옵니다.#방 클리어 보상이 33%의 확률로 등장하지 않습니다.#{{Blank}} (중첩 시 보상 개수 증가, 보상 미등장 확률 감소)#{{GreedModeSmall}} 그리드 모드의 동전 보상은 영향 없음"}, -- Contract from Below {"242", "악명", "적 탄환에 맞았을 때 50% 확률로 피해를 무시합니다."}, -- Infamy {"243", "삼위일체 방패", "캐릭터의 정면에서 오는 적의 탄환을 모두 방어합니다."}, -- Trinity Shield {"244", "기계 0.5", "공격 시 캐릭터의 이마 쪽에서 보조 레이저가 발사됩니다."}, -- Tech.5 @@ -695,7 +695,7 @@ EID.descriptions[languageCode].trinkets={ {"104", "창사골", "!!! 일회용#피격 시 2% 확률로 그 방의 아이템을 하나 생성합니다."}, -- Wish Bone {"105", "점심 도시락", "!!! 일회용#피격 시 2% 확률로 {{Collectible22}}Lunch ({{Heart}}최대 체력 +1) 아이템을 생성합니다."}, -- Bag Lunch {"106", "잃어버린 코르크", "캐릭터와 패밀리어가 생성하는 장판의 범위가 넓어집니다."}, -- Lost Cork - {"107", "까마귀 심장", "피격 시 빨간하트가 가장 우선적으로 소모됩니다."}, -- Crow Heart + {"107", "까마귀 심장", "피격 시 빨간하트가 가장 우선적으로 소모됩니다.#!!! 악마방/천사방 확률에 영향을 끼칩니다."}, -- Crow Heart {"108", "호두", "!!! 일회용#캐릭터 주변에 폭발이 일어날 경우 확률적으로 랜덤한 픽업 아이템을 드랍합니다."}, -- Walnut {"109", "청테이프", "캐릭터의 위치를 기준으로 캐릭터를 따라오는 패밀리어의 위치를 고정시킵니다.#공전형 패밀리어가 회전하지 않습니다."}, -- Duct Tape {"110", "은화", "7, 8 스테이지에서 {{Shop}}상점이 생성됩니다."}, -- Silver Dollar diff --git a/descriptions/rep/ko_kr.lua b/descriptions/rep/ko_kr.lua index ba607bc7..fe5da242 100644 --- a/descriptions/rep/ko_kr.lua +++ b/descriptions/rep/ko_kr.lua @@ -78,6 +78,7 @@ local repCollectibles={ [155] = {"155", "엿보기 눈깔", "대각선으로 돌아다니며 접촉한 적에게 초당 17.1의 피해를 입힙니다.#캐릭터의 왼쪽 눈에서 공격력 x1.34의 공격이 나갑니다."}, -- The Peeper [157] = {"157", "피의 욕망", "피격 시 그 스테이지에서 {{DamageSmall}}공격력 +0.5 +(피격 횟수-1)x0.2#{{Blank}} (6회 피격 시 최대 +6)"}, -- Bloody Lust [158] = {"158", "수정구슬", "사용 시 맵에 스테이지 구조와 특수방 위치를 표시하며 {{SoulHeart}}소울하트 또는 {{Card}}카드를 하나 드랍합니다.#!!! 소지 시:#{{PlanetariumChanceSmall}} 첫 천체방 등장할 확률 +15%#{{PlanetariumChanceSmall}} 현재 게임에서 보물방 1회 이상 미입장 시 첫 천체방 등장 확률 +100%"}, -- Crystal Ball + [161] = {"161", "앙크", "↑ 목숨 +1#{{Player4}} 사망 시 전 방에서 ??? 캐릭터로 부활합니다.#{{Player25}} Tainted ???의 경우 ??? 캐릭터로 변경되지 않습니다."}, [163] = {"163", "유령 아기", "공격하는 방향으로 공격력 3.5의 장애물을 관통하는 빠른 눈물을 발사합니다."}, -- Ghost Baby [169] = {"169", "폴리페무스", "↑ {{DamageSmall}}공격력 (+4)x2#↓ {{TearsSmall}}연사 배율 x0.42#적 처치 시 여분의 공격력을 남긴 채 관통합니다."}, -- Polyphemus [171] = {"171", "거미 엉덩이", "{{Slow}} 사용 시 방 안의 모든 적에게 10의 피해를 주고 4초간 둔화시키며 사용과 동시에 적 처치시 파란 아군 거미를 소환합니다."}, -- Spider Butt @@ -115,6 +116,7 @@ local repCollectibles={ [232] = {"232", "스톱워치", "↑ {{SpeedSmall}}이동속도 +0.3#모든 적들을 영구적으로 둔화시킵니다.#이 아이템으로 인한 둔화는 상태이상으로 취급되지 않아 다른 둔화 아이템과 중첩됩니다."}, -- Stop Watch [233] = {"233", "소행성", "↑ {{RangeSmall}}사거리 +6.5#공격이 장애물을 관통합니다.#공격이 캐릭터 주위를 돌면서 발사됩니다."}, -- Tiny Planet [240] = {"240", "임상시험", "4개의 랜덤한 능력치가 증가하며 나머지 2개의 능력치가 감소합니다."}, -- Experimental Treatment + [241] = {"241", "지하로부터의 계약", "방 클리어 보상이 하나 더 나옵니다.#방 클리어 보상이 33%의 확률로 등장하지 않습니다.#{{Blank}} (중첩 시 보상 개수 증가, 보상 미등장 확률 감소)"}, -- Contract from Below [245] = {"245", "시력 2.0", "↓ {{DamageSmall}}공격력 배율 x0.75#공격이 2발로 나갑니다."}, -- 20/20 [248] = {"248", "군체의식", "파란 아군 파리/거미와 파리/거미 타입의 패밀리어의 공격력이 2배 증가합니다."}, -- Hive Mind [249] = {"249", "추가 선택권", "{{BossRoom}}보스방 보상 아이템이 한개 더 추가되며 하나를 선택하면 나머지는 사라집니다."}, -- There's Options @@ -151,6 +153,7 @@ local repCollectibles={ [308] = {"308", "물병자리", "캐릭터가 지나간 자리에 파란 장판이 생기며 닿은 적은 공격력 x0.66의 피해를 입습니다.#장판의 효과는 현재 눈물 효과에 따라 달라집니다."}, -- Aquarius [309] = {"309", "물고기자리", "↑ {{TearsSmall}}연사(+상한) +0.5#공격이 적을 밀쳐냅니다."}, -- Pisces [310] = {"310", "이브의 마스카라", "↑ {{DamageSmall}}공격력 배율 x2#↓ {{TearsSmall}}연사 배율 x0.66#↓ {{ShotspeedSmall}}탄속 -0.5"}, -- Eve's Mascara + [311] = {"311", "유다의 그림자", "↑ 목숨 +1#{{Player12}} 사망 시 전 방에서 Black Judas 캐릭터#{{Blank}} (2{{BlackHeart}}/{{DamageSmall}} x2/{{SpeedSmall}} +0.1)로 부활합니다.#{{Player24}} Tainted Judas의 경우 Black Judas 캐릭터로 변경되지 않습니다."}, --Judas' Shadow [314] = {"314", "살찐 허벅지", "↑ {{Heart}}최대 체력 +1#↑ {{Heart}}빨간하트 +1#↓ {{SpeedSmall}}이동속도 -0.4#장애물을 부술 수 있습니다."}, -- Thunder Thighs [315] = {"315", "이상한 끌개", "공격이 무언가에 부딪힐 때 적과 픽업 아이템이 공격에 끌려옵니다."}, -- Strange Attractor [316] = {"316", "저주받은 눈알", "{{Chargeable}} 눈물을 충전한 다음 최대 5발의 눈물을 일렬로 발사합니다.#!!! 충전중 피격 시 스테이지 안의 랜덤한 방으로 순간이동합니다.#{{Blank}} ({{Collectible260}} 보유 시 순간이동 효과 면역)"}, -- Cursed Eye @@ -161,7 +164,7 @@ local repCollectibles={ [328] = {"328", "반전사진", "!!! Dark Room/Home 스테이지 입장에 필요#↑ {{DamageSmall}}공격력 +1#피격 시 {{HalfHeart}}빨간하트가 반칸 이하일 때 방 안의 모든 적에게 40의 피해를 줍니다."}, -- The Negative [330] = {"330", "두유", "↓ {{DamageSmall}}공격력 배율 x0.2#↑ {{TearsSmall}}연사 배율 x5.5#충전이 필요한 공격이 충전 없이 자동으로 발사됩니다.#{{Blank}} (부가 공격 제외)"}, -- Soy Milk [331] = {"331", "신", "↑ {{DamageSmall}}공격력 +1#↓ {{TearsSmall}}연사 -0.3#↑ {{RangeSmall}}사거리 +0.5#↓ {{ShotspeedSmall}}탄속 -0.3#공격이 적에게 유도됩니다.#눈물에 후광이 생기며 후광에 닿은 적은 프레임당 2의 피해를 입습니다."}, -- Godhead - [332] = {"332", "나사로의 붕대", "↑ 목숨 +1#{{Player11}} 사망 시 즉시 Lazarus Risen 캐릭터#{{Blank}} (1{{Heart}}/{{DamageSmall}}공격력 배율 x1.4/{{Collectible214}}Anemic)로 부활하며 최대 체력이 1 감소, {{DamageSmall}}공격력이 +0.5 증가합니다.#부활 이후 스테이지 진입 시마다 사망 이전의 Lazarus 캐릭터로 변경되며 해당 아이템의 효과를 다시 발동할 수 있습니다."}, -- Lazarus' Rags + [332] = {"332", "나사로의 붕대", "↑ 목숨 +1#{{Player11}} 사망 시 즉시 Lazarus Risen 캐릭터#{{Blank}} (1{{Heart}}/{{DamageSmall}} x1.4/{{Collectible214}})로 부활하며 최대 체력이 1 감소, {{DamageSmall}}공격력이 +0.5 증가합니다.#부활 이후 스테이지 진입 시마다 사망 이전의 Lazarus 캐릭터로 변경되며 해당 아이템의 효과를 다시 발동할 수 있습니다.#{{Player29}} Tainted Lazarus의 경우 Lazarus Risen 캐릭터로 변경되지 않습니다."}, -- Lazarus' Rags [333] = {"333", "정신", "맵에 특급 비밀방을 제외한 모든 방의 위치가 표시됩니다."}, -- The Mind [336] = {"336", "죽은 양파", "↓ {{RangeSmall}}사거리 -1.5#↓ {{ShotspeedSmall}}탄속 -0.4#공격이 적과 장애물을 관통합니다."}, -- Dead Onion [339] = {"339", "안전핀", "↑ {{BlackHeart}}블랙하트 +1#↑ {{RangeSmall}}사거리 +1.5#↑ {{ShotspeedSmall}}탄속 +0.16"}, -- Safety Pin @@ -268,7 +271,7 @@ local repCollectibles={ [530] = {"530", "죽음의 살생부", "해골마크가 뜬 적을 순차적으로 처치시 픽업 아이템이 드랍되거나 랜덤한 능력치가 하나 증가합니다."}, -- Death's List [531] = {"531", "피눈물병", "↑ {{DamageSmall}}공격력 +1#↑ {{DamageSmall}}공격력 배율 x1.5#↓ {{TearsSmall}}눈물 딜레이 x2 +11#공격력 x3.1의 눈물을 포물선으로 발사하며 무언가에 부딪힐 시 파열되어 작은 눈물이 흩어집니다."}, -- Haemolacria [533] = {"533", "삼성송", "공격이 하얀색 빛줄기 공격으로 변경됩니다.#빛줄기는 적에게 다단히트로 공격력 x0.33의 피해를 주며 적을 관통합니다."}, -- Trisagion - --541(Marrow) : exact same description + --535(Blanket) : exact same description [543] = {"543", "성지", "피격 시 오라를 가진 하얀 똥을 설치합니다.#오라 안에 있을 시 {{DamageSmall}}공격력이 2.5배, {{TearsSmall}}연사가 2.5배 증가하며 피해를 확률적으로 무시하고 공격에 유도 효과가 생깁니다."}, -- Hallowed Ground [544] = {"544", "날카로운 갈비뼈", "캐릭터가 보는 방향에서 앞뒤로 움직이면서 접촉하는 적에게 초당 공격력 x6의 피해를 입힙니다."}, -- Pointy Rib [549] = {"549", "최약골", "↑ {{EmptyBoneHeart}}뼈하트 +6#!!! 최대 체력, 빨간하트, 썩은하트를 모두 제거합니다.#뼈하트 파괴 시 {{TearsSmall}}연사(+상한)가 0.4 증가합니다."}, -- Brittle Bones @@ -763,6 +766,7 @@ local repTrinkets={ [18] = {"18", "성경 책자", "{{EthernalHeart}} 이터널하트가 드랍될 확률이 증가합니다."}, -- Bible Tract [19] = {"19", "종이 클립", "열쇠가 필요한 모든 상자를 열쇠 소모 없이 열 수 있습니다."}, -- Paper Clip [22] = {"22", "악마 꼬리", "방 클리어 시 하트가 드랍될 때 80% 확률로 {{Key}}열쇠로 바뀝니다.#↓ 상자에서 하트가 드랍될 확률이 대폭 감소합니다.#고정 드랍이 아닌 하트가 드랍될 때 열쇠로 바뀌지 않은 경우 100%의 확률로 {{BlackHeart}}블랙하트로 대체됩니다."}, -- Daemon's Tail + [23] = {"23", "실종 포스터", "!!! 일회용#{{Player10}} {{SacrificeRoom}}희생방에서 사망 시 전 방에서 The Lost 캐릭터로 부활함과 동시에 The Lost 캐릭터가 해금됩니다.#The Lost 캐릭터 해금 이후에는 희생방이 아닌 다른 방에서의 사망 시에도 부활합니다.#{{Player31}} Tainted Lost의 경우 The Lost 캐릭터로 변경되지 않습니다."}, -- Missing Poster [24] = {"24", "똥전", "똥 오브젝트에서 {{Coin}}동전이 나올 확률이 20% 증가합니다.#{{Poison}} 동전 획득 시 적을 밀쳐내는 독성 방귀를 뀝니다."}, -- Butt Penny [25] = {"25", "이상한 초콜릿", "!!! 30초마다 일정 확률로:#똥을 싸거나;#적과 탄환을 밀쳐내며 6의 피해를 주는 방귀를 뀝니다."}, -- Mysterious Candy [26] = {"26", "꺾기벌레", "↑ {{TearsSmall}}연사 +0.4#↑ {{RangeSmall}}사거리 +1.5#눈물이 지그재그로 날아갑니다.#공격이 장애물을 관통합니다."}, -- Hook Worm @@ -983,7 +987,6 @@ EID.descriptions[languageCode].tarotClothBuffs = { ---------- Pills ---------- local repPills={ - [3] = {"2", "강철같은 알약", "{{SoulHeart}}소울하트 +2"}, -- Balls of Steel [4] = {"3", "폭탄은 곧 열쇠", "{{Bomb}}폭탄과 {{Key}}열쇠의 개수를 서로 바꿉니다.#{{GoldenBomb}}황금폭탄과 {{GoldenKey}}황금열쇠를 서로 바꿉니다."}, -- Bombs are Key [12] = {"11", "사거리 감소", "↓ {{RangeSmall}}사거리 -0.6"}, -- Range Down [13] = {"12", "사거리 증가", "↑ {{RangeSmall}}사거리 +0.75"}, -- Range Up From df2f7db809b622bb2f40b1233e416b0506584147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?wakaba=20=28aka=2E=20=EB=AF=B8=EC=B9=B4=29?= Date: Sun, 19 Jun 2022 17:16:23 +0900 Subject: [PATCH 3/4] ko_kr : immaculate, filigree --- descriptions/ab+/ko_kr.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/descriptions/ab+/ko_kr.lua b/descriptions/ab+/ko_kr.lua index 30096618..50bf47e9 100644 --- a/descriptions/ab+/ko_kr.lua +++ b/descriptions/ab+/ko_kr.lua @@ -445,7 +445,7 @@ EID.descriptions[languageCode].collectibles={ {"410", "악마의 눈", "공격 시 3.33%의 확률로 푸른 눈을 발사하며 눈은 날아가면서 캐릭터가 공격하는 방향으로 캐릭터의 눈물 효과와 같은 눈물을 발사합니다."}, -- Evil Eye {"411", "욕망의 피", "적 처치 시 그 방에서 {{DamageSmall}}공격력이 +0.5씩(최대 +5) 증가합니다."}, -- Lusty Blood {"412", "몽마의 자식들", "일정 횟수만큼 피격받을 시 악마류 패밀리어를 영구적으로 소환합니다.#{{Blank}} (최대 4마리)"}, -- Cambion Conception - {"413", "원죄없는 잉태", "일정 개수만큼 {{Heart}}하트 픽업 획득 시 천사류 패밀리어를 영구적으로 소환합니다.#{{Blank}} (최대 5마리)"}, -- Immaculate Conception + {"413", "원죄없는 잉태", "{{Heart}}하트류 픽업 15회 획득 시마다 천사류 패밀리어를 영구적으로 소환하며 {{SoulHeart}}소울하트 하나를 추가로 드랍합니다.#!!! 패밀리어는 최대 5마리까지 소환됩니다."}, -- Immaculate Conception {"414", "더 많은 선택권", "{{TreasureRoom}}보물방 아이템이 2개가 나오며 하나를 선택하면 나머지는 사라집니다."}, -- More Options {"415", "빛의 왕관", "↑ {{SoulHeart}}소울하트 +2#최대 체력이 모두 차있거나 빨간하트가 없을 때:#↑ {{DamageSmall}}공격력 배율 x2#↑ {{RangeSmall}}사거리 +5.25#↑ 눈물 높이 +0.5#↓ {{ShotspeedSmall}}탄속 -0.3#피격 시 그 방에서 비활성화됩니다."}, -- Crown Of Light {"416", "넓은 가방", "카드 또는 알약을 2개 들 수 있습니다.#카드/알약은 {{ButtonRT}}버튼으로 교체할 수 있습니다."}, -- Deep Pockets @@ -711,7 +711,7 @@ EID.descriptions[languageCode].trinkets={ {"120", "머리핀", "{{BossRoom}}보스방 최초 입장 시 액티브 아이템의 충전량을 모두 충전합니다."}, -- Hairpin {"121", "나무 십자가", "스테이지 당 {{HolyMantle}}1번 피해를 무시하는 보호막을 생성합니다."}, -- Wooden Cross {"122", "버터!", "액티브 아이템 사용 시 사용한 액티브 아이템을 내려놓습니다.#피격 시 2% 확률로 소지중인 패시브 아이템 중 하나를 내려놓습니다."}, -- Butter! - {"123", "세공 깃털", "천사 보스가 Key Piece 대신 {{AngelRoom}}천사방 아이템을 드랍합니다."}, -- Filigree Feather + {"123", "세공 깃털", "천사 보스가 Key Piece 대신 {{AngelRoom}}천사방 아이템을 드랍합니다.#!!! 한 종류의 Key Piece만 소지 시 Key Piece를 드랍합니다."}, -- Filigree Feather {"124", "문 받침대", "방에 입장 시 들어왔던 문이 닫히지 않습니다."}, -- Door Stop {"125", "연장 코드", "캐릭터와 패밀리어 사이에 전류 레이저가 흐르며 레이저에 접촉한 적은 초당 6의 피해를 입습니다."}, -- Extension Cord {"126", "썩은 동전", "동전 획득 시 파란 아군 파리를 소환합니다."}, -- Rotten Penny From 6cedeb4a1b2de7a2ba5cf2dca06489a0518f0293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?wakaba=20=28aka=2E=20=EB=AF=B8=EC=B9=B4=29?= Date: Mon, 20 Jun 2022 14:32:38 +0900 Subject: [PATCH 4/4] fix Flip with non 1x1 rooms --- main.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/main.lua b/main.lua index c2be506b..5979b374 100644 --- a/main.lua +++ b/main.lua @@ -186,7 +186,7 @@ EID:AddCallback(ModCallbacks.MC_POST_NEW_LEVEL, EID.onNewFloor) function EID:onSacrificeDamage(_, _, flags, source) if EID.Config["DisplaySacrificeInfo"] and game:GetRoom():GetType() == RoomType.ROOM_SACRIFICE and source.Type == 0 and flags & DamageFlag.DAMAGE_SPIKES == DamageFlag.DAMAGE_SPIKES then - local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() + local curRoomIndex = game:GetLevel():GetCurrentRoomDesc().ListIndex if EID.sacrificeCounter[curRoomIndex] == nil then EID.sacrificeCounter[curRoomIndex] = 1 end @@ -280,7 +280,7 @@ if REPENTANCE then -- (it also watches for item rerolls to fill the new entity's GetData) -- POST_NEW_ROOM then handles putting the result in the entity's GetData local curFrame = Isaac.GetFrameCount() - local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() + local curRoomIndex = game:GetLevel():GetCurrentRoomDesc().ListIndex if curFrame == lastGetItemResult[2] then if initialItemNext then lastGetItemResult[1] = selectedCollectible elseif flipItemNext and lastGetItemResult[1] then @@ -316,7 +316,7 @@ if REPENTANCE then flipItemNext = true lastGetItemResult[4] = entity.InitSeed - local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() + local curRoomIndex = game:GetLevel():GetCurrentRoomDesc().ListIndex local gridPos = game:GetRoom():GetGridIndex(entity.Position) -- Update a Flip item's init seed after D6 rerolls or using Flip (aka Grid Index didn't change, Init Seed did) @@ -343,7 +343,7 @@ if REPENTANCE then -- Only pedestals with indexes that were present at room load can be flip pedestals -- Fixes shop restock machines and Diplopia... mostly. At least while you're in the room. if entity:GetData()["EID_FlipItemID"] and entity.Index > EID.flipMaxIndex then - local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() + local curRoomIndex = game:GetLevel():GetCurrentRoomDesc().ListIndex local gridPos = game:GetRoom():GetGridIndex(entity.Position) local flipEntry = EID.flipItemPositions[curRoomIndex] and EID.flipItemPositions[curRoomIndex][entity.InitSeed] -- only wipe the data if the grid index matches (so Diplopia pedestals don't) @@ -358,7 +358,7 @@ if REPENTANCE then -- also, reload our descriptions due to transformation progress changing upon Flip EID.ForceRefreshCache = true lastFrameGridChecked = Isaac.GetFrameCount() - local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() + local curRoomIndex = game:GetLevel():GetCurrentRoomDesc().ListIndex if EID.flipItemPositions[curRoomIndex] then local pedestals = Isaac.FindByType(5, 100, -1, true, false) for _, pedestal in ipairs(pedestals) do @@ -737,7 +737,7 @@ EID.isDeathCertRoom = false if REPENTANCE then function EID:AssignFlipItems() EID.flipMaxIndex = -1 - local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() + local curRoomIndex = game:GetLevel():GetCurrentRoomDesc().ListIndex if EID.flipItemPositions[curRoomIndex] then local pedestals = Isaac.FindByType(5, 100, -1, true, false) for _, pedestal in ipairs(pedestals) do @@ -766,7 +766,7 @@ end function EID:onNewRoom() EID.RecentlyTouchedItems = {} - local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() + local curRoomIndex = game:GetLevel():GetCurrentRoomDesc().ListIndex preHourglassStatus = {} preHourglassStatus.SacrificeCounter = EID.sacrificeCounter[curRoomIndex] @@ -774,7 +774,7 @@ end EID:AddCallback(ModCallbacks.MC_POST_NEW_ROOM, EID.onNewRoom) function EID:WatchForGlowingHourglass() - local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() + local curRoomIndex = game:GetLevel():GetCurrentRoomDesc().ListIndex EID.sacrificeCounter[curRoomIndex] = preHourglassStatus.SacrificeCounter end EID:AddCallback(ModCallbacks.MC_PRE_USE_ITEM, EID.WatchForGlowingHourglass, CollectibleType.COLLECTIBLE_GLOWING_HOUR_GLASS) @@ -1503,7 +1503,7 @@ local function onRender(t) -- it will be last priority for the main spot if DisplayAllNearby is on and we aren't near them if (#EID.descriptionsToPrint == 0 or playerNearSacrificeSpikes) or EID.Config["DisplayAllNearby"] then if game:GetRoom():GetType() == RoomType.ROOM_SACRIFICE and EID.Config["DisplaySacrificeInfo"] then - local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() + local curRoomIndex = game:GetLevel():GetCurrentRoomDesc().ListIndex local curCounter = EID.sacrificeCounter[curRoomIndex] or 1 local sacrificeDesc = EID:getDescriptionObj(-999, -1, curCounter) EID:addDescriptionToPrint(sacrificeDesc, playerNearSacrificeSpikes and 1 or nil)