whoward69
DLL Minion
Modified BNW CivilopediaScreen.lua file adding support for ShowInPedia column for (almost) all primary tables - Beliefs, Buildings, Builds, Civilizations, Concepts, Eras, FakeFeatures, Features, Improvements, LeagueProjectRewards, LeagueProjects, MinorCivilizations, Policies, PolicyBranchTypes, Projects, Religions, Resolutions, Resources, Routes, Specialists, Technologies, Terrains, UnitPromotions and Units.
To use
Note that the Civilopedia will display exactly what you tell it to, so if you add a prereq tech to a building, but that tech has ShowInPedia=0, there will be no indication that a tech is required to construct it!
Related Post: ShowInTechTree for all tech dependant primary tables and ShowInCityView for Buildings, Resources and Specialists
To use
- Add a UI/Civilopedia folder to your mod
- Add the attached CivilopediaScreen.lua file into the folder
- Set VFS=true
- Using SQL, alter the database table(s) that need a ShowInPedia column, eg "ALTER TABLE Buildings ADD ShowInPedia INTEGER DEFAULT 1;" (It is recommended to place each ALTER TABLE statement in its own .sql file, in case of conflicts with other mods.)
- Using XML/SQL set ShowInPedia = 0 for entries not to appear in the 'pedia, eg "<ShowInPedia>0</ShowInPedia>"
Note that the Civilopedia will display exactly what you tell it to, so if you add a prereq tech to a building, but that tech has ShowInPedia=0, there will be no indication that a tech is required to construct it!
Related Post: ShowInTechTree for all tech dependant primary tables and ShowInCityView for Buildings, Resources and Specialists