Stellaris

Stellaris

Not enough ratings
[3.7] Show Building Slot Capacity - UIOD
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
305.184 KB
11 May, 2023 @ 1:13pm
11 May, 2023 @ 2:22pm
3 Change Notes ( view )

Subscribe to download
[3.7] Show Building Slot Capacity - UIOD

Description
⚠️For Version 3.7.4 ⚠️

About
This mod displays your currently-built building count on the planet view, and details where the building slots are coming from on the tooltip.

Useful for example for knowing how many city districts you are wasting after you've researched some techs or taken some traditions.

Compatibility
Not achievement compatible.

Not compatible with any other mod that changes the planet view (planet_view.gui). I have compatibility mods, use only one:

Compatible with mods:

Save game compatible.

Load Order
  1. UI Overhaul Dynamic for 3.7.4
  2. This mod.

Localisation
Everything is localised using VANILLA strings, so it should be close, but I only speak English and it might sound weird in places.

Known Issues
Due to supporting other mods, you may find messages like the following in your error log, but, they are harmless:
[15:36:43][trigger_impl.cpp:13953]: script error, has_edict is using an invalid edict key: architectonic_base. file: script value bslot_from_edicts at file: script value bslot_capacity at file: script value bslot_free at file: common/scripted_loc/fl_bslot_scripted_loc.txt line: 65 line: 1 line: 1 line: 1 [15:36:43][trigger_impl.cpp:10587]: num_districts trigger uses inexistent district: district_storage. file: script value bslot_from_housing at file: script value bslot_capacity at file: script value bslot_free at file: common/scripted_loc/fl_bslot_scripted_loc.txt line: 71 line: 1 line: 1 line: 1

Modder Info
The mod takes planet_view.gui and makes only two additions: some variables, and an effectButtonType named fl_planet_num_buildings. As part of my automation it does re-flow the file using this[github.com].

Notes
Source code is on GitHub[github.com].

The tooltip will not display most modifiers that are zero, but to test everything out you can select a planet then paste this in the console:
effect custom_tooltip = $fl_num_building_long_static$
5 Comments
[PIGZ]MrTango 12 May, 2023 @ 3:24pm 
Works now. <3 ty.
forbiddenlake  [author] 11 May, 2023 @ 2:23pm 
Sorry about that, please try now.
[PIGZ]MrTango 11 May, 2023 @ 1:58pm 
*doesn't crash, but no slot number either.
[PIGZ]MrTango 11 May, 2023 @ 1:51pm 
Doesn't appear to work, using UIOD 3.7 legacy.
[PIGZ]MrTango 11 May, 2023 @ 1:38pm 
<3