move ui to mods

This commit is contained in:
cthangover committed 2026-09-24 10:42:44 +03:00
1 parent a4bbe43f87
commit 502b84f9aa
26 files changed
+1596 -31

No files matched your search

@@ -0,0 +1,41 @@
[gd_scene format=3 uid="uid://bb36m1yaqwt8k"]
[ext_resource type="Script" uid="uid://de8plnw63lfno" path="res://Core/UI/CharacterPanel/ActionCardBehaviour.cs" id="1_script"]
[node name="ActionCard" type="Control" unique_id=576160337]
custom_minimum_size = Vector2(300, 100)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
script = ExtResource("1_script")
[node name="Icon" type="TextureRect" parent="." unique_id=910618115]
custom_minimum_size = Vector2(50, 100)
layout_mode = 1
anchors_preset = -1
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 4.0
offset_top = -14.0
offset_right = 32.0
offset_bottom = 14.0
grow_vertical = 2
mouse_filter = 2
expand_mode = 2
stretch_mode = 5
[node name="NameLabel" type="Label" parent="." unique_id=1356044091]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 110.0
offset_right = -4.0
grow_horizontal = 2
grow_vertical = 2
text = "Action"
vertical_alignment = 1
@@ -0,0 +1,18 @@
[gd_scene format=3 uid="uid://cgjc22lv4w4s5"]
[ext_resource type="Script" uid="uid://cwois2ld152sn" path="res://Core/UI/CharacterPanel/ActionPoolBehaviour.cs" id="1_script"]
[node name="ActionPool" type="Control" unique_id=1854115493]
layout_mode = 3
anchors_preset = 0
mouse_filter = 1
script = ExtResource("1_script")
[node name="Container" type="VBoxContainer" parent="." unique_id=1312152261]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 4
@@ -0,0 +1,24 @@
[gd_scene format=3 uid="uid://b00u0cgcip134"]
[ext_resource type="Script" uid="uid://bfawx4g6dyrjo" path="res://Core/UI/CharacterPanel/ActionSlotBehaviour.cs" id="1_script"]
[node name="ActionSlot" type="Control" unique_id=1066231859]
custom_minimum_size = Vector2(300, 100)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
script = ExtResource("1_script")
[node name="Bg" type="ColorRect" parent="." unique_id=1234999814]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0.1, 0.1, 0.15, 0.5)
@@ -0,0 +1,56 @@
[gd_scene format=3 uid="uid://67q36mh0x454"]
[ext_resource type="Script" uid="uid://dkioyb2bx5e10" path="res://Core/UI/CharacterPanel/CharacterCardBehaviour.cs" id="1_script"]
[ext_resource type="PackedScene" uid="uid://b00u0cgcip134" path="res://scenes/ui/character_panel/action_slot.tscn" id="2_slot"]
[node name="CharacterCard" type="Control" unique_id=161727493]
custom_minimum_size = Vector2(250, 370)
layout_mode = 3
anchors_preset = 10
anchor_right = 1.0
grow_horizontal = 2
mouse_filter = 1
script = ExtResource("1_script")
[node name="Margin" type="MarginContainer" parent="." unique_id=540453317]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 8
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 8
[node name="VBox" type="VBoxContainer" parent="Margin" unique_id=1477867509]
layout_mode = 2
theme_override_constants/separation = 6
[node name="Header" type="HBoxContainer" parent="Margin/VBox" unique_id=410961700]
layout_mode = 2
[node name="Portrait" type="TextureRect" parent="Margin/VBox/Header" unique_id=427546847]
custom_minimum_size = Vector2(60, 60)
layout_mode = 2
expand_mode = 2
stretch_mode = 5
[node name="NameLabel" type="Label" parent="Margin/VBox/Header" unique_id=604539797]
layout_mode = 2
size_flags_horizontal = 3
text = "Character Name"
[node name="Slots" type="VBoxContainer" parent="Margin/VBox" unique_id=2066648023]
layout_mode = 2
theme_override_constants/separation = 4
[node name="Slot0" parent="Margin/VBox/Slots" unique_id=592809057 instance=ExtResource("2_slot")]
layout_mode = 2
[node name="Slot1" parent="Margin/VBox/Slots" unique_id=424670098 instance=ExtResource("2_slot")]
layout_mode = 2
[node name="Slot2" parent="Margin/VBox/Slots" unique_id=1790943736 instance=ExtResource("2_slot")]
layout_mode = 2
@@ -0,0 +1,120 @@
[gd_scene format=3 uid="uid://boo65s3v3vn2c"]
[ext_resource type="Script" uid="uid://b60voxni8jut4" path="res://Core/UI/CharacterPanel/CharacterPanelBehaviour.cs" id="1_script"]
[ext_resource type="PackedScene" uid="uid://cgjc22lv4w4s5" path="res://scenes/ui/character_panel/action_pool.tscn" id="2_pool"]
[node name="CharacterPanel" type="Control" unique_id=2003172289]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
script = ExtResource("1_script")
[node name="Bg" type="ColorRect" parent="." unique_id=538790315]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0.05, 0.05, 0.1, 0.9)
[node name="LeftPanel" type="Panel" parent="." unique_id=582936654]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.68700004
anchor_bottom = 1.0
offset_right = 0.95996094
size_flags_horizontal = 3
[node name="LeftVBox" type="VBoxContainer" parent="LeftPanel" unique_id=927965975]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Title" type="Label" parent="LeftPanel/LeftVBox" unique_id=1322979441]
layout_mode = 2
theme_override_font_sizes/font_size = 18
text = "ui/character_panel/title"
horizontal_alignment = 1
[node name="ScrollContainer" type="ScrollContainer" parent="LeftPanel/LeftVBox" unique_id=649910277]
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 0
[node name="CharactersContainer" type="VBoxContainer" parent="LeftPanel/LeftVBox/ScrollContainer" unique_id=15539617]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 10
[node name="RightPanel" type="Panel" parent="." unique_id=94541911]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.69500005
anchor_right = 1.0
anchor_bottom = 0.91800004
offset_left = 0.5998535
offset_bottom = -0.032043457
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
[node name="ActionPoolScroll" type="ScrollContainer" parent="RightPanel" unique_id=1837472944]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
horizontal_scroll_mode = 0
[node name="ActionPool" parent="RightPanel/ActionPoolScroll" unique_id=2092045870 instance=ExtResource("2_pool")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="CloseButton" type="Button" parent="." unique_id=140259217]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.697
anchor_top = 0.94100004
anchor_right = 0.85
anchor_bottom = 0.9850001
offset_left = -0.23999023
offset_top = 0.4159546
offset_bottom = 0.35992432
grow_horizontal = 0
grow_vertical = 0
text = "ui/character_panel/close"
[node name="ResetButton" type="Button" parent="." unique_id=73911922]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.855
anchor_top = 0.94100004
anchor_right = 0.99300003
anchor_bottom = 0.9850001
offset_left = 0.39990234
offset_top = 0.4159546
offset_right = 0.4399414
offset_bottom = 0.35992432
grow_horizontal = 0
grow_vertical = 0
text = "ui/character_panel/reset"
[node name="DragLayer" type="Control" parent="." unique_id=1296303852]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2