Skip to content

Commit 0b6736e

Browse files
authored
HexThings update:官库更新
1 parent f870de4 commit 0b6736e

2 files changed

Lines changed: 79 additions & 29 deletions

File tree

projects/1.20/assets/hexthings/hexthings/lang/en_us.flatten.json5

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@
2727
empty_dict: "Creates an empty Dictionary iota.",
2828
abs: "Pushes the number of entries in the Dictionary",
2929
replace: "Places the iota in the Dictionary at the specified key. Not every \
30-
iota type is allowed to be used as a key, with notable exceptions being \
31-
$(l:patterns/entities)$(thing)Entities/$, $(l:patterns/lists)$(thing)Lists/$, \
32-
$(l:casting/influences)$(thing)Garbage/$, and $(l:patterns/consts#hexcasting:\
33-
const/null)$(thing)Null/$ iota. Attempting to set the value of a key to \
30+
iota type is allowed to be used as a key, with notable the exceptions being \
31+
$(l:casting/influences)$(thing)Garbage/$ and $(l:patterns/meta#hexcasting:\
32+
eval/cc)$(thing)Jump/$ iota. Attempting to set the value of a key to \
3433
$(l:patterns/consts#hexcasting:const/null)$(thing)Null/$ will remove the \
3534
key the same way using $(l:patterns/dict#hexcasting:remove_from)$(action)\
3635
Excisor's Distillation/$ would.",
@@ -40,7 +39,26 @@
4039
index_of: "Pushes the value present at the provided key, or $(l:patterns/consts\
4140
#hexcasting:const/null)$(thing)Null/$ if no value was present.",
4241
dict_keys: "Pushes a list of the keys present in the Dictionary.",
43-
dict_vals: "Pushes a list of the values present in the Dictionary."
42+
dict_vals: "Pushes a list of the values present in the Dictionary.",
43+
dict_ents: "Pushes a list of the key-value pairs in this Dictionary, each being \
44+
a 2 element list."
45+
},
46+
uiua: {
47+
"": "Advanced List Operators",
48+
uiua_take: "Keeps elements of the list based on the second argument. If it's a \
49+
number and positive, it keeps the first $(o)n/$ elements of the list, if \
50+
negative; the last $(o)n/$. If given a list, then its elements are treated as \
51+
indices to keep.",
52+
uiua_drop: "The exact inverse of $(l:patterns/uiua#hexthings:uiua_take)$(action)\
53+
Retention Distillation/$, dropping the specified elements instead of dropping the \
54+
rest.",
55+
uiua_rotate: "Shifts the contents of the list by the specified amount, wrapping elements \
56+
that go \"outside\" the list.",
57+
uiua_where: "Pushes a list containing the indices of values that are \
58+
$(l:patterns/logic#hexcasting:bool_coerce)considered true by Nature/$.",
59+
div: "Pushes a list containing pairs of values corresponding to the values at that \
60+
index in each list.",
61+
mul: "Pushes a list containing every combination of elements between the two lists."
4462
}
4563
},
4664
info: {
@@ -68,9 +86,6 @@
6886
"header": "Patience Patterns",
6987
"text": "Some examples of Patience patterns that can be used."
7088
}
71-
},
72-
tooltip: {
73-
dict: "Dict"
7489
}
7590
},
7691

@@ -84,7 +99,12 @@
8499
isgreatersent: "Shard Reflection",
85100
empty_dict: "Impasse Reflection",
86101
dict_keys: "Accessor's Purification",
87-
dict_vals: "Accessed's Purification"
102+
dict_vals: "Accessed's Purification",
103+
dict_ents: "Entry Purification",
104+
uiua_take: "Retention Distillation",
105+
uiua_drop: "Rejection Distillation",
106+
uiua_rotate: "Ferris Distillation",
107+
uiua_where: "Deduction Purification"
88108
},
89109

90110
// use this to add shortened versions of pattern names if the full name won't fit in the ingame book
@@ -101,7 +121,12 @@
101121
},
102122
mishap: {
103123
"invalid_unquote": "Did not first cast Introjection.",
104-
"invalid_key_type": "Iota of type %s is not allowed as a key."
124+
"invalid_key_type": "An iota of type %s is not allowed as a key.",
125+
invalid_value: {
126+
class: {
127+
int_list: "a list of numbers"
128+
}
129+
}
105130
}
106131
},
107132

projects/1.20/assets/hexthings/hexthings/lang/zh_cn.flatten.json5

Lines changed: 44 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,54 @@
1111

