diff --git a/assets/main_theme.tres b/assets/main_theme.tres new file mode 100644 index 0000000..041e924 --- /dev/null +++ b/assets/main_theme.tres @@ -0,0 +1,4 @@ +[gd_resource type="Theme" format=3 uid="uid://cg5dy0gj3y3q4"] + +[resource] +default_font_size = 20 diff --git a/assets/meshes/big_flask.res b/assets/meshes/big_flask.res index d06a05d..414c2e9 100644 Binary files a/assets/meshes/big_flask.res and b/assets/meshes/big_flask.res differ diff --git a/assets/meshes/big_flask_fill.res b/assets/meshes/big_flask_fill.res index 4ed9f92..c48c3b1 100644 Binary files a/assets/meshes/big_flask_fill.res and b/assets/meshes/big_flask_fill.res differ diff --git a/assets/meshes/jar.res b/assets/meshes/jar.res index c6ca6a6..bd26fb4 100644 Binary files a/assets/meshes/jar.res and b/assets/meshes/jar.res differ diff --git a/assets/meshes/jar_fill.res b/assets/meshes/jar_fill.res index 66a9553..272a2c3 100644 Binary files a/assets/meshes/jar_fill.res and b/assets/meshes/jar_fill.res differ diff --git a/assets/meshes/spoon.res b/assets/meshes/spoon.res index 0cb4bd3..cb5da10 100644 Binary files a/assets/meshes/spoon.res and b/assets/meshes/spoon.res differ diff --git a/assets/meshes/spoon_fill.res b/assets/meshes/spoon_fill.res index 6ff84b6..26b2622 100644 Binary files a/assets/meshes/spoon_fill.res and b/assets/meshes/spoon_fill.res differ diff --git a/labs/lab-electrolyte/experiment-4.tres b/labs/lab-electrolyte/experiment-4.tres index 53c58fe..b1885f8 100644 --- a/labs/lab-electrolyte/experiment-4.tres +++ b/labs/lab-electrolyte/experiment-4.tres @@ -5,5 +5,5 @@ [resource] script = ExtResource("1_0qubr") description = "Условие выпадения осадка. -В две пробирки налейте по 2..3 мл (примерно ⅓ объёма) 0,005 М раствора нитрата свинца Pb(NO₃)₂. В одну из них добавьте такой же объём 0,05 М раствора хлорида калия KCl, а в другую - такой же объём 0,05 М раствора йодида калия KJ. В какой из пробирок выпал осадок? Объясните полученные результаты, используя произведение концентраций ионов в растворе и значения произведений раастворимости для PbCl₂ и PbJJ₂ (табл. 13). Составьте молекулярные и ионно-молекулярные уравнения реакций (см. пример 3)." +В две пробирки налейте по 2..3 мл (примерно ⅓ объёма) 0,005 М раствора нитрата свинца Pb(NO₃)₂. В одну из них добавьте такой же объём 0,05 М раствора хлорида калия KCl, а в другую - такой же объём 0,05 М раствора йодида калия KJ. В какой из пробирок выпал осадок? Объясните полученные результаты, используя произведение концентраций ионов в растворе и значения произведений раастворимости для PbCl₂ и PbJ₂ (табл. 13). Составьте молекулярные и ионно-молекулярные уравнения реакций (см. пример 3)." metadata/_custom_type_script = "uid://pwvqjgwse0wk" diff --git a/project.godot b/project.godot index a030462..78618d2 100644 --- a/project.godot +++ b/project.godot @@ -30,6 +30,10 @@ Tooltip="*uid://dtpy85f2ycbur" flask="" +[gui] + +theme/custom="uid://cg5dy0gj3y3q4" + [input] drag_camera={ diff --git a/scenes/flask.tscn b/scenes/flask.tscn index 441b56e..e1ee251 100644 --- a/scenes/flask.tscn +++ b/scenes/flask.tscn @@ -76,8 +76,8 @@ rings = 0 [node name="Flask" type="Area3D" unique_id=516093165 node_paths=PackedStringArray("interactible") groups=["flask"]] collision_layer = 5 script = ExtResource("1_0xufn") -interactible = NodePath("Interactible") mask = PackedStringArray("flask") +interactible = NodePath("Interactible") [node name="DragArea" type="CollisionShape3D" parent="." unique_id=1005865273] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) diff --git a/scenes/substance_jar.tscn b/scenes/substance_jar.tscn index 50f8f9a..7f7a947 100644 --- a/scenes/substance_jar.tscn +++ b/scenes/substance_jar.tscn @@ -55,7 +55,7 @@ allow_greater = true [node name="SpinBox" type="SpinBox" parent="Interaction/HBoxContainer" unique_id=194740698] layout_mode = 2 allow_greater = true -suffix = "мг." +suffix = "мл." [node name="Interaction" type="Node" parent="Interaction" unique_id=729724369] script = ExtResource("6_00jpx") diff --git a/scenes/ui.tscn b/scenes/ui.tscn index da5d5ef..c02b4f5 100644 --- a/scenes/ui.tscn +++ b/scenes/ui.tscn @@ -27,6 +27,8 @@ grow_vertical = 2 [node name="TabBar" parent="HSplitContainer" unique_id=877427232 instance=ExtResource("1_p7vwb")] layout_mode = 2 +tab_count = 3 +tab_2/title = "Завершить отчёт" [node name="InspectorPanel" type="PanelContainer" parent="HSplitContainer" unique_id=918152974] layout_mode = 2 @@ -53,7 +55,7 @@ script = ExtResource("1_8dubc") layout_mode = 1 anchors_preset = -1 anchor_left = -0.14756945 -anchor_top = 0.047839507 +anchor_top = 0.055555556 anchor_right = 0.0 anchor_bottom = 0.69753087 text = "Вещества" @@ -86,7 +88,8 @@ text = "Инструменты" metadata/_edit_use_anchors_ = true [node name="ScrollContainer" parent="Intruments" index="0"] -offset_right = -20.904999 +anchor_right = 0.87200004 +offset_right = -0.040008545 [node name="Label" parent="Intruments" index="1"] anchor_left = 0.8717948 diff --git a/src/ui/lab_tabs.gd b/src/ui/lab_tabs.gd index d21ab8c..63775bc 100644 --- a/src/ui/lab_tabs.gd +++ b/src/ui/lab_tabs.gd @@ -5,11 +5,11 @@ func _ready() -> void: $ConfirmationDialog.confirmed.connect(LabRuntime.end_lab) func _on_tab_clicked(tab: int) -> void: - if tab == 1: + if tab == 0: $Questions.visible = true elif LabRuntime.questions_anwsered(): match tab: - 0: + 1: $Worktabs.visible = true 2: $ConfirmationDialog.popup_centered() diff --git a/ui/tab_bar.tscn b/ui/tab_bar.tscn index 1eec75c..53d6603 100644 --- a/ui/tab_bar.tscn +++ b/ui/tab_bar.tscn @@ -10,8 +10,8 @@ size_flags_vertical = 0 size_flags_stretch_ratio = 4.0 deselect_enabled = true tab_count = 4 -tab_0/title = "Ход работы" -tab_1/title = "Вопросы для самопроверки" +tab_0/title = "Входной тест" +tab_1/title = "Ход работы" tab_2/title = "Отчёт" tab_3/title = "Очистить" script = ExtResource("1_ieq68") diff --git a/Работы по химии TODO.docx b/Работы по химии TODO.docx new file mode 100644 index 0000000..b9f9eb5 Binary files /dev/null and b/Работы по химии TODO.docx differ