T2 tutorial: all five chapters with Old Tam, scripted dusk and demo wolf, rabbits for the hunt, title-screen Tutorial entry, pause-menu skip/leave, goodbye card; full bot playthrough test
This commit is contained in:
@@ -416,11 +416,15 @@ func _on_terrain_ready() -> void:
|
||||
wolves.name = "Wolves"
|
||||
add_child(wolves)
|
||||
wolves.setup(self, den)
|
||||
if not "--no-creatures" in OS.get_cmdline_user_args():
|
||||
_setup_bear()
|
||||
# The tutorial (docs/TUTORIAL_DESIGN.md): a world made for it (meta.json
|
||||
# "tutorial"), or any world with `-- --tutorial` (for now, T1).
|
||||
if bool(Saves.read_meta(Saves.current_id).get("tutorial", false)) or "--tutorial" in OS.get_cmdline_user_args():
|
||||
# "tutorial"), or any world with `-- --tutorial`. Its island is calm: no
|
||||
# wolf pack (just Old Tam's demo wolf), no bear, nothing stealing your food.
|
||||
var tutorial := bool(Saves.read_meta(Saves.current_id).get("tutorial", false)) or "--tutorial" in OS.get_cmdline_user_args()
|
||||
if tutorial and wolves != null:
|
||||
wolves.enabled = false
|
||||
if not "--no-creatures" in OS.get_cmdline_user_args() and not tutorial:
|
||||
_setup_bear()
|
||||
if tutorial:
|
||||
Guide.start(self, _saved_tutorial)
|
||||
_maybe_capture()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user