[BNW] ShowInCityView for Buildings, Resources and Specialists

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,699
Location
Near Portsmouth, UK
Modified BNW CityView.lua files adding support for ShowInCityView column for Buildings, Resources and Specialists.

To use
Add a UI/InGame/CityView folder to your mod
Add the attached CityView.lua files into the folder
Set VFS=true
Using SQL, alter the database table(s) that need a ShowInCityView column, eg "ALTER TABLE Buildings ADD ShowInCityView 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 ShowInCityView = 0 for entries not to appear in the City View, eg "<ShowInCityView>0</ShowInCityView>"


Related Post: ShowInPedia for (almost) all primary tables and ShowInTechTree for all tech dependant primary tables
 

Attachments

  • CityView.zip
    20.1 KB · Views: 115
Top Bottom