-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed editable inputs cutting off text after double quotation character * Added popup when attempting to close the Quest Form window without submitting. * Added option to link quests in rich text environments with `@Quest[id]` and `@Quest[quest name]`. Hacky way, might be unstable. * Added Configuration setting that allows GM turn off displaying Welcome Screen to players. Enabled by default * Added "Help" button in Quest Log's header that allows to open Welcome Screen at any time.
- Loading branch information
Showing
18 changed files
with
208 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
{} | ||
{ | ||
"ForienQuestLog.CloseDialog.Title": "", | ||
"ForienQuestLog.CloseDialog.Header": "", | ||
"ForienQuestLog.CloseDialog.Body": "", | ||
"ForienQuestLog.CloseDialog.Cancel": "", | ||
"ForienQuestLog.CloseDialog.Discard": "", | ||
"ForienQuestLog.Settings.playersWelcomeScreen.Enable": "", | ||
"ForienQuestLog.Settings.playersWelcomeScreen.EnableHint": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
{} | ||
{ | ||
"ForienQuestLog.CloseDialog.Title": "", | ||
"ForienQuestLog.CloseDialog.Header": "", | ||
"ForienQuestLog.CloseDialog.Body": "", | ||
"ForienQuestLog.CloseDialog.Cancel": "", | ||
"ForienQuestLog.CloseDialog.Discard": "", | ||
"ForienQuestLog.Settings.playersWelcomeScreen.Enable": "", | ||
"ForienQuestLog.Settings.playersWelcomeScreen.EnableHint": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* Class that acts "kind of" like Entity, to help Manage everything Quest Related | ||
* in a more structured way, than to call JournalEntry every time. | ||
*/ | ||
import Quest from "../quest.mjs"; | ||
|
||
export default class QuestsCollection { | ||
constructor() { | ||
let quests = Quest.getQuests(); | ||
let entities = [...quests.active, ...quests.completed, ...quests.failed, ...quests.hidden]; | ||
|
||
this.entities = entities.map(e => { | ||
let data = e; | ||
data.name = data.title; | ||
|
||
return { | ||
_id: e.id, | ||
id: e.id, | ||
name: e.title, | ||
data: data | ||
} | ||
}) | ||
} | ||
|
||
get(questId) { | ||
return Quest.get(questId); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.