Difference between revisions of "JCM:Joban PIDS"
From The District of Joban
Views
Actions
Namespaces
Variants
Tools
Line 3: | Line 3: | ||
This class has support for '''PIDS Variable''' and '''PIDS Preset. The following block supports these features:''' | This class has support for '''PIDS Variable''' and '''PIDS Preset. The following block supports these features:''' | ||
[[JCM:Old | [[JCM:Old Tsueng Kwan O Line PIDS|Old Tsueng Kwan O Line PIDS]] | ||
[[JCM:Railway Vision PIDS|Railway Vision PIDS]] | [[JCM:Railway Vision PIDS|Railway Vision PIDS]] |
Revision as of 17:01, 26 August 2022
Joban PIDS refers to a series of Passenger Information Display System Blocks that extends the class JobanPIDSBase.
This class has support for PIDS Variable and PIDS Preset. The following block supports these features:
Block Entity Data
Name | Type | Description |
---|---|---|
All MTR Mod PIDS Properties | ||
preset_id | String | The string of the Preset ID |
PIDS Preset
A PIDS preset is like a collection of configurations for the PIDS, things you can change including:
- Visibility of Weather/Time (RV PIDS Only)
- Font used
- Font Color
- Background Images
- Hide arrival override (Since v1.1.5)
- Push arrival down even without hiding the arrivals (Since v1.1.5)
PIDS Variable
A variable is like a placeholder, you can put a text formatted in a specific way, and that text will be replaced with something else (e.g. a dynamic value).
Variable Name | Description | Version Added |
---|---|---|
{weather}
|
The weather of the current world, possible values are:
"Sunny", "Raining", "Thundering" |
v1.1.2 |
{time}
|
The current world time, returns "HH:MM" | v1.1.2 |
{time_period}
|
The current time period, possible values are:
"Morning", "Afternoon", "Night" |
v1.1.2 |
{weatherChin}
|
The weather of the current world in chinese.
Possible values are: "晴天", "下雨", "雷暴" |
v1.1.4 |
{worldPlayer}
|
Current amount of player on the current world | v1.1.4 |
{day}
|
The day elapsed (Same as the one shown in F3 Screen) | v1.1.5 |
Simply put the Variable Name mentioned above in your PIDS as custom text, and it will work.