123456789101112131415161718192021222324252627282930313233343536 |
- :: PassageDone[nobr]
- <<include 'PassageDoneCommands'>>
- :: PassageDoneCommands
- <<run $connectedLocations.sort((a,b) => ((b.priority ?? 0) - (a.priority ?? 0)) || (a.label ?? '').localeCompare(b.label ?? ''))>>
- <<run console.log("connectedLocations",$connectedLocations)>>
- <<append "#connectedLocations">><<for _connectedLocation range $connectedLocations>><<if _connectedLocation.forPassage == passage()>><<ConnectedLocationDom _connectedLocation>><</if>><</for>><</append>>
-
- <<for _npcId, _npcAction range _presentNPCs ?? {}>>
- <<if _npcAction.trim()>>
- <<act $npc(_npcId).usedname undefined `{image:$npc(_npcId).image,capture:['_npcAction']}`>>_npcAction<</act>>
- <</if>>
- <</for>>
-
- <<actionsRefresh>>
-
- <<if $settings and $settings.lightmode === true>>
- <<done>>
- <<run setup.applyLightStyle()>>
- <</done>>
- <</if>>
- <<set _messagingExecuted = true>>
- <<for _label, _class range $msg_queue || {}>>
- <<msgPresent _label _class>>
- <</for>>
- <<script>>
- $(".autoReload").find("select").on("change", function (event) {
- Engine.show();
- });
- <</script>>
|