tli/scenes/ui/anthill_info.tscn

73 lines
2.3 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://d8ut24fit87x"]
[ext_resource type="StyleBox" uid="uid://do5c5v5kvgv0s" path="res://resources/styles/panel_small_style.tres" id="1_tod8w"]
[ext_resource type="Script" path="res://scripts/ui/anthill_info.gd" id="2_aj5vl"]
[ext_resource type="PackedScene" uid="uid://w3ydggdgvyqn" path="res://scenes/ui/honeydew_counter.tscn" id="3_8onrx"]
[ext_resource type="Texture2D" uid="uid://bh01xbmjanku0" path="res://assets/textures/gui/button_bg.png" id="4_b8264"]
[ext_resource type="Texture2D" uid="uid://slraulfmk8c0" path="res://assets/textures/gui/pictograms.png" id="4_dw0d6"]
[ext_resource type="Texture2D" uid="uid://jv8twhntt6x3" path="res://assets/textures/gui/button_hover_bg.png" id="5_f3si0"]
[sub_resource type="AtlasTexture" id="AtlasTexture_nwfun"]
atlas = ExtResource("4_dw0d6")
region = Rect2(13.5399, 21.083, 83.1337, 49.5326)
[node name="AnthillInfo" type="Panel"]
offset_right = 332.0
offset_bottom = 80.0
pivot_offset = Vector2(170, 79)
size_flags_horizontal = 4
size_flags_vertical = 8
theme_override_styles/panel = ExtResource("1_tod8w")
script = ExtResource("2_aj5vl")
[node name="AddOneButton" type="Button" parent="."]
layout_mode = 0
offset_left = 166.0
offset_top = 44.0
offset_right = 193.0
offset_bottom = 75.0
text = "+1"
[node name="AddFiveButton" type="Button" parent="."]
layout_mode = 0
offset_left = 197.0
offset_top = 44.0
offset_right = 224.0
offset_bottom = 75.0
text = "+5"
[node name="HoneydewCounter" parent="." instance=ExtResource("3_8onrx")]
layout_mode = 0
offset_left = 13.0
offset_top = 22.0
offset_right = 232.0
offset_bottom = 55.0
[node name="AntBuyButton" type="TextureButton" parent="."]
modulate = Color(0.81, 0.748035, 0.5913, 1)
layout_mode = 0
offset_left = 241.0
offset_top = 13.0
offset_right = 321.0
offset_bottom = 63.0
texture_normal = ExtResource("4_b8264")
texture_pressed = ExtResource("4_b8264")
texture_hover = ExtResource("5_f3si0")
ignore_texture_size = true
stretch_mode = 0
[node name="TextureRect" type="TextureRect" parent="AntBuyButton"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -41.5
offset_top = -24.5
offset_right = 41.5
offset_bottom = 24.5
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_nwfun")