feat(meowdoku): identity, gifts, achievements and wallpapers
Local-only v0.8.0 build. Adds player name/ID, achievements, claimable 7-day gift, daily share/stats, saved boards, 2048px rat-track wallpapers, difficulty/volume settings, and save v6. Not pushed or published.
This commit is contained in:
1 parent
5c00b35e90
commit
6d302f5cb9
21 files changed
+623
-41
No files matched your search
+3
-3
@@ -216,12 +216,12 @@ func _test_daily_and_frames(save, main) -> void:
|
||||
|
||||
|
||||
func _test_save_defaults(save) -> void:
|
||||
# A fresh save starts in double-tap mode at version 4.
|
||||
# A fresh save starts in double-tap mode at version 6.
|
||||
var abs_path := ProjectSettings.globalize_path(save.PATH)
|
||||
if FileAccess.file_exists(save.PATH):
|
||||
DirAccess.remove_absolute(abs_path)
|
||||
save.load_game()
|
||||
_check(int(save.data.get("version", 0)) == 4, "fresh saves should be version 4")
|
||||
_check(int(save.data.get("version", 0)) == 6, "fresh saves should be version 6")
|
||||
_check(bool(save.get_setting("double_tap_place")), "fresh saves should default to double-tap")
|
||||
|
||||
# A version 1 save with hold selected migrates to double-tap once.
|
||||
@@ -233,7 +233,7 @@ func _test_save_defaults(save) -> void:
|
||||
file.close()
|
||||
|
||||
save.load_game()
|
||||
_check(int(save.data.get("version", 0)) == 4, "version 1 saves should migrate to version 4")
|
||||
_check(int(save.data.get("version", 0)) == 6, "version 1 saves should migrate to version 6")
|
||||
_check(bool(save.get_setting("double_tap_place")), "version 1 saves should migrate to double-tap")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user