Skip to content

Commit

Permalink
Change: add missing randomised NG open cars, hopper cars, dump cars, …
Browse files Browse the repository at this point in the history
…and gen 1A merchandise open car
  • Loading branch information
andythenorth committed Feb 12, 2024
1 parent d47ab85 commit bf54295
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 16 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/vehicles/merchandise_open_cars.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
def main():
# --------------- pony NG ----------------------------------------------------------------------

consist = OpenCarMerchandiseConsist(
roster_id="pony",
base_numeric_id=11850,
gen=1,
subtype="A",
base_track_type_name="NG",
sprites_complete=True,
)

consist.add_unit(type=FreightCar, chassis="4_axle_ng_16px")

consist = OpenCarMerchandiseConsist(
roster_id="pony",
base_numeric_id=14950,
Expand Down
13 changes: 5 additions & 8 deletions src/vehicles/randomised_dump_cars.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ def main():

consist.add_unit(type=FreightCar, chassis="empty_16px")

# no new type A for gen 2, gen 1 type A continues

consist = DumpCarRandomisedConsist(
roster_id="pony",
base_numeric_id=15880,
Expand All @@ -28,18 +26,17 @@ def main():

consist.add_unit(type=FreightCar, chassis="empty_16px")

""" # restore in next version
consist = DumpCarRandomisedConsist(
roster_id="pony",
base_numeric_id=14540,
gen=4,
subtype="U",
base_numeric_id=10900,
gen=3,
subtype="B",
base_track_type_name="NG",
sprites_complete=True,
)

consist.add_unit(type=FreightCar, chassis="empty_16px")
"""
consist.add_unit(type=FreightCar, chassis="empty_24px")

# --------------- pony ----------------------------------------------------------------------

consist = DumpCarRandomisedConsist(
Expand Down
13 changes: 5 additions & 8 deletions src/vehicles/randomised_hopper_cars.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ def main():

consist.add_unit(type=FreightCar, chassis="empty_16px")

# no new type A for gen 2, gen 1 type A continues

consist = HopperCarRandomisedConsist(
roster_id="pony",
base_numeric_id=10690,
Expand All @@ -28,18 +26,17 @@ def main():

consist.add_unit(type=FreightCar, chassis="empty_16px")

""" # restore in next version
consist = HopperCarRandomisedConsist(
roster_id="pony",
base_numeric_id=11850,
gen=4,
subtype="U",
base_numeric_id=9620,
gen=3,
subtype="B",
base_track_type_name="NG",
sprites_complete=True,
)

consist.add_unit(type=FreightCar, chassis="empty_16px")
"""
consist.add_unit(type=FreightCar, chassis="empty_24px")

# --------------- pony ----------------------------------------------------------------------

consist = HopperCarRandomisedConsist(
Expand Down
35 changes: 35 additions & 0 deletions src/vehicles/randomised_open_cars.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,41 @@


def main():
# --------------- pony ng ----------------------------------------------------------------------

consist = OpenCarRandomisedConsist(
roster_id="pony",
base_numeric_id=9900,
gen=1,
subtype="A",
base_track_type_name="NG",
sprites_complete=True,
)

consist.add_unit(type=FreightCar, chassis="empty_16px")

consist = OpenCarRandomisedConsist(
roster_id="pony",
base_numeric_id=9950,
gen=3,
subtype="A",
base_track_type_name="NG",
sprites_complete=True,
)

consist.add_unit(type=FreightCar, chassis="empty_16px")

consist = OpenCarRandomisedConsist(
roster_id="pony",
base_numeric_id=11080,
gen=3,
subtype="B",
base_track_type_name="NG",
sprites_complete=True,
)

consist.add_unit(type=FreightCar, chassis="empty_24px")

# --------------- pony ----------------------------------------------------------------------

consist = OpenCarRandomisedConsist(
Expand Down

0 comments on commit bf54295

Please sign in to comment.