Skip to content

Commit

Permalink
evac center: place investigate limit and no investigate zones
Browse files Browse the repository at this point in the history
Add investigate limit and no investigate zones to the Evac Center:
- Most NPCs won't investigate noises coming from beyond the center's
sidewalks
- No NPC will investigate noises coming from the zombie infested back
bay.
- The beggars in the lobby won't investigate noises coming from outside
the lobby.
  • Loading branch information
mlangsdorf committed May 4, 2019
1 parent 8835325 commit 85c82db
Showing 1 changed file with 57 additions and 4 deletions.
61 changes: 57 additions & 4 deletions data/json/mapgen/evac_center.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,11 @@
{ "class": "refugee_GarryVilleneuve", "x": 21, "y": 13 },
{ "class": "refugee_JohnClemens", "x": 22, "y": 3 },
{ "class": "guard", "x": 19, "y": 21 }
],
"place_zones": [
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "free_merchants", "x": [ 1, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "old_guard", "x": [ 1, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "wasteland_scavengers", "x": [ 1, 23 ], "y": [ 0, 23 ] }
]
}
},
Expand Down Expand Up @@ -331,7 +336,15 @@
{ "item": "jackets", "x": [ 19, 19 ], "y": [ 8, 10 ], "chance": 80 },
{ "item": "cleaning", "x": [ 4, 4 ], "y": [ 8, 10 ], "chance": 80 }
],
"place_npcs": [ { "class": "evac_broker", "x": 2, "y": 20 }, { "class": "guard", "x": 15, "y": 15 } ]
"place_npcs": [ { "class": "evac_broker", "x": 2, "y": 20 }, { "class": "guard", "x": 15, "y": 15 } ],
"place_zones": [
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "free_merchants", "x": [ 0, 15 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "old_guard", "x": [ 0, 15 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "wasteland_scavengers", "x": [ 0, 15 ], "y": [ 0, 23 ] },
{ "type": "NPC_NO_INVESTIGATE", "faction": "free_merchants", "x": [ 16, 23 ], "y": [ 6, 16 ] },
{ "type": "NPC_NO_INVESTIGATE", "faction": "old_guard", "x": [ 16, 23 ], "y": [ 6, 16 ] },
{ "type": "NPC_NO_INVESTIGATE", "faction": "wasteland_scavengers", "x": [ 16, 23 ], "y": [ 6, 16 ] }
]
}
},
{
Expand Down Expand Up @@ -388,7 +401,14 @@
{ "item": "allclothes", "x": [ 3, 15 ], "y": [ 11, 11 ], "chance": 60 },
{ "item": "allclothes", "x": [ 6, 15 ], "y": [ 16, 16 ], "chance": 60 }
],
"place_monsters": [ { "monster": "GROUP_MALL", "x": [ 2, 15 ], "y": [ 4, 20 ], "density": 0.6 } ]
"place_monsters": [ { "monster": "GROUP_MALL", "x": [ 2, 15 ], "y": [ 4, 20 ], "density": 0.6 } ],
"place_zones": [
{ "type": "NPC_NO_INVESTIGATE", "faction": "lobby_beggars", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_NO_INVESTIGATE", "faction": "free_merchants", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_NO_INVESTIGATE", "faction": "old_guard", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_NO_INVESTIGATE", "faction": "wasteland_scavengers", "x": [ 0, 23 ], "y": [ 0, 23 ] }
]

}
},
{
Expand Down Expand Up @@ -503,7 +523,12 @@
{ "item": "cleaning", "x": [ 19, 19 ], "y": [ 13, 13 ], "chance": 80 }
],
"place_npcs": [ { "class": "evac_guard2", "x": 18, "y": 18 } ],
"place_vehicles": [ { "vehicle": "schoolbus", "x": 4, "y": 8, "chance": 75, "rotation": 270 } ]
"place_vehicles": [ { "vehicle": "schoolbus", "x": 4, "y": 8, "chance": 75, "rotation": 270 } ],
"place_zones": [
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "free_merchants", "x": [ 9, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "old_guard", "x": [ 9, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "wasteland_scavengers", "x": [ 9, 23 ], "y": [ 0, 23 ] }
]
}
},
{
Expand Down Expand Up @@ -554,6 +579,12 @@
{ "class": "evac_guard1", "x": 9, "y": 21 },
{ "class": "guard", "x": 14, "y": 21 },
{ "class": "refugee_beggar5", "x": 16, "y": 22 }
],
"place_zones": [
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "free_merchants", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "old_guard", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "wasteland_scavengers", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "lobby_beggars", "x": [ 0, 23 ], "y": [ 21, 23 ] }
]
}
},
Expand Down Expand Up @@ -598,6 +629,11 @@
"place_vehicles": [
{ "vehicle": "car", "x": 17, "y": 16, "chance": 75, "rotation": 90 },
{ "vehicle": "pickup", "x": 18, "y": 8, "chance": 75, "rotation": 90 }
],
"place_zones": [
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "free_merchants", "x": [ 13, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "old_guard", "x": [ 13, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "wasteland_scavengers", "x": [ 13, 23 ], "y": [ 0, 23 ] }
]
}
},
Expand Down Expand Up @@ -719,6 +755,12 @@
{ "class": "scavenger_merc", "x": 8, "y": 5 },
{ "class": "old_guard_rep", "x": 19, "y": 7 },
{ "class": "arsonist", "x": 11, "y": 7 }
],
"place_zones": [
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "free_merchants", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "old_guard", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "wasteland_scavengers", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "lobby_beggars", "x": [ 0, 23 ], "y": [ 21, 23 ] }
]
}
},
Expand Down Expand Up @@ -769,6 +811,12 @@
{ "class": "refugee_beggar2", "x": 7, "y": 2 },
{ "class": "refugee_beggar3", "x": 16, "y": 0 },
{ "class": "refugee_beggar4", "x": 17, "y": 2 }
],
"place_zones": [
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "free_merchants", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "old_guard", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "wasteland_scavengers", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "lobby_beggars", "x": [ 1, 22 ], "y": [ 0, 5 ] }
]
}
},
Expand Down Expand Up @@ -815,7 +863,12 @@
{ "item": "cannedfood", "x": [ 1, 2 ], "y": [ 10, 12 ], "chance": 20 },
{ "item": "cannedfood", "x": [ 1, 2 ], "y": [ 15, 17 ], "chance": 20 }
],
"place_npcs": [ { "class": "guard", "x": 7, "y": 8 } ]
"place_npcs": [ { "class": "guard", "x": 7, "y": 8 } ],
"place_zones": [
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "free_merchants", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "old_guard", "x": [ 0, 23 ], "y": [ 0, 23 ] },
{ "type": "NPC_INVESTIGATE_ONLY", "faction": "wasteland_scavengers", "x": [ 0, 23 ], "y": [ 0, 23 ] }
]
}
},
{
Expand Down

0 comments on commit 85c82db

Please sign in to comment.