Skip to content

Commit

Permalink
Merge pull request #2402 from loveyanbei/master-MC1.7.10
Browse files Browse the repository at this point in the history
Add zh_CN localization of manual .and tried to fix the infinite loop bug
  • Loading branch information
fnuecke committed Jul 22, 2017
2 parents e045f7c + fb77e0e commit 40ca104
Show file tree
Hide file tree
Showing 154 changed files with 1,371 additions and 0 deletions.
Empty file added gradle.properties
Empty file.
11 changes: 11 additions & 0 deletions src/main/resources/assets/opencomputers/doc/zh_CN/block/_robot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Robot
![His name was Tobor.](block:OpenComputers:robot)
和电脑不同 ,机器人可以如同实体那样在地图上移动,但机器人无法和外界组件交互,但!如果要和电脑或者其他机器人通讯,请安装 [无线网卡](../item/wlanCard.md),或者是通过[红石卡](../item/redstoneCard1.md)收发红石信号建立底层的协议

[任意机箱](case1.md)放进[组装机](assembler.md)就可以制作机器人.
高级的机箱由于有更高级的[CPU](../item/cpu1.md),可以制造更复杂的机器人. 机器人的复杂度 (显示在 [组装机](assembler.md)GUI) 由槽内安装的组件和升级决定;
高级组件将会大大增加复杂度. 太复杂的情况下, 组装机会选择罢工
多种升级可以扩展机器人的能力, 包括 [物品栏升级](../item/inventoryUpgrade.md)[物品栏控制升级](../item/inventoryControllerUpgrade.md) , [储罐升级](../item/tankUpgrade.md),
[导航升级](../item/navigationUpgrade.md)等等. [升级](../item/upgradeContainer1.md)[](../item/cardContainer1.md) 可以被热插拔哦
[软驱](diskDrive.md) 可以被作为机器人的组件,允许插入[软盘](../item/floppy.md)来安装openOS,当然你可以在组装的时候就丢一块安好系统的硬盘进去。

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 接入点

![AAA](oredict:oc:accessPoint)

*本方块是过时的,将会在未来版本被移除 请换用 [中继器](relay.md) 避免丢失

The access point is the wireless version of the [switch](switch.md). It can be used to separate subnetworks so that machines in them will not see [components](../general/computer.md) in other networks, while still allowing to send network messages to the machines in other networks.

In addition to that, this block can act as a repeater: it can re-send wired messages as wired messages to other devices; or wireless messages as wired or wireless messages.

[Switches](switch.md) and access point do *not* keep track of which packets they relayed recently, so avoid cycles in your network or you may receive the same packet multiple times. Due to the limited buffer size of switches, packet loss can occur when trying to send network messages too frequently. You can upgrade your switches and access points to increase the speed at which they relay messages, as well as their internal message queue size.

Packets are only re-sent a certain number of times, so chaining an arbitrary number of [switches](switch.md) or access points is not possible. By default, a packet will be re-sent up to five times.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 适配器

![Now with 100% more everything.](oredict:oc:adapter)

允许 [电脑](../general/computer.md) 与原版和其他mod的方块交互. 相邻的支持方块将会在连接适配器的 [电脑](../general/computer.md) 显示

适配器还有多种选择器升级.比如, the [物品控制器升级](../item/inventoryControllerUpgrade.md) 允许电脑从相邻适配器的方块中获取更详细的物品信息, 就像这个升级呗安装在设备里面一样 (比如[机器人](robot.md) or [无人机](../item/drone.md)), and a [储罐控制器升级](../item/tankControllerUpgrade.md) provides similar functionality for fluid tanks next to the adapter.
你还可以安装[MFU](../item/mfu.md) 来与更远的方块交互
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 组装器

![Harder, better, faster, stronger.](oredict:oc:assembler)

组装器用来制作更加复杂的物品, 如 [机器人](robot.md), [无人机](../item/drone.md)[平板](../item/tablet.md). 需要大量能源来组装设备, 推荐使用[电容版](capacitor.md)供电.

