From dcb6a7e5495f1f1987b234518620191f7bc79aa5 Mon Sep 17 00:00:00 2001 From: kohashiwakaba Date: Sun, 23 Jan 2022 01:37:31 +0900 Subject: [PATCH 1/2] ko_kr : Added more information for Teleport 2.0 --- descriptions/ab+/ko_kr.lua | 2 +- descriptions/rep/ko_kr.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/descriptions/ab+/ko_kr.lua b/descriptions/ab+/ko_kr.lua index a671ca5e..44a1d4a0 100644 --- a/descriptions/ab+/ko_kr.lua +++ b/descriptions/ab+/ko_kr.lua @@ -87,7 +87,7 @@ EID.descriptions[languageCode].collectibles={ {"52", "태아 박사", "↓ {{Tears}}공격 딜레이 x2.5#공격이 폭탄 발사 공격으로 변경됩니다.#폭탄 공격력: x5 +30"}, -- Dr. Fetus {"53", "자석", "픽업 아이템이 캐릭터에게 끌려옵니다."}, -- Magneto {"54", "보물 지도", "맵에 스테이지 구조를 표시합니다."}, -- Treasure Map - {"55", "엄마의 눈알", "50%의 확률로 캐릭터의 뒤에서 공격이 나갑니다."}, -- Mom's Eye + {"55", "엄마의 눈알", "50%의 확률로 캐릭터의 뒤에서 공격이 나갑니다.#!!! {{Luck}}행운 수치 비례: 행운 2 이상일 때 100% 확률"}, -- Mom's Eye {"56", "레몬빛 실수", "사용 시 캐릭터의 주위에 노란 장판이 생성되며 장판에 닿은 적은 초당 66의 피해를 입습니다."}, -- Lemon Mishap {"57", "짝사랑", "캐릭터 주위를 돌며 접촉하는 적에게 초당 75의 피해를 입힙니다."}, -- Distant Admiration {"58", "그림자의 책", "사용 시 10초간 무적 상태가 됩니다."}, -- Book of Shadows diff --git a/descriptions/rep/ko_kr.lua b/descriptions/rep/ko_kr.lua index 1462f4d0..b27481c1 100644 --- a/descriptions/rep/ko_kr.lua +++ b/descriptions/rep/ko_kr.lua @@ -192,7 +192,7 @@ local repCollectibles={ [415] = {"415", "빛의 왕관", "↑ 소울하트 +2#!!! 최대 체력이 모두 차있거나 빨간하트가 없을 때:#↑ {{Damage}}공격력 배율 x2#↑ {{Range}}사거리 +1.5#↓ {{Shotspeed}}}탄속 -0.3#피격 시 그 방에서만 비활성화됩니다."}, -- Crown Of Light [416] = {"416", "넓은 가방", "동전의 최대 소지 가능 개수가 999로 증가합니다.#방 클리어 시 보상이 드랍되지 않으면 동전을 1~3개 드랍합니다."}, -- Deep Pockets [417] = {"417", "서큐버스", "오라를 가지고 대각선으로 이동하며 오라 안에 들어온 적에게 프레임당 2.5의 피해를 입히고 캐릭터가 들어오면 {{Damage}}공격력을 x1.5 증가시켜줍니다."}, -- Succubus - [419] = {"419", "순간이동 2.0", "사용 시 클리어하지 않은 방들 중 하나로 정해진 우선순위에 따라서 순간이동합니다.#!!! 순서: {{Room}}>{{BossRoom}}>{{SuperSecretRoom}}>{{Shop}}>{{TreasureRoom}}>{{SacrificeRoom}}> {{DiceRoom}}>{{Library}}>{{CursedRoom}}>{{MiniBoss}}>{{ChallengeRoom}}>{{IsaacsRoom}}> {{ArcadeRoom}}>{{ChestRoom}}>{{Planetarium}}>{{SecretRoom}}>{{DevilRoom}}{{AngelRoom}}> 오류방"}, -- Teleport 2.0 + [419] = {"419", "순간이동 2.0", "사용 시 클리어하지 않은 방들 중 하나로 정해진 우선순위에 따라서 순간이동합니다.#!!! 순서: {{Room}}>{{BossRoom}}>{{SuperSecretRoom}}>{{Shop}}>{{TreasureRoom}}>{{SacrificeRoom}}> {{DiceRoom}}>{{Library}}>{{CursedRoom}}>{{MiniBoss}}>{{ChallengeRoom}}>{{IsaacsRoom}}> {{ArcadeRoom}}>{{ChestRoom}}>{{Planetarium}}>{{SecretRoom}}>{{DevilRoom}}{{AngelRoom}}> 오류방#Mausoleum/Gehenna II의 엄마 심장 처치 후 사용 시 위의 순서를 무시하고 무조건 오류방으로 텔레포트합니다."}, -- Teleport 2.0 [421] = {"421", "강낭콩", "사용 시 매혹 방귀를 뀝니다."}, -- Kidney Bean [426] = {"426", "집착하는 추종자", "캐릭터가 지나간 길을 1초 후 따라가며 접촉한 적에게 초당 30의 피해를 입힙니다."}, -- Obsessed Fan [427] = {"427", "마인크래프터", "사용 시 이동식 TNT를 생성합니다.#충전되지 않았을때 사용 시 생성한 TNT를 폭파합니다."}, -- Mine Crafter From e8307cfa7e5e773996740942c2962f795a098cec Mon Sep 17 00:00:00 2001 From: kohashiwakaba Date: Sun, 23 Jan 2022 01:40:25 +0900 Subject: [PATCH 2/2] Added Broken Shovel description --- eid_api.lua | 1 + main.lua | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/eid_api.lua b/eid_api.lua index 745c134f..4459bba3 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -509,6 +509,7 @@ function EID:hasDescription(entity) end if entity.Type == EntityType.ENTITY_PICKUP then isAllowed = isAllowed or (entity.Variant == PickupVariant.PICKUP_COLLECTIBLE and EID.Config["DisplayItemInfo"]) + isAllowed = isAllowed or (entity.Variant == 110 and entity:GetSprite():IsPlaying("Idle") and EID.Config["DisplayItemInfo"]) isAllowed = isAllowed or (entity.Variant == PickupVariant.PICKUP_TRINKET and EID.Config["DisplayTrinketInfo"]) isAllowed = isAllowed or (entity.Variant == PickupVariant.PICKUP_TAROTCARD and EID.Config["DisplayCardInfo"]) isAllowed = isAllowed or (entity.Variant == PickupVariant.PICKUP_PILL and EID.Config["DisplayPillInfo"]) diff --git a/main.lua b/main.lua index 022fa646..1ea56a85 100644 --- a/main.lua +++ b/main.lua @@ -1088,7 +1088,11 @@ local function onRender(t) if EID.pathfindingTo and EID.pathfindingTo.Index ~= closest.Index then EID:updatePathfinding() end - if closest.Variant == PickupVariant.PICKUP_TRINKET then + if closest.Variant == 110 then + --Handle Broken Shovel + local descriptionObj = EID:getDescriptionObj(5, 100, 550, closest) + EID:printDescription(descriptionObj) + elseif closest.Variant == PickupVariant.PICKUP_TRINKET then --Handle Trinkets local descriptionObj = EID:getDescriptionObjByEntity(closest) EID:printDescription(descriptionObj)