MaFi-Games / Captain-of-Industry-issues

Public issue tracker for Captain of Industry video game
22 stars 4 forks source link

Disallow losing selected design #563

Open ParanoikCZE opened 2 years ago

ParanoikCZE commented 2 years ago

The issue When you are holding a design, there are multiple ways to accidentally lose it.

To Reproduce https://user-images.githubusercontent.com/19796452/178756892-6a6ca9e2-b8ec-49c3-b9e3-dd87f92fdf81.mp4 In the first case, I cut the design, "accidentally" clicked RMB and lost the prepared design I was working on. In the second case, I cut the design and tried to pixel hunt assign it to the existing design "accidentally" clicking the menu element and losing the design.

Expected behaviour The game should prevent the user from losing his design. Disable RMB/delete key while cutting OR return it to the initial place. Disable UI interactions when copy/cut is active OR return it to the initial place when any UI element is clicked. The only way to remove the design should be when the delete tool is selected.

Additional context 0.4.7d

utdrmac commented 2 years ago

+1 for this issue. I hate to compare to another game, but what is missing in this case is an 'undo' feature like in Factorio. While holding a blueprint, if you lose it, you simply press ctrl-z to undo the loss and the blueprint is either A) back in your hand or B) back on the ground before you cut it.

ParanoikCZE commented 2 years ago

Good point, undo could also revert misplaced blueprint.