richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

Merging mangrove and grasslands should result in swamp #454

Closed antonhensen81 closed 5 years ago

antonhensen81 commented 5 years ago

Is your feature request related to a problem? Please describe. Currently, mangrove and grasslands cannot be merged.

Describe the solution you'd like Merging mangrove and grasslands should result in swamp

Describe alternatives you've considered None

Additional context There are two tests in test_tile_type that test exactly this, uncomment the following lines to make the tests run and make them pass:

//assert(get_merge_type(tile_type::mangrove, tile_type::grasslands) == tile_type::swamp);
//assert(get_merge_type(tile_type::grasslands, tile_type::mangrove) == tile_type::swamp);