-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Allow multiple overmap terrains in start location #38151
Allow multiple overmap terrains in start location #38151
Conversation
001037e
to
dd27ca8
Compare
dd27ca8
to
022da8c
Compare
Could the first option of that list be a |
Sure. It is unrelated though and can be done in a separate PR. |
7dfe68e
to
79bc6f1
Compare
9a5d3b2
to
611ccdb
Compare
When you select Evacuee scenario (only it as far as I see) you cannot select a second entry in starting location selection menu.
Okay, that is actually something from #38544, so it should be fixed separately. |
Summary
SUMMARY: Infrastructure "Allow multiple overmap terrains in start location"
Purpose of change
Allow multiple overmap terrains in start location without cluttering UI for each distinct terrain.
Describe the solution
Code was changed to allow multiple terrains be defined for start locations, they all would occupy a single line in UI and be selected randomly on game start. From players perspective this would allow players to start in any house type instead of only 6 predefined houses. Thanks to overmap match type support it is still possible to create a mod that allow starting in specific terrains.
Screenshot:
Syntax:
I've also updated names of some start locations for consistency.
Testing
Try various scenarios and see that player character is put to correct start locations.
Additional context
target
string node withterrain
array node (e.g."target": "s_bunker_shop_g"
->"terrain": [ "s_bunker_shop_g" ]
);"terrain": [ { "om_terrain": "house", "om_terrain_match_type": "PREFIX" } ]
to reduce UI cluttering).