Is there a way for buildings to and promotions not to show on the screen? I guess that its possible as all the screens are controlled in python, but I have no idea how to make this happen. Any help will be appreciated.
Lord Olleus, it depends on how far you want to take it. To start off, you will need to mod the CvMainInterface.py. Besides that file you need to mod any of the civilopedia files that include the promotion and building information.
CvGameUtils.can(not)Construct is called for buildings I think. If so, you can check if the player is human and if the item is the right building and return False from a "can" function or true from a "cannot" function to disable it.
CvGameUtils.can(not)Construct is called for buildings I think. If so, you can check if the player is human and if the item is the right building and return False from a "can" function or true from a "cannot" function to disable it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.