[BNW] Hiding "dummy" units from the Civilopedia?

The_Space_Cows

Chieftain
Joined
Mar 18, 2023
Messages
20
I have a social policy mod that is intended to give Melee units the ability to build things like workers can. I accomplished this by making a "duplicate" of each melee unit up to the renaissance era, using a lua script to upgrade all melee units a player controls to the duplicate upon adopting the policy. This works as intended. One issue with this approach, is that there are duplicate entries in the game's civilopedia for every melee unit.

For dummy buildings we can hide them from the city screen and the civilopedia by including <GreatWorkCount>-1</GreatWorkCount>.
Is there some equivalent to this for units?
 
 
Back
Top Bottom