Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trickster 附属翻译提交 #4914

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"trickster.trick.illusionist.disguise_block": "Shadow Ploy",
"trickster.trick.illusionist.dispel_block_disguise": "Revelation Ploy"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
trickster:
trick.illusionist:
disguise_block: Shadow Ploy
dispel_block_disguise: Revelation Ploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"trickster.trick.illusionist.disguise_block": "虚影之技巧",
"trickster.trick.illusionist.dispel_block_disguise": "揭影之技巧"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
```json
{
"title": "Illusionist",
"icon": "minecraft:sea_lantern",
"category": "trickster:tricks"
}
```

Shadow blocks,
sometimes also referred to as echoes or echo blocks,
are illusions superimposed onto a material block.
They are dispelled when the state of the material block changes,
but can also be removed using a Revelation Ploy.

;;;;;

<|glyph@trickster:templates|trick-id=illusionist:disguise_block,title=Shadow Ploy|>

vector, block -> boolean

<|cost-rule@trickster:templates|formula=20kG|>

Places a shadow of the given block at the given position and returns whether there was any change.

;;;;;

<|glyph@trickster:templates|trick-id=illusionist:dispel_block_disguise,title=Revelation Ploy|>

vector -> boolean

<|cost-rule@trickster:templates|formula=10kG|>

Dispels any shadow block at the given position and returns whether there was one initially.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
```json
{
"title": "幻术师",
"icon": "minecraft:sea_lantern",
"category": "trickster:tricks"
}
```

虚影方块,或称“伪影”或“造影”,是叠加于实物方块之上的一层幻觉。当实物方块的状态变化时,或使用揭影之技巧后,虚影即会被祛除。

;;;;;

<|glyph@trickster:templates|trick-id=illusionist:disguise_block,title=虚影之技巧|>

vector, block -> boolean

<|cost-rule@trickster:templates|formula=20 kG|>

在给定位置处施加所给方块的虚影,同时检查并返回虚影创建成功与否。

;;;;;

<|glyph@trickster:templates|trick-id=illusionist:dispel_block_disguise,title=揭影之技巧|>

vector -> boolean

<|cost-rule@trickster:templates|formula=10 kG|>

祛除所给位置处的虚影,同时检查并返回该处原本是否存在虚影。
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"trickster.trick.ram.alloc": "Allocator's Ploy",
"trickster.trick.ram.free": "Concierge's Ploy",
"trickster.trick.ram.read": "Retrieval Ingress",
"trickster.trick.ram.write": "Ploy of Caching",
"trickster.trick.ram.pattern_as_int": "Distortion of Compression",
"trickster.trick.ram.pattern_from_int": "Distortion of Expansion",
"trickster.trick.ram.pattern_from_int_list": "Distortion of Composition",
"trickster.trick.ram.glyph_from_spell_part": "Distortion of Baring",
"trickster.trick.ram.acquire_cell": "Antiquarian's Ploy",
"trickster.trick.ram.read_cell": "Archivist's Ingress",
"trickster.trick.ram.write_cell": "Archivist's Ploy"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
trickster:
trick.ram:
alloc: Allocator's Ploy
free: Concierge's Ploy
read: Retrieval Ingress
write: Ploy of Caching

pattern_as_int: Distortion of Compression
pattern_from_int: Distortion of Expansion
pattern_from_int_list: Distortion of Composition
glyph_from_spell_part: Distortion of Baring

acquire_cell: Antiquarian's Ploy
read_cell: Archivist's Ingress
write_cell: Archivist's Ploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"trickster.trick.ram.alloc": "分配器之技巧",
"trickster.trick.ram.free": "看守者之技巧",
"trickster.trick.ram.read": "取存之辑流",
"trickster.trick.ram.write": "缓存之技巧",
"trickster.trick.ram.pattern_as_int": "压缩之曲变",
"trickster.trick.ram.pattern_from_int": "扩张之曲变",
"trickster.trick.ram.pattern_from_int_list": "组点之曲变",
"trickster.trick.ram.glyph_from_spell_part": "秃根之曲变",
"trickster.trick.ram.acquire_cell": "古玩家之技巧",
"trickster.trick.ram.read_cell": "档案员之辑流",
"trickster.trick.ram.write_cell": "档案员之技巧"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
```json
{
"title": "World Cells",
"icon": "minecraft:shulker_box",
"category": "trickster:tricks"
}
```

Each world has within it a store where fragments may be cached indefinitely, accessible by all.
Values may be written to each cell only once, but may be read from any amount of times by anyone with a valid reference.

