From 30d8a5072ab6757b55403208e6e4df7897ab7a09 Mon Sep 17 00:00:00 2001 From: LibreHacker Date: Wed, 29 Jul 2020 22:58:04 +0300 Subject: [PATCH] add others files (partly) --- text.csv => assets/locales/text.csv | 0 project.godot | 224 ++++ src/gui_common/MainMenu.tscn | 313 +++++ src/microbe_stage/MicrobeStage.tscn | 1857 +++++++++++++++++++++++++++ 4 files changed, 2394 insertions(+) rename text.csv => assets/locales/text.csv (100%) create mode 100644 project.godot create mode 100644 src/gui_common/MainMenu.tscn create mode 100644 src/microbe_stage/MicrobeStage.tscn diff --git a/text.csv b/assets/locales/text.csv similarity index 100% rename from text.csv rename to assets/locales/text.csv diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..8aaebb8 --- /dev/null +++ b/project.godot @@ -0,0 +1,224 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=4 + +_global_script_classes=[ ] +_global_script_class_icons={ + +} + +[application] + +config/name="Thrive" +config/description="Thrive is an open source evolution simulation game. +Play as a microbe on an alien world trying to survive and adapt to your surroundings in order to thrive. + +https://revolutionarygamesstudio.com/" +run/main_scene="res://src/gui_common/MainMenu.tscn" +config/use_custom_user_dir=true +config/custom_user_dir_name="Thrive" +boot_splash/image="res://assets/misc/thrive_logo_big.png" +boot_splash/bg_color=Color( 0, 0, 0, 1 ) +config/icon="res://assets/misc/icon.png" +config/windows_native_icon="res://assets/misc/icon.ico" + +[autoload] + +StartupActions="*res://src/engine/StartupActions.cs" +SimulationParameters="*res://simulation_parameters/SimulationParameters.cs" +Invoke="*res://src/engine/Invoke.cs" +GUICommon="*res://src/gui_common/GUICommon.cs" +SceneManager="*res://src/engine/SceneManager.cs" +SaveStatusOverlay="*res://src/saving/SaveStatusOverlay.tscn" +ColourblindScreenFilter="*res://src/engine/ColourblindScreenFilter.tscn" +LoadingScreen="*res://src/engine/LoadingScreen.tscn" +FPSCounter="*res://src/engine/FPSCounter.tscn" +OverlayManager="*res://src/engine/OverlayManager.cs" +TransitionManager="*res://src/gui_common/TransitionManager.cs" +CursorLoader="*res://src/engine/CursorLoader.cs" +ScreenShotTaker="*res://src/engine/ScreenShotTaker.cs" +QuickLoadHandler="*res://src/gui_common/QuickLoadHandler.cs" +Jukebox="*res://src/general/Jukebox.cs" +TemporaryLoadedNodeDeleter="*res://src/saving/TemporaryLoadedNodeDeleter.cs" +PostStartupActions="*res://src/engine/PostStartupActions.cs" + +[debug] + +settings/fps/force_fps=400 + +[display] + +window/size/width=1280 +window/size/height=720 +window/dpi/allow_hidpi=true +mouse_cursor/custom_image="res://assets/textures/gui/cursors/default.png" +window/stretch/mode="2d" +window/stretch/aspect="expand" + +[editor] + +search_in_file_extensions=PoolStringArray( "gd", "shader", "cs" ) + +[input] + +g_move_forward={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null) + ] +} +g_move_backwards={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null) + ] +} +g_move_left={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null) + ] +} +g_move_right={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null) + ] +} +g_cheat_glucose={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":79,"unicode":0,"echo":false,"script":null) + ] +} +g_cheat_ammonia={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":76,"unicode":0,"echo":false,"script":null) + ] +} +g_cheat_phosphates={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":73,"unicode":0,"echo":false,"script":null) + ] +} +g_cheat_editor={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":80,"unicode":0,"echo":false,"script":null) + ] +} +g_zoom_out={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777347,"unicode":0,"echo":false,"script":null) +, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":5,"pressed":false,"doubleclick":false,"script":null) + ] +} +g_zoom_in={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777349,"unicode":0,"echo":false,"script":null) +, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":4,"pressed":false,"doubleclick":false,"script":null) + ] +} +g_toggle_engulf={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":71,"unicode":0,"echo":false,"script":null) + ] +} +g_fire_toxin={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":69,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":7,"pressure":0.0,"pressed":false,"script":null) + ] +} +e_rotate_right={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":5,"pressure":0.0,"pressed":false,"script":null) + ] +} +e_rotate_left={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":4,"pressure":0.0,"pressed":false,"script":null) + ] +} +e_undo={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null) + ] +} +e_redo={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":true,"meta":false,"command":true,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":89,"unicode":0,"echo":false,"script":null) + ] +} +e_primary={ +"deadzone": 0.5, +"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null) + ] +} +e_secondary={ +"deadzone": 0.5, +"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":2,"pressed":false,"doubleclick":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null) + ] +} +toggle_FPS={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777246,"unicode":0,"echo":false,"script":null) + ] +} +g_hold_forward={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":88,"unicode":0,"echo":false,"script":null) + ] +} +g_quick_save={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777248,"unicode":0,"echo":false,"script":null) + ] +} +quick_load={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777252,"unicode":0,"echo":false,"script":null) + ] +} +screenshot={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777255,"unicode":0,"echo":false,"script":null) + ] +} + +[layer_names] + +3d_physics/layer_1="Common" +3d_physics/layer_2="Microbe" + +[locale] + +translations=PoolStringArray( "res://assets/locales/text.en.translation", "res://assets/locales/text.ru.translation" ) + +[logging] + +file_logging/enable_file_logging=true + +[physics] + +3d/default_gravity=9.81 + +[rendering] + +quality/driver/fallback_to_gles2=true +environment/default_environment="res://default_env.tres" diff --git a/src/gui_common/MainMenu.tscn b/src/gui_common/MainMenu.tscn new file mode 100644 index 0000000..9cd72cf --- /dev/null +++ b/src/gui_common/MainMenu.tscn @@ -0,0 +1,313 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://src/gui_common/MainMenu.cs" type="Script" id=1] +[ext_resource path="res://src/gui_common/thrive_theme.tres" type="Theme" id=2] +[ext_resource path="res://assets/textures/gui/logo.png" type="Texture" id=3] +[ext_resource path="res://src/general/OptionsMenu.tscn" type="PackedScene" id=4] +[ext_resource path="res://src/gui_common/VersionNumber.cs" type="Script" id=5] +[ext_resource path="res://assets/textures/gui/BG_Menu02.png" type="Texture" id=6] +[ext_resource path="res://assets/textures/gui/BG_Menu01.png" type="Texture" id=7] +[ext_resource path="res://assets/textures/gui/BG_Menu03.png" type="Texture" id=8] +[ext_resource path="res://src/saving/SaveManagerGUI.tscn" type="PackedScene" id=9] + +[sub_resource type="Animation" id=1] +resource_name = "MenuSlide" +length = 0.6 +tracks/0/type = "value" +tracks/0/path = NodePath("MenuContainers/MenuCenterContainer:rect_size") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.2, 0.3, 0.6 ), +"transitions": PoolRealArray( 0.5, 2, 0.5, 0.5 ), +"update": 0, +"values": [ Vector2( 1280, 505 ), Vector2( 1280, 0 ), Vector2( 1280, 0 ), Vector2( 1280, 505 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("MenuContainers/MenuCenterContainer:anchor_top") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.2, 0.3, 0.6 ), +"transitions": PoolRealArray( 0.5, 2, 0.5, 0.5 ), +"update": 0, +"values": [ 0.5, 0.7, 0.7, 0.5 ] +} +tracks/2/type = "method" +tracks/2/path = NodePath(".") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0.3 ), +"transitions": PoolRealArray( 1 ), +"values": [ { +"args": [ ], +"method": "SwitchMenu" +} ] +} + +[node name="MainMenu" type="Node"] +script = ExtResource( 1 ) +__meta__ = { +"_editor_description_": "The root and controller for the main menu" +} +ThriveLogoPath = NodePath("MenuContainers/LogoCenterContainer/Logo") +MenuBackgrounds = [ ExtResource( 7 ), ExtResource( 6 ), ExtResource( 8 ) ] +NewGameButtonPath = NodePath("MenuContainers/MenuCenterContainer/MenuItems/MainMenu/NewGame") +FreebuildButtonPath = NodePath("MenuContainers/MenuCenterContainer/MenuItems/Tools/Freebuild Editor") + +[node name="Background" type="TextureRect" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +expand = true +stretch_mode = 7 +__meta__ = { +"_edit_use_anchors_": false, +"_editor_description_": "Randomizeable background" +} + +[node name="MenuContainers" type="Node" parent="."] +__meta__ = { +"_editor_description_": "The UI for the main menu is contained here" +} + +[node name="LogoCenterContainer" type="CenterContainer" parent="MenuContainers"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -637.35 +margin_top = -360.0 +margin_right = 642.65 +margin_bottom = -72.0 +__meta__ = { +"_edit_use_anchors_": true, +"_editor_description_": "Centering fo the Thrive logo" +} + +[node name="Logo" type="TextureRect" parent="MenuContainers/LogoCenterContainer"] +margin_left = 556.0 +margin_top = 60.0 +margin_right = 723.0 +margin_bottom = 228.0 +texture = ExtResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MenuCenterContainer" type="CenterContainer" parent="MenuContainers"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.85 +margin_left = -639.183 +margin_top = -145.0 +margin_right = 640.817 +margin_bottom = 108.0 +rect_clip_content = true +__meta__ = { +"_edit_use_anchors_": false, +"_editor_description_": "Centering for the menu items" +} + +[node name="MenuItems" type="Control" parent="MenuContainers/MenuCenterContainer"] +margin_left = 640.0 +margin_top = 252.0 +margin_right = 640.0 +margin_bottom = 252.0 +theme = ExtResource( 2 ) +__meta__ = { +"_editor_description_": "All of the menu stuff goes here" +} + +[node name="MainMenu" type="VBoxContainer" parent="MenuContainers/MenuCenterContainer/MenuItems" groups=[ +"MenuItem", +]] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -125.0 +margin_top = -150.0 +margin_right = 125.0 +margin_bottom = 190.0 +custom_constants/separation = 10 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="NewGame" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"] +margin_right = 250.0 +margin_bottom = 40.0 +rect_min_size = Vector2( 250, 40 ) +focus_mode = 0 +mouse_filter = 1 +enabled_focus_mode = 0 +text = "NEW_GAME" + +[node name="LoadGame" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"] +margin_top = 50.0 +margin_right = 250.0 +margin_bottom = 90.0 +rect_min_size = Vector2( 250, 40 ) +focus_mode = 0 +mouse_filter = 1 +enabled_focus_mode = 0 +text = "LOAD_GAME" + +[node name="Options" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"] +margin_top = 100.0 +margin_right = 250.0 +margin_bottom = 140.0 +rect_min_size = Vector2( 250, 40 ) +focus_mode = 0 +mouse_filter = 1 +enabled_focus_mode = 0 +text = "OPTIONS" + +[node name="Tools" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"] +margin_top = 150.0 +margin_right = 250.0 +margin_bottom = 190.0 +rect_min_size = Vector2( 250, 40 ) +focus_mode = 0 +mouse_filter = 1 +enabled_focus_mode = 0 +text = "TOOLS" + +[node name="Extras" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"] +margin_top = 200.0 +margin_right = 250.0 +margin_bottom = 240.0 +rect_min_size = Vector2( 250, 40 ) +mouse_filter = 1 +disabled = true +enabled_focus_mode = 0 +text = "EXTRAS" + +[node name="Credits" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"] +margin_top = 250.0 +margin_right = 250.0 +margin_bottom = 290.0 +rect_min_size = Vector2( 250, 40 ) +mouse_filter = 1 +disabled = true +enabled_focus_mode = 0 +text = "CREDITS" + +[node name="Quit" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/MainMenu"] +margin_top = 300.0 +margin_right = 250.0 +margin_bottom = 340.0 +rect_min_size = Vector2( 250, 40 ) +focus_mode = 0 +mouse_filter = 1 +enabled_focus_mode = 0 +text = "QUIT" + +[node name="Tools" type="VBoxContainer" parent="MenuContainers/MenuCenterContainer/MenuItems" groups=[ +"MenuItem", +]] +visible = false +margin_left = -125.0 +margin_top = -150.0 +margin_right = 125.0 +margin_bottom = 90.0 +custom_constants/separation = 10 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Freebuild Editor" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"] +margin_right = 250.0 +margin_bottom = 40.0 +rect_min_size = Vector2( 250, 40 ) +focus_mode = 0 +mouse_filter = 1 +enabled_focus_mode = 0 +text = "Microbe Freebuild Editor" + +[node name="\?\?" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"] +margin_top = 50.0 +margin_right = 250.0 +margin_bottom = 90.0 +rect_min_size = Vector2( 250, 40 ) +mouse_filter = 1 +disabled = true +enabled_focus_mode = 0 +text = "???" + +[node name="\?\?_2" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"] +margin_top = 100.0 +margin_right = 250.0 +margin_bottom = 140.0 +rect_min_size = Vector2( 250, 40 ) +mouse_filter = 1 +disabled = true +enabled_focus_mode = 0 +text = "???" + +[node name="\?\?_3" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"] +margin_top = 150.0 +margin_right = 250.0 +margin_bottom = 190.0 +rect_min_size = Vector2( 250, 40 ) +mouse_filter = 1 +disabled = true +enabled_focus_mode = 0 +text = "???" + +[node name="Back" type="Button" parent="MenuContainers/MenuCenterContainer/MenuItems/Tools"] +margin_top = 200.0 +margin_right = 250.0 +margin_bottom = 240.0 +rect_min_size = Vector2( 250, 40 ) +focus_mode = 0 +mouse_filter = 1 +enabled_focus_mode = 0 +text = "BACK" + +[node name="OptionsMenu" parent="." instance=ExtResource( 4 )] +visible = false + +[node name="SaveManagerGUI" parent="." instance=ExtResource( 9 )] +visible = false + +[node name="VersionNumber" type="Label" parent="."] +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -298.0 +margin_top = -23.0 +grow_horizontal = 2 +grow_vertical = 2 +mouse_filter = 1 +size_flags_horizontal = 3 +size_flags_vertical = 6 +theme = ExtResource( 2 ) +text = "x.y.z" +align = 2 +valign = 2 +clip_text = true +max_lines_visible = 1 +script = ExtResource( 5 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="GUIAnimations" type="AnimationPlayer" parent="."] +anims/MenuSlide = SubResource( 1 ) +[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/NewGame" to="." method="NewGamePressed"] +[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/LoadGame" to="." method="LoadGamePressed"] +[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/Options" to="." method="OptionsPressed"] +[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/Tools" to="." method="ToolsPressed"] +[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/MainMenu/Quit" to="." method="QuitPressed"] +[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/Tools/Freebuild Editor" to="." method="FreebuildEditorPressed"] +[connection signal="pressed" from="MenuContainers/MenuCenterContainer/MenuItems/Tools/Back" to="." method="BackFromToolsPressed"] +[connection signal="OnOptionsClosed" from="OptionsMenu" to="." method="OnReturnFromOptions"] +[connection signal="OnBackPressed" from="SaveManagerGUI" to="." method="OnReturnFromLoadGame"] diff --git a/src/microbe_stage/MicrobeStage.tscn b/src/microbe_stage/MicrobeStage.tscn new file mode 100644 index 0000000..c185094 --- /dev/null +++ b/src/microbe_stage/MicrobeStage.tscn @@ -0,0 +1,1857 @@ +[gd_scene load_steps=114 format=2] + +[ext_resource path="res://src/microbe_stage/MicrobeStage.cs" type="Script" id=1] +[ext_resource path="res://src/microbe_stage/MicrobeCamera.tscn" type="PackedScene" id=2] +[ext_resource path="res://assets/textures/gui/bevel/AmmoniaInv.png" type="Texture" id=3] +[ext_resource path="res://assets/textures/gui/bevel/PhosphateInv.png" type="Texture" id=4] +[ext_resource path="res://assets/textures/gui/bevel/PhosphatesBW.png" type="Texture" id=5] +[ext_resource path="res://assets/sounds/soundeffects/microbe-pickup-organelle.ogg" type="AudioStream" id=6] +[ext_resource path="res://src/microbe_stage/PlayerMicrobeInput.cs" type="Script" id=7] +[ext_resource path="res://src/microbe_stage/gui/WinBox.tscn" type="PackedScene" id=8] +[ext_resource path="res://src/microbe_stage/MicrobeHUD.cs" type="Script" id=9] +[ext_resource path="res://src/microbe_stage/CompoundCloudSystem.cs" type="Script" id=10] +[ext_resource path="res://src/general/PauseMenu.tscn" type="PackedScene" id=11] +[ext_resource path="res://assets/fonts/Jura-DemiBold.ttf" type="DynamicFontData" id=12] +[ext_resource path="res://assets/textures/gui/bevel/CompoundPanelShortened.png" type="Texture" id=13] +[ext_resource path="res://assets/textures/gui/bevel/environmentPanelShortened.png" type="Texture" id=14] +[ext_resource path="res://assets/textures/gui/bevel/agentsPanel.png" type="Texture" id=15] +[ext_resource path="res://assets/textures/gui/bevel/helpButton.png" type="Texture" id=16] +[ext_resource path="res://assets/textures/gui/bevel/searchButton.png" type="Texture" id=17] +[ext_resource path="res://assets/textures/gui/bevel/MainMenu.png" type="Texture" id=18] +[ext_resource path="res://assets/textures/gui/bevel/suicideButton.png" type="Texture" id=19] +[ext_resource path="res://assets/textures/gui/bevel/statisticsButton.png" type="Texture" id=20] +[ext_resource path="res://assets/textures/gui/bevel/chemicalButton.png" type="Texture" id=21] +[ext_resource path="res://assets/textures/gui/bevel/compoundsButton.png" type="Texture" id=22] +[ext_resource path="res://assets/textures/gui/bevel/pauseButton.png" type="Texture" id=23] +[ext_resource path="res://assets/textures/gui/bevel/MainMenuActive.png" type="Texture" id=24] +[ext_resource path="res://assets/textures/gui/bevel/MainMenuHover.png" type="Texture" id=25] +[ext_resource path="res://assets/textures/gui/bevel/compoundsButtonHover.png" type="Texture" id=26] +[ext_resource path="res://assets/textures/gui/bevel/searchButtonHover.png" type="Texture" id=27] +[ext_resource path="res://assets/textures/gui/bevel/suicideButtonHover.png" type="Texture" id=28] +[ext_resource path="res://assets/textures/gui/bevel/statisticsButtonActive.png" type="Texture" id=29] +[ext_resource path="res://assets/textures/gui/bevel/chemicalButtonActive.png" type="Texture" id=30] +[ext_resource path="res://assets/textures/gui/bevel/chemicalButtonHover.png" type="Texture" id=31] +[ext_resource path="res://assets/textures/gui/bevel/searchButtonActive.png" type="Texture" id=32] +[ext_resource path="res://assets/textures/gui/bevel/pauseButtonHover.png" type="Texture" id=33] +[ext_resource path="res://assets/textures/gui/bevel/statisticsButtonHover.png" type="Texture" id=34] +[ext_resource path="res://assets/textures/gui/bevel/compoundsButtonActive.png" type="Texture" id=35] +[ext_resource path="res://assets/textures/gui/bevel/pauseButtonActive.png" type="Texture" id=36] +[ext_resource path="res://assets/textures/gui/bevel/helpButtonActive.png" type="Texture" id=37] +[ext_resource path="res://assets/textures/gui/bevel/helpButtonHover.png" type="Texture" id=38] +[ext_resource path="res://assets/textures/gui/bevel/LargeTwoNormal.png" type="Texture" id=39] +[ext_resource path="res://assets/textures/gui/bevel/LargeTwoHover.png" type="Texture" id=40] +[ext_resource path="res://assets/textures/gui/bevel/LargeTwoDisabled.png" type="Texture" id=41] +[ext_resource path="res://assets/textures/gui/bevel/compressPanel.png" type="Texture" id=42] +[ext_resource path="res://assets/textures/gui/bevel/expandPanel.png" type="Texture" id=43] +[ext_resource path="res://assets/textures/gui/bevel/expandPanelActive.png" type="Texture" id=44] +[ext_resource path="res://assets/textures/gui/bevel/compressPanelActive.png" type="Texture" id=45] +[ext_resource path="res://assets/textures/gui/bevel/Glucose.png" type="Texture" id=46] +[ext_resource path="res://assets/textures/gui/bevel/HydrogenSulfide.png" type="Texture" id=47] +[ext_resource path="res://assets/textures/gui/bevel/Ammonia.png" type="Texture" id=48] +[ext_resource path="res://assets/textures/gui/bevel/Iron.png" type="Texture" id=49] +[ext_resource path="res://assets/textures/gui/bevel/Phosphates.png" type="Texture" id=50] +[ext_resource path="res://assets/textures/gui/bevel/Oxygen.png" type="Texture" id=51] +[ext_resource path="res://assets/textures/gui/bevel/Pressure.png" type="Texture" id=52] +[ext_resource path="res://assets/textures/gui/bevel/Sunlight.png" type="Texture" id=53] +[ext_resource path="res://assets/textures/gui/bevel/Temperature.png" type="Texture" id=54] +[ext_resource path="res://assets/textures/gui/bevel/CarbonDioxide.png" type="Texture" id=55] +[ext_resource path="res://assets/textures/gui/bevel/Nitrogen.png" type="Texture" id=56] +[ext_resource path="res://assets/textures/gui/bevel/OxytoxyNT.png" type="Texture" id=57] +[ext_resource path="res://assets/textures/gui/bevel/HealthBarFg.png" type="Texture" id=58] +[ext_resource path="res://assets/textures/gui/bevel/AtpBarFg.png" type="Texture" id=59] +[ext_resource path="res://assets/textures/gui/bevel/ATP.png" type="Texture" id=60] +[ext_resource path="res://assets/textures/gui/bevel/Hitpoints.png" type="Texture" id=61] +[ext_resource path="res://assets/textures/gui/bevel/dataValueBackground.png" type="Texture" id=62] +[ext_resource path="res://assets/textures/gui/bevel/AtpBarBg.png" type="Texture" id=63] +[ext_resource path="res://assets/textures/gui/bevel/HealthBarBg.png" type="Texture" id=64] +[ext_resource path="res://assets/textures/gui/bevel/ReproductionBar.png" type="Texture" id=65] +[ext_resource path="res://assets/fonts/Jura-Medium.ttf" type="DynamicFontData" id=66] +[ext_resource path="res://src/engine/ChromaticFilter.tscn" type="PackedScene" id=67] +[ext_resource path="res://assets/fonts/thrive.ttf" type="DynamicFontData" id=69] +[ext_resource path="res://src/microbe_stage/gui/ExtinctionBox.tscn" type="PackedScene" id=70] +[ext_resource path="res://assets/textures/gui/bevel/AmmoniaBW.png" type="Texture" id=71] +[ext_resource path="res://assets/textures/gui/bevel/pauseButtonPausedHover.png" type="Texture" id=78] +[ext_resource path="res://assets/textures/gui/bevel/pauseButtonPaused.png" type="Texture" id=79] + +[sub_resource type="DynamicFont" id=1] +size = 15 +font_data = ExtResource( 12 ) + +[sub_resource type="Theme" id=2] +default_font = SubResource( 1 ) + +[sub_resource type="StyleBoxFlat" id=3] +bg_color = Color( 0, 0.0745098, 0.0823529, 0.588235 ) +border_width_left = 1 +border_width_top = 1 +border_width_right = 1 +border_width_bottom = 1 +border_color = Color( 0.0666667, 1, 0.835294, 1 ) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 + +[sub_resource type="StyleBoxEmpty" id=4] + +[sub_resource type="DynamicFont" id=5] +size = 20 +font_data = ExtResource( 12 ) + +[sub_resource type="StyleBoxTexture" id=6] +texture = ExtResource( 43 ) +region_rect = Rect2( 0, 0, 20, 20 ) +expand_margin_left = 1.0 +expand_margin_right = 1.0 +expand_margin_top = 1.0 +expand_margin_bottom = 1.0 + +[sub_resource type="StyleBoxTexture" id=7] +texture = ExtResource( 44 ) +region_rect = Rect2( 0, 0, 20, 20 ) +expand_margin_left = 1.0 +expand_margin_right = 1.0 +expand_margin_top = 1.0 +expand_margin_bottom = 1.0 + +[sub_resource type="StyleBoxTexture" id=8] +texture = ExtResource( 43 ) +region_rect = Rect2( 0, 0, 20, 20 ) + +[sub_resource type="ButtonGroup" id=9] + +[sub_resource type="StyleBoxTexture" id=10] +texture = ExtResource( 42 ) +region_rect = Rect2( 0, 0, 20, 20 ) + +[sub_resource type="StyleBoxTexture" id=11] +texture = ExtResource( 45 ) +region_rect = Rect2( 0, 0, 20, 20 ) +expand_margin_left = 1.0 +expand_margin_right = 1.0 +expand_margin_top = 1.0 +expand_margin_bottom = 1.0 + +[sub_resource type="StyleBoxTexture" id=12] +texture = ExtResource( 42 ) +region_rect = Rect2( 0, 0, 20, 20 ) + +[sub_resource type="StyleBoxFlat" id=13] +bg_color = Color( 0, 0.596078, 0.764706, 1 ) + +[sub_resource type="StyleBoxFlat" id=14] +bg_color = Color( 0, 0, 0, 0.196078 ) + +[sub_resource type="DynamicFont" id=15] +size = 14 +font_data = ExtResource( 12 ) + +[sub_resource type="StyleBoxFlat" id=16] +bg_color = Color( 0.141176, 0.278431, 0.682353, 1 ) + +[sub_resource type="StyleBoxFlat" id=17] +bg_color = Color( 0.407843, 0.698039, 0.431373, 1 ) + +[sub_resource type="ButtonGroup" id=18] + +[sub_resource type="StyleBoxTexture" id=19] +texture = ExtResource( 42 ) +region_rect = Rect2( 0, 0, 20, 20 ) + +[sub_resource type="StyleBoxTexture" id=20] +texture = ExtResource( 45 ) +region_rect = Rect2( 0, 0, 20, 20 ) +expand_margin_left = 1.0 +expand_margin_right = 1.0 +expand_margin_top = 1.0 +expand_margin_bottom = 1.0 + +[sub_resource type="StyleBoxTexture" id=21] +texture = ExtResource( 42 ) +region_rect = Rect2( 0, 0, 20, 20 ) + +[sub_resource type="StyleBoxFlat" id=22] +bg_color = Color( 0.568627, 0.611765, 0.615686, 1 ) + +[sub_resource type="StyleBoxFlat" id=23] +bg_color = Color( 0, 0, 0, 0.196078 ) + +[sub_resource type="DynamicFont" id=24] +size = 14 +font_data = ExtResource( 12 ) + +[sub_resource type="StyleBoxFlat" id=25] +bg_color = Color( 0.631373, 0.396078, 0, 1 ) + +[sub_resource type="StyleBoxFlat" id=26] +bg_color = Color( 0.380392, 0.141176, 0.8, 1 ) + +[sub_resource type="StyleBoxFlat" id=27] +bg_color = Color( 0.462745, 0.470588, 0.184314, 1 ) + +[sub_resource type="StyleBoxFlat" id=28] +bg_color = Color( 0.541176, 0.141176, 0.0745098, 1 ) + +[sub_resource type="StyleBoxTexture" id=29] +texture = ExtResource( 15 ) +region_rect = Rect2( 0, 0, 250, 91 ) + +[sub_resource type="StyleBoxFlat" id=30] +bg_color = Color( 0.623529, 0.0745098, 0.376471, 1 ) + +[sub_resource type="StyleBoxFlat" id=31] +bg_color = Color( 0, 0, 0, 0.196078 ) + +[sub_resource type="DynamicFont" id=32] +size = 14 +font_data = ExtResource( 12 ) + +[sub_resource type="StyleBoxEmpty" id=33] + +[sub_resource type="DynamicFont" id=34] +size = 25 +font_data = ExtResource( 66 ) + +[sub_resource type="StyleBoxFlat" id=35] +bg_color = Color( 0.47451, 0.560784, 0.588235, 0.392157 ) +border_width_left = 2 +border_width_top = 2 +border_width_right = 2 +border_width_bottom = 2 +border_color = Color( 0.533333, 0.745098, 0.815686, 0.392157 ) + +[sub_resource type="DynamicFont" id=36] +size = 13 +font_data = ExtResource( 12 ) + +[sub_resource type="StyleBoxTexture" id=37] +texture = ExtResource( 62 ) +region_rect = Rect2( 0, 0, 86, 52 ) + +[sub_resource type="DynamicFont" id=38] +size = 14 +font_data = ExtResource( 69 ) + +[sub_resource type="Animation" id=39] +length = 5.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Highlight:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 1.1, 2.5, 3.5, 4.5 ), +"transitions": PoolRealArray( 0.5, 1, 0.5, 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Highlight/Light2D:energy") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 1.1, 2.5, 3.5, 4.5 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ 1.0, 1.0, 0.0, 0.0, 1.0 ] +} + +[sub_resource type="Animation" id=40] +tracks/0/type = "value" +tracks/0/path = NodePath("LeftPanels:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("LeftPanels:rect_position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 2, 1 ), +"update": 0, +"values": [ Vector2( 10, 89 ), Vector2( -300, 89 ) ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("LeftPanels:visible") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 1, +"values": [ true, false ] +} + +[sub_resource type="Animation" id=41] +tracks/0/type = "value" +tracks/0/path = NodePath("LeftPanels:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("LeftPanels:rect_position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.4 ), +"transitions": PoolRealArray( 0.5, 1 ), +"update": 0, +"values": [ Vector2( -300, 89 ), Vector2( 10, 89 ) ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("LeftPanels:visible") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ true ] +} + +[node name="MicrobeStage" type="Node"] +process_priority = -1 +script = ExtResource( 1 ) + +[node name="World" type="Node" parent="."] + +[node name="PrimaryCamera" parent="World" instance=ExtResource( 2 )] +pause_mode = 2 + +[node name="DynamicallySpawned" type="Node" parent="World"] + +[node name="CompoundClouds" type="Node" parent="World"] +script = ExtResource( 10 ) + +[node name="WorldLight" type="DirectionalLight" parent="World"] +transform = Transform( -0.687551, 0.322878, -0.650403, 0.0453496, 0.913048, 0.405323, 0.724719, 0.249185, -0.642409, 0, 1.19209e-07, 0 ) +shadow_enabled = true + +[node name="PlayerMicrobeInput" type="Node" parent="."] +script = ExtResource( 7 ) + +[node name="ChromaticFilter" parent="." instance=ExtResource( 67 )] + +[node name="MicrobeHUD" type="Node" parent="."] +pause_mode = 2 +script = ExtResource( 9 ) +__meta__ = { +"_editor_description_": "" +} +AnimationPlayerPath = NodePath("AnimationPlayer") +LeftPanelsPath = NodePath("LeftPanels") +MouseHoverPanelPath = NodePath("MouseHoverPanel") +HoveredItemsContainerPath = NodePath("MouseHoverPanel/MarginContainer/VBoxContainer/HoveredItems") +MenuPath = NodePath("CanvasLayer/PauseMenu") +PauseButtonPath = NodePath("BottomBar/PauseButtonMargin/Pause") +ResumeButtonPath = NodePath("BottomBar/PauseButtonMargin/Resume") +AtpLabelPath = NodePath("BottomRight/DataValue/Margin/VBox/ATPValue") +HpLabelPath = NodePath("BottomRight/DataValue/Margin/VBox/HPValue") +PopulationLabelPath = NodePath("BottomRight/PopulationData/Value") +PatchLabelPath = NodePath("BottomBar/PatchLabel") +EditorButtonPath = NodePath("BottomRight/EditorButton") +EnvironmentPanelPath = NodePath("LeftPanels/EnvironmentPanel") +OxygenBarPath = NodePath("LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Oxygen") +Co2BarPath = NodePath("LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/CarbonDioxide") +NitrogenBarPath = NodePath("LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Nitrogen") +TemperaturePath = NodePath("LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Temperature") +SunlightPath = NodePath("LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Sunlight") +PressurePath = NodePath("LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Pressure") +EnvironmentPanelBarContainerPath = NodePath("LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer") +CompoundsPanelPath = NodePath("LeftPanels/CompoundsPanel") +GlucoseBarPath = NodePath("LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/glucose") +AmmoniaBarPath = NodePath("LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/ammonia") +PhosphateBarPath = NodePath("LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/phosphates") +HydrogenSulfideBarPath = NodePath("LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/hydrogensulfide") +IronBarPath = NodePath("LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/iron") +CompoundsPanelBarContainerPath = NodePath("LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer") +AgentsPanelPath = NodePath("LeftPanels/AgentsPanel") +OxytoxyBarPath = NodePath("LeftPanels/AgentsPanel/VBoxContainer/MarginContainer2/BarContainer/oxytoxy") +AgentsPanelBarContainerPath = NodePath("LeftPanels/AgentsPanel/VBoxContainer/MarginContainer2/BarContainer") +AtpBarPath = NodePath("BottomRight/ATPBar") +HealthBarPath = NodePath("BottomRight/HealthBar") +AmmoniaReproductionBarPath = NodePath("BottomRight/EditorButton/ReproductionBar/AmmoniaReproductionBar") +PhosphateReproductionBarPath = NodePath("BottomRight/EditorButton/ReproductionBar/PhosphateReproductionBar") +ExtinctionBoxScene = ExtResource( 70 ) +WinBoxScene = ExtResource( 8 ) +MicrobePickupOrganelleSound = ExtResource( 6 ) +AmmoniaBW = ExtResource( 71 ) +PhosphatesBW = ExtResource( 5 ) +AmmoniaInv = ExtResource( 3 ) +PhosphatesInv = ExtResource( 4 ) + +[node name="MouseHoverPanel" type="PanelContainer" parent="MicrobeHUD"] +anchor_left = 1.0 +anchor_right = 1.0 +margin_left = -280.0 +margin_top = 10.0 +margin_right = -10.0 +margin_bottom = 140.0 +grow_horizontal = 0 +theme = SubResource( 2 ) +custom_styles/panel = SubResource( 3 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MarginContainer" type="MarginContainer" parent="MicrobeHUD/MouseHoverPanel"] +margin_left = 1.0 +margin_top = 1.0 +margin_right = 269.0 +margin_bottom = 129.0 +custom_constants/margin_right = 10 +custom_constants/margin_top = 10 +custom_constants/margin_left = 10 +custom_constants/margin_bottom = 10 + +[node name="VBoxContainer" type="VBoxContainer" parent="MicrobeHUD/MouseHoverPanel/MarginContainer"] +margin_left = 10.0 +margin_top = 10.0 +margin_right = 258.0 +margin_bottom = 118.0 + +[node name="MousePos" type="Label" parent="MicrobeHUD/MouseHoverPanel/MarginContainer/VBoxContainer"] +margin_right = 248.0 +margin_bottom = 17.0 +text = "STUFF_AT" +align = 1 + +[node name="HSeparator" type="HSeparator" parent="MicrobeHUD/MouseHoverPanel/MarginContainer/VBoxContainer"] +margin_top = 21.0 +margin_right = 248.0 +margin_bottom = 26.0 +rect_min_size = Vector2( 0, 5 ) +custom_styles/separator = SubResource( 4 ) + +[node name="HoveredItems" type="VBoxContainer" parent="MicrobeHUD/MouseHoverPanel/MarginContainer/VBoxContainer"] +margin_top = 30.0 +margin_right = 248.0 +margin_bottom = 30.0 + +[node name="LeftPanels" type="VBoxContainer" parent="MicrobeHUD"] +anchor_top = 1.0 +anchor_bottom = 1.0 +margin_left = 10.0 +margin_top = -631.0 +margin_right = 263.0 +margin_bottom = -59.0 +mouse_filter = 2 +size_flags_horizontal = 0 +size_flags_vertical = 0 +custom_constants/separation = 10 +alignment = 2 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="EnvironmentPanel" type="NinePatchRect" parent="MicrobeHUD/LeftPanels"] +margin_right = 195.0 +margin_bottom = 224.0 +rect_min_size = Vector2( 195, 224 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource( 14 ) +patch_margin_left = 5 +patch_margin_top = 45 +patch_margin_right = 5 +patch_margin_bottom = 15 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="MicrobeHUD/LeftPanels/EnvironmentPanel"] +margin_right = 195.0 +margin_bottom = 224.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Header" type="MarginContainer" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer"] +margin_right = 195.0 +margin_bottom = 35.0 +rect_min_size = Vector2( 195, 35 ) +mouse_filter = 1 +custom_constants/margin_left = 10 + +[node name="HBoxContainer" type="HBoxContainer" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Header"] +margin_left = 10.0 +margin_right = 195.0 +margin_bottom = 35.0 +custom_constants/separation = 6 + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Header/HBoxContainer"] +margin_top = 6.0 +margin_right = 123.0 +margin_bottom = 28.0 +custom_fonts/font = SubResource( 5 ) +text = "ENVIRONMENT" + +[node name="MarginContainer4" type="MarginContainer" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Header/HBoxContainer"] +margin_left = 129.0 +margin_right = 149.0 +margin_bottom = 35.0 +custom_constants/margin_top = 8 +custom_constants/margin_bottom = 7 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="EnvironmentExpandButton" type="Button" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Header/HBoxContainer/MarginContainer4"] +margin_top = 8.0 +margin_right = 20.0 +margin_bottom = 28.0 +rect_min_size = Vector2( 20, 20 ) +focus_mode = 0 +custom_styles/hover = SubResource( 6 ) +custom_styles/pressed = SubResource( 7 ) +custom_styles/normal = SubResource( 8 ) +toggle_mode = true +pressed = true +action_mode = 0 +enabled_focus_mode = 0 +group = SubResource( 9 ) + +[node name="MarginContainer3" type="MarginContainer" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Header/HBoxContainer"] +margin_left = 155.0 +margin_right = 175.0 +margin_bottom = 35.0 +custom_constants/margin_top = 8 +custom_constants/margin_bottom = 7 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="EnvironmentCompressButton" type="Button" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Header/HBoxContainer/MarginContainer3"] +margin_top = 8.0 +margin_right = 20.0 +margin_bottom = 28.0 +rect_min_size = Vector2( 20, 20 ) +focus_mode = 0 +custom_styles/hover = SubResource( 10 ) +custom_styles/pressed = SubResource( 11 ) +custom_styles/normal = SubResource( 12 ) +toggle_mode = true +action_mode = 0 +enabled_focus_mode = 0 +group = SubResource( 9 ) + +[node name="Body" type="MarginContainer" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer"] +margin_top = 39.0 +margin_right = 195.0 +margin_bottom = 224.0 +rect_min_size = Vector2( 195, 185 ) +custom_constants/margin_top = 5 +custom_constants/margin_left = 22 +custom_constants/margin_bottom = 10 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="BarContainer" type="GridContainer" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body"] +margin_left = 22.0 +margin_top = 5.0 +margin_right = 195.0 +margin_bottom = 175.0 + +[node name="Oxygen" type="ProgressBar" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer"] +show_behind_parent = true +margin_right = 162.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 162, 25 ) +custom_styles/fg = SubResource( 13 ) +custom_styles/bg = SubResource( 14 ) +step = 0.1 +percent_visible = false + +[node name="OxygenIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Oxygen"] +margin_left = -15.0 +margin_right = 15.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 30, 25 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource( 51 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Oxygen"] +anchor_top = 0.5 +anchor_bottom = 0.5 +margin_left = 20.0 +margin_top = -12.5 +margin_right = 38.0 +margin_bottom = 12.5 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "02" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Oxygen"] +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +margin_left = -62.0 +margin_top = -12.5 +margin_right = -6.99998 +margin_bottom = 12.5 +grow_horizontal = 0 +rect_min_size = Vector2( 55, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "0%" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="CarbonDioxide" type="ProgressBar" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer"] +show_behind_parent = true +margin_top = 29.0 +margin_right = 162.0 +margin_bottom = 54.0 +rect_min_size = Vector2( 162, 25 ) +custom_styles/fg = SubResource( 16 ) +custom_styles/bg = SubResource( 14 ) +step = 0.1 +percent_visible = false + +[node name="CO2Icon" type="TextureRect" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/CarbonDioxide"] +margin_left = -15.0 +margin_right = 15.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 30, 25 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource( 55 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/CarbonDioxide"] +anchor_top = 0.5 +anchor_bottom = 0.5 +margin_left = 20.0 +margin_top = -12.5 +margin_right = 46.0 +margin_bottom = 12.5 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "CO2" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/CarbonDioxide"] +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +margin_left = -62.0 +margin_top = -12.5 +margin_right = -6.99998 +margin_bottom = 12.5 +grow_horizontal = 0 +rect_min_size = Vector2( 55, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "0%" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Nitrogen" type="ProgressBar" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer"] +show_behind_parent = true +margin_top = 58.0 +margin_right = 162.0 +margin_bottom = 83.0 +rect_min_size = Vector2( 162, 25 ) +custom_styles/fg = SubResource( 17 ) +custom_styles/bg = SubResource( 14 ) +step = 0.1 +percent_visible = false + +[node name="NitrogenIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Nitrogen"] +margin_left = -15.0 +margin_right = 15.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 30, 25 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource( 56 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Nitrogen"] +anchor_top = 0.5 +anchor_bottom = 0.5 +margin_left = 20.0 +margin_top = -12.5 +margin_right = 49.0 +margin_bottom = 12.5 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "N2" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Nitrogen"] +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +margin_left = -62.0 +margin_top = -12.5 +margin_right = -6.99998 +margin_bottom = 12.5 +grow_horizontal = 0 +rect_min_size = Vector2( 55, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "0%" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Temperature" type="ProgressBar" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer"] +self_modulate = Color( 1, 1, 1, 0 ) +show_behind_parent = true +margin_top = 87.0 +margin_right = 162.0 +margin_bottom = 112.0 +rect_min_size = Vector2( 162, 25 ) + +[node name="TemperatureIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Temperature"] +margin_left = -15.0 +margin_right = 15.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 30, 25 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource( 54 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Temperature"] +anchor_top = 0.5 +anchor_bottom = 0.5 +margin_left = 20.0 +margin_top = -12.5 +margin_right = 60.0 +margin_bottom = 12.5 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "TEMP_DOT" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Temperature"] +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +margin_left = -62.0 +margin_top = -12.5 +margin_right = -6.99998 +margin_bottom = 12.5 +grow_horizontal = 0 +rect_min_size = Vector2( 55, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "55° C" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Sunlight" type="ProgressBar" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer"] +self_modulate = Color( 1, 1, 1, 0 ) +show_behind_parent = true +margin_top = 116.0 +margin_right = 162.0 +margin_bottom = 141.0 +rect_min_size = Vector2( 162, 25 ) + +[node name="LightIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Sunlight"] +margin_left = -15.0 +margin_right = 15.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 30, 25 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource( 53 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Sunlight"] +anchor_top = 0.5 +anchor_bottom = 0.5 +margin_left = 20.0 +margin_top = -12.5 +margin_right = 66.0 +margin_bottom = 12.5 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "LIGHT" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Sunlight"] +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +margin_left = -62.0 +margin_top = -12.5 +margin_right = -6.99998 +margin_bottom = 12.5 +grow_horizontal = 0 +rect_min_size = Vector2( 55, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "0%" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Pressure" type="ProgressBar" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer"] +self_modulate = Color( 1, 1, 1, 0 ) +show_behind_parent = true +margin_top = 145.0 +margin_right = 162.0 +margin_bottom = 170.0 +rect_min_size = Vector2( 162, 25 ) + +[node name="PressureIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Pressure"] +margin_left = -15.0 +margin_right = 15.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 30, 25 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource( 52 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Pressure"] +anchor_top = 0.5 +anchor_bottom = 0.5 +margin_left = 20.0 +margin_top = -12.5 +margin_right = 69.0 +margin_bottom = 12.5 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "PRESS_DOT" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Body/BarContainer/Pressure"] +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +margin_left = -62.0 +margin_top = -12.5 +margin_right = -4.0 +margin_bottom = 12.5 +grow_horizontal = 0 +rect_min_size = Vector2( 55, 25 ) +custom_fonts/font = SubResource( 15 ) +text = "200_KPA" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="CompoundsPanel" type="NinePatchRect" parent="MicrobeHUD/LeftPanels"] +margin_top = 234.0 +margin_right = 253.0 +margin_bottom = 473.0 +rect_min_size = Vector2( 253, 239 ) +size_flags_horizontal = 0 +texture = ExtResource( 13 ) +patch_margin_left = 5 +patch_margin_top = 45 +patch_margin_right = 5 +patch_margin_bottom = 20 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="MicrobeHUD/LeftPanels/CompoundsPanel"] +margin_right = 252.0 +margin_bottom = 204.0 +rect_min_size = Vector2( 252, 0 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Header" type="MarginContainer" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer"] +margin_right = 252.0 +margin_bottom = 40.0 +rect_min_size = Vector2( 230, 40 ) +custom_constants/margin_left = 45 + +[node name="HBoxContainer" type="HBoxContainer" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Header"] +margin_left = 45.0 +margin_right = 252.0 +margin_bottom = 40.0 +custom_constants/separation = 6 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Header/HBoxContainer"] +margin_top = 9.0 +margin_right = 145.0 +margin_bottom = 31.0 +rect_min_size = Vector2( 145, 0 ) +custom_fonts/font = SubResource( 5 ) +text = "COMPOUNDS" + +[node name="MarginContainer3" type="MarginContainer" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Header/HBoxContainer"] +margin_left = 151.0 +margin_right = 171.0 +margin_bottom = 40.0 +rect_min_size = Vector2( 20, 20 ) +custom_constants/margin_top = 10 +custom_constants/margin_bottom = 10 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="CompoundExpandButton" type="Button" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Header/HBoxContainer/MarginContainer3"] +margin_top = 10.0 +margin_right = 20.0 +margin_bottom = 30.0 +rect_min_size = Vector2( 20, 20 ) +focus_mode = 0 +custom_styles/hover = SubResource( 6 ) +custom_styles/pressed = SubResource( 7 ) +custom_styles/normal = SubResource( 8 ) +toggle_mode = true +pressed = true +action_mode = 0 +enabled_focus_mode = 0 +group = SubResource( 18 ) + +[node name="MarginContainer4" type="MarginContainer" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Header/HBoxContainer"] +margin_left = 177.0 +margin_right = 197.0 +margin_bottom = 40.0 +custom_constants/margin_top = 10 +custom_constants/margin_bottom = 10 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="CompoundCompressButton" type="Button" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Header/HBoxContainer/MarginContainer4"] +margin_top = 10.0 +margin_right = 20.0 +margin_bottom = 30.0 +rect_min_size = Vector2( 20, 20 ) +focus_mode = 0 +custom_styles/hover = SubResource( 19 ) +custom_styles/pressed = SubResource( 20 ) +custom_styles/normal = SubResource( 21 ) +toggle_mode = true +action_mode = 0 +enabled_focus_mode = 0 +group = SubResource( 18 ) + +[node name="Body" type="MarginContainer" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer"] +margin_top = 44.0 +margin_right = 252.0 +margin_bottom = 209.0 +custom_constants/margin_right = 10 +custom_constants/margin_top = 5 +custom_constants/margin_left = 22 +custom_constants/margin_bottom = 15 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="BarContainer" type="GridContainer" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body"] +margin_left = 22.0 +margin_top = 5.0 +margin_right = 242.0 +margin_bottom = 150.0 +size_flags_horizontal = 0 +custom_constants/vseparation = 5 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="glucose" type="ProgressBar" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer" groups=[ +"CompoundBar", +]] +show_behind_parent = true +margin_right = 220.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 220, 25 ) +size_flags_horizontal = 0 +custom_styles/fg = SubResource( 22 ) +custom_styles/bg = SubResource( 23 ) +step = 0.1 +percent_visible = false + +[node name="AmmoniaIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/glucose"] +margin_left = -12.0 +margin_right = 13.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 25, 25 ) +texture = ExtResource( 46 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/glucose"] +margin_left = 20.0 +margin_right = 81.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "GLUCOSE" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/glucose"] +anchor_left = 1.0 +anchor_right = 1.0 +margin_left = -44.0 +margin_right = -4.0 +margin_bottom = 25.0 +grow_horizontal = 0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "0.0 / 4" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ammonia" type="ProgressBar" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer" groups=[ +"CompoundBar", +]] +show_behind_parent = true +margin_top = 30.0 +margin_right = 220.0 +margin_bottom = 55.0 +rect_min_size = Vector2( 220, 25 ) +size_flags_horizontal = 0 +custom_styles/fg = SubResource( 25 ) +custom_styles/bg = SubResource( 23 ) +step = 0.1 +percent_visible = false + +[node name="AmmoniaIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/ammonia"] +margin_left = -12.0 +margin_right = 13.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 25, 25 ) +texture = ExtResource( 48 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/ammonia"] +margin_left = 20.0 +margin_right = 81.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "AMMONIA" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/ammonia"] +anchor_left = 1.0 +anchor_right = 1.0 +margin_left = -44.0 +margin_right = -4.0 +margin_bottom = 25.0 +grow_horizontal = 0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "0.0 / 4" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="phosphates" type="ProgressBar" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer" groups=[ +"CompoundBar", +]] +show_behind_parent = true +margin_top = 60.0 +margin_right = 220.0 +margin_bottom = 85.0 +rect_min_size = Vector2( 220, 25 ) +size_flags_horizontal = 0 +custom_styles/fg = SubResource( 26 ) +custom_styles/bg = SubResource( 23 ) +step = 0.1 +percent_visible = false + +[node name="PhospateIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/phosphates"] +margin_left = -12.0 +margin_right = 13.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 25, 25 ) +texture = ExtResource( 50 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/phosphates"] +margin_left = 20.0 +margin_right = 95.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "PHOSPHATE" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/phosphates"] +anchor_left = 1.0 +anchor_right = 1.0 +margin_left = -44.0 +margin_right = -3.99998 +margin_bottom = 25.0 +grow_horizontal = 0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "0.0 / 4" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="hydrogensulfide" type="ProgressBar" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer" groups=[ +"CompoundBar", +]] +show_behind_parent = true +margin_top = 90.0 +margin_right = 220.0 +margin_bottom = 115.0 +rect_min_size = Vector2( 220, 25 ) +size_flags_horizontal = 0 +custom_styles/fg = SubResource( 27 ) +custom_styles/bg = SubResource( 23 ) +step = 0.1 +percent_visible = false + +[node name="HydrogenSulfideIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/hydrogensulfide"] +margin_left = -12.0 +margin_right = 13.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 25, 25 ) +texture = ExtResource( 47 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/hydrogensulfide"] +margin_left = 20.0 +margin_right = 141.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "HYDROGEN_SULFIDE" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/hydrogensulfide"] +anchor_left = 1.0 +anchor_right = 1.0 +margin_left = -44.0 +margin_right = -3.99998 +margin_bottom = 25.0 +grow_horizontal = 0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "0.0 / 4" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="iron" type="ProgressBar" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer" groups=[ +"CompoundBar", +]] +show_behind_parent = true +margin_top = 120.0 +margin_right = 220.0 +margin_bottom = 145.0 +rect_min_size = Vector2( 220, 25 ) +size_flags_horizontal = 0 +custom_styles/fg = SubResource( 28 ) +custom_styles/bg = SubResource( 23 ) +step = 0.1 +percent_visible = false + +[node name="IronIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/iron"] +margin_left = -12.0 +margin_right = 13.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 25, 25 ) +texture = ExtResource( 49 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/iron"] +margin_left = 20.0 +margin_right = 47.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "IRON" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Body/BarContainer/iron"] +anchor_left = 1.0 +anchor_right = 1.0 +margin_left = -44.0 +margin_right = -3.99998 +margin_bottom = 25.0 +grow_horizontal = 0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 24 ) +text = "0.0 / 4" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AgentsPanel" type="PanelContainer" parent="MicrobeHUD/LeftPanels"] +margin_top = 483.0 +margin_right = 252.0 +margin_bottom = 572.0 +rect_min_size = Vector2( 252, 89 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +custom_styles/panel = SubResource( 29 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="MicrobeHUD/LeftPanels/AgentsPanel"] +margin_right = 252.0 +margin_bottom = 89.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MarginContainer" type="MarginContainer" parent="MicrobeHUD/LeftPanels/AgentsPanel/VBoxContainer"] +margin_right = 252.0 +margin_bottom = 35.0 +rect_min_size = Vector2( 230, 35 ) +custom_constants/margin_left = 40 + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/AgentsPanel/VBoxContainer/MarginContainer"] +margin_left = 40.0 +margin_top = 6.0 +margin_right = 252.0 +margin_bottom = 28.0 +custom_fonts/font = SubResource( 5 ) +text = "AGENTS" + +[node name="MarginContainer2" type="MarginContainer" parent="MicrobeHUD/LeftPanels/AgentsPanel/VBoxContainer"] +margin_top = 39.0 +margin_right = 252.0 +margin_bottom = 89.0 +rect_min_size = Vector2( 240, 50 ) +custom_constants/margin_right = 10 +custom_constants/margin_top = 5 +custom_constants/margin_left = 22 +custom_constants/margin_bottom = 5 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="BarContainer" type="GridContainer" parent="MicrobeHUD/LeftPanels/AgentsPanel/VBoxContainer/MarginContainer2"] +margin_left = 22.0 +margin_top = 5.0 +margin_right = 242.0 +margin_bottom = 45.0 + +[node name="oxytoxy" type="ProgressBar" parent="MicrobeHUD/LeftPanels/AgentsPanel/VBoxContainer/MarginContainer2/BarContainer" groups=[ +"CompoundBar", +]] +margin_right = 220.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 220, 25 ) +size_flags_horizontal = 0 +custom_styles/fg = SubResource( 30 ) +custom_styles/bg = SubResource( 31 ) +step = 0.1 +percent_visible = false + +[node name="OxyToxyIcon" type="TextureRect" parent="MicrobeHUD/LeftPanels/AgentsPanel/VBoxContainer/MarginContainer2/BarContainer/oxytoxy"] +margin_left = -12.0 +margin_right = 13.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 25, 25 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource( 57 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/LeftPanels/AgentsPanel/VBoxContainer/MarginContainer2/BarContainer/oxytoxy"] +margin_left = 18.0 +margin_right = 97.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 32 ) +text = "OXYTOXY_NT" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/LeftPanels/AgentsPanel/VBoxContainer/MarginContainer2/BarContainer/oxytoxy"] +anchor_left = 1.0 +anchor_right = 1.0 +margin_left = -45.0 +margin_right = -4.99998 +margin_bottom = 25.0 +grow_horizontal = 0 +rect_min_size = Vector2( 0, 25 ) +custom_fonts/font = SubResource( 32 ) +text = "0.0 / 4" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PanelsTween" type="Tween" parent="MicrobeHUD/LeftPanels"] + +[node name="BottomBar" type="HBoxContainer" parent="MicrobeHUD"] +anchor_top = 1.0 +anchor_bottom = 1.0 +margin_left = 10.0 +margin_top = -50.9999 +margin_right = 375.0 +margin_bottom = -7.99994 +rect_min_size = Vector2( 0, 35 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="OpenMicrobeMenu" type="TextureButton" parent="MicrobeHUD/BottomBar"] +margin_right = 55.0 +margin_bottom = 43.0 +focus_mode = 0 +action_mode = 0 +enabled_focus_mode = 0 +texture_normal = ExtResource( 18 ) +texture_pressed = ExtResource( 24 ) +texture_hover = ExtResource( 25 ) + +[node name="PauseButtonMargin" type="MarginContainer" parent="MicrobeHUD/BottomBar"] +margin_left = 59.0 +margin_right = 89.0 +margin_bottom = 43.0 +custom_constants/margin_top = 7 +custom_constants/margin_bottom = 0 + +[node name="Pause" type="TextureButton" parent="MicrobeHUD/BottomBar/PauseButtonMargin"] +margin_top = 7.0 +margin_right = 30.0 +margin_bottom = 37.0 +focus_mode = 0 +size_flags_horizontal = 0 +size_flags_vertical = 0 +toggle_mode = true +action_mode = 0 +enabled_focus_mode = 0 +texture_normal = ExtResource( 23 ) +texture_pressed = ExtResource( 36 ) +texture_hover = ExtResource( 33 ) + +[node name="Resume" type="TextureButton" parent="MicrobeHUD/BottomBar/PauseButtonMargin"] +visible = false +margin_top = 7.0 +margin_right = 30.0 +margin_bottom = 37.0 +focus_mode = 0 +size_flags_horizontal = 0 +size_flags_vertical = 0 +toggle_mode = true +action_mode = 0 +enabled_focus_mode = 0 +texture_normal = ExtResource( 79 ) +texture_pressed = ExtResource( 79 ) +texture_hover = ExtResource( 78 ) + +[node name="CompoundsButton" type="TextureButton" parent="MicrobeHUD/BottomBar"] +margin_left = 93.0 +margin_right = 135.0 +margin_bottom = 43.0 +focus_mode = 0 +toggle_mode = true +pressed = true +action_mode = 0 +enabled_focus_mode = 0 +texture_normal = ExtResource( 22 ) +texture_pressed = ExtResource( 35 ) +texture_hover = ExtResource( 26 ) + +[node name="ChemicalButton" type="TextureButton" parent="MicrobeHUD/BottomBar"] +margin_left = 139.0 +margin_right = 181.0 +margin_bottom = 43.0 +focus_mode = 0 +disabled = true +enabled_focus_mode = 0 +texture_normal = ExtResource( 21 ) +texture_pressed = ExtResource( 30 ) +texture_hover = ExtResource( 31 ) + +[node name="StatisticsButton" type="TextureButton" parent="MicrobeHUD/BottomBar"] +margin_left = 185.0 +margin_right = 227.0 +margin_bottom = 43.0 +focus_mode = 0 +disabled = true +enabled_focus_mode = 0 +texture_normal = ExtResource( 20 ) +texture_pressed = ExtResource( 29 ) +texture_hover = ExtResource( 34 ) + +[node name="SearchButton" type="TextureButton" parent="MicrobeHUD/BottomBar"] +margin_left = 231.0 +margin_right = 273.0 +margin_bottom = 43.0 +focus_mode = 0 +disabled = true +enabled_focus_mode = 0 +texture_normal = ExtResource( 17 ) +texture_pressed = ExtResource( 32 ) +texture_hover = ExtResource( 27 ) + +[node name="QuestionMarkButton" type="TextureButton" parent="MicrobeHUD/BottomBar"] +margin_left = 277.0 +margin_right = 319.0 +margin_bottom = 43.0 +focus_mode = 0 +enabled_focus_mode = 0 +texture_normal = ExtResource( 16 ) +texture_pressed = ExtResource( 37 ) +texture_hover = ExtResource( 38 ) + +[node name="SuicideButton" type="TextureButton" parent="MicrobeHUD/BottomBar"] +margin_left = 323.0 +margin_right = 365.0 +margin_bottom = 43.0 +focus_mode = 0 +action_mode = 0 +enabled_focus_mode = 0 +texture_normal = ExtResource( 19 ) +texture_pressed = ExtResource( 28 ) +texture_hover = ExtResource( 28 ) + +[node name="HSeparator" type="HSeparator" parent="MicrobeHUD/BottomBar"] +margin_left = 369.0 +margin_right = 384.0 +margin_bottom = 43.0 +rect_min_size = Vector2( 15, 0 ) +custom_styles/separator = SubResource( 33 ) + +[node name="PatchLabel" type="Label" parent="MicrobeHUD/BottomBar"] +margin_left = 388.0 +margin_top = 8.0 +margin_right = 462.0 +margin_bottom = 35.0 +custom_fonts/font = SubResource( 34 ) +text = "PATCH" + +[node name="BottomRight" type="Control" parent="MicrobeHUD"] +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -340.0 +margin_top = -340.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PopulationData" type="HBoxContainer" parent="MicrobeHUD/BottomRight"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = 31.0 +margin_top = -133.135 +margin_right = 142.0 +margin_bottom = -115.135 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MicrobeHUD/BottomRight/PopulationData"] +margin_right = 79.0 +margin_bottom = 18.0 +custom_styles/normal = SubResource( 35 ) +custom_fonts/font = SubResource( 36 ) +text = "POPULATION" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Value" type="Label" parent="MicrobeHUD/BottomRight/PopulationData"] +margin_left = 83.0 +margin_right = 111.0 +margin_bottom = 18.0 +custom_styles/normal = SubResource( 35 ) +custom_fonts/font = SubResource( 36 ) +text = "100" +align = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="DataValue" type="PanelContainer" parent="MicrobeHUD/BottomRight"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = 30.0 +margin_top = -108.0 +margin_right = 117.0 +margin_bottom = -58.0 +custom_styles/panel = SubResource( 37 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Margin" type="MarginContainer" parent="MicrobeHUD/BottomRight/DataValue"] +margin_right = 87.0 +margin_bottom = 50.0 +custom_constants/margin_right = 5 +custom_constants/margin_top = 6 +custom_constants/margin_left = 5 +custom_constants/margin_bottom = 6 + +[node name="VBox" type="VBoxContainer" parent="MicrobeHUD/BottomRight/DataValue/Margin"] +margin_left = 5.0 +margin_top = 6.0 +margin_right = 82.0 +margin_bottom = 44.0 +custom_constants/separation = 8 + +[node name="HPValue" type="Label" parent="MicrobeHUD/BottomRight/DataValue/Margin/VBox"] +margin_right = 77.0 +margin_bottom = 15.0 +custom_fonts/font = SubResource( 38 ) +text = "HITPOINTS" + +[node name="ATPValue" type="Label" parent="MicrobeHUD/BottomRight/DataValue/Margin/VBox"] +margin_top = 23.0 +margin_right = 77.0 +margin_bottom = 38.0 +custom_fonts/font = SubResource( 38 ) +text = "ATP" + +[node name="ATPBar" type="TextureProgress" parent="MicrobeHUD/BottomRight" groups=[ +"MicrobeTextureHUDBar", +]] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -101.282 +margin_top = -75.282 +margin_right = 158.718 +margin_bottom = 176.718 +step = 0.001 +value = 100.0 +texture_under = ExtResource( 63 ) +texture_progress = ExtResource( 59 ) +fill_mode = 4 +tint_under = Color( 0, 0, 0, 1 ) +radial_initial_angle = 248.0 +radial_fill_degrees = 111.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ATPIcon" type="TextureRect" parent="MicrobeHUD/BottomRight/ATPBar"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -110.0 +margin_top = 54.0005 +margin_right = -90.0 +margin_bottom = 74.0005 +texture = ExtResource( 60 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="HealthBar" type="TextureProgress" parent="MicrobeHUD/BottomRight" groups=[ +"MicrobeTextureHUDBar", +]] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -126.948 +margin_top = -101.615 +margin_right = 173.052 +margin_bottom = 198.385 +step = 0.1 +value = 100.0 +texture_under = ExtResource( 64 ) +texture_progress = ExtResource( 58 ) +fill_mode = 4 +tint_under = Color( 0, 0, 0, 1 ) +radial_initial_angle = 240.0 +radial_fill_degrees = 120.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="HitpointIcon" type="TextureRect" parent="MicrobeHUD/BottomRight/HealthBar"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -125.0 +margin_top = 80.0 +margin_right = -105.0 +margin_bottom = 100.0 +texture = ExtResource( 61 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="EditorButton" type="TextureButton" parent="MicrobeHUD/BottomRight"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -75.0 +margin_top = -50.0 +margin_right = 120.0 +margin_bottom = 145.0 +focus_mode = 0 +disabled = true +enabled_focus_mode = 0 +texture_normal = ExtResource( 39 ) +texture_pressed = ExtResource( 40 ) +texture_hover = ExtResource( 40 ) +texture_disabled = ExtResource( 41 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Highlight" type="TextureRect" parent="MicrobeHUD/BottomRight/EditorButton"] +visible = false +anchor_right = 1.0 +anchor_bottom = 1.0 +texture = ExtResource( 40 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Light2D" type="Light2D" parent="MicrobeHUD/BottomRight/EditorButton/Highlight"] +position = Vector2( 97.4353, 97.5359 ) +texture = ExtResource( 40 ) + +[node name="ReproductionBar" type="Control" parent="MicrobeHUD/BottomRight/EditorButton"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -97.5 +margin_top = -97.5 +margin_right = 97.5 +margin_bottom = 97.5 +mouse_filter = 2 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="BarBackground" type="TextureRect" parent="MicrobeHUD/BottomRight/EditorButton/ReproductionBar"] +modulate = Color( 0, 0, 0, 1 ) +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -97.5 +margin_top = -97.5 +margin_right = 97.5 +margin_bottom = 97.5 +texture = ExtResource( 65 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AmmoniaReproductionBar" type="TextureProgress" parent="MicrobeHUD/BottomRight/EditorButton/ReproductionBar" groups=[ +"MicrobeTextureHUDBar", +]] +margin_right = 195.0 +margin_bottom = 195.0 +step = 0.1 +texture_progress = ExtResource( 65 ) +fill_mode = 5 +tint_progress = Color( 1, 0.627451, 0.121569, 1 ) +radial_fill_degrees = 180.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PhosphateReproductionBar" type="TextureProgress" parent="MicrobeHUD/BottomRight/EditorButton/ReproductionBar" groups=[ +"MicrobeTextureHUDBar", +]] +margin_right = 195.0 +margin_bottom = 195.0 +step = 0.1 +texture_progress = ExtResource( 65 ) +fill_mode = 5 +tint_progress = Color( 0.690196, 0.423529, 1, 1 ) +radial_initial_angle = 180.0 +radial_fill_degrees = 180.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AmmoniaIcon" type="TextureRect" parent="MicrobeHUD/BottomRight/EditorButton/ReproductionBar"] +margin_left = 85.0 +margin_top = 7.5 +margin_right = 110.0 +margin_bottom = 32.5 +texture = ExtResource( 3 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="PhosphateIcon" type="TextureRect" parent="MicrobeHUD/BottomRight/EditorButton/ReproductionBar"] +margin_left = 85.0 +margin_top = 162.5 +margin_right = 110.0 +margin_bottom = 187.5 +texture = ExtResource( 4 ) +expand = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="AnimationPlayer" type="AnimationPlayer" parent="MicrobeHUD/BottomRight/EditorButton"] +anims/EditorButtonFlash = SubResource( 39 ) + +[node name="CanvasLayer" type="CanvasLayer" parent="MicrobeHUD"] +__meta__ = { +"_editor_description_": "The pause menu is inside this CanvasLayer, to make sure the menu will always be on top of every other UIs" +} + +[node name="PauseMenu" parent="MicrobeHUD/CanvasLayer" instance=ExtResource( 11 )] +visible = false + +[node name="AnimationPlayer" type="AnimationPlayer" parent="MicrobeHUD"] +anims/HideLeftPanels = SubResource( 40 ) +anims/ShowLeftPanels = SubResource( 41 ) +[connection signal="pressed" from="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Header/HBoxContainer/MarginContainer4/EnvironmentExpandButton" to="MicrobeHUD" method="ResizeEnvironmentPanel" binds= [ "expand" ]] +[connection signal="pressed" from="MicrobeHUD/LeftPanels/EnvironmentPanel/VBoxContainer/Header/HBoxContainer/MarginContainer3/EnvironmentCompressButton" to="MicrobeHUD" method="ResizeEnvironmentPanel" binds= [ "compress" ]] +[connection signal="pressed" from="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Header/HBoxContainer/MarginContainer3/CompoundExpandButton" to="MicrobeHUD" method="ResizeCompoundPanel" binds= [ "expand" ]] +[connection signal="pressed" from="MicrobeHUD/LeftPanels/CompoundsPanel/VBoxContainer/Header/HBoxContainer/MarginContainer4/CompoundCompressButton" to="MicrobeHUD" method="ResizeCompoundPanel" binds= [ "compress" ]] +[connection signal="pressed" from="MicrobeHUD/BottomBar/OpenMicrobeMenu" to="MicrobeHUD" method="OpenMicrobeStageMenuPressed"] +[connection signal="pressed" from="MicrobeHUD/BottomBar/PauseButtonMargin/Pause" to="MicrobeHUD" method="PauseButtonPressed"] +[connection signal="pressed" from="MicrobeHUD/BottomBar/PauseButtonMargin/Resume" to="MicrobeHUD" method="PauseButtonPressed"] +[connection signal="pressed" from="MicrobeHUD/BottomBar/CompoundsButton" to="MicrobeHUD" method="CompoundButtonPressed"] +[connection signal="pressed" from="MicrobeHUD/BottomBar/QuestionMarkButton" to="MicrobeHUD" method="GoToHelpScreen"] +[connection signal="pressed" from="MicrobeHUD/BottomBar/SuicideButton" to="MicrobeHUD" method="OnSuicide"] +[connection signal="pressed" from="MicrobeHUD/BottomRight/EditorButton" to="MicrobeHUD" method="EditorButtonPressed"] +[connection signal="MakeSave" from="MicrobeHUD/CanvasLayer/PauseMenu" to="." method="SaveGame"] +[connection signal="OnClosed" from="MicrobeHUD/CanvasLayer/PauseMenu" to="MicrobeHUD" method="CloseMenu"] +[connection signal="OnOpenWithKeyPress" from="MicrobeHUD/CanvasLayer/PauseMenu" to="MicrobeHUD" method="OpenMenu"]