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

Clean up and update park.json #35541

Merged
merged 16 commits into from
Nov 29, 2019
Merged

Clean up and update park.json #35541

merged 16 commits into from
Nov 29, 2019

Conversation

I-am-Erk
Copy link
Member

@I-am-Erk I-am-Erk commented Nov 15, 2019

Summary

SUMMARY: Infrastructure "Clean up and modernize parks.json"

Purpose of change

I wanted to add an overrun zombie killzone in a park, but the file was a mess so I had to fix that first.

Describe the solution

Removes outdated terms like f_null
Changes a lot of place_items and place_monsters to by letter designation
Reorganizes old ported maps that were sorted in alphabetical order instead of human-readable.
Adds variable terrain, eg. making random flower choices instead of placing dandelions and things all in the same place

Describe alternatives you've considered

I don't really have to do this, the maps work fine, but I can't not.

Testing

Tested, works fine. Parks aren't exactly like they were before but they're not too changed.

Additional context

Depending on how big this gets, I still might add an overrun fortification as part of this.

@I-am-Erk I-am-Erk added [JSON] Changes (can be) made in JSON Map / Mapgen Overmap, Mapgen, Map extras, Map display labels Nov 15, 2019
@I-am-Erk I-am-Erk marked this pull request as ready for review November 28, 2019 22:52
@ZhilkinSerg ZhilkinSerg merged commit 731155a into CleverRaven:master Nov 29, 2019
@I-am-Erk I-am-Erk deleted the parks1 branch December 6, 2019 18:47
"place_items": [
{ "chance": 8, "item": "dogfight", "x": 2, "y": 12 },
{ "chance": 30, "item": "trash", "x": 6, "y": 10 },
{ "chance": 10, "item": "child_items", "x": 7, "y": 18 },
{ "chance": 3, "item": "creepy", "x": 22, "y": 21 },
{ "chance": 10, "item": "trash_forest", "x": 10, "y": 23 },
{ "chance": 20, "item": "trash_forest", "x": 18, "y": 22 },
{ "chance": 500, "item": "trash_forest", "x": 18, "y": 22 },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Values that large are not valid here. Valid values are in the range 1 to 100.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reported in #36637

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@I-am-Erk Should it be 50 (like in 50%) opposed to 500 (1 in 500)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that looks like an extra zero typo

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

Successfully merging this pull request may close these issues.

4 participants