Skip to content

Commit fd329cf

Browse files
ChuijkYahusSlimeSB
andauthored
NEEPMeat 翻译更新 (#5212)
* NEEPMeat update:版本更新 * NEEPMeat hotfix * NEEPMeat hotfix * NEEPMeat hotfix * NEEPMeat update:版本更新 * NEEPMeat update:版本更新 * NEEPMeat update:版本更新 * NEEPMeat update:版本更新 * NEEPMeat update:版本更新 * NEEPMeat update:官库更新 * NEEPMeat update:官库更新 * NEEPMeat fix Co-Authored-By: SlimeSB <86453765+SlimeSB@users.noreply.github.com> * NEEPMeat update:官库更新 * NEEPMeat update:作者偷袭 * Update projects/1.20-fabric/assets/neepmeat/neepmeat/lang/zh_cn.json Co-authored-by: SlimeSB <86453765+SlimeSB@users.noreply.github.com> --------- Co-authored-by: SlimeSB <86453765+SlimeSB@users.noreply.github.com>
1 parent 0b729de commit fd329cf

50 files changed

Lines changed: 1619 additions & 407 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

projects/1.20-fabric/assets/neepmeat/meatweapons/lang/en_us.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"item.meatweapons.airtruck": "Airtruck",
3737
"item.meatweapons.airtruck.lore_0": "A flying vehicle that carries a pilot and a passenger.",
3838
"item.meatweapons.airtruck.lore_1": "Shift-click to disassemble.",
39+
"entity.meatweapons.airtruck": "Airtruck",
3940

4041
"block.meatweapons.tinker_table": "Tinker Table",
4142

projects/1.20-fabric/assets/neepmeat/meatweapons/lang/zh_cn.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"item.meatweapons.airtruck": "空中货车",
3737
"item.meatweapons.airtruck.lore_0": "能搭乘一名飞行员和一名乘客的空中载具。",
3838
"item.meatweapons.airtruck.lore_1": "Shift点击以拆卸。",
39+
"entity.meatweapons.airtruck": "空中货车",
3940

4041
"block.meatweapons.tinker_table": "改装台",
4142

projects/1.20-fabric/assets/neepmeat/neepmeat/docs/thord/en_us/thord_words.md

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,43 @@ Prints the top stack entry.
99

1010
Places the current value of the program counter (the address of the currently executed instruction) on the top of the stack.
1111

12+
\cat{words}
13+
# Words
14+
15+
## :
16+
17+
Starts definition of a new word. The word's name is given by the character sequence following :.
18+
19+
```
20+
: aword 123 . ;
21+
```
22+
23+
## :I
24+
25+
Starts definition of a new immediate word. The word's name is given by the character sequence following :I.
26+
27+
```
28+
:I aword 123 . ;
29+
```
30+
31+
## ;
32+
33+
Terminates various constructs:
34+
35+
- Word definitions
36+
- Immediate word definitions
37+
- Inline NEEPASM instructions
38+
39+
## :NONAME
40+
41+
Starts definition of a new anonymous word. When the definition ends, the address of the word is placed on the stack.
42+
43+
```
44+
:noname 123 . ;
45+
46+
execute
47+
```
48+
1249
\cat{stack}
1350
# Stack
1451

@@ -80,6 +117,8 @@ Copies the top return stack entry to the data stack.
80117
\cat{flow_control}
81118
# Flow Control
82119

120+
## END ( -- )
121+
83122
Emits the END instruction, which stops execution. Useful as a placeholder for backpatching. Equivalent to NEEPASM `END`.
84123

85124
## IF ( n1 -- ) (immediate)
@@ -198,6 +237,68 @@ Tests if n1 is less than or equal to n2. Equivalent to NEEPASM `LTEQ`.
198237

199238
Tests if n1 is greater than or equal to n2. Equivalent to NEEPASM `GTEQ`.
200239

240+
\cat{memory}
241+
# Memory
242+
243+
## VARIABLE ( "name" -- )
244+
245+
Allocates a new variable with the name that follows.
246+
247+
Invoking the variable's name pushes its address to the stack.
248+
249+
```
250+
variable v
251+
252+
# Store 123
253+
123 v !
254+
255+
v ? # result: 123
256+
```
257+
258+
## ARRAY ( "name" size -- )
259+
260+
Allocates an array of the following name and size.
261+
262+
Note that size of the array follows the word, rather than preceding it. All elements are initialised to zero.
263+
264+
```
265+
# Create an array of 6 elements
266+
array a 6
267+
268+
# Set the third element to 123
269+
123 a 2 + !
270+
271+
# Print the third element
272+
a 2 + ?
273+
```
274+
275+
## ! ( n1 addr -- )
276+
277+
Stores n1 at the given address.
278+
279+
## @ ( addr -- n1 )
280+
281+
Retrieves the data at the given address.
282+
283+
## ? ( addr -- )
284+
285+
Prints the data stored at the given address. Equivalent to @ .
286+
287+
## ' ( "word" -- addr )
288+
289+
Pushes the address of the following word to the stack.
290+
291+
```
292+
: aword 1 + . ;
293+
294+
# Print the word's address
295+
' aword .
296+
```
297+
298+
## EXECUTE ( addr -- )
299+
300+
Branches to the instruction at the given address. Equivalent to NEEPASM `CALL`.
301+
201302
\cat{compiler_words}
202303
# Compiler Words
203304

projects/1.20-fabric/assets/neepmeat/neepmeat/docs/thord/zh_cn/thord_words.md

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,43 @@
99

1010
将程序计数器(当前所执行指令的地址)的当前值压入栈顶。
1111

12+
\cat{words}
13+
#
14+
15+
## :
16+
17+
用于新起一项词的定义。`:`后方的字符串即是词名。
18+
19+
```
20+
: aword 123 . ;
21+
```
22+
23+
## :I
24+
25+
用于新起一项立即词的定义。`:I`后方的字符串即是词名。
26+
27+
```
28+
:I aword 123 . ;
29+
```
30+
31+
## ;
32+
33+
用于结束多种结构体:
34+
35+
- 词的定义
36+
- 立即词的定义
37+
- 内联NEEPASM指令
38+
39+
## :NONAME
40+
41+
用于新起一项匿名词的定义。定义结束时向栈压入该词的地址。
42+
43+
```
44+
:noname 123 . ;
45+
46+
execute
47+
```
48+
1249
\cat{stack}
1350
#
1451

@@ -80,6 +117,8 @@
80117
\cat{flow_control}
81118
# 流程控制
82119

120+
## END ( -- )
121+
83122
发出用于终止执行的END指令。适合用作占位和回填。与NEEPASM的`END`等价。
84123

85124
## IF ( n1 -- )(立即词)
@@ -199,6 +238,74 @@ begin
199238

200239
检查n1是否大于等于n2。与NEEPASM的`GTEQ`等价。
201240

241+
\cat{memory}
242+
# 内存
243+
244+
## VARIABLE ( "名称" -- )
245+
246+
分配一个新变量,并取该词后方的名称为变量名。
247+
248+
以变量名进行调用时会将其地址压栈。
249+
250+
```
251+
variable v
252+
253+
# Store 123 [1]
254+
123 v !
255+
256+
v ? # result: 123 [2]
257+
```
258+
[1] 存储123
259+
[2] 结果:123
260+
261+
## ARRAY ( "名称" 大小 -- )
262+
263+
分配一个新数组,取后方的名称为数组名,大小为数组大小。
264+
265+
需注意,大小参数需在词后方,而不是前方。数组内所有元素初始化为0。
266+
267+
```
268+
# Create an array of 6 elements [1]
269+
array a 6
270+
271+
# Set the third element to 123 [2]
272+
123 a 2 + !
273+
274+
# Print the third element [3]
275+
a 2 + ?
276+
```
277+
[1] 创建包含6个元素的数组
278+
[2] 将第三个元素设为123
279+
[3] 打印第三个元素
280+
281+
## ! ( n1 地址 -- )
282+
283+
将n1存入所给地址。
284+
285+
## @ ( 地址 -- n1 )
286+
287+
读取所给地址处的数据。
288+
289+
## ? ( 地址 -- )
290+
291+
打印给定地址处的数据。与`@ .`等价。
292+
293+
## ' ( "词" -- 地址 )
294+
295+
将本词后方的词的地址压栈。
296+
297+
```
298+
: aword 1 + . ;
299+
300+
# Print the word's address [1]
301+
' aword .
302+
```
303+
[1] 打印词的地址
304+
305+
## EXECUTE ( 地址 -- )
306+
307+
跳转到给定地址处的指令。与NEEPASM的`CALL`等价。
308+
202309
\cat{compiler_words}
203310
# 编译器词
204311

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
id: cloning
3+
---
4+
5+
# Cloning
6+
7+
*The essential Saltes of Animals may be so prepared and preserved, that an ingenious Man may have the whole Ark of Noah in his own Studie, and raise the fine Shape of an Animal out of its Ashes at his Pleasure.*
8+
- Borellus
9+
10+
To obtain the *Essential Saltes* of an organism, it must be exposed to an Ash Preparation potion and then incinerated. This procedure will succeed even if the organism has an innate resistance to fire, but the disassembly will have to be manual.
11+
12+
*Essential Saltes* can be used in an Oviparous Synthesiser to produce eggs.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
id: synthesiser
3+
---
4+
5+
# Oviparous Synthesiser
6+
7+
To cast off the vestige of nature is to inch towards revelation; to replicate the natural forms of flesh - finding wisdom in their madness - is to step towards Enlightenment.
8+
9+
## Usage
10+
11+
The Oviparous Synthesiser creates eggs of a template organism through its *Essential Saltes* Right-clicking the machine with the corresponding *Essential Saltes* will install or remove the template.
12+
13+
In order to operate, the machine must be fed Meat. The amount of meat to produce an egg varies depending on the size of the organism.
14+
15+
Production of eggs can be temporarily disabled with a redstone signal.
16+
17+
## Eggs
18+
19+
Eggs can be moved in standard ways, such as with water streams and pistons. They can also be picked up as items by hitting them.
20+
21+
- Immersion in blood will allow eggs to hatch.
22+
- Injecting blood directly using a PLC will trigger immediate hatching.

projects/1.20-fabric/assets/neepmeat/neepmeat/guide/en_us/articles/fluid_pipe.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,21 @@ Pipes connect to any block that can accept fluids, although some blocks only all
1212

1313
For fluids to move through pipes, there must be a height difference or an active pump. Fluids obey gravity, so they will naturally flow from containers at higher elevations to lower ones. Flow can also be induced by placing Redstone Pumps along the desired path of flow.
1414

15-
Pipes on the underside of containers will passively extract fluid. Pumps are required to extract fluid from the container's other sides.
16-
1715
Pumps are enabled with redstone by default, but this behaviour can be inverted by sneak-clicking with an empty hand.
1816

17+
## Gravity
18+
19+
Pipes on the underside of containers will passively extract fluid. Pumps are required to extract fluid from the container's other sides.
20+
1921
# Placement
2022

21-
To prevent unwanted connections, fluid pipes follow certain rules when they are placed,
23+
To prevent unwanted connections, fluid pipes follow certain rules when they are placed.
2224

23-
-
24-
- If placed beween two pipes of matching colour, the pipe will connect to both of them.
25+
- Place on the side of a fluid container to connect to it.
26+
- When placed next to another pipe, the new pipe will only connect if the other one has less than two connections.
27+
- Pipes of differing colours will not connect.
28+
- Sneaking places a pipe with no connections.
29+
- Click the side of a pipe with another pipe to form a new connection.
2530

2631
## Behaviour
2732

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
id: integrator
3+
---
4+
5+
# Integrator Organism
6+
7+
An Integrator is a biomechanical information processing system intended to ease the production of machines. Designed to withstand high quantities of inhuman knowledge, Integrators can confer this information to certain substances, ascending them to Enlightened forms.
8+
9+
## Acquisition
10+
11+
The technology to produce Integrators is long-lost, but their eggs can still be found in dungeons and other hidden places.
12+
13+
Alternatively, offering a Reanimated Heart to the receiver configuration below might cause one to appear.
14+
15+
\image[width=328,height=245,scale=0.6]{neepmeat:guide/images/egg_receiver.png}
16+
17+
To hatch an Integrator Egg, put it in a comfy place and pump in a bucketful of blood using fluid pipes. After a short time, the Integrator will hatch.
18+
19+
## Usage
20+
21+
Each Integrator has an internal information storage that is gradually filled as it listens to the cosmos. Feeding the organism with Whisper Flour accelerate learning.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
id: large_crusher
3+
---
4+
5+
# Large Crusher
6+
7+
The Large Crusher provides superior efficiency and yield than its smaller counterpart.
8+
9+
## Usage
10+
11+
Up to four Crusher Segments can be part of a machine. Each segment runs at the same speed, so adding more segments increases efficiency.
12+
13+
Minimum power: 100eJ/t
14+
15+
## Required Components
16+
17+
- Crusher Segment (up to four)
18+
- Item Input (Large Hopper)
19+
- Item Output
20+
- Motor Port
21+
22+
## Optional Components
23+
24+
- Lucky One (increases yield of extra outputs)

0 commit comments

Comments
 (0)