#95: stop printing the bank twice in the research menu
The research table's LOCAL column was not merely equal to BANKED, it was the same store: research lives on the mothership, the mothership is also the bank, and building_inventory() redirects any bank-capable building to bank_inventory itself. ResourceBar now drops LOCAL wherever it resolves to the bank and lets the remaining two columns share the width. Anywhere else - a crafter, a lab, the transfer panel - the column is untouched. The "Research" heading went with it. It named a panel you can only reach by pressing the research button, and it cost the tree canvas 128px, which the table and the tree have now taken back. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
85c9bd9d8d
commit
5f1b5a9b29
3 changed files with 205 additions and 19 deletions
|
|
@ -2060,23 +2060,13 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
color = Color(0.03, 0.03, 0.08, 0.94)
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="UI/SkillMenu"]
|
||||
[node name="Bar" type="Control" parent="UI/SkillMenu"]
|
||||
mouse_filter = 2
|
||||
anchor_right = 1.0
|
||||
offset_left = 24.0
|
||||
offset_top = 20.0
|
||||
offset_right = -160.0
|
||||
offset_bottom = 82.0
|
||||
text = "Research"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Bar" type="Control" parent="UI/SkillMenu"]
|
||||
mouse_filter = 2
|
||||
anchor_right = 1.0
|
||||
offset_left = 24.0
|
||||
offset_top = 148.0
|
||||
offset_right = -24.0
|
||||
offset_bottom = 284.0
|
||||
offset_bottom = 156.0
|
||||
script = ExtResource("24")
|
||||
|
||||
[node name="Tree" type="Control" parent="UI/SkillMenu"]
|
||||
|
|
@ -2085,7 +2075,7 @@ clip_contents = true
|
|||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 24.0
|
||||
offset_top = 296.0
|
||||
offset_top = 168.0
|
||||
offset_right = -24.0
|
||||
offset_bottom = -280.0
|
||||
script = ExtResource("21")
|
||||
|
|
|
|||
Loading…
Reference in a new issue