Skip to content

Commit

Permalink
fix can attach
Browse files Browse the repository at this point in the history
  • Loading branch information
Babel-TTT committed Aug 26, 2024
1 parent b410e14 commit 345dd60
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Top-most EditorConfig file
root = true

# Set the default charset
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

10 changes: 5 additions & 5 deletions src/functions.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -224,28 +224,28 @@ switch (FEAT_TRAINS, SELF, muhead_mtr, vehicle_type_id) {

switch (FEAT_TRAINS, SELF, mu_of_mtr, vehicle_type_id) {
1856..2751: return can_attach_in_mtr;
return cannot_attach_in_mtr;
return CB_RESULT_ATTACH_DISALLOW;
}

switch (FEAT_TRAINS, SELF, muhead_with_first_class, vehicle_type_id) {
1856..1857: return can_attach_in_mtr;
return cannot_attach_in_mtr;
return CB_RESULT_ATTACH_DISALLOW;
}

switch (FEAT_TRAINS, SELF, muhead_yellowhead_exurb, vehicle_type_id) {
1856..1858: return can_attach_in_mtr;
return cannot_attach_in_mtr;
return CB_RESULT_ATTACH_DISALLOW;
}

switch (FEAT_TRAINS, SELF, muhead_airport_express, vehicle_type_id) {
1857: return can_attach_in_mtr;
1859: return can_attach_in_mtr;
return cannot_attach_in_mtr;
return CB_RESULT_ATTACH_DISALLOW;
}

switch (FEAT_TRAINS, SELF, muhead_without_first_class, vehicle_type_id) {
1856: return can_attach_in_mtr;
return cannot_attach_in_mtr;
return CB_RESULT_ATTACH_DISALLOW;
}


Expand Down

0 comments on commit 345dd60

Please sign in to comment.