fix(tutorials): prevent crew training from reopening or trapping input

Record completion after the guided crew upgrade succeeds. Keep the guide dismissible and close it when its slot or menu target disappears. Compile the affected scripts with the stock queue flag bindings.
This commit is contained in:
N0VAN0M4LY committed 2026-11-30 05:02:55 +08:00
1 parent 0c9340f883
commit 0881d62766
25 files changed
+169 -9

No files matched your search

@@ -0,0 +1,40 @@
// The crew skill guide may be entered from the hangar while menus are reopening.
{
"id": "tutorials/guard-crew-training-intro",
"title": "Keep the crew skill guide from reopening",
"features": [
"A-Tutorials"
],
"variants": [
{
"written_for": "2.61.0.37",
"file": "scripts/mainmenu/instantactionhandler.nut",
"edits": [
{
"find": "find-imports.nut",
"replace": "replace-imports.nut"
},
{
"find": "find-entry.nut",
"replace": "replace-entry.nut"
},
{
"find": "find-slot.nut",
"replace": "replace-slot.nut"
},
{
"find": "find-slot-step.nut",
"replace": "replace-slot-step.nut"
},
{
"find": "find-menu-step.nut",
"replace": "replace-menu-step.nut"
},
{
"find": "find-allow-close.nut",
"replace": "replace-allow-close.nut"
}
]
}
]
}