Add graffiti to parametrized wall palette #77952
Open
+2
−1
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
Content "Walls now have a chance of having graffiti on them"
Purpose of change
Was lurking about the discord recently and saw someone bring up the fact that only vandalized buildings have graffiti on them even though there were riots and people generally behaving unwise weeks prior to game start. This makes it so that there sometimes is graffiti on all walls.
Describe the solution
Add nests to
parametrized_walls_palette
to have graffiti spawn, I've chosen to copy over the nests fromstandard_domestic_damage_large_palette
which has a chance of 1/300 per wall tile, which comes down to ~1 in 3 buildings to have a piece of graffiti on them. This may be too low but I'd rather have too little than too much.Describe alternatives you've considered
Make a new palette for ungraffitied walls and make the normal walls include graffiti, is still very easily possible if needed.
Testing
Game loads, walls have graffiti every now and then.
Additional context
I've elected to not touch inner walls since that will lead to graffiti being inside buildings that are fully locked sometimes. I've not added it to the highrise walls palette because those walls are high and usually unreachable.