2025-05-03 20:39:06 +08:00

428 lines
11 KiB
Plaintext

[gd_scene load_steps=29 format=4]
[ext_resource type="Script" path="res://Scripts/UI/Shop.cs" id="1"]
[ext_resource type="Texture2D" path="res://Sprites/Shops/chujinshop1.png" id="2"]
[ext_resource type="Texture2D" path="res://Sprites/Shops/penguy.png" id="3"]
[ext_resource type="Texture2D" path="res://Sprites/Shops/schooldwshop.png" id="4"]
[ext_resource type="Texture2D" path="res://Sprites/Menus/dwbox.png" id="5"]
[ext_resource type="FontFile" path="res://Fonts/DTM-Sans.otf" id="6"]
[ext_resource type="PackedScene" path="res://Objects/UI/ScrollBar.tscn" id="7"]
[ext_resource type="FontFile" path="res://Fonts/dotumche-pixel.ttf" id="8"]
[ext_resource type="Texture2D" path="res://Sprites/Menus/Menu Sprites/CloverIcon.tres" id="9"]
[ext_resource type="Texture2D" path="res://Sprites/Menus/Menu Sprites/Soul.tres" id="10"]
[sub_resource type="AtlasTexture" id="AtlasTexture_41qd5"]
atlas = ExtResource("2")
region = Rect2(0, 0, 320, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_jaxwj"]
atlas = ExtResource("3")
region = Rect2(0, 0, 320, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_ax2ry"]
atlas = ExtResource("3")
region = Rect2(0, 240, 320, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_xosom"]
atlas = ExtResource("4")
region = Rect2(0, 0, 320, 120)
[sub_resource type="SpriteFrames" id="SpriteFrames_jfplu"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_41qd5")
}],
"loop": true,
"name": &"ChujinDW1",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jaxwj")
}],
"loop": true,
"name": &"PenGuy",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ax2ry")
}],
"loop": true,
"name": &"PenGuy2",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_xosom")
}],
"loop": false,
"name": &"SchoolDW",
"speed": 5.0
}]
[sub_resource type="AtlasTexture" id="AtlasTexture_auhff"]
atlas = ExtResource("4")
region = Rect2(0, 120, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_4bvet"]
atlas = ExtResource("4")
region = Rect2(160, 120, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_mbceb"]
atlas = ExtResource("4")
region = Rect2(0, 240, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_7abb6"]
atlas = ExtResource("4")
region = Rect2(160, 240, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_worui"]
atlas = ExtResource("4")
region = Rect2(0, 360, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_m5egy"]
atlas = ExtResource("4")
region = Rect2(160, 360, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_jck10"]
atlas = ExtResource("2")
region = Rect2(0, 120, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_0eudv"]
atlas = ExtResource("2")
region = Rect2(160, 120, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_ke63x"]
atlas = ExtResource("3")
region = Rect2(0, 120, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_5h5fn"]
atlas = ExtResource("3")
region = Rect2(160, 120, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_xhndj"]
atlas = ExtResource("3")
region = Rect2(0, 360, 160, 120)
[sub_resource type="AtlasTexture" id="AtlasTexture_1vk4f"]
atlas = ExtResource("3")
region = Rect2(160, 360, 160, 120)
[sub_resource type="SpriteFrames" id="SpriteFrames_uwwls"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_auhff")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4bvet")
}],
"loop": true,
"name": &"0Default",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mbceb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7abb6")
}],
"loop": true,
"name": &"0Happy",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_worui")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m5egy")
}],
"loop": true,
"name": &"0Sad",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jck10")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0eudv")
}],
"loop": true,
"name": &"1Default",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ke63x")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5h5fn")
}],
"loop": true,
"name": &"3Default",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_xhndj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1vk4f")
}],
"loop": true,
"name": &"3Sad",
"speed": 5.0
}]
[node name="Shop" type="Control" node_paths=PackedStringArray("keeper", "bg", "mainBox", "sideBox", "statBox", "mainText", "sideText", "statText", "amtText", "mainList", "moneyText", "party", "partyStat", "soul", "scrollBar")]
z_index = 4010
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
keeper = NodePath("Keeper")
bg = NodePath("BG")
mainBox = NodePath("MainBox")
sideBox = NodePath("SideBox")
statBox = NodePath("StatBox")
mainText = NodePath("MainBox/RichTextLabel")
sideText = NodePath("SideBox/RichTextLabel2")
statText = NodePath("StatBox/RichTextLabel3")
amtText = NodePath("SideBox/RichTextLabel3")
mainList = NodePath("MainBox/RichTextLabel2")
moneyText = NodePath("SideBox/RichTextLabel4")
party = [NodePath("StatBox/Icon1"), NodePath("StatBox/Icon2"), NodePath("StatBox/Icon3")]
partyStat = [NodePath("StatBox/Icon1/RichTextLabel"), NodePath("StatBox/Icon2/RichTextLabel"), NodePath("StatBox/Icon3/RichTextLabel")]
soul = NodePath("Soul")
scrollBar = NodePath("MainBox/ScrollBar")
[node name="BG" type="AnimatedSprite2D" parent="."]
z_index = -2
sprite_frames = SubResource("SpriteFrames_jfplu")
animation = &"PenGuy2"
autoplay = "SchoolDW"
offset = Vector2(0, -60)
[node name="Keeper" type="AnimatedSprite2D" parent="."]
z_index = -2
sprite_frames = SubResource("SpriteFrames_uwwls")
animation = &"3Sad"
offset = Vector2(0, -60)
[node name="MainBox" type="NinePatchRect" parent="."]
layout_mode = 0
offset_left = -163.0
offset_top = -4.0
offset_right = 162.0
offset_bottom = 122.0
texture = ExtResource("5")
patch_margin_left = 13
patch_margin_top = 13
patch_margin_right = 13
patch_margin_bottom = 13
[node name="RichTextLabel" type="RichTextLabel" parent="MainBox"]
layout_mode = 0
offset_left = 13.0
offset_top = 12.0
offset_right = 307.0
offset_bottom = 113.0
theme_override_fonts/normal_font = ExtResource("6")
bbcode_enabled = true
text = "aaa
aaa
aaa
aaa
aaa"
scroll_active = false
autowrap_mode = 0
[node name="RichTextLabel2" type="RichTextLabel" parent="MainBox"]
layout_mode = 0
offset_left = 13.0
offset_top = 12.0
offset_right = 210.0
offset_bottom = 113.0
theme_override_fonts/normal_font = ExtResource("6")
bbcode_enabled = true
scroll_active = false
autowrap_mode = 0
[node name="ScrollBar" parent="MainBox" instance=ExtResource("7")]
visible = false
position = Vector2(205, 61)
[node name="ArrowUP" parent="MainBox/ScrollBar" index="0"]
position = Vector2(0, -40)
[node name="ArrowDOWN" parent="MainBox/ScrollBar" index="1"]
position = Vector2(0, 41)
[node name="SideBox" type="NinePatchRect" parent="."]
layout_mode = 0
offset_left = 47.0
offset_top = -4.0
offset_right = 162.0
offset_bottom = 122.0
texture = ExtResource("5")
patch_margin_left = 13
patch_margin_top = 13
patch_margin_right = 13
patch_margin_bottom = 13
[node name="RichTextLabel2" type="RichTextLabel" parent="SideBox"]
layout_mode = 0
offset_left = 10.0
offset_top = 12.0
offset_right = 200.0
offset_bottom = 113.0
theme_override_fonts/normal_font = ExtResource("6")
text = "aaa
aaa
aaa
aaa
aaa"
scroll_active = false
autowrap_mode = 0
[node name="RichTextLabel4" type="RichTextLabel" parent="SideBox"]
layout_mode = 0
offset_left = 10.0
offset_top = 92.0
offset_right = 200.0
offset_bottom = 113.0
theme_override_fonts/normal_font = ExtResource("6")
text = "aaa
aaa
aaa
aaa
aaa"
scroll_active = false
autowrap_mode = 0
[node name="RichTextLabel3" type="RichTextLabel" parent="SideBox"]
visible = false
layout_mode = 0
offset_left = 71.0
offset_top = 98.0
offset_right = 261.0
offset_bottom = 199.0
scale = Vector2(0.675, 1)
theme_override_fonts/normal_font = ExtResource("8")
theme_override_font_sizes/normal_font_size = 8
text = "Space: 99"
scroll_active = false
autowrap_mode = 0
[node name="ColorRect" type="ColorRect" parent="SideBox"]
layout_mode = 0
offset_left = 111.0
offset_top = 11.0
offset_right = 175.0
offset_bottom = 115.0
color = Color(0, 0, 0, 1)
[node name="StatBox" type="NinePatchRect" parent="."]
visible = false
z_index = -1
layout_mode = 0
offset_left = 47.0
offset_top = -15.0
offset_right = 162.0
offset_bottom = 99.0
texture = ExtResource("5")
patch_margin_left = 13
patch_margin_top = 13
patch_margin_right = 13
patch_margin_bottom = 13
[node name="RichTextLabel3" type="RichTextLabel" parent="StatBox"]
layout_mode = 0
offset_left = 10.0
offset_top = 8.0
offset_right = 200.0
offset_bottom = 109.0
theme_override_fonts/normal_font = ExtResource("6")
bbcode_enabled = true
text = "aaa
aaa
aaa
"
scroll_active = false
autowrap_mode = 0
[node name="Icon1" type="Sprite2D" parent="StatBox"]
visible = false
position = Vector2(20, 77)
scale = Vector2(0.5, 0.5)
texture = ExtResource("9")
[node name="RichTextLabel" type="RichTextLabel" parent="StatBox/Icon1"]
offset_left = 23.0
offset_top = -15.0
offset_right = 77.0
offset_bottom = 25.0
theme_override_constants/line_separation = 2
theme_override_fonts/normal_font = ExtResource("8")
theme_override_font_sizes/normal_font_size = 13
bbcode_enabled = true
text = "aaa
aaa"
scroll_active = false
autowrap_mode = 0
[node name="Icon2" type="Sprite2D" parent="StatBox"]
visible = false
position = Vector2(68, 77)
scale = Vector2(0.5, 0.5)
texture = ExtResource("9")
[node name="RichTextLabel" type="RichTextLabel" parent="StatBox/Icon2"]
offset_left = 23.0
offset_top = -15.0
offset_right = 77.0
offset_bottom = 25.0
theme_override_constants/line_separation = 2
theme_override_fonts/normal_font = ExtResource("8")
theme_override_font_sizes/normal_font_size = 13
bbcode_enabled = true
text = "aaa
aaa"
scroll_active = false
autowrap_mode = 0
[node name="Icon3" type="Sprite2D" parent="StatBox"]
visible = false
position = Vector2(20, 96)
scale = Vector2(0.5, 0.5)
texture = ExtResource("9")
[node name="RichTextLabel" type="RichTextLabel" parent="StatBox/Icon3"]
offset_left = 23.0
offset_top = -15.0
offset_right = 77.0
offset_bottom = 25.0
theme_override_constants/line_separation = 2
theme_override_fonts/normal_font = ExtResource("8")
theme_override_font_sizes/normal_font_size = 13
bbcode_enabled = true
text = "aaa
aaa"
scroll_active = false
autowrap_mode = 0
[node name="Soul" type="Sprite2D" parent="."]
self_modulate = Color(1, 1, 0, 1)
position = Vector2(60, 18)
texture = ExtResource("10")
[editable path="MainBox/ScrollBar"]