Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subway maps #37540

Merged
merged 11 commits into from
Mar 6, 2020
2 changes: 2 additions & 0 deletions data/json/itemgroups/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@
[ "restaurantmap", 25 ],
[ "roadmap", 25 ],
[ "trailmap", 25 ],
[ "subwaymap", 25 ],
[ "modern_tanner", 20 ],
[ "pocket_survival", 20 ],
[ "flyer", 120 ],
Expand Down Expand Up @@ -838,6 +839,7 @@
"id": "subway",
"items": [
[ "wrapper", 50 ],
[ "subwaymap", 50 ],
[ "string_6", 2 ],
[ "chain", 20 ],
[ "rock", 40 ],
Expand Down
1 change: 1 addition & 0 deletions data/json/itemgroups/locations_commercial.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
[ "file", 10 ],
[ "touristmap", 20 ],
[ "restaurantmap", 20 ],
[ "subwaymap", 20 ],
[ "money_bundle", 55 ],
[ "gold_watch", 5 ],
[ "silver_watch", 10 ],
Expand Down
14 changes: 14 additions & 0 deletions data/json/items/book/maps.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,20 @@
"message": "You add roads and points of interest to your map."
}
},
{
"id": "subwaymap",
"copy-from": "abstractmap",
"type": "GENERIC",
"name": "subway map",
"description": "This is a map of subway routes and stations in the area. Using it will add subway lines and underground stations to your map.",
wapcaplet marked this conversation as resolved.
Show resolved Hide resolved
"color": "light_blue",
"use_action": {
"type": "reveal_map",
"radius": 180,
"terrain": [ "subway", "sub_station", "sewer_sub_station", "underground_sub_station" ],
"message": "You add subway lines and underground stations to your map."
}
},
{
"id": "trailmap",
"copy-from": "abstractmap",
Expand Down
2 changes: 2 additions & 0 deletions data/json/mapgen/motel.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
{ "item": "roadmap", "x": 8, "y": 8, "chance": 25 },
{ "item": "roadmap", "x": 8, "y": 8, "chance": 25 },
{ "item": "touristmap", "x": 8, "y": 8, "chance": 50 },
{ "item": "subwaymap", "x": 8, "y": 7, "chance": 25 },
{ "item": "survivormap", "x": 8, "y": 7, "chance": 12 }
],
"place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 2, 21 ], "y": [ 2, 21 ] } ],
Expand Down Expand Up @@ -804,6 +805,7 @@
{ "item": "roadmap", "x": 8, "y": 8, "chance": 25 },
{ "item": "roadmap", "x": 8, "y": 8, "chance": 25 },
{ "item": "touristmap", "x": 8, "y": 8, "chance": 50 },
{ "item": "subwaymap", "x": 8, "y": 7, "chance": 25 },
{ "item": "survivormap", "x": 8, "y": 7, "chance": 12 }
],
"place_items": [ { "item": "traveler", "chance": 90, "x": [ 6, 6 ], "y": [ 6, 6 ] } ],
Expand Down