Difference between revisions of "Translations:TrainCarts/Signs/Property/14/zh-cn"

From BergerHealer Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
| name<br>setname<br>rename
 
| name<br>setname<br>rename
 
| Intercity#A
 
| Intercity#A
| 为火车设置新名称。#(井字符)会被替换为 1 至无穷大的数字。
+
| 为火车设置新名称。#(井号符)会被替换为 1 至无穷大的数字。
 
|-
 
|-
 
| dname<br>setdname<br>displayname<br>setdisplayname
 
| dname<br>setdname<br>displayname<br>setdisplayname
 
| Trainname
 
| Trainname
| 设置触发器控制牌显示的名称(%triggernameN%)。
+
| 设置 trigger(触发器)控制牌显示的名称(%triggernameN%)。
 
|-
 
|-
 
| exitoffset<br>exitlocation<br>exityaw<br>exitpitch<br>exitrotation
 
| exitoffset<br>exitlocation<br>exityaw<br>exitpitch<br>exitrotation
Line 71: Line 71:
 
| default<br>setdefault
 
| default<br>setdefault
 
| stat1def
 
| stat1def
| 将 <br>DefaultTrainProperties.yml 里其中一个默认属性加载到所填写的列车上。
+
| 将<br>DefaultTrainProperties.yml 里其中一个默认属性加载到所填写的列车上。
 
|-
 
|-
 
| banking
 
| banking

Revision as of 01:12, 2 September 2024

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (TrainCarts/Signs/Property)
{| class="wikitable"
|-
! Property
! Value example
! Meaning
|-
| name<br>setname<br>rename
| Intercity#A
| Sets a new name on the train. The #-sign is replaced with a number 1 to infinity.
|-
| dname<br>setdname<br>displayname<br>setdisplayname
| Trainname
| Sets the display name used with trigger signs (%triggernameN%)
|-
| exitoffset<br>exitlocation<br>exityaw<br>exitpitch<br>exitrotation
| 2/0/0<br>200/45/-2333<br>30<br>0<br>90
| Change player exit offset, yaw, pitch and rotation. Exit location uses absolute coordinates, exit offset relative to the cart(s).
|-
| speedlimit<br>maxspeed
| 0.6
| The maximum allowed speed the train can go
|-
| <s>pushing</s><ref name="collision">Old syntax for compatibility. Replaced by ''type''collision. See [[Special:MyLanguage/TrainCarts/Physical/Collision|Collision modes]]</ref>
| false
| Set if the train pushes mobs, players, trains and misc
|-
| <s>pushmobs</s><ref name="collision"/>
| true
| Set if the train pushes mobs
|-
| <s>pushplayers</s><ref name="collision"/>
| no
| Set if the train pushes players
|-
| <s>pushmisc</s><ref name="collision"/>
| yes
| Set if the train pushes misc (items, boats, etc.)
|-
| playercollision<br>mobcollision<br>traincollision<br>misccollision
| default<br>cancel<br>kill<br>killnodrops<br>push<br>enter<br>link
| Set a [[Special:MyLanguage/TrainCarts/Physical/Collision|collision mode]] for the train against players, mobs, trains or other types of entities.
|-
| slowdown
| false
| Set if the train slows down, either by gravity or by friction
|-
|slowfriction
|false
|Set if the train slows down due to friction
|-
|slowgravity
|false
|Set if the train slows down, or speeds up, due to gravity
|-
|gravity
|1.0
|Changes the acceleration and deceleration due to gravity (multiplier, 1.0 is default)
|-
| linking
| deny
| Set if the train can link with other trains
|-
| collision
| allow
| Set if the train can collide with other entities
|-
| keepcloaded<br>loadchunks<br>keeploaded
| true
| Set if the train keeps nearby chunks loaded
|-
| default<br>setdefault
| stat1def
| Load one of the default train properties found in<br>DefaultTrainProperties.yml into this train
|-
|banking
|1 0
|Change the banking (First number: Strength, Second number: Smoothness)
|-
|godmode
invincible
|true
|Makes a train invincible, so that players cannot destroy it by hitting it.
Players with the ''train.break.any'' permission (default: OP) can break trains anyway.
|-
|waitdistance<br>waitdelay<br>waitacceleration<br>waitpredicted
|
|See the [[#Wait_Property|Wait Property]] section
|-
| route add<br>route set<br>route remove<br>route clear
| destination_name
| Adds/removes/clears/sets the destinations of the [[Special:MyLanguage/TrainCarts/PathFinding#Route_Manager|route]] set for a train. Destinations are added at the end.
|-
| route load<br>loadroute
| my_saved_route
| Loads a previously saved [[Special:MyLanguage/TrainCarts/PathFinding#Route_Manager|route]] by name.
|}
属性 值 例子 解释
name
setname
rename
Intercity#A 为火车设置新名称。#(井号符)会被替换为 1 至无穷大的数字。
dname
setdname
displayname
setdisplayname
Trainname 设置 trigger(触发器)控制牌显示的名称(%triggernameN%)。
exitoffset
exitlocation
exityaw
exitpitch
exitrotation
2/0/0
200/45/-2333
30
0
90
修改玩家离开时的偏移、偏航、俯仰和旋转。离开位置使用绝对坐标,离开时的偏移则相对于矿车。
speedlimit
maxspeed
0.6 设置列车的最大速度。
pushing<ref name="collision">旧语法,用于兼容。由碰撞 type(类型)替换,更多请参阅碰撞模式。</ref> false 设置列车是否能推动生物、玩家、列车和其他。
pushmobs<ref name="collision"/> true 设置列车是否能推动生物。
pushplayers<ref name="collision"/> no 设置列车是否能推动玩家。
pushmisc<ref name="collision"/> yes 设置列车是否能推动其他(如物品、船等)。
playercollision
mobcollision
traincollision
misccollision
default
cancel
kill
killnodrops
push
enter
link
为列车设置碰撞模式来对抗玩家、生物、列车或其他类型的实体。
slowdown false 设置列车是否因重力和摩擦力减速。
slowfriction false 设置列车是否因摩擦力减速。
slowgravity false 设置列车是否因重力减速或加速。
gravity 1.0 修改重力加速度和减速度(乘数,默认值为1.0)。
linking deny 设置列车是否可以与其他列车相连。
collision allow 设置列车是否可以与其他实体发生碰撞。
keepcloaded
loadchunks
keeploaded
true 设置列车是否保持附近的区块加载。
default
setdefault
stat1def
DefaultTrainProperties.yml 里其中一个默认属性加载到所填写的列车上。
banking 1 0 修改倾斜角度(第一个数字:强度;第二个数字:平滑度)。
godmode
invincible
true 设置列车是否是无法破坏的,如果为 true,则玩家不能打掉矿车。
拥有 train.break.any 权限的玩家(OP 默认拥有)不管怎样都可以破坏矿车。
waitdistance
waitdelay
waitacceleration
waitpredicted
请参阅等待属性章节。
route add
route set
route remove
route clear
destination_name 为列车的路线添加/移除/清除/设置目的地。目的地要最后添加。
route load
loadroute
my_saved_route 通过名称加载之前保存的路线