Skip to content
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
merged 39 commits into from
Dec 6, 2019

Conversation

I-am-Erk
Copy link
Member

@I-am-Erk I-am-Erk commented Dec 5, 2019

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

image
Vandalized shelter

image
Shelter that has had a crowd of refugees come and go before you

image
image
image

Graffiti now adds snippets of lore and adds atmosphere

image
Vandalized shelter1

image
Used shelter 1

image
What did the previous batch of refugees need with 28 of the 30 units of bleach?

image
Vandalized shelter 2, new layout

image
Used shelter 2, new layout

image
The vandalized shelter lockers aren't always empty. There can even be a little bit of useful stuff left there.

image
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.

image
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.

@I-am-Erk 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
@I-am-Erk I-am-Erk changed the title Evac update 2 Further updates evac shelters, adding vandalized and used variants. Dec 6, 2019
@I-am-Erk I-am-Erk marked this pull request as ready for review December 6, 2019 05:18
data/json/items/comestibles/protein.json Outdated Show resolved Hide resolved
data/json/snippets/graffiti.json Outdated Show resolved Hide resolved
data/json/snippets/graffiti.json Outdated Show resolved Hide resolved
I-am-Erk and others added 2 commits December 5, 2019 22:45
Co-Authored-By: Anton Burmistrov <Night_Pryanik@mail.ru>
@jbytheway
Copy link
Contributor

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?

@I-am-Erk
Copy link
Member Author

I-am-Erk commented Jan 2, 2020

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 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants