123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377 |
- [gd_scene load_steps=25 format=3 uid="uid://blcuyr3jmgqjn"]
- [ext_resource type="PackedScene" uid="uid://2wtd5v2wm5ym" path="res://scene/ui/speedrun_timer.tscn" id="1_aoia5"]
- [ext_resource type="Texture2D" uid="uid://0f8gj2t81y04" path="res://res/missdemandrake_icon.png" id="2_ktgqv"]
- [ext_resource type="Texture2D" uid="uid://cankh6gqcfwh8" path="res://res/wheat.png" id="2_okcwu"]
- [ext_resource type="PackedScene" uid="uid://d0myc3w8eieve" path="res://scene/ui/plant_button.tscn" id="2_veu5b"]
- [ext_resource type="Texture2D" uid="uid://ml2fn217nq0a" path="res://res/carrot_icon.png" id="3_hykl0"]
- [ext_resource type="PackedScene" uid="uid://barkhw1dcvol6" path="res://scene/entity/carrot.tscn" id="4_qd155"]
- [ext_resource type="PackedScene" uid="uid://dhc4lumda0bk5" path="res://scene/entity/missdemandrake.tscn" id="6_benw2"]
- [ext_resource type="Texture2D" uid="uid://boqf8yjg8vjj" path="res://res/carrot_icon_1.png" id="6_laq2b"]
- [ext_resource type="PackedScene" uid="uid://7xbagi7msusx" path="res://scene/entity/carrot2.tscn" id="7_xdref"]
- [ext_resource type="Theme" uid="uid://dswou24s4dr5e" path="res://scene/core/main_menu_thenme.tres" id="8_402o7"]
- [ext_resource type="Script" path="res://scene/core/restart_button.gd" id="8_ao4uf"]
- [ext_resource type="Texture2D" uid="uid://c6g3vxs1w2cyx" path="res://res/cucumber.png" id="8_yg5q2"]
- [ext_resource type="PackedScene" uid="uid://bxrjfsowqkb86" path="res://scene/entity/carrot3.tscn" id="9_si7tt"]
- [ext_resource type="Texture2D" uid="uid://cx5md40xbjcwp" path="res://res/dragonfruit.png" id="10_vimv2"]
- [ext_resource type="PackedScene" uid="uid://bam5e7b0rnfnm" path="res://scene/entity/carrot4.tscn" id="11_t5qna"]
- [ext_resource type="Texture2D" uid="uid://qtverddtembb" path="res://res/shallot.png" id="12_12d5p"]
- [ext_resource type="PackedScene" uid="uid://b7cuabx3ghe01" path="res://scene/entity/aoe.tscn" id="13_1l6ff"]
- [sub_resource type="ImageTexture" id="ImageTexture_pcdim"]
- [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_x4eiv"]
- content_margin_left = 4.0
- content_margin_top = 4.0
- content_margin_right = 4.0
- content_margin_bottom = 4.0
- bg_color = Color(1, 1, 1, 0)
- corner_radius_top_left = 10
- corner_radius_top_right = 10
- corner_radius_bottom_right = 10
- corner_radius_bottom_left = 10
- corner_detail = 6
- [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_asdkn"]
- content_margin_left = 4.0
- content_margin_top = 4.0
- content_margin_right = 4.0
- content_margin_bottom = 4.0
- bg_color = Color(1, 1, 1, 0.75)
- corner_radius_top_left = 10
- corner_radius_top_right = 10
- corner_radius_bottom_right = 10
- corner_radius_bottom_left = 10
- corner_detail = 6
- [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_oa5x8"]
- content_margin_left = 4.0
- content_margin_top = 4.0
- content_margin_right = 4.0
- content_margin_bottom = 4.0
- bg_color = Color(0.75, 0.75, 0.75, 0.75)
- corner_radius_top_left = 10
- corner_radius_top_right = 10
- corner_radius_bottom_right = 10
- corner_radius_bottom_left = 10
- corner_detail = 6
- [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tadec"]
- content_margin_left = 4.0
- content_margin_top = 4.0
- content_margin_right = 4.0
- content_margin_bottom = 4.0
- bg_color = Color(0.101961, 0.101961, 0.101961, 0)
- corner_radius_top_left = 10
- corner_radius_top_right = 10
- corner_radius_bottom_right = 10
- corner_radius_bottom_left = 10
- corner_detail = 6
- [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gi33v"]
- content_margin_left = 4.0
- content_margin_top = 4.0
- content_margin_right = 4.0
- content_margin_bottom = 4.0
- bg_color = Color(1, 1, 1, 0.75)
- draw_center = false
- border_width_left = 2
- border_width_top = 2
- border_width_right = 2
- border_width_bottom = 2
- corner_radius_top_left = 3
- corner_radius_top_right = 3
- corner_radius_bottom_right = 3
- corner_radius_bottom_left = 3
- corner_detail = 5
- expand_margin_left = 2.0
- expand_margin_top = 2.0
- expand_margin_right = 2.0
- expand_margin_bottom = 2.0
- [sub_resource type="Theme" id="Theme_uwr4e"]
- VScrollBar/icons/decrement = SubResource("ImageTexture_pcdim")
- VScrollBar/icons/decrement_highlight = SubResource("ImageTexture_pcdim")
- VScrollBar/icons/decrement_pressed = SubResource("ImageTexture_pcdim")
- VScrollBar/icons/increment = SubResource("ImageTexture_pcdim")
- VScrollBar/icons/increment_highlight = SubResource("ImageTexture_pcdim")
- VScrollBar/icons/increment_pressed = SubResource("ImageTexture_pcdim")
- VScrollBar/styles/grabber = SubResource("StyleBoxFlat_x4eiv")
- VScrollBar/styles/grabber_highlight = SubResource("StyleBoxFlat_asdkn")
- VScrollBar/styles/grabber_pressed = SubResource("StyleBoxFlat_oa5x8")
- VScrollBar/styles/scroll = SubResource("StyleBoxFlat_tadec")
- VScrollBar/styles/scroll_focus = SubResource("StyleBoxFlat_gi33v")
- [node name="UI" type="Control"]
- layout_mode = 3
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- [node name="SpeedrunTimer" parent="." instance=ExtResource("1_aoia5")]
- anchors_preset = 3
- anchor_left = 1.0
- anchor_right = 1.0
- grow_horizontal = 0
- [node name="Wheat" type="MarginContainer" parent="."]
- offset_right = 40.0
- offset_bottom = 40.0
- theme_override_constants/margin_left = 30
- theme_override_constants/margin_top = 30
- [node name="HBoxContainer" type="HBoxContainer" parent="Wheat"]
- offset_left = 30.0
- offset_top = 30.0
- offset_right = 105.0
- offset_bottom = 88.0
- [node name="TextureRect" type="TextureRect" parent="Wheat/HBoxContainer"]
- custom_minimum_size = Vector2(24, 0)
- offset_right = 24.0
- offset_bottom = 58.0
- texture = ExtResource("2_okcwu")
- ignore_texture_size = true
- stretch_mode = 5
- [node name="Label" type="Label" parent="Wheat/HBoxContainer"]
- offset_left = 28.0
- offset_right = 75.0
- offset_bottom = 58.0
- theme_override_font_sizes/font_size = 40
- text = "nil"
- [node name="NextWave" type="MarginContainer" parent="."]
- anchors_preset = 1
- anchor_left = 1.0
- anchor_right = 1.0
- offset_left = -105.0
- offset_bottom = 88.0
- grow_horizontal = 0
- theme_override_constants/margin_top = 30
- theme_override_constants/margin_right = 30
- [node name="HB" type="HBoxContainer" parent="NextWave"]
- offset_top = 30.0
- offset_right = 132.0
- offset_bottom = 88.0
- [node name="Button" type="Button" parent="NextWave/HB"]
- offset_top = 13.0
- offset_right = 90.0
- offset_bottom = 44.0
- size_flags_vertical = 4
- text = "Next wave"
- [node name="Label" type="Label" parent="NextWave/HB"]
- offset_left = 94.0
- offset_top = 16.0
- offset_right = 132.0
- offset_bottom = 42.0
- theme_override_font_sizes/font_size = 16
- text = "in nil"
- [node name="Log" type="MarginContainer" parent="."]
- anchors_preset = 2
- anchor_top = 1.0
- anchor_bottom = 1.0
- offset_top = -88.0
- offset_right = 105.0
- grow_vertical = 0
- theme_override_constants/margin_left = 30
- theme_override_constants/margin_bottom = 30
- [node name="PC" type="PanelContainer" parent="Log"]
- offset_left = 30.0
- offset_right = 246.0
- offset_bottom = 116.0
- [node name="MC" type="MarginContainer" parent="Log/PC"]
- offset_right = 216.0
- offset_bottom = 116.0
- 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="Label" type="RichTextLabel" parent="Log/PC/MC"]
- custom_minimum_size = Vector2(200, 100)
- offset_left = 8.0
- offset_top = 8.0
- offset_right = 208.0
- offset_bottom = 108.0
- theme = SubResource("Theme_uwr4e")
- bbcode_enabled = true
- text = "nil"
- scroll_following = true
- [node name="Plants" type="VBoxContainer" parent="."]
- anchors_preset = 6
- anchor_left = 1.0
- anchor_top = 0.5
- anchor_right = 1.0
- anchor_bottom = 0.5
- offset_left = -48.0
- offset_top = -24.0
- offset_bottom = 24.0
- grow_horizontal = 0
- grow_vertical = 2
- alignment = 1
- [node name="Carrot" parent="Plants" instance=ExtResource("2_veu5b")]
- offset_right = 80.0
- offset_bottom = 72.0
- description = "[center][font_size=18]METEOR CARROT (Q)[/font_size][/center][font size=14]
- This plant has evolved a machine gun for self-defense.
- [color=#8888FF]Low-range rapid-fire gun[/color]"
- icon = ExtResource("3_hykl0")
- plant = ExtResource("4_qd155")
- hotkey = 81
- [node name="Carrot2" parent="Plants" instance=ExtResource("2_veu5b")]
- offset_top = 76.0
- offset_right = 80.0
- offset_bottom = 148.0
- description = "[center][font_size=18]METEOR PARSLEY (W)[/font_size][/center][font size=14]
- Has a superiority complex over Meteor Carrot.
- [color=#8888FF]Medium-range rapid-fire gun[/color]"
- icon = ExtResource("6_laq2b")
- plant = ExtResource("7_xdref")
- hotkey = 87
- [node name="Cucumber" parent="Plants" instance=ExtResource("2_veu5b")]
- offset_top = 152.0
- offset_right = 80.0
- offset_bottom = 224.0
- description = "[center][font_size=18]CUCUMBER (E)[/font_size][/center][font size=14]
- Used to be a rock, but it turned itself into a cucumber.
- [color=#8888FF]Long-range ballista[/color]"
- icon = ExtResource("8_yg5q2")
- plant = ExtResource("9_si7tt")
- hotkey = 69
- [node name="Dragon" parent="Plants" instance=ExtResource("2_veu5b")]
- offset_top = 228.0
- offset_right = 80.0
- offset_bottom = 300.0
- description = "[center][font_size=18]FLAMEFRUIT (R)[/font_size][/center][font size=14]
- Said to host a miniature dragon den.
- [color=#8888FF]Short-range incinerator[/color]"
- icon = ExtResource("10_vimv2")
- plant = ExtResource("11_t5qna")
- hotkey = 82
- [node name="Shallot" parent="Plants" instance=ExtResource("2_veu5b")]
- offset_top = 304.0
- offset_right = 80.0
- offset_bottom = 376.0
- description = "[center][font_size=18]SHALLOT HEAD (T)[/font_size][/center][font size=14]
- [img width=14]res://res/uoh.png[/img][img width=14]res://res/uoh.png[/img][img width=14]res://res/uoh.png[/img]
- [color=#8888FF]Damages every enemy within range[/color]"
- icon = ExtResource("12_12d5p")
- plant = ExtResource("13_1l6ff")
- hotkey = 84
- [node name="Missdemandrake" parent="Plants" instance=ExtResource("2_veu5b")]
- offset_top = 380.0
- offset_right = 80.0
- offset_bottom = 452.0
- description = "[center][font_size=18]MISSDEMANDRAKE (Y)[/font_size][/center][font size=14]
- A curious hybrid of mandrake and electric cabbage.
- [color=#8888FF]Strikes the healthiest enemy with lightning.[/color]"
- icon = ExtResource("2_ktgqv")
- plant = ExtResource("6_benw2")
- hotkey = 89
- [node name="DefeatScreen" type="Control" parent="."]
- visible = false
- layout_mode = 3
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- mouse_default_cursor_shape = 3
- [node name="ColorRect" type="ColorRect" parent="DefeatScreen"]
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- mouse_default_cursor_shape = 3
- color = Color(0.215492, 1.05286e-07, 4.21144e-08, 0.784314)
- [node name="VBoxContainer" type="VBoxContainer" parent="DefeatScreen"]
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -93.5
- offset_top = -46.5
- offset_right = 93.5
- offset_bottom = 46.5
- grow_horizontal = 2
- grow_vertical = 2
- [node name="Label" type="Label" parent="DefeatScreen/VBoxContainer"]
- mouse_default_cursor_shape = 3
- theme_override_colors/font_color = Color(0.521569, 0, 0, 1)
- theme_override_font_sizes/font_size = 40
- text = "YOU DIED"
- [node name="Button" type="Button" parent="DefeatScreen/VBoxContainer"]
- size_flags_horizontal = 4
- size_flags_vertical = 4
- theme = ExtResource("8_402o7")
- text = "Restart"
- script = ExtResource("8_ao4uf")
- [node name="VictoryScreen" type="Control" parent="."]
- visible = false
- layout_mode = 3
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- [node name="ColorRect" type="ColorRect" parent="VictoryScreen"]
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- color = Color(0, 0, 0, 0.784314)
- [node name="VBoxContainer" type="VBoxContainer" parent="VictoryScreen"]
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -93.5
- offset_top = -46.5
- offset_right = 93.5
- offset_bottom = 46.5
- grow_horizontal = 2
- grow_vertical = 2
- [node name="Label" type="Label" parent="VictoryScreen/VBoxContainer"]
- mouse_default_cursor_shape = 3
- theme_override_font_sizes/font_size = 40
- text = "Victory"
- horizontal_alignment = 1
- [node name="Button" type="Button" parent="VictoryScreen/VBoxContainer"]
- size_flags_horizontal = 4
- size_flags_vertical = 4
- theme = ExtResource("8_402o7")
- text = "Restart"
- script = ExtResource("8_ao4uf")
- [connection signal="pressed" from="DefeatScreen/VBoxContainer/Button" to="DefeatScreen/VBoxContainer/Button" method="_on_pressed"]
- [connection signal="pressed" from="VictoryScreen/VBoxContainer/Button" to="VictoryScreen/VBoxContainer/Button" method="_on_pressed"]
|