1212
unquote: "此图案可用于直接将原始 iota 置入内省-反思对。绘制此图案后,所有\
1313
后续的图案会被“取消转义”,运行时会按原有功能执行。此效应的作用范围停止于\
14-
$(l:patterns/hexutils#hexthings:requote)$(action)回掷/$。",
14+
$(l:patterns/hexutils#hexthings:requote)$(action)反掷/$。",
1515

1616
requote: "在$(l:patterns/hexutils#hexthings:unquote)$(action)内投/$后\
1717
绘制时,其会将栈上的所有 iota 置入转义的列表,并将栈恢复到原先的状态。",
18-
19-
18+
19+
2020
isgreatersent: "检验我当前的哨卫是否是\
2121
$(l:patterns/great_spells/greater_sentinel)$(action)卓越哨卫/$,无哨卫\
2222
则返回 $(l:patterns/consts#hexcasting:const/null)$(thing)Null/$。"
23-
23+
2424
},
2525
dict: {
2626
"": "字典操作",
2727
empty_dict: "创建一个空字典 iota。",
2828
abs: "返回字典的条目数。",
2929
replace: "将 iota 置入字典中所给键处。不是所有 iota 都可用作键,禁用示例有\
30-
$(l:patterns/entities)$(thing)实体/$、$(l:patterns/lists)$(thing)列表/$、\
31-
$(l:casting/influences)$(thing)垃圾/$、$(l:patterns/consts#hexcasting:const/null)$(thing)Null/$。\
30+
$(l:casting/influences)$(thing)垃圾/$、$(l:patterns/meta#hexcasting:eval/cc)$(thing)跳转/$ iota。\
3231
试图设置键 $(l:patterns/consts#hexcasting:const/null)$(thing)Null/$ 的值会\
3332
移除该条目,方式与使用$(l:patterns/dict#hexcasting:remove_from)$(action)切除器之馏化/$一致。",
34-
35-
36-
33+
34+
35+
3736
remove_from: "从字典中移除键值对,返回移除的值,若不具备值则\
3837
返回 $(l:patterns/consts#hexcasting:const/null)$(thing)Null/$。",
39-
38+
4039
index_of: "返回所给键对应的值,若不具备值则\
4140
返回 $(l:patterns/consts#hexcasting:const/null)$(thing)Null/$。",
4241
dict_keys: "返回字典的键列表。",
43-
dict_vals: "返回字典的值列表。"
42+
dict_vals: "返回字典的值列表。",
43+
dict_ents: "返回字典中的键值对,各键值对均为长度为 2 的列表。"
44+
45+
},
46+
uiua: {
47+
"": "高阶列表操作",
48+
uiua_take: "根据第二参数保留列表元素。若参数为正数,则保留列表中的\
49+
开头 $(o)n/$ 个元素;若为负,则保留末尾 $(o)n/$ 个。若第二参数为列表,\
50+
则将其视作要保留元素的下标。",
51+
52+
uiua_drop: "$(l:patterns/uiua#hexthings:uiua_take)$(action)维持之馏化/$\
53+
的反操作,会删除指定的元素,而不是删除未指定的。",
54+
55+
uiua_rotate: "按所给量移动列表元素,“超出”列表的元素会从另一端返回。",
56+
57+
uiua_where: "挑选列表中$(l:patterns/logic#hexcasting:bool_coerce)自然认作 True/$\
58+
的元素,以列表形式返回它们的下标。",
59+
div: "取出各列表中同下标的元素对,将各元素对组为列表返回。",
60+
61+
mul: "从两列表中各取一个元素,将所有可能的取值组合组为列表返回。"
4462
}
4563
},
4664
info: {
@@ -50,8 +68,8 @@
5068
"1": "我在研究中发现了……在咒术中“嵌入”iota 的方法,从而避免每次施法都\
5169
费工夫从头构建。和$(l:items/hexcasting)$(item)施法物品/$一起使用时极其强大,\
5270
可以大幅加快施法,也可简化使用其中咒术的操作。",
53-
54-
71+
72+
5573
"2": "通常而言,这一过程需以内省-反思对起始,再在其中使用占位图案,而后\
5674
使用$(l:patterns/lists#hexcasting:index_of)$(action)定位器之馏化/$和\
5775
$(l:patterns/lists#hexcasting:replace)$(action)外科医师之提整/$替换,并在其后\
@@ -68,9 +86,6 @@
6886
"header": "耐心图案",
6987
"text": "部分可用耐心图案的示例。"
7088
}
71-
},
72-
tooltip: {
73-
dict: "字典"
7489
}
7590
},
7691

@@ -80,11 +95,16 @@
8095
noop: "耐心",
8196
insert: "扁平之提整",
8297
unquote: "内投",
83-
requote: "回掷",
98+
requote: "反掷",
8499
isgreatersent: "碎片之精思",
85100
empty_dict: "僵局之精思",
86101
dict_keys: "访问器之纯化",
87-
dict_vals: "访问对象之纯化"
102+
dict_vals: "访问对象之纯化",
103+
dict_ents: "条目之纯化",
104+
uiua_take: "维持之馏化",
105+
uiua_drop: "拒斥之馏化",
106+
uiua_rotate: "摩天轮之馏化",
107+
uiua_where: "演绎之纯化"
88108
},
89109

90110
// use this to add shortened versions of pattern names if the full name won't fit in the ingame book
@@ -101,7 +121,12 @@
101121
},
102122
mishap: {
103123
"invalid_unquote": "未先绘制内投。",
104-
"invalid_key_type": "%s类型的iota不可用作键。"
124+
"invalid_key_type": "%s类型的iota不可用作键。",
125+
invalid_value: {
126+
class: {
127+
int_list: "一个数列表"
128+
}
129+
}
105130
}
106131
},
107132

0 commit comments

Comments
 (0)