功能(站点广播): 实现延误与停运列车的双语广播功能
添加所有中日文广播所需的音频资源文件 将应用版本更新至v1.0.37 修复列车状态原因映射逻辑,补充广播所需的缺失字段 实现根据延误、停运状态生成对应双语广播序列的逻辑 更新测试脚本以适配区块阅读器并正确解析CRN的NBT数据 添加示例NBT转储文件作为参考
This commit is contained in:
+122
@@ -0,0 +1,122 @@
|
||||
{
|
||||
IsController = 1,
|
||||
Platform = "",
|
||||
TrainStops = {
|
||||
{
|
||||
IsLast = 1,
|
||||
State = 2,
|
||||
FirstStop = "HC-01 1",
|
||||
Stopovers = {
|
||||
"HC-02 2",
|
||||
},
|
||||
Train = {
|
||||
Carriages = 1,
|
||||
StateData = {
|
||||
[ "1" ] = {
|
||||
CategoryId = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
},
|
||||
Color = 0,
|
||||
LineId = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
},
|
||||
DisplayName = "[Local]1123",
|
||||
},
|
||||
[ "0" ] = {
|
||||
CategoryId = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
},
|
||||
Color = 0,
|
||||
LineId = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
},
|
||||
DisplayName = "[Local]1123",
|
||||
},
|
||||
},
|
||||
Status = {
|
||||
"createrailwaysnavigator:delay_from_previous_journey",
|
||||
},
|
||||
Cancelled = 0,
|
||||
Icon = "create:traditional",
|
||||
Id = {
|
||||
768288300,
|
||||
-1947906833,
|
||||
-1592998865,
|
||||
1043383053,
|
||||
},
|
||||
},
|
||||
IsPrevSectionExcluded = 0,
|
||||
IsNextSectionExcluded = 0,
|
||||
Station = {
|
||||
ScheduledStation = {
|
||||
Id = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
},
|
||||
StationInfo = {
|
||||
Platform = "",
|
||||
},
|
||||
StationName = "HC-01 1",
|
||||
TagName = "HC-01 1",
|
||||
},
|
||||
RealTimeDeparture = 122228,
|
||||
ScheduledArrival = 122029,
|
||||
RealTimeStation = {
|
||||
Id = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
},
|
||||
StationInfo = {
|
||||
Platform = "",
|
||||
},
|
||||
StationName = "HC-01 1",
|
||||
TagName = "HC-01 1",
|
||||
},
|
||||
RealTimeArrival = 123428,
|
||||
Index = 0,
|
||||
ScheduledDeparture = 123229,
|
||||
Destination = "HC-01 1",
|
||||
TrainName = "[Local]1123",
|
||||
},
|
||||
IsFirst = 1,
|
||||
},
|
||||
},
|
||||
DisplaySettings = {
|
||||
FontColor = -1,
|
||||
BackColor = 0,
|
||||
PlatformWidthNextStop = -1,
|
||||
TimeDisplay = 1,
|
||||
TrainNameWidth = 12,
|
||||
ShowLineColor = 1,
|
||||
TrainNameWidthNextStop = -1,
|
||||
ShowTrainMultipleTimes = 1,
|
||||
TrainText = 0,
|
||||
PlatformWidth = -1,
|
||||
},
|
||||
Glowing = 0,
|
||||
LastRefreshed = 122113,
|
||||
YSize = 1,
|
||||
Filter = "HC-01 1",
|
||||
Material = {
|
||||
Name = "create:copycat_base",
|
||||
},
|
||||
XSize = 3,
|
||||
DisplayId = "createrailwaysnavigator:platform/focus",
|
||||
Item = {},
|
||||
}
|
||||
Reference in New Issue
Block a user