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

Freshwater research station roof map added #51323

Merged
merged 5 commits into from
Sep 3, 2021
Merged

Freshwater research station roof map added #51323

merged 5 commits into from
Sep 3, 2021

Conversation

RandDenner
Copy link
Contributor

@RandDenner RandDenner commented Sep 3, 2021

Summary

Bugfixes "Fixes buggy auto-generation of freshwater research station roof"

Purpose of change

Fixes #50998
Creates dedicated roof map to fix the roof hole issue.

Describe the solution

Created new sub-map for roof, specialized associated palette added to "underwater_structures_palette.json" for future use, adjusted "specials.json" and "overmap_terrain_public_institutional.json" to allow generation of roof when spawned.
Does not fix existing spawns, unfortunately, whether the local maps have been generated or not.
Does allow manual addition of roof maps using debug menu by adding terrain (possibly overwrite of special as well).

Describe alternatives you've considered

Fixing the roof auto-generation where a roof is not defined or fails to spawn correctly. But I have no idea how.

Testing

Altered all four files locally, tested with two pre-existing spawns and manually created all four directional spawns. All spawned correctly. Manually adding roofs to existing spawns via debug also worked correctly.

Additional context

image

@actual-nh actual-nh added <Bugfix> This is a fix for a bug (or closes open issue) Map / Mapgen Overmap, Mapgen, Map extras, Map display Z-levels Levels below and above ground. [JSON] Changes (can be) made in JSON labels Sep 3, 2021
@Maleclypse
Copy link
Member

https://dev.narc.ro/cataclysm/format.html you can lint your json files here.

@RandDenner
Copy link
Contributor Author

https://dev.narc.ro/cataclysm/format.html you can lint your json files here.

I did. I'm not sure what the problem with that file is. Doublechecking...

Checker didn't like a stray blank line I missed
@ZhilkinSerg ZhilkinSerg merged commit c6d4f66 into CleverRaven:master Sep 3, 2021
@RandDenner RandDenner deleted the freshwater-research-station-roof branch September 3, 2021 13:23
Venera3 pushed a commit to Venera3/Cataclysm-DDA that referenced this pull request Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [JSON] Changes (can be) made in JSON Map / Mapgen Overmap, Mapgen, Map extras, Map display Z-levels Levels below and above ground.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Freshwater Research Station - problems with autogenerated roof and ladder hole
4 participants