diff --git a/resources/contenttweaker/lang/zh_cn.lang b/resources/contenttweaker/lang/zh_cn.lang index a7f9b1ae..a0ad0e4b 100644 --- a/resources/contenttweaker/lang/zh_cn.lang +++ b/resources/contenttweaker/lang/zh_cn.lang @@ -2689,7 +2689,7 @@ tile.contenttweaker.fractallite_furnace_core.name=分形熔炉核心 tile.contenttweaker.core_of_halite_definition.name=岩晶定义核心 tile.contenttweaker.plated_photonium.name=镶板光子块 tile.contenttweaker.gallifreyan_irradiator.name=伽里弗雷辐照器 -item.contenttweaker.hand_framing_tool.desc1=手工抽屉镶框! +item.contenttweaker.hand_framing_tool.desc1=手工给抽屉镶框! item.contenttweaker.hand_framing_tool.desc2=手持式镶框工具能为放置在世界上的抽屉镶框。 item.contenttweaker.hand_framing_tool.desc3=要执行此操作,工具本身需要在合成方格里进行镶框。详情请在JEI中查看该物品参与的合成表。 item.contenttweaker.hand_framing_tool.desc4=工具镶框后,对任意已放置的抽屉右击即可为其镶框。 diff --git a/scripts/HandFraming.zs b/scripts/HandFraming.zs index 251fc7e6..50345630 100644 --- a/scripts/HandFraming.zs +++ b/scripts/HandFraming.zs @@ -29,11 +29,11 @@ val frontIngredient = ( | framingMaterial).marked("MatF"); .add(); function addInfo(stack as IItemStack) as IItemStack { - return stack.withDisplayName("Frame your drawers by hand!") + return stack.withDisplayName("手工给抽屉镶框!") .withLore([ - "Top left: sides", - "Top right: trim", - "Middle left: front" + "左上:外壳", + "右上:边框", + "左中: 正面" ]); } @@ -168,12 +168,12 @@ for stickStacks in 1 .. 9 { .addAdvancedTooltip( function(stack as IItemStack) { - return "Sticks: " + (isNull(stack) ? "0" : getNested(stack.tag, ["sticks"], 0)); + return "木棍:" + (isNull(stack) ? "0" : getNested(stack.tag, ["sticks"], 0)); } as ITooltipFunction ); -function makeTagFunc(name as string) as ITooltipFunction { - val matTag = "Mat" + name[0]; +function makeTagFunc(name as string, tag as string) as ITooltipFunction { + val matTag = tag; return function(stack as IItemStack) as string { val item as IItemStack = isNull(stack) ? @@ -184,9 +184,9 @@ function makeTagFunc(name as string) as ITooltipFunction { } as ITooltipFunction; } -.addAdvancedTooltip(makeTagFunc("Side")); -.addAdvancedTooltip(makeTagFunc("Front")); -.addAdvancedTooltip(makeTagFunc("Trim")); +.addAdvancedTooltip(makeTagFunc("外壳", "MatS")); +.addAdvancedTooltip(makeTagFunc("正面", "MatF")); +.addAdvancedTooltip(makeTagFunc("边框", "MatT")); recipes.addShaped( "hand_framing_tool", diff --git a/scripts/enchantwrapper/EnchantUtil.zs b/scripts/enchantwrapper/EnchantUtil.zs index 7ad3e9f6..ca3ba897 100644 --- a/scripts/enchantwrapper/EnchantUtil.zs +++ b/scripts/enchantwrapper/EnchantUtil.zs @@ -83,7 +83,7 @@ function unwrapJEI(wrapper as IItemStack) as IItemStack[] { enchList += makeIntTag(.makeEnchantment(level), true); } } - return item.withTag(enchList).withLore(["The superenchanted item will have these enchants"]); + return item.withTag(enchList).withLore(["被施加超限附魔的物品将拥有以上魔咒"]); }); // Run the transformer on book tooltip hover. book.addAdvancedTooltip(function(item) {