Skip to content

Commit

Permalink
fix scenario spawns (#77451)
Browse files Browse the repository at this point in the history
* fix scenario spawns

* road mayhem start

* wild party

* update sloc hospital entry

* revert road sloc terrain

* simplify road terrain

* Try TYPE for crash sloc
  • Loading branch information
LyleSY authored Oct 31, 2024
1 parent b321b17 commit c19a1e8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions data/json/mapgen/hospital.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
"palettes": [ "hospital" ],
"terrain": { "5": "t_floor", "H": "t_floor", "X": [ "t_door_metal_locked", "t_door_metal_elocked" ], "=": "t_pavement" },
"furniture": { "H": "f_locker" },
"place_zones": [ { "type": "ZONE_START_POINT", "faction": "your_followers", "x": [ 39, 41 ], "y": [ 45, 46 ] } ],
"vendingmachines": { "D": { "item_group": "vending_drink", "lootable": true }, "F": { "item_group": "vending_food", "lootable": true } },
"computers": {
"5": {
Expand Down
1 change: 1 addition & 0 deletions data/json/mapgen/private_resort.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@
" "
],
"palettes": [ "p_resort_palette_living_floor" ],
"place_zones": [ { "type": "ZONE_START_POINT", "faction": "your_followers", "x": [ 29, 45 ], "y": [ 56, 58 ] } ],
"place_items": [
{ "chance": 75, "item": "keg_beer", "x": 66, "y": 48 },
{ "chance": 75, "item": "keg_beer", "x": 65, "y": 48 },
Expand Down
3 changes: 2 additions & 1 deletion data/json/mapgen/road.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@
},
{ "chunks": [ "24x24_road_straight_vehicles" ], "x": 0, "y": 0 },
{ "chunks": [ "24x24_road_zombies" ], "x": 0, "y": 0 }
]
],
"place_zones": [ { "type": "ZONE_START_POINT", "faction": "your_followers", "x": [ 5, 19 ], "y": [ 5, 19 ] } ]
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions data/json/start_locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
"type": "start_location",
"id": "sloc_hospital",
"name": "Hospital",
"terrain": [ { "om_terrain": "hospital", "om_terrain_match_type": "PREFIX" } ]
"terrain": [ "hospital_5" ]
},
{
"type": "start_location",
Expand Down Expand Up @@ -693,7 +693,7 @@
"type": "start_location",
"id": "sloc_road",
"name": "Road",
"terrain": [ { "om_terrain": "road", "om_terrain_match_type": "PREFIX" } ]
"terrain": [ { "om_terrain": "road", "om_terrain_match_type": "TYPE" } ]
},
{
"type": "start_location",
Expand Down

0 comments on commit c19a1e8

Please sign in to comment.