Skip to content

Commit

Permalink
Add subway maps (#37540)
Browse files Browse the repository at this point in the history
  • Loading branch information
wapcaplet authored Mar 6, 2020
1 parent 6eca826 commit 1a140f5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
17 changes: 16 additions & 1 deletion data/json/items/book/maps.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,27 @@
"hospital",
"school",
"police",
"sub_station",
{ "om_terrain": "sub_station", "om_terrain_match_type": "TYPE" },
"bank"
],
"message": "You add roads and points of interest to your map."
}
},
{
"id": "subwaymap",
"copy-from": "abstractmap",
"type": "GENERIC",
"name": "subway maintenance map",
"looks_like": "roadmap",
"description": "This is a map of subway tunnels formerly used by public maintenance workers. Using it will add subway lines and underground stations to your map.",
"color": "light_blue",
"use_action": {
"type": "reveal_map",
"radius": 180,
"terrain": [ "subway", "sub_station" ],
"message": "You add subway lines and underground stations to your map."
}
},
{
"id": "trailmap",
"copy-from": "abstractmap",
Expand Down
3 changes: 2 additions & 1 deletion data/json/mapgen/sub_station.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
],
"palettes": [ "subway_underground" ],
"vendingmachines": { "J": { "item_group": "vending_drink" }, "C": { "item_group": "vending_food" } },
"place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 6, 20 ], "y": [ 4, 9 ], "repeat": [ 5, 9 ] } ]
"place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 6, 20 ], "y": [ 4, 9 ], "repeat": [ 5, 9 ] } ],
"place_item": [ { "item": "subwaymap", "x": 1, "y": [ 6, 7 ], "chance": 75 } ]
}
},
{
Expand Down

0 comments on commit 1a140f5

Please sign in to comment.