;;;;;

<|glyph@trickster:templates|trick-id=ram:acquire_cell,title=Antiquarian's Ploy|>

-> cell

---

Acquires an empty cell from the world.

;;;;;

<|glyph@trickster:templates|trick-id=ram:read_cell,title=Archivist's Ingress|>

cell -> any

---

Returns the value contained within the cell.

;;;;;

<|glyph@trickster:templates|trick-id=ram:write_cell,title=Archivist's Ploy|>

cell, any -> cell

---

Writes the given value to the cell. This operation makes it *impossible* to ever write to the cell again.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
```json
{
"title": "Meta Additions",
"icon": "minecraft:loom",
"category": "trickster:distortions"
}
```

Included herein are a handful of tricks useful for manipulating spells in the ways available from the [Spell Manipulation](^trickster:distortions/tree) chapter.

;;;;;

<|glyph@trickster:templates|trick-id=ram:pattern_as_int,title=Distortion of Compression|>

pattern -> number

---

Compresses the given pattern into a number.

;;;;;

<|glyph@trickster:templates|trick-id=ram:pattern_from_int,title=Distortion of Expansion|>

number -> pattern

---

Expands the given number into a pattern.

;;;;;

<|glyph@trickster:templates|trick-id=ram:pattern_from_int_list,title=Distortion of Composition|>

number[] | number... -> pattern

---

Constructs a pattern from the given grid positions.

;;;;;

<|glyph@trickster:templates|trick-id=ram:glyph_from_spell_part,title=Distortion of Baring|>

spell -> any

---

Returns the glyph of the root of the given spell.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
```json
{
"title": "Random Access Mind",
"icon": "minecraft:goat_horn",
"category": "trickster:tricks"
}
```

The Random Access Mind, or RAM for short,
is a way of storing arbitrary semi-persistent data alongside other unrelated arbitrary data,
through the use of an allocation system.

;;;;;

<|glyph@trickster:templates|trick-id=ram:alloc,title=Allocator's Ploy|>

-> number

---

Attempts to allocate a RAM slot, blundering if there are none free. Returns the address of the allocated slot.

;;;;;

<|glyph@trickster:templates|trick-id=ram:free,title=Concierge's Ploy|>

number ->

---

Frees the RAM slot at the given address, permitting later re-allocation.

;;;;;

<|glyph@trickster:templates|trick-id=ram:read,title=Retrieval Ingress|>

number -> any

---

Returns the fragment stored within the RAM slot at the given address.

;;;;;

<|glyph@trickster:templates|trick-id=ram:write,title=Ploy of Caching|>

number, any -> any

---

Stores the given fragment in the RAM slot at the given address, overwriting what was there previously.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
```json
{
"title": "世界储元",
"icon": "minecraft:shulker_box",
"category": "trickster:tricks"
}
```

每个世界内部都有一片所有人共享的存储空间,其中可以永久缓存法术片段。每个储元只可写入一次,但只要有对应的引用,便可由任何人无限次读取。

;;;;;

<|glyph@trickster:templates|trick-id=ram:acquire_cell,title=古玩家之技巧|>

-> cell

---

自世界中获取一个空储元。

;;;;;

<|glyph@trickster:templates|trick-id=ram:read_cell,title=档案员之辑流|>

cell -> any

---

返回储元中的值。

;;;;;

<|glyph@trickster:templates|trick-id=ram:write_cell,title=档案员之技巧|>

cell, any -> cell

---

将所给值写入储元。此后该储元*不可*再写入。
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
```json
{
"title": "元施法附加戏法",
"icon": "minecraft:loom",
"category": "trickster:distortions"
}
```

此处记载的戏法能与[法术操纵](^trickster:distortions/tree)章节中的操纵方法协同使用。

;;;;;

<|glyph@trickster:templates|trick-id=ram:pattern_as_int,title=压缩之曲变|>

pattern -> number

---

将所给图案压缩为数。

;;;;;

<|glyph@trickster:templates|trick-id=ram:pattern_from_int,title=扩张之曲变|>

number -> pattern

---

将所给数扩张为图案。

;;;;;

<|glyph@trickster:templates|trick-id=ram:pattern_from_int_list,title=组点之曲变|>

number[] | number... -> pattern

---

依照给定的格点位置构建图案。

;;;;;

<|glyph@trickster:templates|trick-id=ram:glyph_from_spell_part,title=秃根之曲变|>

spell -> any

---

返回给定法术根节点中的符记。
Loading
Loading