Re-enable SellUnit but have it more customisable (see description)

Registered by Renegade

On BuildingTypes:
EnablesSellUnit=yes/no
DockedUnitsCanBeSold=yes/no

You need to have at least one building with EnablesSellUnit=yes set, and *then* you can use the normal sell button to sell units, but only units that are docked with bulidings that have DockedUnitsCanBeSold=yes set, and the units themselves must have Unsellable=no set (which presently doesn't stop the Sell Unit superweapon).

This would work around the issue of units sold from Tank Bunkers causing IEs because you could prevent units being sold from Tank Bunkers.

Alternatively to EnablesSellUnit=, we can continue to use the Sell Unit superweapon, but the need for Unsellable to be respected by it is a must.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.