Skip to content

Commit

Permalink
Add steam locomotive to miniature railroad location (CleverRaven#35413)
Browse files Browse the repository at this point in the history
  • Loading branch information
snipercup authored and AMurkin committed Nov 13, 2019
1 parent dd28818 commit becd315
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/json/mapgen/miniature_railway/miniature_railway_z1.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
"place_monsters": [
{ "monster": "GROUP_SCHOOL", "x": [ 35, 40 ], "y": [ 10, 15 ], "repeat": [ 0, 1 ], "density": 1 },
{ "monster": "GROUP_SCHOOL", "x": [ 35, 40 ], "y": [ 35, 40 ], "repeat": [ 0, 1 ], "density": 1 }
],
"place_vehicles": [
{ "vehicle": "miniature_train_loco", "x": 5, "y": 31, "chance": 5, "fuel": 20, "status": 25, "rotation": 270 },
{ "vehicle": "miniature_train_loco", "x": 41, "y": 41, "chance": 5, "fuel": 5, "status": 15, "rotation": 270 }
]
}
}
Expand Down
11 changes: 11 additions & 0 deletions data/json/vehicles/trains.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,5 +238,16 @@
{ "x": 1, "y": 0, "parts": [ "headlight", "battery_motorbike" ] },
{ "x": -1, "y": 0, "parts": [ "muffler", "box" ] }
]
},
{
"id": "miniature_train_loco",
"type": "vehicle",
"name": "Miniature Train Locomotive",
"blueprint": [ "oo" ],
"parts": [
{ "x": 1, "y": 0, "parts": [ "frame_vertical_2", "engine_steam_small", "rail_wheel_small_pair" ] },
{ "x": 0, "y": 0, "parts": [ "frame_vertical_2", "seat", "rail_wheel_small_pair", "controls" ] },
{ "x": 0, "y": 0, "parts": [ { "part": "fuel_bunker", "fuel": "coal_lump" } ] }
]
}
]

0 comments on commit becd315

Please sign in to comment.