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

[RDY] Prison mapgen JSONify third try #21211

Merged
merged 16 commits into from Sep 23, 2017

Conversation

5 participants
@ZhilkinSerg
Copy link
Contributor

commented Jun 9, 2017

Conversion of prison mapgen from map::draw_map to JSON. Supersedes #20306 and #20408.

  • Need to implement and test savegame migration.
Initial commit
Jsonize prison mapgen
@pisskop

This comment has been minimized.

Copy link
Contributor

commented Jun 9, 2017

i need to know when this merges.

@Leland

This comment has been minimized.

Copy link
Contributor

commented Jun 12, 2017

This is weird, but for some reason, starting on the Prison Break scenario with this PR results in a "Can't find suitable location" error, even though prisons do spawn on the overmap.

else if (is_ot_type("prison_8", get_ter(pos.x, pos.y, pos.z + 1))) {
new_id = oter_id("prison_b_8");
}
else if (is_ot_type("prison_9", get_ter(pos.x, pos.y, pos.z + 1))) {

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Jun 12, 2017

Contributor

Styling:

} else if( x ) {

should be on one line.
if parentheses should be padded on the inside, but get no space between if and opening parenthesis.

@Leland Leland referenced this pull request Aug 15, 2017

Merged

[RDY] Jsonify mapgen (churches and doctor office) #21217

1 of 1 task complete

@ZhilkinSerg ZhilkinSerg changed the title [WIP] Prison mapgen JSONify third try [RDY] Prison mapgen JSONify third try Sep 6, 2017

@ZhilkinSerg

This comment has been minimized.

Copy link
Contributor Author

commented Sep 6, 2017

i need to know when this merges.

Please note that prison was renamed to prison_1 in last commits.

This is weird, but for some reason, starting on the Prison Break scenario with this PR results in a "Can't find suitable location" error, even though prisons do spawn on the overmap.

That was fixed.

@kevingranade kevingranade merged commit c3e8431 into CleverRaven:master Sep 23, 2017

3 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage decreased (-0.08%) to 22.317%
Details
gorgon-ghprb Build finished.
Details

@ZhilkinSerg ZhilkinSerg deleted the ZhilkinSerg:mapgen-prison-v3 branch Sep 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.