Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions projects/assets/hexthings/1.20-fabric/hexthings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[见主文档](/projects/assets/hexthings/1.20/hexthings)
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
{
hexthings: {
book: {
patterns: {
utils: {
"": "Utilities",
noop: "Does nothing, but the tail can be any shape. Useful as \
a placeholder to be replaced later",
unquote: "This pattern can be used to place raw iota directly into an \
Introspection-Restrospection pair. After drawing this pattern, all \
subsequent patterns are \"unescaped\", allowing them to be executed as \
normal until a $(l:patterns/hexutils#hexthings:requote)$(action)Retrojection/$ is \
encountered.",
requote: "When used after an \
$(l:patterns/hexutils#hexthings:unquote)$(action)Introjection/$, \
This pattern puts all iota on the stack into the escaped list, with the \
previous state of the stack being restored.",
isgreatersent: "Pushes if my current sentinel is a \
$(l:patterns/great_spells/greater_sentinel)$(action)Greater Sentinel/$, \
or $(l:patterns/consts#hexcasting:const/null)$(thing)Null/$ if I \
have no sentinel at all."
},
dict: {
"": "Dictionary Manipulation",
empty_dict: "Creates an empty Dictionary iota.",
abs: "Pushes the number of entries in the Dictionary",
replace: "Places the iota in the Dictionary at the specified key. Not every \
iota type is allowed to be used as a key, with notable the exceptions being \
$(l:casting/influences)$(thing)Garbage/$ and $(l:patterns/meta#hexcasting:\
eval/cc)$(thing)Jump/$ iota. Attempting to set the value of a key to \
$(l:patterns/consts#hexcasting:const/null)$(thing)Null/$ will remove the \
key the same way using $(l:patterns/dict#hexcasting:remove_from)$(action)\
Excisor's Distillation/$ would.",
remove_from: "Removes the key-value pair from the Dictionary, pushing the \
previous value, or $(l:patterns/consts#hexcasting:const/null)$(thing)Null/$ \
if no value was present.",
index_of: "Pushes the value present at the provided key, or $(l:patterns/consts\
#hexcasting:const/null)$(thing)Null/$ if no value was present.",
dict_keys: "Pushes a list of the keys present in the Dictionary.",
dict_vals: "Pushes a list of the values present in the Dictionary.",
dict_ents: "Pushes a list of the key-value pairs in this Dictionary, each being \
a 2 element list."
},
lists: {
"": "Advanced List Operators",
uiua_take: "Keeps elements of the list based on the second argument. If it's a \
number and positive, it keeps the first $(o)n/$ elements of the list, if \
negative; the last $(o)n/$. If given a list, then its elements are treated as \
indices to keep.",
uiua_drop: "The exact inverse of $(l:patterns/uiua#hexthings:uiua_take)$(action)\
Retention Distillation/$, dropping the specified elements instead of dropping the \
rest.",
uiua_rotate: "Shifts the contents of the list by the specified amount, wrapping elements \
that go \"outside\" the list.",
uiua_where: "Pushes a list containing the indices of values that are \
$(l:patterns/logic#hexcasting:bool_coerce)considered true by Nature/$.",
div: "Pushes a list containing pairs of values corresponding to the values at that \
index in each list.",
mul: "Pushes a list containing every combination of elements between the two lists.",
insert: "Similar to $(l:patterns/lists#hexcasting:replace)$(action)Surgeon's Exaltation/$, but replaces the \
element of the first list instead with the $(o)contents/$ of the second list, rather than with the list itself.",
make_range: {
"1": "Creates a list from num #1 to num #2, with a step size of num #3 (or 1 if passed null). For example, \
A stack of [1, 2, 0.5] would result in a list of [1, 1.5].",
"2": "This pattern will mishap if the step size is 0, or if the resulting list would be larger than Nature \
allows."
}
}
},
info: {
iota_embedding: {
"title": "Iota Embedding",
"text": {
"1": "In my studies, I've discovered a way to... \"embed\" iota within \
a hex itself, allowing me to avoid the need to reconstruct them with \
every cast. This becomes especially useful when combined with \
$(l:items/hexcasting)$(item)casting items/$, allowing for much faster \
casts, or simply making the process of using the hex within them easier.",
"2": "Typically, this process involves starting an Introspection-\
Retrospection pair, using a placeholder pattern, modifying the list \
after the fact using $(l:patterns/lists#hexcasting:index_of)$(action)\
Locator's Distillation/$ and $(l:patterns/lists#hexcasting:replace)\
$(action)Surgeon's Exaltation/$, and placing a $(l:patterns/lists\
#hexcasting:splat)$(action)Flock's Disintegration/$ afterwards to \
access the iota — a very annoying and time-consuming process, certainly. \
It does seem my forays into this art are viewed favorably by Nature, \
as I've recently found two patterns for simplifying the process."
}
}
},
noop_examples: {
"header": "Patience Patterns",
"text": "Some examples of Patience patterns that can be used."
}
}
},

hexcasting: {
action: {
"hexthings:": {
noop: "Patience",
insert: "Flattening Exaltation",
unquote: "Introjection",
requote: "Retrojection",
isgreatersent: "Shard Reflection",
empty_dict: "Impasse Reflection",
dict_keys: "Accessor's Purification",
dict_vals: "Accessed's Purification",
dict_ents: "Entry Purification",
uiua_take: "Retention Distillation",
uiua_drop: "Rejection Distillation",
uiua_rotate: "Ferris Distillation",
uiua_where: "Deduction Purification",
make_range: "Ranger's Exaltation"
},

// use this to add shortened versions of pattern names if the full name won't fit in the ingame book
// you don't need to add an entry for every pattern - the above value will be used as a default
book: {
"hexthings:": {
},
},
},
iota: {
"hexthings:": {
map: {
"": "dictionary",
"desc": "a dictionary"
}
}
},
special: {
"hexthings:": {
noop: "Patience"
}
},
mishap: {
"invalid_unquote": "Did not first cast Introjection.",
"invalid_key_type": "An iota of type %s is not allowed as a key.",
"malformed_range": {
"zero": "Cannot have a step size of 0",
"size": "List of size %s would exceed max size of current stack"
},
invalid_value: {
class: {
int_list: "a list of numbers",
numnull: "a number or Null",
map: "a dictionary"
}
}
}
},

text: {
"autoconfig.hexthings": {
title: "HexThings Config",

category: {
client: "Client",
server: "Server",
},

option: {
client: {
dummyClientConfigOption: {
"": "Dummy Client Config Option",
"@Tooltip": "This is an example of a client-side config option that accepts a boolean.",
},
},

server: {
dummyServerConfigOption: {
"": "Dummy Server Config Option",
"@Tooltip": "This is an example of a server-side config option that accepts an integer.",
},
},
},
},
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"type": "indirect",
"source": "projects/assets/hexthings/1.20/hexthings"
}
]
16 changes: 16 additions & 0 deletions projects/assets/hexthings/1.20/hexthings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### 总概

