Skip to content

Commit

Permalink
feat: added train length signs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeronimo97 committed Aug 19, 2024
1 parent 3578563 commit 3d75948
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,8 @@
"SO19_1",
"SO19_2",
"SO19_3",
"SO106"
"SO106",
"TRAIN_LENGTH"
],
"NEAddition": [
"OFF",
Expand All @@ -474,7 +475,8 @@
"M200",
"M250",
"KURZ",
"LANG"
"LANG",
"FREE"
],
"WNMech": [
"WN1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"M200": "opensignals:blocks/ne/ne5_add_200",
"M250": "opensignals:blocks/ne/ne5_add_250",
"KURZ": "opensignals:blocks/ne/ne5_add_kurzzug",
"LANG": "opensignals:blocks/ne/ne5_add_langzug"
"LANG": "opensignals:blocks/ne/ne5_add_langzug",
"FREE": "opensignals:blocks/default/white"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,15 @@
}
},
"y": 2.0
},
{
"blockstate": "with(NETYPE.TRAIN_LENGTH)",
"extentions": {
"arrow.json": {
"ARROW": "1"
}
},
"y": 1.0
}
],
"y": 0
Expand All @@ -349,6 +358,14 @@
"NE5_ADDITION": "2"
}
}
},
{
"blockstate": "with(NETYPE.TRAIN_LENGTH)",
"extentions": {
"ne5_addition.json": {
"NE5_ADDITION": "2"
}
}
}
],
"y": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@
"config(NETYPE.NE1)": 1,
"config(NETYPE.NE5)": 1,
"config(NETYPE.NE6)": 1,
"config(NETYPE.SO106)": 1
"config(NETYPE.SO106)": 1,
"config(NETYPE.TRAIN_LENGTH)": 0
},
"customNameRenderHeight": 1.52,
"offsetY": -7,
"offsetX": -15,
"signWidth": 50,
"renderHeights": {
"!config(NETYPE.NE1)": -1
"!config(NETYPE.NE1)": -1,
"config(NETYPE.TRAIN_LENGTH)": 0.9
}
},
"seProperties": [
Expand Down

0 comments on commit 3d75948

Please sign in to comment.