mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
183 lines
8.4 KiB
Text
183 lines
8.4 KiB
Text
[gd_scene format=3 uid="uid://bnwnkjeuy8vw2"]
|
|
|
|
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="1_theme"]
|
|
[ext_resource type="StyleBox" uid="uid://ctw2hju32l3rg" path="res://Resources/Styles/PixelStyleBoxRed.tres" id="2_panel"]
|
|
[ext_resource type="Script" uid="uid://dwf1c6gber6qn" path="res://Scripts/UI/VendingMachineShopUi.cs" id="3_script"]
|
|
|
|
[node name="VendingMachineShopUi" type="CanvasLayer" unique_id=1039113089 node_paths=PackedStringArray("CreditsValueLabel", "ShopItemList", "PreviewTexture", "ItemNameLabel", "DescriptionLabel", "PriceValueLabel", "StockValueLabel", "OwnedValueLabel", "MaxValueLabel", "AllAmmoButton", "BuyButton", "CancelButton", "CloseButton")]
|
|
process_mode = 3
|
|
layer = 2
|
|
script = ExtResource("3_script")
|
|
CreditsValueLabel = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/HeaderRow/CreditsRow/CreditsValue")
|
|
ShopItemList = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/LeftColumn/ShopItemList")
|
|
PreviewTexture = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/PreviewPanel/PreviewTexture")
|
|
ItemNameLabel = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/ItemName")
|
|
DescriptionLabel = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/Description")
|
|
PriceValueLabel = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid/PriceValue")
|
|
StockValueLabel = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid/StockValue")
|
|
OwnedValueLabel = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid/OwnedValue")
|
|
MaxValueLabel = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid/MaxValue")
|
|
AllAmmoButton = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/LeftColumn/AllAmmoButton")
|
|
BuyButton = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/FooterRow/BuyButton")
|
|
CancelButton = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/FooterRow/CancelButton")
|
|
CloseButton = NodePath("Overlay/PanelContainer/MarginContainer/RootColumn/HeaderRow/CloseButton")
|
|
|
|
[node name="Overlay" type="Control" parent="." unique_id=1092991846]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Backdrop" type="ColorRect" parent="Overlay" unique_id=1819897996]
|
|
layout_mode = 0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 0.68)
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Overlay" unique_id=728531908]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -7.0
|
|
offset_bottom = 7.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_theme")
|
|
theme_override_styles/panel = ExtResource("2_panel")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Overlay/PanelContainer" unique_id=1176588702]
|
|
layout_mode = 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="RootColumn" type="VBoxContainer" parent="Overlay/PanelContainer/MarginContainer" unique_id=1296448860]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 6
|
|
|
|
[node name="HeaderRow" type="HBoxContainer" parent="Overlay/PanelContainer/MarginContainer/RootColumn" unique_id=828923911]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="Title" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/HeaderRow" unique_id=444435654]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Vending Shop"
|
|
|
|
[node name="CreditsRow" type="HBoxContainer" parent="Overlay/PanelContainer/MarginContainer/RootColumn/HeaderRow" unique_id=602893457]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 6
|
|
|
|
[node name="CreditsLabel" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/HeaderRow/CreditsRow" unique_id=45059238]
|
|
layout_mode = 2
|
|
text = "Credits:"
|
|
|
|
[node name="CreditsValue" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/HeaderRow/CreditsRow" unique_id=329239546]
|
|
layout_mode = 2
|
|
text = "0"
|
|
|
|
[node name="CloseButton" type="Button" parent="Overlay/PanelContainer/MarginContainer/RootColumn/HeaderRow" unique_id=2132068348]
|
|
layout_mode = 2
|
|
text = "X"
|
|
|
|
[node name="ContentRow" type="HBoxContainer" parent="Overlay/PanelContainer/MarginContainer/RootColumn" unique_id=197741149]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="LeftColumn" type="VBoxContainer" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow" unique_id=536170789]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 6
|
|
|
|
[node name="ShopItemList" type="ItemList" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/LeftColumn" unique_id=978618349]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
allow_reselect = true
|
|
same_column_width = true
|
|
|
|
[node name="AllAmmoButton" type="Button" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/LeftColumn" unique_id=1067558866]
|
|
layout_mode = 2
|
|
text = "ALL AMMO"
|
|
|
|
[node name="RightColumn" type="VBoxContainer" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow" unique_id=872210061]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="PreviewPanel" type="PanelContainer" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn" unique_id=547238106]
|
|
custom_minimum_size = Vector2(0, 84)
|
|
layout_mode = 2
|
|
|
|
[node name="PreviewTexture" type="TextureRect" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/PreviewPanel" unique_id=1476414198]
|
|
layout_mode = 2
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="ItemName" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn" unique_id=560995581]
|
|
layout_mode = 2
|
|
text = "Item"
|
|
|
|
[node name="Description" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn" unique_id=948571316]
|
|
clip_contents = true
|
|
layout_mode = 2
|
|
text = "Description"
|
|
autowrap_mode = 3
|
|
|
|
[node name="StatsGrid" type="GridContainer" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn" unique_id=864466544]
|
|
layout_mode = 2
|
|
columns = 4
|
|
|
|
[node name="PriceLabel" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid" unique_id=54171325]
|
|
layout_mode = 2
|
|
text = "Price"
|
|
|
|
[node name="PriceValue" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid" unique_id=1742129607]
|
|
layout_mode = 2
|
|
text = "0"
|
|
|
|
[node name="OwnedLabel" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid" unique_id=2140810319]
|
|
layout_mode = 2
|
|
text = "Owned"
|
|
|
|
[node name="OwnedValue" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid" unique_id=987928714]
|
|
layout_mode = 2
|
|
text = "0"
|
|
|
|
[node name="StockLabel" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid" unique_id=1276999766]
|
|
layout_mode = 2
|
|
text = "Stock"
|
|
|
|
[node name="StockValue" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid" unique_id=2002064651]
|
|
layout_mode = 2
|
|
text = "0"
|
|
|
|
[node name="MaxLabel" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid" unique_id=542385111]
|
|
layout_mode = 2
|
|
text = "Max"
|
|
|
|
[node name="MaxValue" type="Label" parent="Overlay/PanelContainer/MarginContainer/RootColumn/ContentRow/RightColumn/StatsGrid" unique_id=493157067]
|
|
layout_mode = 2
|
|
text = "0"
|
|
|
|
[node name="FooterRow" type="HBoxContainer" parent="Overlay/PanelContainer/MarginContainer/RootColumn" unique_id=336387742]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 6
|
|
alignment = 2
|
|
|
|
[node name="BuyButton" type="Button" parent="Overlay/PanelContainer/MarginContainer/RootColumn/FooterRow" unique_id=670623925]
|
|
layout_mode = 2
|
|
text = "BUY"
|
|
|
|
[node name="CancelButton" type="Button" parent="Overlay/PanelContainer/MarginContainer/RootColumn/FooterRow" unique_id=179357201]
|
|
layout_mode = 2
|
|
text = "CANCEL"
|