minor code and translation fixes

This commit is contained in:
Wofsauge committed 2024-01-08 18:22:52 +01:00
1 parent ca5d4d13ae
commit 87641f1d29
4 files changed
+2 -13

No files matched your search

+2 -2
View File
@@ -791,11 +791,11 @@ local repCarBattery = {
[635] = "!!! {{BlinkYellowGreen}}더 이상 인형의 위치와 맞바꿀 수 없으나{{CR}} 두 위치 모두 주변의 적에게 피해를 줍니다.", -- Stitches
[639] = {"+1", "+2"}, -- Yuck Heart
[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
[705] = {"1초", "2초"}, -- Dark Arts
[712] = {"소환합니다", "2마리{{CR}} 소환합니다"}, -- Lemegeton
[712] = {"소환합니다", "2개{{CR}} 소환합니다"}, -- Keeper's Box
[719] = {"소환합니다", "2개{{CR}} 소환합니다"}, -- Keeper's Box
[720] = "똥을 추가로 쌉니다.", -- Everything Jar
[722] = {"가장 가까운 적을", "가장 가까운 적 2마리를"}, --Anima Sola
[723] = {"앞번호", "앞 2개 번호"}, -- Spindown Dice
-4
View File
@@ -421,8 +421,6 @@ if MCMLoaded and MCM and MCM.i18n == "Chinese" then
= "切换显示配方列表,袋满时的道具预览,道具池/品质信息,或地面上的掉落物",
["Hides the Bag of Crafting info when in a fight"] = "在战斗中隐藏合成宝袋信息",
["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"] = "开关基础的模组道具支持",
["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)",
@@ -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"]
= "如果开启,每个配方会显示两行,第一行是名字,第二行是配方",
["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"]
= "选择使用八个图标还是分组 显示配方(或无配方模式的最佳组合)",
["Press this key to toggle the crafting display, allowing you to check descriptions of items/pickups on the floor"]
-6
View File
@@ -2,8 +2,6 @@
-- It requires installing REPENTOGON to give fully accurate descriptions.
-- https://repentogon.com/install.html
local game = Game()
-- glitched items start at 4294967295
local maxNumber = 4294967296
local lastEffectTrigger = "chain"
@@ -61,7 +59,6 @@ function EID:CheckGlitchedItemConfig(id)
if not itemConfig then return "" end
local localizedNames = EID:getDescriptionEntry("GlitchedItemText")
local voidNames = EID:getDescriptionEntry("VoidNames")
local attributes = "#"
-- Check the base item config for the Hearts/Bombs/Coins/Keys this item adds,
@@ -131,8 +128,6 @@ function EID:CheckGlitchedItemConfig(id)
end
-- Use REPENTOGON to print out the glitched effects this item has
local item = ProceduralItemManager.GetProceduralItem(maxNumber - 1 - id)
local triggerReplacements = {}
local replacements = {}
@@ -167,7 +162,6 @@ function EID:CheckGlitchedItemConfig(id)
replacements[2] = string.format("%.4g",SimpleRound(effectProp.radius))
end
local localizedNames = EID:getDescriptionEntry("GlitchedItemText")
if effectTrigger ~= lastEffectTrigger then
if effectTrigger ~= "chain" then attributes = attributes .. "{{Blank}} " end
attributes = attributes .. triggerColors[effectTrigger] .. localizedNames[effectTrigger]
-1
View File
@@ -698,7 +698,6 @@ function EID:printDescription(desc, cachedID)
local itemConfig = EID.itemConfig:GetCollectible(desc.ObjSubType)
if itemConfig:IsCollectible() and not itemConfig:HasTags(ItemConfig.TAG_QUEST) then
local lastPool = game:GetItemPool():GetLastPool()
local itemPoolLineHeight = EID.lineHeight
local poolName = ""
local poolDescPrepend = EID:getDescriptionEntry("itemPoolFor")