Skip to content

Commit 57d3116

Browse files
committed
Add: prop 0x13 and 0x14 for road stops in action0
1 parent f02ccc8 commit 57d3116

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nml/actions/action0properties.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,4 +1694,10 @@ def byte_sequence_list(value, prop_num, description, expected_count):
16941694
# 11 (callback flags) is not set by user
16951695
"general_flags": {"size": 4, "num": 0x12},
16961696
"cost_multipliers": {"custom_function": lambda x: byte_sequence_list(x, 0x15, "Cost multipliers", 2)},
1697+
"minimum_bridge_height": {
1698+
"custom_function": array_for_station_properties(0x13, "Bridge heights", 1, lambda v : v)
1699+
},
1700+
"bridge_pillars_flags": {
1701+
"custom_function": array_for_station_properties(0x14, "Flag", 1, invert_bridge_pillars_flags)
1702+
},
16971703
}

0 commit comments

Comments
 (0)