-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Further updates evac shelters, adding vandalized and used variants. #35872
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ge location of basement so stairs align
I-am-Erk
added
[JSON]
Changes (can be) made in JSON
Map / Mapgen
Overmap, Mapgen, Map extras, Map display
Spawn
Creatures, items, vehicles, locations appearing on map
labels
Dec 5, 2019
Will cause a buildup of negative morale if these are all you eat. For now it's just a warning I guess, until morale effects json is implemented.
should be the same as general locker appearance rate
I-am-Erk
changed the title
Evac update 2
Further updates evac shelters, adding vandalized and used variants.
Dec 6, 2019
Co-Authored-By: Anton Burmistrov <Night_Pryanik@mail.ru>
I discovered my first vandalized shelter recently. If the player starts in one of these, does that mean that they miss out on the usual starter quest to find the refugee center? Is that likely to happen to new players? |
It does mean that. I don't think it's that big a deal. I do plan to add some new options for starting quests relatively soon here. |
ghost
mentioned this pull request
Jan 23, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[JSON]
Changes (can be) made in JSON
Map / Mapgen
Overmap, Mapgen, Map extras, Map display
Spawn
Creatures, items, vehicles, locations appearing on map
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
SUMMARY: Content "Adds vandalized and used variants to evac shelters and tweaks new item spawns"
Purpose of change
the evac shelters were built months before the cataclysm and left underwatched. While they are meant to be a bit out of the way and it hasn't been that long, some of them have doubtless been vandalized.
Describe the solution
This establishes a nested mapgen framework that can be used to add other variations to the fillings of evac shelters. I made the default "pristine" center and a vandalized variant with broken windows and graffiti everywhere, and very few supplies. Amusingly enough it probably still has more supplies than the original.
I also added another variant, now the most common one: the "used" shelter. This one has a random selection of supplies, with the best stuff picked over, but still plenty of useful things here and there. As well, it has graffiti from other survivors that have come and gone, presumably taken away on FEMA buses to their likely deaths in the FEMA camps. I think this will add a lot more lore to the first chunk of the game, and establishes the world more. It also slightly reduces the power boost from my first update: you still get plenty of stuff in the used shelters, but it's a little less monty haul if you don't roll the lucky pristine start.
While in there I also shifted the walls of shelter_2 to make it easier to build a faction camp in there since that's ostensibly what I'm trying to do in this long digression. As well, I moved things around in the basement and dropped the chance of finding extremely handy loot laying around on the floor. I've also slightly adjusted item spawns to make sure the actually useful stuff is pretty rare.
This also adds a 'toxin' to the protein bars that currently just complains in your status menu if you eat them for too long. I'd like to attach a morale penalty to it, see this issue
Describe alternatives you've considered
My way is the only way. Do not listen to your false idols.
Testing
Vandalized shelter
Shelter that has had a crowd of refugees come and go before you
Graffiti now adds snippets of lore and adds atmosphere
Vandalized shelter1
Used shelter 1
What did the previous batch of refugees need with 28 of the 30 units of bleach?
Vandalized shelter 2, new layout
Used shelter 2, new layout
The vandalized shelter lockers aren't always empty. There can even be a little bit of useful stuff left there.
Lockers in the used shelters have a much lower chance of spawning the useful portable stuff, and a slightly reduced chance of spawning the rest. There's also junk and empty dishes in the spawn list now.
slightly modified shelter basement layout - replaced lockers with more benches.
Additional context
I plan to use this framework to add some NPCs that can possibly spawn already in the shelter when you arrive, and have laid claim to their own sets of gear. That will be a third PR, this is edging up on 1000 lines already.