```mermaid
flowchart LR
1.20.1 -->|indirect| 1.20.1-fabric
```

```
1.20.1
└── 1.20.1-fabric
```

### 链接区域

- [1.20.1](/projects/assets/hexthings/1.20/hexthings)
- [1.20.1-fabric](/projects/assets/hexthings/1.20-fabric/hexthings)
33 changes: 27 additions & 6 deletions projects/assets/hexthings/1.20/hexthings/lang/en_us.flatten.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"": "Utilities",
noop: "Does nothing, but the tail can be any shape. Useful as \
a placeholder to be replaced later",
insert: "Similar to $(l:patterns/lists#hexcasting:replace)$(action)Surgeon's Exaltation/$, but replaces the \
element of the first list instead with the $(o)contents/$ of the second list, rather than with the list itself.",
unquote: "This pattern can be used to place raw iota directly into an \
Introspection-Restrospection pair. After drawing this pattern, all \
subsequent patterns are \"unescaped\", allowing them to be executed as \
Expand Down Expand Up @@ -43,7 +41,7 @@
dict_ents: "Pushes a list of the key-value pairs in this Dictionary, each being \
a 2 element list."
},
uiua: {
lists: {
"": "Advanced List Operators",
uiua_take: "Keeps elements of the list based on the second argument. If it's a \
number and positive, it keeps the first $(o)n/$ elements of the list, if \
Expand All @@ -58,7 +56,15 @@
$(l:patterns/logic#hexcasting:bool_coerce)considered true by Nature/$.",
div: "Pushes a list containing pairs of values corresponding to the values at that \
index in each list.",
mul: "Pushes a list containing every combination of elements between the two lists."
mul: "Pushes a list containing every combination of elements between the two lists.",
insert: "Similar to $(l:patterns/lists#hexcasting:replace)$(action)Surgeon's Exaltation/$, but replaces the \
element of the first list instead with the $(o)contents/$ of the second list, rather than with the list itself.",
make_range: {
"1": "Creates a list from num #1 to num #2, with a step size of num #3 (or 1 if passed null). For example, \
A stack of [1, 2, 0.5] would result in a list of [1, 1.5].",
"2": "This pattern will mishap if the step size is 0, or if the resulting list would be larger than Nature \
allows."
}
}
},
info: {
Expand Down Expand Up @@ -104,7 +110,8 @@
uiua_take: "Retention Distillation",
uiua_drop: "Rejection Distillation",
uiua_rotate: "Ferris Distillation",
uiua_where: "Deduction Purification"
uiua_where: "Deduction Purification",
make_range: "Ranger's Exaltation"
},

// use this to add shortened versions of pattern names if the full name won't fit in the ingame book
Expand All @@ -114,6 +121,14 @@
},
},
},
iota: {
"hexthings:": {
map: {
"": "dictionary",
"desc": "a dictionary"
}
}
},
special: {
"hexthings:": {
noop: "Patience"
Expand All @@ -122,9 +137,15 @@
mishap: {
"invalid_unquote": "Did not first cast Introjection.",
"invalid_key_type": "An iota of type %s is not allowed as a key.",
"malformed_range": {
"zero": "Cannot have a step size of 0",
"size": "List of size %s would exceed max size of current stack"
},
invalid_value: {
class: {
int_list: "a list of numbers"
int_list: "a list of numbers",
numnull: "a number or Null",
map: "a dictionary"
}
}
}
Expand Down
41 changes: 31 additions & 10 deletions projects/assets/hexthings/1.20/hexthings/lang/zh_cn.flatten.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
"": "实用",
noop: "什么都不会做,但图案尾部可为任意形状。适合用作替换占位符。",

insert: "与$(l:patterns/lists#hexcasting:replace)$(action)外科医师之提整/$\
类似,但会使用第二列表中的各元素替换第一列表中的元素,而非以列表整体进行替换。",

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


requote: "在$(l:patterns/hexutils#hexthings:unquote)$(action)内投/$后\
绘制时,其会将栈上的所有 iota 置入转义的列表,并将栈恢复到原先的状态。",
Expand Down Expand Up @@ -43,7 +41,7 @@
dict_ents: "返回字典中的键值对,各键值对均为长度为 2 的列表。"

},
uiua: {
lists: {
"": "高阶列表操作",
uiua_take: "根据第二参数保留列表元素。若参数为正数,则保留列表中的\
开头 $(o)n/$ 个元素;若为负,则保留末尾 $(o)n/$ 个。若第二参数为列表,\
Expand All @@ -54,11 +52,19 @@

uiua_rotate: "按所给量移动列表元素,“超出”列表的元素会从另一端返回。",

uiua_where: "挑选列表中$(l:patterns/logic#hexcasting:bool_coerce)自然认作 True/$\
uiua_where: "挑选列表中$(l:patterns/logic#hexcasting:bool_coerce)自然认作 True/$ \
的元素,以列表形式返回它们的下标。",
div: "取出各列表中同下标的元素对,将各元素对组为列表返回。",

mul: "从两列表中各取一个元素,将所有可能的取值组合组为列表返回。"
mul: "从两列表中各取一个元素,将所有可能的取值组合组为列表返回。",
insert: "与$(l:patterns/lists#hexcasting:replace)$(action)外科医师之提整/$类似,\
但会将第二列表的$(o)内容/$插入第一列表,而不是替换为列表本身。",
make_range: {
"1": "创建介于 1 号 num 到 2 号 num 间的列表,步长为 3 号 num(传入 Null 则为 1)。\
例如,形如 [1, 2, 0.5] 的栈会给出列表 [1, 1.5]。",
"2": "此图案会在步长为 0 时招致事故,所得列表大于自然的容许限度也会招致事故。"

}
}
},
info: {
Expand Down Expand Up @@ -95,7 +101,7 @@
noop: "耐心",
insert: "扁平之提整",
unquote: "内投",
requote: "反掷",
requote: "回掷",
isgreatersent: "碎片之精思",
empty_dict: "僵局之精思",
dict_keys: "访问器之纯化",
Expand All @@ -104,7 +110,8 @@
uiua_take: "维持之馏化",
uiua_drop: "拒斥之馏化",
uiua_rotate: "摩天轮之馏化",
uiua_where: "演绎之纯化"
uiua_where: "演绎之纯化",
make_range: "范限之提整"
},

// use this to add shortened versions of pattern names if the full name won't fit in the ingame book
Expand All @@ -114,6 +121,14 @@
},
},
},
iota: {
"hexthings:": {
map: {
"": "字典",
"desc": "一个字典"
}
}
},
special: {
"hexthings:": {
noop: "耐心"
Expand All @@ -122,9 +137,15 @@
mishap: {
"invalid_unquote": "未先绘制内投。",
"invalid_key_type": "%s类型的iota不可用作键。",
"malformed_range": {
"zero": "步长不可为0",
"size": "大小为%s的列表会超出当前栈的最大大小"
},
invalid_value: {
class: {
int_list: "一个数列表"
int_list: "一个数列表",
numnull: "一个数或Null",
map: "一个字典"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[见主文档](/projects/assets/modrinth-hexxyplanes/1.20/hexxyplanes)
Loading
Loading