ported from perforce
This commit is contained in:
208
DonkeysAndDroids.Godot/improve.tscn
Normal file
208
DonkeysAndDroids.Godot/improve.tscn
Normal file
@@ -0,0 +1,208 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://bsa1vw82w0swb"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dak80da2s75k7" path="res://card_row.tscn" id="1_4p1or"]
|
||||
[ext_resource type="Script" uid="uid://c58lu37yfgtsw" path="res://Improve.cs" id="1_lfqaa"]
|
||||
[ext_resource type="Theme" uid="uid://b8egvkt2yaoqp" path="res://program.tres" id="1_xyylf"]
|
||||
[ext_resource type="Texture2D" uid="uid://84botadctwl6" path="res://images/buy.png" id="4_lbpv8"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqqs7p5yi474e" path="res://images/cosmic-rays.png" id="5_wymsd"]
|
||||
[ext_resource type="StyleBox" uid="uid://c7iiuoqjag1o" path="res://card_frame.tres" id="6_lbpv8"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcwd73aclgxxy" path="res://images/reroll.png" id="6_wgn6h"]
|
||||
[ext_resource type="Texture2D" uid="uid://cd5hy472tbuea" path="res://images/buffer-overflow.png" id="7_eobi3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cqt6uu8t458n" path="res://images/execute.png" id="8_on1ca"]
|
||||
|
||||
[node name="Improve" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_xyylf")
|
||||
script = ExtResource("1_lfqaa")
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
modulate = Color(0, 2.5102808, 5.1329317, 1)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Shop"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_left = 20
|
||||
theme_override_constants/margin_right = 5
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_xyylf")
|
||||
theme_override_styles/panel = ExtResource("6_lbpv8")
|
||||
|
||||
[node name="Shop" parent="VBoxContainer/HBoxContainer/MarginContainer/PanelContainer" instance=ExtResource("1_4p1or")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
layout_mode = 2
|
||||
CardSize = Vector2(90, 112)
|
||||
CardSpacing = 5.0
|
||||
CardsCanDrag = false
|
||||
SupportsMultiSelect = true
|
||||
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_right = 25
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="RerollButton" type="Button" parent="VBoxContainer/HBoxContainer/MarginContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 70)
|
||||
layout_mode = 2
|
||||
text = "Reroll (42 energy)"
|
||||
icon = ExtResource("6_wgn6h")
|
||||
expand_icon = true
|
||||
|
||||
[node name="BuyButton" type="Button" parent="VBoxContainer/HBoxContainer/MarginContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 70)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 32
|
||||
disabled = true
|
||||
text = "Buy (0 energy)"
|
||||
icon = ExtResource("4_lbpv8")
|
||||
expand_icon = true
|
||||
|
||||
[node name="Label2" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Deck"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="MarginContainer4" type="MarginContainer" parent="VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/margin_left = 20
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HBoxContainer2/MarginContainer4"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_xyylf")
|
||||
theme_override_styles/panel = ExtResource("6_lbpv8")
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/HBoxContainer2/MarginContainer4/PanelContainer"]
|
||||
layout_mode = 2
|
||||
horizontal_scroll_mode = 3
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HBoxContainer2/MarginContainer4/PanelContainer/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 20
|
||||
theme_override_constants/margin_right = 10
|
||||
|
||||
[node name="Deck" parent="VBoxContainer/HBoxContainer2/MarginContainer4/PanelContainer/ScrollContainer/MarginContainer" instance=ExtResource("1_4p1or")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
CardSpacing = 15.0
|
||||
CardsCanDrag = false
|
||||
WrapCards = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_right = 20
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer2/MarginContainer"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HBoxContainer2/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = ExtResource("6_lbpv8")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer2/MarginContainer/VBoxContainer/PanelContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2/MarginContainer/VBoxContainer/PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Acquire one random instruction
|
||||
Chance for it being modified"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CosmicRaysButton" type="Button" parent="VBoxContainer/HBoxContainer2/MarginContainer/VBoxContainer/PanelContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 70)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Cosmic Rays
|
||||
(42 energy)"
|
||||
icon = ExtResource("5_wymsd")
|
||||
expand_icon = true
|
||||
|
||||
[node name="PanelContainer2" type="PanelContainer" parent="VBoxContainer/HBoxContainer2/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = ExtResource("6_lbpv8")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer2/MarginContainer/VBoxContainer/PanelContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2/MarginContainer/VBoxContainer/PanelContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Destroy one instruction and
|
||||
remove it from your deck"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="BufferOverflowButton" type="Button" parent="VBoxContainer/HBoxContainer2/MarginContainer/VBoxContainer/PanelContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 70)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Buffer Overflow
|
||||
(42 energy)"
|
||||
icon = ExtResource("7_eobi3")
|
||||
expand_icon = true
|
||||
|
||||
[node name="MarginContainer3" type="MarginContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="SkipButton" type="Button" parent="VBoxContainer/MarginContainer3"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 70)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Play"
|
||||
icon = ExtResource("8_on1ca")
|
||||
expand_icon = true
|
||||
Reference in New Issue
Block a user