triplea-game / triplea

TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk.
https://triplea-game.org/
GNU General Public License v3.0
1.33k stars 392 forks source link

Prevent units from showing in Unit Help window #4496

Open FrostionAAA opened 5 years ago

FrostionAAA commented 5 years ago

Feature request ( https://forums.triplea-game.org/topic/1169/prevent-units-showing-in-unit-help )

I think some of the more advanced maps would benefit from a way to hide certain units from the Unit Help window. I think it could improve the usefulness of the Unit Help window/list, and prevent confusion. It would also allow mapmakers to hide certain units only used for triggers, invisible units, flags etc.

I would suggest implementing this like the option there is to prevent units from being drawn on the map. Maybe this feature of the map.properties file could be expanded to also allow hiding in unit help window? Maybe an option to hide certain players from unit help would also be nice?

Current:

use to not draw a list of units or territory names, comma delimited

dont_draw_units=infantry,artillery

dont_draw_territory_names=United Kingdom,Union of South Africa,Germany

My suggestion/maybe something like this?:

use to not draw a list of units or territory names, comma delimited

dont_draw_units=infantry,artillery

dont_draw_territory_names=United Kingdom,Union of South Africa,Germany

dont_show_units_in_unit_help=Planetoid,trigger-unit,flag

dont_show_players_in_unit_help =Neutral,AI

unavngivet

unavngivet - kopi

unavngivet - kopi - kopi

stale[bot] commented 5 years ago

The TripleA team regrets this issue was not solved sooner. To keep focus on latest issues and the most pressing tasks, this issue has been automatically marked as stale because it has not had recent activity. If the issue may be closed, please do so. If there are remaining items, we encourage for those items to be resubmitted as new, independent, concise tasks. The strategy is divide and conquer. Thank you for your contributions.