Files
MaidEngine/prefabs/deployment_slot.tscn
2026-04-11 23:03:00 -04:00

187 lines
5.0 KiB
Plaintext

[gd_scene format=3 uid="uid://csu4xocsj71td"]
[ext_resource type="Texture2D" uid="uid://cavpqnd0qqoou" path="res://assets/ui/SO008B.BMP" id="1_vc35g"]
[ext_resource type="Shader" uid="uid://bd8ki8xwym5nc" path="res://shaders/chroma_key.gdshader" id="2_mwfff"]
[ext_resource type="Texture2D" uid="uid://c7coajdu61crq" path="res://assets/ui/unit_faces.BMP" id="3_q3r6y"]
[ext_resource type="Script" uid="uid://cb32ywwuyi706" path="res://scripts/ui/contiguous_bar.gd" id="4_byj02"]
[sub_resource type="AtlasTexture" id="AtlasTexture_07lbo"]
atlas = ExtResource("1_vc35g")
region = Rect2(680, 522, 60, 35)
[sub_resource type="AtlasTexture" id="AtlasTexture_scfqt"]
atlas = ExtResource("1_vc35g")
region = Rect2(680, 605, 50, 17)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_a8mo2"]
shader = ExtResource("2_mwfff")
shader_parameter/key_color = Color(0, 1, 0, 1)
shader_parameter/threshold = 0.01
[sub_resource type="AtlasTexture" id="AtlasTexture_ajsjv"]
atlas = ExtResource("3_q3r6y")
region = Rect2(40, 0, 40, 40)
[sub_resource type="AtlasTexture" id="AtlasTexture_kqrkf"]
atlas = ExtResource("1_vc35g")
region = Rect2(708, 587, 28, 17)
[sub_resource type="AtlasTexture" id="AtlasTexture_1c3gn"]
atlas = ExtResource("1_vc35g")
region = Rect2(264, 272, 52, 7)
[sub_resource type="AtlasTexture" id="AtlasTexture_d4kxr"]
atlas = ExtResource("1_vc35g")
region = Rect2(264, 279, 50, 5)
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_vxtih"]
blend_mode = 1
[sub_resource type="AtlasTexture" id="AtlasTexture_og56w"]
atlas = ExtResource("1_vc35g")
region = Rect2(740, 522, 45, 35)
[node name="DeploymentSlot" type="Control" unique_id=258677476]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Base" type="TextureRect" parent="." unique_id=1397025328]
self_modulate = Color(0.85881317, 0.8389489, 0.60661924, 1)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -30.0
offset_top = -17.5
offset_right = 30.0
offset_bottom = 17.5
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_07lbo")
[node name="Contents" type="Control" parent="Base" unique_id=1351926154]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Empty" type="Control" parent="Base/Contents" unique_id=1459198631]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="TextureRect" parent="Base/Contents/Empty" unique_id=460221998]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -25.0
offset_top = -8.5
offset_right = 25.0
offset_bottom = 8.5
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_scfqt")
[node name="Deployed" type="Control" parent="Base/Contents" unique_id=1502290289]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="UnitSprite" type="TextureRect" parent="Base/Contents/Deployed" unique_id=1617524406]
material = SubResource("ShaderMaterial_a8mo2")
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -45.0
offset_right = 40.0
offset_bottom = -5.0
grow_vertical = 0
texture = SubResource("AtlasTexture_ajsjv")
[node name="ReadyLabel" type="TextureRect" parent="Base/Contents/Deployed" unique_id=1608591044]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -30.0
offset_top = -14.0
offset_right = -2.0
offset_bottom = 3.0
grow_horizontal = 0
grow_vertical = 2
texture = SubResource("AtlasTexture_kqrkf")
[node name="EmptyBar" type="NinePatchRect" parent="Base/Contents/Deployed" unique_id=855067973]
layout_mode = 1
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = 2.0
offset_top = 7.0
offset_right = -2.0
offset_bottom = 14.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_1c3gn")
region_rect = Rect2(0, 0, 52, 7)
patch_margin_left = 1
patch_margin_top = 1
patch_margin_right = 1
patch_margin_bottom = 1
script = ExtResource("4_byj02")
value = 50
max_value = 50
[node name="Fill" type="NinePatchRect" parent="Base/Contents/Deployed/EmptyBar" unique_id=318061429]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 1.0
offset_top = 1.0
offset_right = -1.0
offset_bottom = -1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_d4kxr")
region_rect = Rect2(0, 0, 50, 5)
[node name="Hover" type="TextureRect" parent="." unique_id=1517469291]
visible = false
material = SubResource("CanvasItemMaterial_vxtih")
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -22.5
offset_top = -17.5
offset_right = 22.5
offset_bottom = 17.5
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_og56w")