Dialogue responses rework
This commit is contained in:
@@ -9,7 +9,8 @@ var accurate_diagnoses : int = 0
|
||||
var diagnoses_quota : int = 1
|
||||
var daily_patient_limit : int = 3
|
||||
var patient_list = []
|
||||
var event_index = 0
|
||||
var event_index : String = ""
|
||||
var supervisor_index : int = 1
|
||||
|
||||
#Variables for UI
|
||||
var save_slot_count = 4 #How many save slots there are in the game, in addition to the autosave slot
|
||||
@@ -31,6 +32,7 @@ var buttons_activated: bool = true
|
||||
signal console_message
|
||||
signal response_chosen(DialogueResponse)
|
||||
signal clear_patient
|
||||
signal decision_made
|
||||
signal color_change
|
||||
signal character_label_color_change
|
||||
signal start_balloon
|
||||
|
||||
+6
-3
@@ -56,11 +56,12 @@ func _on_new_game_pressed():
|
||||
|
||||
#Setting/Resetting game parameters
|
||||
Globals.day_count = 1
|
||||
Globals.floor_count = -3
|
||||
Globals.floor_count = -2
|
||||
Globals.patient_count = 0
|
||||
Globals.accurate_diagnoses = 0
|
||||
Globals.diagnoses_quota = 4
|
||||
Globals.daily_patient_limit = 6
|
||||
Globals.event_index = "interfloor"
|
||||
for i in range(len(Patient.patient_list)):
|
||||
Patient.patient_list[i] = Patient.og_patient_list[i]
|
||||
Patient.its_list = Patient.og_its_list
|
||||
@@ -108,7 +109,7 @@ func start_day():
|
||||
UI.masks.transition(scenes_to_hide, scenes_to_show)
|
||||
await UI.masks.transition_finished
|
||||
|
||||
$ScreeningDesk.event_manager(Globals.event_index)
|
||||
$ScreeningDesk.event_manager()
|
||||
|
||||
|
||||
#Saves game state on the selected save slot
|
||||
@@ -119,6 +120,7 @@ func save_game(save_slot_number:int):
|
||||
"day_count": Globals.day_count,
|
||||
"floor_count": Globals.floor_count,
|
||||
"event_index": Globals.event_index,
|
||||
"supervisor_index": Globals.supervisor_index,
|
||||
"patient_count": Globals.patient_count,
|
||||
"accurate_diagnoses": Globals.accurate_diagnoses,
|
||||
"diagnoses_quota": Globals.diagnoses_quota,
|
||||
@@ -173,7 +175,8 @@ func load_game(load_slot_number:int):
|
||||
print("Loaded save: " + str(load_data))
|
||||
Globals.day_count = load_data["day_count"]
|
||||
Globals.floor_count = load_data["floor_count"]
|
||||
Globals.event_index = int(load_data["event_index"])
|
||||
Globals.event_index = load_data["event_index"]
|
||||
Globals.supervisor_index = load_data["supervisor_index"]
|
||||
Globals.patient_count = load_data["patient_count"]
|
||||
Globals.accurate_diagnoses = load_data["accurate_diagnoses"]
|
||||
Globals.diagnoses_quota = load_data["diagnoses_quota"]
|
||||
|
||||
Reference in New Issue
Block a user