TrainCarts/控制牌/车票

From BergerHealer Wiki
Revision as of 00:39, 13 September 2024 by Halogly (talk | contribs) (Created page with "== 描述 ==")
Jump to navigation Jump to search
Other languages:
English • ‎中文(中国大陆)‎

« 返回


描述

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

Signtemplate.png
[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.