From b35d5de65158ee015a8332f8fd614e2ee5cacf6e Mon Sep 17 00:00:00 2001 From: dam Date: Tue, 25 Jan 2022 23:56:04 +0000 Subject: Draft prototype of option sets structure. --- logic/stage.gd | 40 +++++++++++++++++++++++++++++++++++----- main.gd | 1 - 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/logic/stage.gd b/logic/stage.gd index 1601522..3c3d59c 100644 --- a/logic/stage.gd +++ b/logic/stage.gd @@ -9,9 +9,9 @@ const OPTION_SETS_FILE_PATH: String = "user://option_sets.csv" var staged_entry := {} var option_sets := { "place": { - "bloco central": null, - "tondela": null, - "xpto_00": null, + "P0": null, + "P1": null, + "P2": null, "xpto_01": null, "xpto_02": null, "xpto_03": null, @@ -42,6 +42,16 @@ var option_sets := { "xpto_28": null, "xpto_29": null, }, + "first_assistant": { + "FA0": null, + "FA1": null, + "FA2": null, + }, + "anesthesia": { + "AN0": null, + "AN1": null, + "AN2": null, + }, "type": { "A": { "sub_type": { @@ -50,14 +60,34 @@ var option_sets := { "aaA": null, "aaB": null, "aaC": null, - } + }, + "pathology": { + "aaP0": null, + "aaP1": null, + "aaP2": null, + }, + "intervention": { + "aaI0": null, + "aaI1": null, + "aaI2": null, + }, }, "aB": { "sub_sub_type": { "abA": null, "abB": null, "abC": null, - } + }, + "pathology": { + "abP0": null, + "abP1": null, + "abP2": null, + }, + "intervention": { + "abI0": null, + "abI1": null, + "abI2": null, + }, }, }, }, diff --git a/main.gd b/main.gd index 768366a..a1b9aca 100644 --- a/main.gd +++ b/main.gd @@ -14,7 +14,6 @@ func _init(): PhysicsServer.set_active(false) - func _process(delta: float): var keyboard_height: int = OS.get_virtual_keyboard_height() for it in controls_sensible_to_keyboard: -- cgit v1.2.3