Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackRam-oss committed Jun 26, 2024
1 parent 47a0e42 commit cd307f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/classes/quest/Stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export default class Stage extends StoredClassModel implements StageProps {
this._adviceDescription = props.adviceDescription || ""
this._renderImage = props.renderImage
this._daysRequiredToStart = props.daysRequiredToStart
this._flagsRequiredToStart = props.flagsRequired || []
this._questsRequiredToStart = props.questsRequired || []
this._requestDescriptionToStart = props.requestDescription || ""
this._flagsRequiredToStart = props.flagsRequiredToStart || []
this._questsRequiredToStart = props.questsRequiredToStart || []
this._requestDescriptionToStart = props.requestDescriptionToStart || ""
this._onStart = props.onStart
this._onEnd = props.onEnd
}
Expand Down
6 changes: 3 additions & 3 deletions src/interface/quest/StageProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ export default interface StageProps {
* The flags required to start the stage.
* @default []
*/
flagsRequired?: StageFlags[]
flagsRequiredToStart?: StageFlags[]
/**
* The quests required to start the stage.
* @default []
*/
questsRequired?: QuestsRequiredType[]
questsRequiredToStart?: QuestsRequiredType[]
/**
* The description to request to start the stage.
* @default ""
*/
requestDescription?: string
requestDescriptionToStart?: string
/**
* The function that will be executed when the stage starts.
*/
Expand Down

0 comments on commit cd307f5

Please sign in to comment.