plant pick menu
This commit is contained in:
parent
73a2fe42ad
commit
32453f2e9d
18 changed files with 121 additions and 39 deletions
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://bi4c34ii72y46"]
|
||||
[gd_scene load_steps=12 format=3 uid="uid://bi4c34ii72y46"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dxyf557m4mq1p" path="res://assets/sprites/gui/EmptyPlantCard.png" id="1_4rm55"]
|
||||
[ext_resource type="Script" uid="uid://cepaa3acqx70d" path="res://scripts/gui/seedpacket/seedpacket.gd" id="1_c8vxi"]
|
||||
[ext_resource type="Texture2D" uid="uid://cabpf23ndlvx0" path="res://assets/sprites/gui/Selection.tres" id="3_fon4l"]
|
||||
[ext_resource type="Script" uid="uid://bppehhpn0u7ep" path="res://scripts/gui/seedpacket/seedpacket_cost_label.gd" id="3_tntkr"]
|
||||
[ext_resource type="Script" uid="uid://bx7k7g0ebkwef" path="res://scripts/gui/seedpacket/seedpacket_progressbar.gd" id="4_gr8e8"]
|
||||
[ext_resource type="Texture2D" uid="uid://dvldjlg0nr355" path="res://assets/sprites/atlases/atlas1.png" id="5_2cmc5"]
|
||||
|
|
@ -36,6 +37,7 @@ script = ExtResource("1_c8vxi")
|
|||
clip_children = 2
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("1_4rm55")
|
||||
texture_focused = ExtResource("3_fon4l")
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="Cost" type="Label" parent="TextureButton"]
|
||||
|
|
@ -65,6 +67,7 @@ offset_left = -27.0
|
|||
offset_top = -26.0
|
||||
offset_right = 24.984
|
||||
offset_bottom = -2.984
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Preview" type="TextureRect" parent="TextureButton/PreviewContainer"]
|
||||
layout_mode = 1
|
||||
|
|
@ -79,6 +82,7 @@ offset_right = -0.0800018
|
|||
offset_bottom = -0.0259933
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
|
|
@ -89,6 +93,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme_override_styles/background = SubResource("StyleBoxEmpty_tntkr")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_gr8e8")
|
||||
max_value = 1.0
|
||||
|
|
@ -96,7 +101,7 @@ fill_mode = 3
|
|||
show_percentage = false
|
||||
script = ExtResource("4_gr8e8")
|
||||
|
||||
[node name="AvaiabilityRect" type="ColorRect" parent="TextureButton"]
|
||||
[node name="Availability" type="ColorRect" parent="TextureButton"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
|
|
@ -104,6 +109,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0, 0, 0, 0.247059)
|
||||
|
||||
[node name="Forbidden" type="TextureRect" parent="TextureButton"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue