diff --git a/src/main/resources/assets/opensignals/enumdefinition/enums.json b/src/main/resources/assets/opensignals/enumdefinition/enums.json index f518f7c6d..f379c71cd 100644 --- a/src/main/resources/assets/opensignals/enumdefinition/enums.json +++ b/src/main/resources/assets/opensignals/enumdefinition/enums.json @@ -457,7 +457,8 @@ "SO19_1", "SO19_2", "SO19_3", - "SO106" + "SO106", + "TRAIN_LENGTH" ], "NEAddition": [ "OFF", @@ -474,7 +475,8 @@ "M200", "M250", "KURZ", - "LANG" + "LANG", + "FREE" ], "WNMech": [ "WN1", diff --git a/src/main/resources/assets/opensignals/modeldefinitions/ne5_addition.extention.json b/src/main/resources/assets/opensignals/modeldefinitions/ne5_addition.extention.json index 8ed982811..2ce7e1201 100644 --- a/src/main/resources/assets/opensignals/modeldefinitions/ne5_addition.extention.json +++ b/src/main/resources/assets/opensignals/modeldefinitions/ne5_addition.extention.json @@ -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" } } \ No newline at end of file diff --git a/src/main/resources/assets/opensignals/modeldefinitions/nesignal.json b/src/main/resources/assets/opensignals/modeldefinitions/nesignal.json index 6ef4d619c..c1b1e911e 100644 --- a/src/main/resources/assets/opensignals/modeldefinitions/nesignal.json +++ b/src/main/resources/assets/opensignals/modeldefinitions/nesignal.json @@ -336,6 +336,15 @@ } }, "y": 2.0 + }, + { + "blockstate": "with(NETYPE.TRAIN_LENGTH)", + "extentions": { + "arrow.json": { + "ARROW": "1" + } + }, + "y": 1.0 } ], "y": 0 @@ -349,6 +358,14 @@ "NE5_ADDITION": "2" } } + }, + { + "blockstate": "with(NETYPE.TRAIN_LENGTH)", + "extentions": { + "ne5_addition.json": { + "NE5_ADDITION": "2" + } + } } ], "y": 0 diff --git a/src/main/resources/assets/opensignals/signalsystems/nesignal.json b/src/main/resources/assets/opensignals/signalsystems/nesignal.json index 1f4734095..d0ab495ea 100644 --- a/src/main/resources/assets/opensignals/signalsystems/nesignal.json +++ b/src/main/resources/assets/opensignals/signalsystems/nesignal.json @@ -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": [