CivOne icon indicating copy to clipboard operation
CivOne copied to clipboard

Mines + Forest ???

Open fire-eggs opened this issue 6 years ago • 6 comments

image

[Earth, 7 civs, chinese, rseed=7595]

fire-eggs avatar Aug 08 '19 20:08 fire-eggs

Need to examine the Settlers code - Build Mines - to see how this might happen.

fire-eggs avatar Aug 13 '19 21:08 fire-eggs

There is no option to build mines when on top of forest with settlers. Can it be an issue with loading the game? The resources (irrigation, mines, roads...) can sometimes shift some tiles when loading the game (at least I know this was an issue).

axx0 avatar Sep 28 '19 18:09 axx0

@axx0 But there is an option to build forest using M key. I'll fix this.

iegik avatar Sep 29 '21 22:09 iegik

@axx0 But there is an option to build forest using M key. I'll fix this.

Not sure what you're saying, that logic already exists.

If you look at Settlers.cs, NewTurn: when BuildingMine finishes, either a Mine is built or the terrain changes to forest, depending on what the "old" terrain was.

fire-eggs avatar Sep 30 '21 00:09 fire-eggs

Oh, I'm sorry. My bug. (see https://github.com/fire-eggs/CivOne/pull/141/commits/3a02662b05d74426ba8e716608aa4ae55f7574b8)

iegik avatar Sep 30 '21 00:09 iegik

Cannot reproduce.

iegik avatar Nov 08 '21 16:11 iegik