feat: guest stories, accessibility and cozy events
v0.9.0-alpha local build. Adds per-guest story vignettes, a scrollable Guest Book story section, live text scaling, Android haptics, a difficulty picker with descriptions, six repeating cosmetic hotel events, and isolated free play using verified symmetry variants. Save format v7 with automatic migration. QA is 9/9 including the free-play uniqueness suite.
This commit is contained in:
1 parent
e0fd33c25e
commit
9e2776f7c4
27 files changed
+1559
-99
No files matched your search
+5
-5
@@ -193,7 +193,7 @@ func _test_save_migrations(save) -> void:
|
||||
# (a) No save file at all -> fresh version-4 defaults.
|
||||
_remove_save(save)
|
||||
save.load_game()
|
||||
_check(int(save.data.get("version", 0)) == 6, "fresh save should be version 6")
|
||||
_check(int(save.data.get("version", 0)) == 7, "fresh save should be version 7")
|
||||
_check(bool(save.get_setting("double_tap_place")), "fresh save should default to double-tap")
|
||||
_check(_is_default_daily(save, save.daily_data()), "fresh save should have default daily stats")
|
||||
_check(save.selected_frame() == "plain", "fresh save should select the plain frame")
|
||||
@@ -208,7 +208,7 @@ func _test_save_migrations(save) -> void:
|
||||
v1.erase("profile_frame")
|
||||
_write_save(save, v1)
|
||||
save.load_game()
|
||||
_check(int(save.data.get("version", 0)) == 6, "version 1 should migrate to version 6")
|
||||
_check(int(save.data.get("version", 0)) == 7, "version 1 should migrate to version 7")
|
||||
_check(bool(save.get_setting("double_tap_place")), "version 1 should migrate to double-tap")
|
||||
_check(_is_default_daily(save, save.daily_data()), "version 1 missing daily should become defaults")
|
||||
_check(save.selected_frame() == "plain", "version 1 missing frame should become plain")
|
||||
@@ -221,7 +221,7 @@ func _test_save_migrations(save) -> void:
|
||||
v2.erase("profile_frame")
|
||||
_write_save(save, v2)
|
||||
save.load_game()
|
||||
_check(int(save.data.get("version", 0)) == 6, "version 2 should migrate to version 6")
|
||||
_check(int(save.data.get("version", 0)) == 7, "version 2 should migrate to version 7")
|
||||
_check(not bool(save.get_setting("double_tap_place")), "version 2 double_tap=false should stay false")
|
||||
_check(_is_default_daily(save, save.daily_data()), "version 2 missing daily should become defaults")
|
||||
_check(save.selected_frame() == "plain", "version 2 missing frame should become plain")
|
||||
@@ -234,7 +234,7 @@ func _test_save_migrations(save) -> void:
|
||||
else:
|
||||
_check(false, "could not write wrong-shape save")
|
||||
save.load_game()
|
||||
_check(int(save.data.get("version", 0)) == 6, "wrong-shape save should restore version 6 defaults")
|
||||
_check(int(save.data.get("version", 0)) == 7, "wrong-shape save should restore version 7 defaults")
|
||||
_check(bool(save.get_setting("double_tap_place")), "wrong-shape save should restore double-tap default")
|
||||
_check(_is_default_daily(save, save.daily_data()), "wrong-shape save should restore daily defaults")
|
||||
_check(save.selected_frame() == "plain", "wrong-shape save should restore plain frame")
|
||||
@@ -382,7 +382,7 @@ func _test_frames(save) -> void:
|
||||
_note("3. frames")
|
||||
|
||||
_reset_to_clean(save)
|
||||
_check(frames.all().size() == 7, "there should be seven profile frames")
|
||||
_check(frames.all().size() == 13, "there should be thirteen profile frames")
|
||||
_check(frames.is_unlocked("plain"), "plain frame should always be unlocked")
|
||||
_check(not frames.requirement_text("plain").is_empty(), "plain frame should have requirement text")
|
||||
|
||||
|
||||
Reference in new issue
Block a user