将设备零件放入组装器来组装物品. 对于 [机器人](robot.md),需要 任意[机箱](case1.md) ; 对于[平板](../item/tablet.md), 需要[平板外壳](../item/tabletCase1.md). 像大多数OC物品栏那样, 部件可以被放入任意几个栏; 在物品栏悬停可以指示你有什么东西可以放进去. 有NEI的话,NEI也能显示合适的物品. 添加你希望成品能包含的配件.

尤其注意你的操作系统, 或者你也可以选择一会再装(你可以为机器人安装[磁盘驱动器](diskDrive.md) 来使用 [软盘](../item/floppy.md) l). 对大多数设备来说 [E2PROM](../item/eeprom.md) 可以被再编程,

插入不同的 [E2PROM](../item/eeprom.md) 后. 已有的 [E2PROM](../item/eeprom.md)会归还到物品栏

注意[机器人](robot.md) 也可以有 [屏幕](screen1.md), 你可以安装一个[屏幕 (1级)](screen1.md),这样可以敲入命令,

也可以安放 [键盘](keyboard.md). 对于 [平板](../item/tablet.md), [屏幕](screen1.md)[平板外壳](../item/tabletCase1.md)预装了,

但是你还是要安一个 [键盘](keyboard.md)

一切就位后,按下开始,设备会被组装,充能。记住,一旦组装就无法更改了,除非[拆解](disassembler.md)

复杂度: 物品的级别决定了复杂度要求, 一级物品要求2复杂度,二级2,以此类推,箱子升级例外

此时复杂度为2倍箱子 (eg: a tier 2 [upgrade containers](../item/upgradeContainer1.md) requires 4 complexity, and likewise for [card containers](../item/cardContainer1.md)).
10 changes: 10 additions & 0 deletions src/main/resources/assets/opencomputers/doc/zh_CN/block/cable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 线缆

![Salad.](oredict:oc:cable)

连接[电脑](../general/computer.md) 和机器,

可以被任意染料染色,之后只和同色或缺省的灰色连接

可以有效防止乱走线

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 电容

