Open MadMax3947 opened 3 weeks ago
I suggest making it a string, which can be shown if the player tries to dismiss them., Later in the campaign it could be set to the empty string to allow the player to dismiss the unit.
block_dismiss=_ "Only Sir Generic will be able to recognise the pirate captain"
What about both? Would also allow for situations where you want to give the player a warning message before dismissing the unit (despite unit's level or whether it's loyal). Situations like this:
[unit]
id=Apprentice
name= _ "Apprentice Mage"
level=0
block_dismiss=no # default
dismiss_prompt= _ "This apprentice represents the future of the Academy! Do you really want to dismiss him?"
[/unit]
as well as:
[unit]
id=Pirate
name= _ "Powder Boy"
level=0
block_dismiss=yes
dismiss_prompt= _ "Only Sir Generic will be able to recognize the pirate captain!"
[/unit]
Describe the desired feature
Would be very helpful to have a [unit] key that prevents the player from dismissing the unit from the recall list.
Dismiss button would then be grayed out when unit is selected in the recall list.