Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
What if the list of CompProperties is interrogated to see what's available? Lamps seem to have a limited selection like Power, Glower, Schedule (sunlamp), HeatPusher (sublamp), Styleable, Flickable, and Breakdownable. What if it the ThingDef were checked for a whitelist of properties? For example, the Pump has "PipeSystem.CompProperties_DeepExtractor" which is not of those expected "lamp" properties; that property isn't on the whitelist so the ThingDef would not be considered for inclusion in the Lights category.
Also... what if a custom XML property within "<comps>" could be checked for? Like "ThingCategory_Lighting"?
https://github.com/emipa606/TabSorting/blob/8162ce03f7a5c113c5e1de1f52b6cc2f2ae1229f/Source/TabSorting/TabSorting.cs#L1498