![It's over 9000.](oredict:oc:capacitor)

存储了网络需要的能源, 作为能源缓存.不像那种把其他能源转换过来的mod ([能源转换器](powerConverter.md)),

这个能源转化是即时的. 内部缓存对一些有大量需求的任务比较有用, 比如[组装](assembler.md) 或者 [充能](charger.md) 设备 如[机器人](robot.md)[无人机](../item/drone.md).

存储效率和附近的电容总数有关. 比如两个相邻的电容总是比分开的两个存的多.

相邻的判定是2个方块距离, 然后效率随着距离递减.

可以链接[能源分发器](powerDistributor.md)为网络上的设备供能。
35 changes: 35 additions & 0 deletions src/main/resources/assets/opencomputers/doc/zh_CN/block/case1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 机箱

![Just in case.](oredict:oc:case1)

机箱有数个型号,越大的型号能放的配件越多

T1的可放配件:
- 2X T1扩展卡 (如[显卡](../item/graphicsCard1.md), [网卡](../item/lanCard.md))
- 1x T1 [CPU](../item/cpu1.md)
- 2x T1 [内存](../item/ram1.md)
- 1x T1 [硬盘](../item/hdd1.md)

T2的可放配件:
- 1x T1扩展卡 (如[显卡](../item/graphicsCard1.md), [网卡](../item/lanCard.md))
- 1x T2 扩展卡
- 1x T2 [CPU](../item/cpu2.md)
- 2x T2 [内存](../item/ram3.md)
- 1x T1 [硬盘](../item/hdd1.md)
- 1x T2 [硬盘](../item/hdd2.md)

T3的可放配件:
- 1x T3 扩展卡 (如[显卡](../item/graphicsCard1.md), [网卡](../item/lanCard.md))
- 2x T2 扩展卡
- 1x T3 [CPU](../item/cpu3.md)
- 2x T3 [内存](../item/ram5.md)
- 1x T2 [硬盘](../item/hdd2.md)
- 1x T3 [硬盘](../item/hdd3.md)
- 1x [软盘](../item/floppy.md)

T4的可放配件:
- 3x T3 扩展卡 (如[显卡](../item/graphicsCard1.md), [网卡](../item/lanCard.md))
- 1x T3 [CPU](../item/cpu3.md)
- 2x T3 [内存](../item/ram5.md)
- 2xT3 [硬盘](../item/hdd3.md)
- 1x [软盘](../item/floppy.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#REDIRECT case1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#REDIRECT case1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#REDIRECT case1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 染色方块

![So... blank.](oredict:oc:chameliumBlock)

几篇[印刷电路板](../item/chamelium.md) 可以被变成特殊装饰用途的有色方块.

可以被原版任意染色

13 changes: 13 additions & 0 deletions src/main/resources/assets/opencomputers/doc/zh_CN/block/charger.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 充电机

![All right, let's do this.](oredict:oc:charger)

充电机为移动的设备 [机器人](robot.md), [无人机](../item/drone.md) and [平板](../item/tablet.md)充能. 可以被红石激活。

充能速度被红石信号强度决定, 15强度最大.

这个逻辑可以被[扳手](../item/wrench.md)反转。

当一个[平板](../item/tablet.md) 放入充电机后, 第一硬盘[hard drive](../item/hdd1.md) 也会被连接充电机的 [电脑](../general/computer.md)访问到

就像[软盘](../item/floppy.md)一样. 这允许在电脑和平板间传送数据。
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 拆解器

![Build it, tear it down.](oredict:oc:disassembler)

可以将大多数电脑拆成零件. 常用来回收不用的零件或者合错的东西,比如没有烧入系统或者程序的机器人

这会花费一些时间和能源,也可能被吞配件。
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 软盘驱动器

![Going round and round and...](oredict:oc:diskDrive)

用于读取[软盘](../item/floppy.md). 初期很有用,因为低级别的 [机箱](case1.md)没有软盘槽

你还需要操作系统如OpenOS,Plan9K,MineOS等,来启动[电脑](../general/computer.md).

[OpenOS](../general/openOS.md) 安装盘可以用空的 [软盘](../item/floppy.md)[OC手册](../item/manual.md)合成.

也可以被安装在机器人[robots](robot.md)里面来允许插入 [软盘](../item/floppy.md)

在没有网卡的时候这是非常有用的数据传输方式了

可以 通过shift(蹲) + 右键,可以不打开软驱GUI装卸软盘
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 地图扫描机
![Xray](oredict:oc:geolyzer)
让电脑具有扫描周边地形的能力,会把周边的方块硬度分布描述出来,可以生成一个能够在[全息投影机](hologram1.md)显示出来的地图,并描绘方块硬度分布,因此某种程度上用好了就是矿追。

由于可能有奇怪的干扰,理论来说经常要多次扫描才能确认。它可以被作为升级安装在机器人和平板电脑上面,扫描消耗电池的能量。
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 全息投影机

![Is this the real life? Is this just fantasy?](oredict:oc:hologram1)

一个巨大的显示屏, i.e. 可以显示独立的三维图形,就是那种全息的3D,偏振光原理那种(高中课本会讲)

2级显示屏, 分辨率不变但是支持电脑定制每个像素的颜色

可以被[扳手](../item/wrench.md)旋转 [,

可以在范围内任意放缩显示
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#REDIRECT hologram1.md
48 changes: 48 additions & 0 deletions src/main/resources/assets/opencomputers/doc/zh_CN/block/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 方块

本索引列出了OC全部的的方块 如果要找物品点[这里](../item/index.md).

注意有些方块由于合成表的原因,可能不可用.

## 电脑
* [机箱](case1.md)
* [单片机](microcontroller.md)
* [机架](rack.md)
* [机器人](robot.md)

## 组件

### 输入 / 输出
* [全息投影机](hologram1.md)
* [键盘](keyboard.md)
* [屏幕](screen1.md)

### 存储
* [硬盘](diskDrive.md)
* [磁盘阵列](raid.md)

### 扩展
* [适配器](adapter.md)
* [扫描器](geolyzer.md)
* [运动探测器](motionSensor.md)
* [红石IO接口](redstone.md)
* [转置器(注:直译)](transposer.md)
* [路径点](waypoint.md)

## 组装 / 打印
* [3D打印](print.md)
* [3D打印机](printer.md)
* [组装器](assembler.md)
* [染色方块](chameliumBlock.md)
* [拆解器](disassembler.md)

## 网络
* [线缆](cable.md)
* [VLAN分割器](netSplitter.md)
* [中继器](relay.md)

## 电源管理
* [电容](capacitor.md)
* [充电器](charger.md)
* [能源转换](powerConverter.md)
* [能源分发](powerDistributor.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Keyboard

![QWERTY](oredict:oc:keyboard)

[屏幕](screen1.md)上打字 , 或者嵌入 [机器人](robot.md)[平板](../item/tablet.md).
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Microcontroller

![Don't belittle it.](block:OpenComputers:microcontroller)

单片机通过[单片机箱](../item/microcontrollerCase1.md)[组装机](assembler.md)组装. 相比电脑他们弱得多 , 但是便宜. 另外他们无法和外界物件交互.

单片机可以携带多种组件, 如 [CPU](../item/cpu1.md), [内存](../item/ram1.md), 扩展卡. 单片机无法携带[硬盘](../item/hdd1.md)只能烧入[E2PROM](../item/eeprom.md),
相比[机箱](case1.md)他们可以用一些特别的升级 比如[活塞升级](../item/pistonUpgrade.md).
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Motion Sensor

![Don't. Blink.](oredict:oc:motionSensor)

运动探测器允许 [电脑](../general/computer.md)探测生物. 如果生物移速快过阈值,将会向连接的电脑发出红石信号 [computers](../general/computer.md)
阈值可以在连接的电脑上用组件API调节
探测范围8格, 不能有障碍物,生物走出范围或者连线上有障碍都会使得生物无法被探测。
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Net Splitter

![*.net *.split](oredict:oc:netSplitter)

VLAN分割器能够让你控制子网的连接. 它不像 [中继器](relay.md) 或者 [能源转换](powerConverter.md) 那样直接连接相邻的子网.
每个边的连接都可以用扳手控制 (e.g. the [scrench](../item/wrench.md)).
接入红石信号之后, 所有连接反相.

这个方块可以控制特定子网的连接. 使用[红石IO方块](redstone.md)[红石卡](../item/redstoneCard1.md) 可以实现对他的自动化控制
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Power Converter

![One of us? One of us!](oredict:oc:powerConverter)

能源转换器是最快捷的使用其他mod能源的办法了.
如果只是运行单台机器,那么不需要造这个东西。 如果你有一个只是偶尔使用的大电容你也不用做这个方块
然而如果你想直接驱动[装配机](assembler.md) 或者 [充电机](charger.md),
这个东西往往比直接连接外部能源要给力
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Power Distributor

![Power to the masses.](oredict:oc:powerDistributor)

能源分配器能够将一个共享能源池(如[电容](capacitor.md))的能源分配出去, 使得子网络能够在不暴露元件的情况下分享能源
它的作用是负载均衡,因此你会发现每个子网的能量供应都“差不多”
11 changes: 11 additions & 0 deletions src/main/resources/assets/opencomputers/doc/zh_CN/block/print.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 3D打印制品

![Any way you want me.](block:OpenComputers:print)

3D打印制品由 [3D打印机](printer.md)制造. 他们主要作为装饰用途出现, 但也可以收发红石信号来扩展出一点点小的功能.

可以通过放入 [3D打印机](printer.md)进行回收. 可以重用一点用来打印的 [油墨](../item/chamelium.md). 打印的颜料是不会回收的.

长按shift(默认的OC扩展tip),将会显示出当前打印制品的激活状态.

兼容Forge Multipart. 在他们不碰撞,且单个方块的形状数量不超出上限时,可以被放入单个方块的空间,比如火炬,拉杆,线缆等.
17 changes: 17 additions & 0 deletions src/main/resources/assets/opencomputers/doc/zh_CN/block/printer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 3D Printer

![2D printing is so yesteryear.](oredict:oc:printer)

3D打印机允许你在任何方块上,用任何纹理打印出你想要的样子.要打印东西, 需要在电脑边放一台打印机.`printer3d` 组件API将启用, 电脑将能够通过这些API,控制打印机打印出[模型](print.md).

用OPPM来设置打印机更方便. 一旦安装 (`oppm install oppm`), 确保你有 [因特网卡](../item/internetCard.md),并执行以下命令:
`oppm install print3d-examples`

示例将会在 `/usr/share/models/` 以.3dm的扩展名存在. 阅读示例文件以获取打印选项的信息, 尤其是这个 `example.3dm`. 你也可以通过安装了网卡的计算机,用wget从OpenProgram下载`print3d` and `print3d-examples`.

要打印模型, 需要通过 [电脑](../general/computer.md)配置打印机. 如果设置了循环打印, 开始任务后电脑就可以搬走了. 你还需要提供 [墨盒](../item/inkCartridge.md) , [油墨](../item/chamelium.md) 作为打印材料. 油墨用量和3D打印大小有关, 墨水取决于表面积.

打印需要以下命令:
`print3d /到打印文件的路径/文件.3dm`

可以在 `/usr/share/models/example.3dm`.找到相关文档
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#机架
![Free housing.](oredict:oc:rack)

机架中可以存放各种电脑,如服务器,终端服务器等,组件之间可以通过GUI设定他们的连接关系。如果服务器里面安装了网卡等组件,那么机架里面的服务器也是可以互联的,但是他们只能用来传递消息,而不能直接互相看到。你的程序不能直接探测到一个机柜里面的其他设备

机架里有一条总线,如果要让组件互相可见,那么就连接到总线上。
15 changes: 15 additions & 0 deletions src/main/resources/assets/opencomputers/doc/zh_CN/block/raid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Raid

![40 man instance.](oredict:oc:raid)

Raid箱提供了[硬盘](../item/hdd1.md)的磁盘阵列功能,如同现实的RAID0一样,通过多块磁盘并发写入同时提高了效率和容量

组合的文件系统拥有所有硬盘容量之和的大小并且所有相连的电脑均可以访问RAID

当且仅当3个以上的磁盘被放进RAID控制器时,这块些磁盘会被看作一块,允许每块磁盘大小不同

注意当你加入RAID的时候原来的盘数据会全部丢失掉,而从RAID移除一块硬盘也会直接导致整个RAID损坏

加回去也不会拯救这个事实,RAID会被重新初始化为空的磁盘

挖掉RAID方块则不会丢失数据,相应的磁盘可以被重新放到一个新的RAID里面继续用
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Redstone I/O

![Hi Red.](oredict:oc:redstone)

红石IO方块可以被用来远程读取和发射红石信号. 他就像1级和2级[红石卡](../item/redstoneCard1.md)的杂交品:

可以收发简单的信号也可以收发信号群, 但是无法收发无线红石信号

When providing a side to the methods of the component exposed by this block, the directions are the global principal directions, i.e. it is recommended to use `sides.north`, `sides.east` and so on.

[红石卡](../item/redstoneCard1.md), 当红石变化的时候,这个方块会向连接的[电脑](../general/computer.md) 发送信号,(模拟或者信号束).也可以用来唤醒连接的[电脑](../general/computer.md)
如果达到一定的强度可以直接把电脑开机
17 changes: 17 additions & 0 deletions src/main/resources/assets/opencomputers/doc/zh_CN/block/relay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Relay

![Building bridges.](oredict:oc:relay)

中继器允许子网间发送消息,而不把组件暴露给其他网络的[电脑](../general/computer.md).通常来说,把组件限制在本地网络是个好主意,如果被不怀好意的熊控制了你的机器人,那么你家就完蛋了.

可避免电脑链接到错误的屏幕,或者避免组件崩溃(可能崩掉电脑,并使之无法启动).

中继器可以安装[无线网卡](../item/wlanCard.md),发送无线消息.其他的中继器可接受并转发,或者是被有无线网卡的电脑收到.

中继器也可以安装[连接卡](../item/linkedCard.md).消息被转发到链接卡的信道里面, 记得保持中继器能源.

中继器不会记下包的路径,因此请避免网络环路(现实中将触发广播风暴,全网瘫痪).由于中继器资源不是无限的,过于频繁的发包将会导致丢包.

你也可以通过升级来加速转发速度.

包只会被转发有限次数(TTL),当TTL降为0时,包会被自动丢弃,缺省的TTL是5,每转发一次减去1.
Loading

0 comments on commit 40ca104

Please sign in to comment.