Difference between revisions of "TrainCarts/Signs/Ticket/zh-cn"
Jump to navigation
Jump to search
(Created page with "« 返回") |
(Created page with "== 描述 ==") |
||
Line 3: | Line 3: | ||
− | + | == 描述 == | |
− | = | ||
− | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |
Revision as of 00:39, 13 September 2024
描述
The ticket sign is a simple money transfer and display system. It uses Vault to work on the account(s) of passenger(s) in a train.
Syntax
[train]
ticket
add
1.5
Second line
ticket, no other arguments.
Third line
add to add money to the account, check to display the current money value to the player, buy to let the player buy a ticket and pay to let the user pay the owner(s) of the train. In the case of buying or paying, if the player can't buy a ticket, they are ejected from the train. To prevent the player re-entering the train, make sure player enter is disabled using a property sign as well.
Fourth line
In the case of add, buy or pay, the money value to add or the money value of the train ticket.