Add generator buffs (additional test required)

This commit is contained in:
2026-03-15 10:06:43 +01:00
parent 7b58c36414
commit 278b073501
19 changed files with 691 additions and 21 deletions

41
generator_buff_tile.tscn Normal file
View File

@@ -0,0 +1,41 @@
[gd_scene format=3 uid="uid://g1w168ancuxi"]
[ext_resource type="Script" uid="uid://bsu10r1nhmhw1" path="res://generator_buff_tile.gd" id="1_wdw66"]
[node name="GeneratorBuffTile" type="HBoxContainer" unique_id=50960329]
size_flags_horizontal = 3
theme_override_constants/separation = 8
script = ExtResource("1_wdw66")
[node name="Icon" type="TextureRect" parent="." unique_id=1130513269]
visible = false
custom_minimum_size = Vector2(18, 18)
layout_mode = 2
stretch_mode = 5
[node name="TextLabel" type="Label" parent="." unique_id=2066010368]
custom_minimum_size = Vector2(140, 0)
layout_mode = 2
text = "Buff"
[node name="LevelLabel" type="Label" parent="." unique_id=1101640559]
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
text = "Lv 0"
[node name="EffectLabel" type="Label" parent="." unique_id=976763452]
custom_minimum_size = Vector2(90, 0)
layout_mode = 2
text = "x1.00"
[node name="CostLabel" type="Label" parent="." unique_id=246779202]
layout_mode = 2
size_flags_horizontal = 3
text = "0"
[node name="BuyButton" type="Button" parent="." unique_id=1815270585]
custom_minimum_size = Vector2(68, 0)
layout_mode = 2
text = "Buy"
[connection signal="pressed" from="BuyButton" to="." method="_on_buy_button_pressed"]