Difference between revisions of "TrainCarts/Signs/Mutex/zh"
Jump to navigation
Jump to search
Saionji Rin (talk | contribs) (Created page with "==简介==") |
Saionji Rin (talk | contribs) (Created page with "闭塞区(mutex)控制牌可以用于生成一个闭塞区域,当一列火车已经进入这个区域时,它会阻止其它火车继续进入。当前序列车离开...") |
||
Line 5: | Line 5: | ||
==简介== | ==简介== | ||
− | + | 闭塞区(mutex)控制牌可以用于生成一个闭塞区域,当一列火车已经进入这个区域时,它会阻止其它火车继续进入。当前序列车离开闭塞区后,等待的列车就可以按照先来后到的顺序继续进入闭塞区。这个控制牌和Switcher道岔控制牌可以互相配合,防止列车相撞。此控制牌周围可以设置一个拉杆,当有列车在闭塞区的时候,拉杆会输出红石信号。 | |
− | + | 总体来讲,此功能类似于现实中的半自动闭塞。 | |
− | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |
Revision as of 08:57, 24 December 2021
简介
闭塞区(mutex)控制牌可以用于生成一个闭塞区域,当一列火车已经进入这个区域时,它会阻止其它火车继续进入。当前序列车离开闭塞区后,等待的列车就可以按照先来后到的顺序继续进入闭塞区。这个控制牌和Switcher道岔控制牌可以互相配合,防止列车相撞。此控制牌周围可以设置一个拉杆,当有列车在闭塞区的时候,拉杆会输出红石信号。 总体来讲,此功能类似于现实中的半自动闭塞。
Multiple mutex signs can be combined by naming them the same, combining the cuboid areas of effect they occupy. This way more complex zones can be created.
Syntax
[train]
mutex
[train]
mutex 1/2/1
[train]
mutex 1/2
[train]
mutex 2
[train]
mutex 2
name
d@Station 12
- First line: [train]. The sign does not have to be powered.
- Second line: mutex, which without further arguments will create a cuboid zone around the sign of 1x2x1 (x/y/z). When followed by one number, the number sets all cuboid x/y/z-radius values at once. When followed by a second number, the first number sets the x/z-radius and the second number the y-radius. With 3 parameters, each x/y/z radius can be specified.
- Third line: Name (optional), multiple mutex signs with the same name form a single combined mutex zone
- Fourth line: Statement (optional), each sign with the same name adds to a list of statements. Prepend & or | to switch between AND and OR logic.