Skip to content

Change logic for creating roads after removing roadblocks and other road+building objects#1415

Draft
Sephirex95 wants to merge 1 commit intoKeriew:masterfrom
Sephirex95:add_road_after_removing_roadblocks_and_aqueducts
Draft

Change logic for creating roads after removing roadblocks and other road+building objects#1415
Sephirex95 wants to merge 1 commit intoKeriew:masterfrom
Sephirex95:add_road_after_removing_roadblocks_and_aqueducts

Conversation

@Sephirex95
Copy link
Copy Markdown
Collaborator

needs more logic and elegant solutions, tbc

needs more logic
@Sephirex95
Copy link
Copy Markdown
Collaborator Author

Basic algorithm to be employed here:

  • If player is using an area remove and that area covers both 'only road' tiles and building+road tiles, remove the underneath road as well
  • If player removes just a building, check if the building connects two road tiles - if true, leave the underneath road to not shatter the road networks
  • if player removes aqueduct bridge :
    • if the area being removed includes pure road tiles, remove aqueuct + road tiles
    • the the are doesnt include any 'pure' road tiles, leave any road tiles under the aqueduct

@Sephirex95
Copy link
Copy Markdown
Collaborator Author

Fix road placing inconsistencies for palisade gates, aqueducts and park gates

@Sephirex95
Copy link
Copy Markdown
Collaborator Author

bump

Raising priority to tie up #1694 and #1566 into a neat lil bow ASAP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant