Framing Tool Tooltips
This commit is contained in:
@@ -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=工具镶框后,对任意已放置的抽屉右击即可为其镶框。
|
||||
|
||||
+10
-10
@@ -29,11 +29,11 @@ val frontIngredient = (<xtones:zane:15> | framingMaterial).marked("MatF");
|
||||
<ore:handFramed>.add(<storagedrawers:customtrim>);
|
||||
|
||||
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 {
|
||||
|
||||
<contenttweaker:hand_framing_tool>.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;
|
||||
}
|
||||
|
||||
<contenttweaker:hand_framing_tool>.addAdvancedTooltip(makeTagFunc("Side"));
|
||||
<contenttweaker:hand_framing_tool>.addAdvancedTooltip(makeTagFunc("Front"));
|
||||
<contenttweaker:hand_framing_tool>.addAdvancedTooltip(makeTagFunc("Trim"));
|
||||
<contenttweaker:hand_framing_tool>.addAdvancedTooltip(makeTagFunc("外壳", "MatS"));
|
||||
<contenttweaker:hand_framing_tool>.addAdvancedTooltip(makeTagFunc("正面", "MatF"));
|
||||
<contenttweaker:hand_framing_tool>.addAdvancedTooltip(makeTagFunc("边框", "MatT"));
|
||||
|
||||
recipes.addShaped(
|
||||
"hand_framing_tool",
|
||||
|
||||
@@ -83,7 +83,7 @@ function unwrapJEI(wrapper as IItemStack) as IItemStack[] {
|
||||
enchList += makeIntTag(<enchantment:${name}>.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) {
|
||||
|
||||
Reference in New Issue
Block a user