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.
41 lines
994 B
JSON
41 lines
994 B
JSON
// 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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|