mirror of
https://github.com/deunix-educ/aventuriers-des-mots.git
synced 2026-10-13 02:11:58 +02:00
Add settings screen and adult space with progress report and save export/restore (0.4.0)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -48,5 +48,10 @@ func list_profile_summaries() -> Array[Dictionary]:
|
||||
return summaries
|
||||
|
||||
|
||||
## Identifiant neuf pour un profil restaure depuis une sauvegarde exportee.
|
||||
func new_profile_id() -> String:
|
||||
return _generate_profile_id()
|
||||
|
||||
|
||||
func _generate_profile_id() -> String:
|
||||
return "profile_%d_%d" % [Time.get_unix_time_from_system(), randi() % 10000]
|
||||
|
||||
Reference in New Issue
Block a user