Save/Load System done
This commit is contained in:
+11
-2
@@ -2,8 +2,8 @@ extends Node
|
||||
|
||||
var is_transitioning = false
|
||||
var day_count = 1
|
||||
var patient_count = 0
|
||||
var daily_patient_limit = 2
|
||||
var patient_count = 1
|
||||
var daily_patient_limit = 3
|
||||
var patient_id = "564"
|
||||
var dialogue_intro = load("res://Dialogues/intro.dialogue")
|
||||
var dialogue_recovery = load("res://Dialogues/recovery.dialogue")
|
||||
@@ -15,6 +15,15 @@ func _ready() -> void:
|
||||
|
||||
|
||||
|
||||
func get_save_date() -> String:
|
||||
var dt = Time.get_datetime_dict_from_system()
|
||||
return "%02d/%02d/%04d, %02d:%02d" % [
|
||||
dt.month, dt.day, dt.year,
|
||||
dt.hour, dt.minute
|
||||
]
|
||||
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user