whoward69
DLL Minion
Modified BNW TechTree.lua and TechButtonInclude.lua files adding support for ShowInTechTree column for all tech dependant primary tables -Buildings, Eras, Improvements, Processes, Projects, Resources, Routes, Technologies, UnitPromotions and Units.
To use
(I haven't tested the effect of not showing an Era in the Tech Tree)
Related Post: ShowInPedia for (almost) all primary tables and ShowInCityView for Buildings, Resources and Specialists
To use
- Add a UI/InGame/TechTree folder to your mod
- Add the attached TechTree.lua and TechButtonInclude.lua files into the folder
- Set VFS=true for both of them
- Using SQL, alter the database table(s) that need a ShowInTechTree column, eg "ALTER TABLE Buildings ADD ShowInTechTree 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 ShowInTechTree = 0 for entries not to appear in the Tech Tree, eg "<ShowInTechTree>0</ShowInTechTree>"
(I haven't tested the effect of not showing an Era in the Tech Tree)
Related Post: ShowInPedia for (almost) all primary tables and ShowInCityView for Buildings, Resources and Specialists