[gd_scene load_steps=2 format=3] [ext_resource type="Script" path="res://scripts/presentation/menu/character_creation.gd" id="1_creation"] [sub_resource type="StyleBoxFlat" id="StyleBox_panel"] bg_color = Color(0.035, 0.055, 0.09, 0.97) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0.82, 0.66, 0.25, 0.95) corner_radius_top_left = 8 corner_radius_top_right = 8 corner_radius_bottom_right = 8 corner_radius_bottom_left = 8 content_margin_left = 28.0 content_margin_top = 20.0 content_margin_right = 28.0 content_margin_bottom = 20.0 [node name="CharacterCreation" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_creation") [node name="Panel" type="PanelContainer" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -270.0 offset_top = -310.0 offset_right = 270.0 offset_bottom = 310.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBox_panel") [node name="Layout" type="VBoxContainer" parent="Panel"] layout_mode = 2 theme_override_constants/separation = 9 [node name="Title" type="Label" parent="Panel/Layout"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 theme_override_colors/font_color = Color(0.96, 0.84, 0.44, 1) theme_override_font_sizes/font_size = 28 text = "NEW RUN" horizontal_alignment = 1 vertical_alignment = 1 [node name="Fields" type="VBoxContainer" parent="Panel/Layout"] layout_mode = 2 theme_override_constants/separation = 6 [node name="NameLabel" type="Label" parent="Panel/Layout/Fields"] layout_mode = 2 text = "Character name" [node name="NameEdit" type="LineEdit" parent="Panel/Layout/Fields"] custom_minimum_size = Vector2(0, 31) layout_mode = 2 placeholder_text = "Sans-Nom" [node name="PetCheck" type="CheckBox" parent="Panel/Layout/Fields"] custom_minimum_size = Vector2(0, 27) layout_mode = 2 text = "Bring a pet companion" [node name="PetDetails" type="VBoxContainer" parent="Panel/Layout/Fields"] visible = false layout_mode = 2 theme_override_constants/separation = 4 [node name="PetNameEdit" type="LineEdit" parent="Panel/Layout/Fields/PetDetails"] custom_minimum_size = Vector2(0, 31) layout_mode = 2 placeholder_text = "Pet name (Familier)" [node name="PetSpeciesEdit" type="LineEdit" parent="Panel/Layout/Fields/PetDetails"] custom_minimum_size = Vector2(0, 31) layout_mode = 2 placeholder_text = "Nature / species (Animal)" [node name="SeedLabel" type="Label" parent="Panel/Layout/Fields"] layout_mode = 2 text = "Generation seed" [node name="SeedEdit" type="LineEdit" parent="Panel/Layout/Fields"] custom_minimum_size = Vector2(0, 31) layout_mode = 2 placeholder_text = "Enter a seed" [node name="DifficultyLabel" type="Label" parent="Panel/Layout/Fields"] layout_mode = 2 text = "Difficulty" [node name="DifficultyOption" type="OptionButton" parent="Panel/Layout/Fields"] custom_minimum_size = Vector2(0, 31) layout_mode = 2 item_count = 4 selected = 1 popup/item_0/text = "Touriste" popup/item_0/id = 0 popup/item_0/metadata = "touriste" popup/item_1/text = "Crawler" popup/item_1/id = 1 popup/item_1/metadata = "crawler" popup/item_2/text = "Veteran" popup/item_2/id = 2 popup/item_2/metadata = "veteran" popup/item_3/text = "Masochiste" popup/item_3/id = 3 popup/item_3/metadata = "masochiste" [node name="DeathModeLabel" type="Label" parent="Panel/Layout/Fields"] layout_mode = 2 text = "Death mode" [node name="PermadeathOption" type="OptionButton" parent="Panel/Layout/Fields"] custom_minimum_size = Vector2(0, 31) layout_mode = 2 item_count = 2 selected = 0 popup/item_0/text = "Classic — save and reload" popup/item_0/id = 0 popup/item_1/text = "Permadeath — one life" popup/item_1/id = 1 [node name="ValidationLabel" type="Label" parent="Panel/Layout"] custom_minimum_size = Vector2(0, 25) layout_mode = 2 theme_override_colors/font_color = Color(1, 0.48, 0.44, 1) horizontal_alignment = 1 vertical_alignment = 1 [node name="Actions" type="HBoxContainer" parent="Panel/Layout"] layout_mode = 2 theme_override_constants/separation = 10 alignment = 1 [node name="StartRunButton" type="Button" parent="Panel/Layout/Actions"] custom_minimum_size = Vector2(180, 44) layout_mode = 2 text = "START RUN" [node name="CancelButton" type="Button" parent="Panel/Layout/Actions"] custom_minimum_size = Vector2(120, 44) layout_mode = 2 text = "BACK"