1
0
Fork 0
This repository has been archived on 2024-05-12. You can view files and clone it, but cannot push or open issues or pull requests.
GMTK-2023-Postjam/Scenes/ShopItem.tscn

103 lines
4.3 KiB
Text

[gd_scene load_steps=11 format=3 uid="uid://b45aueh2df3q3"]
[ext_resource type="Texture2D" uid="uid://bpisp62o7qnmd" path="res://Assets/Sprites/Common/coin.png" id="1_olk3t"]
[ext_resource type="Texture2D" uid="uid://dul2sp8thx21m" path="res://Assets/Sprites/Shop/bars.png" id="1_pldl3"]
[ext_resource type="Texture2D" uid="uid://b3uoeyoah1suf" path="res://Assets/Sprites/Common/x64.png" id="2_cuthy"]
[ext_resource type="Script" path="res://Scripts/shopItem.gd" id="2_wgw52"]
[ext_resource type="FontFile" uid="uid://dstkdot5rkpn3" path="res://Assets/Fonts/Geizer.otf" id="3_ptq8y"]
[ext_resource type="FontFile" uid="uid://c63bc80eb1jbi" path="res://Assets/Fonts/alagard.ttf" id="5_tflj7"]
[ext_resource type="AudioStream" uid="uid://bcttlwe7mh20m" path="res://Assets/Sfx/Pickup_Coin37.wav" id="7_0o4fu"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_y3w4a"]
content_margin_left = 0.0
content_margin_top = 0.0
content_margin_right = 0.0
content_margin_bottom = 0.0
texture = ExtResource("1_pldl3")
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_7vf81"]
content_margin_left = 3.0
content_margin_top = 2.0
content_margin_right = 3.0
content_margin_bottom = 3.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5of4t"]
bg_color = Color(0, 0, 0, 0.513726)
[node name="PanelContainer" type="PanelContainer" node_paths=PackedStringArray("item_title_label", "item_cost_label", "item_description_label", "item_icon", "item_unavailable", "sound")]
theme_override_styles/panel = SubResource("StyleBoxTexture_y3w4a")
script = ExtResource("2_wgw52")
cost = 0
texture = ExtResource("2_cuthy")
item_title_label = NodePath("PanelContainer/VBoxContainer2/HBoxContainer/VBoxContainer/Title")
item_cost_label = NodePath("PanelContainer/VBoxContainer2/HBoxContainer2/Label")
item_description_label = NodePath("PanelContainer/VBoxContainer2/HBoxContainer/VBoxContainer/Description")
item_icon = NodePath("PanelContainer/VBoxContainer2/HBoxContainer/TextureRect")
item_unavailable = NodePath("Panel")
sound = NodePath("AudioStreamPlayer")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 2
mouse_filter = 1
theme_override_styles/panel = SubResource("StyleBoxEmpty_7vf81")
[node name="VBoxContainer2" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer2"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer2/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
texture = ExtResource("2_cuthy")
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer2/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer2/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("3_ptq8y")
theme_override_font_sizes/font_size = 20
text = "Pettable Dogs"
[node name="Description" type="Label" parent="PanelContainer/VBoxContainer2/HBoxContainer/VBoxContainer"]
layout_mode = 2
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("5_tflj7")
theme_override_font_sizes/font_size = 12
text = "Makes dogs even more pettable"
[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/VBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 8
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer2/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/line_spacing = 0
theme_override_fonts/font = ExtResource("5_tflj7")
theme_override_font_sizes/font_size = 12
text = "0"
[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer2/HBoxContainer2"]
layout_mode = 2
size_flags_vertical = 4
texture = ExtResource("1_olk3t")
[node name="Panel" type="Panel" parent="."]
layout_mode = 2
mouse_filter = 1
theme_override_styles/panel = SubResource("StyleBoxFlat_5of4t")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("7_0o4fu")
[connection signal="mouse_entered" from="." to="." method="on_entered"]
[connection signal="mouse_exited" from="." to="." method="on_exited"]