@drincs/nqtr 0.1.18 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/dist/{Commitment-DNn_TEgV.d.mts → Commitment-C3Nc2RJH.d.mts} +17 -4
  2. package/dist/{Commitment-GIA4EK_q.d.ts → Commitment-Cc2kZEy0.d.ts} +17 -4
  3. package/dist/Quest-BQ1pwvQ_.d.ts +197 -0
  4. package/dist/Quest-DaNlPBHb.d.mts +197 -0
  5. package/dist/classes/Commitment.d.mts +2 -2
  6. package/dist/classes/Commitment.d.ts +2 -2
  7. package/dist/classes/Commitment.js +12 -1
  8. package/dist/classes/Commitment.js.map +1 -1
  9. package/dist/classes/Commitment.mjs +12 -1
  10. package/dist/classes/Commitment.mjs.map +1 -1
  11. package/dist/classes/index.d.mts +4 -4
  12. package/dist/classes/index.d.ts +4 -4
  13. package/dist/classes/index.js +514 -313
  14. package/dist/classes/index.js.map +1 -1
  15. package/dist/classes/index.mjs +512 -312
  16. package/dist/classes/index.mjs.map +1 -1
  17. package/dist/classes/navigation/ActivityRoom.d.mts +2 -2
  18. package/dist/classes/navigation/ActivityRoom.d.ts +2 -2
  19. package/dist/classes/navigation/ActivityRoom.js +1 -1
  20. package/dist/classes/navigation/ActivityRoom.js.map +1 -1
  21. package/dist/classes/navigation/ActivityRoom.mjs +1 -1
  22. package/dist/classes/navigation/ActivityRoom.mjs.map +1 -1
  23. package/dist/classes/navigation/Location.d.mts +2 -2
  24. package/dist/classes/navigation/Location.d.ts +2 -2
  25. package/dist/classes/navigation/Location.js.map +1 -1
  26. package/dist/classes/navigation/Location.mjs.map +1 -1
  27. package/dist/classes/navigation/Map.d.mts +2 -2
  28. package/dist/classes/navigation/Map.d.ts +2 -2
  29. package/dist/classes/navigation/Map.js.map +1 -1
  30. package/dist/classes/navigation/Map.mjs.map +1 -1
  31. package/dist/classes/navigation/Room.d.mts +2 -2
  32. package/dist/classes/navigation/Room.d.ts +2 -2
  33. package/dist/classes/navigation/Room.js +15 -15
  34. package/dist/classes/navigation/Room.js.map +1 -1
  35. package/dist/classes/navigation/Room.mjs +15 -15
  36. package/dist/classes/navigation/Room.mjs.map +1 -1
  37. package/dist/classes/quest/Goal.d.mts +21 -13
  38. package/dist/classes/quest/Goal.d.ts +21 -13
  39. package/dist/classes/quest/Goal.js +50 -15
  40. package/dist/classes/quest/Goal.js.map +1 -1
  41. package/dist/classes/quest/Goal.mjs +47 -15
  42. package/dist/classes/quest/Goal.mjs.map +1 -1
  43. package/dist/classes/quest/Quest.d.mts +3 -2
  44. package/dist/classes/quest/Quest.d.ts +3 -2
  45. package/dist/classes/quest/Quest.js +536 -9
  46. package/dist/classes/quest/Quest.js.map +1 -1
  47. package/dist/classes/quest/Quest.mjs +537 -10
  48. package/dist/classes/quest/Quest.mjs.map +1 -1
  49. package/dist/classes/quest/Stage.d.mts +3 -2
  50. package/dist/classes/quest/Stage.d.ts +3 -2
  51. package/dist/classes/quest/Stage.js +396 -51
  52. package/dist/classes/quest/Stage.js.map +1 -1
  53. package/dist/classes/quest/Stage.mjs +394 -52
  54. package/dist/classes/quest/Stage.mjs.map +1 -1
  55. package/dist/decorators/ActivityDecorator.d.mts +1 -1
  56. package/dist/decorators/ActivityDecorator.d.ts +1 -1
  57. package/dist/decorators/ActivityDecorator.js.map +1 -1
  58. package/dist/decorators/ActivityDecorator.mjs.map +1 -1
  59. package/dist/decorators/CommitmentDecorator.d.mts +32 -6
  60. package/dist/decorators/CommitmentDecorator.d.ts +32 -6
  61. package/dist/decorators/CommitmentDecorator.js +7 -7
  62. package/dist/decorators/CommitmentDecorator.js.map +1 -1
  63. package/dist/decorators/CommitmentDecorator.mjs +5 -5
  64. package/dist/decorators/CommitmentDecorator.mjs.map +1 -1
  65. package/dist/decorators/QuestDecorator.d.mts +28 -0
  66. package/dist/decorators/QuestDecorator.d.ts +28 -0
  67. package/dist/decorators/QuestDecorator.js +33 -0
  68. package/dist/decorators/QuestDecorator.js.map +1 -0
  69. package/dist/decorators/QuestDecorator.mjs +29 -0
  70. package/dist/decorators/QuestDecorator.mjs.map +1 -0
  71. package/dist/decorators/RoomDecorator.d.mts +3 -3
  72. package/dist/decorators/RoomDecorator.d.ts +3 -3
  73. package/dist/decorators/RoomDecorator.js.map +1 -1
  74. package/dist/decorators/RoomDecorator.mjs.map +1 -1
  75. package/dist/decorators/index.d.mts +8 -3
  76. package/dist/decorators/index.d.ts +8 -3
  77. package/dist/decorators/index.js +30 -15
  78. package/dist/decorators/index.js.map +1 -1
  79. package/dist/decorators/index.mjs +27 -12
  80. package/dist/decorators/index.mjs.map +1 -1
  81. package/dist/functions/ActivityFunctions.d.mts +2 -2
  82. package/dist/functions/ActivityFunctions.d.ts +2 -2
  83. package/dist/functions/ActivityFunctions.js.map +1 -1
  84. package/dist/functions/ActivityFunctions.mjs.map +1 -1
  85. package/dist/functions/NavigationFunctions.d.mts +2 -2
  86. package/dist/functions/NavigationFunctions.d.ts +2 -2
  87. package/dist/functions/NavigationFunctions.js.map +1 -1
  88. package/dist/functions/NavigationFunctions.mjs.map +1 -1
  89. package/dist/functions/RoutineFunctions.d.mts +21 -4
  90. package/dist/functions/RoutineFunctions.d.ts +21 -4
  91. package/dist/functions/RoutineFunctions.js +16 -16
  92. package/dist/functions/RoutineFunctions.js.map +1 -1
  93. package/dist/functions/RoutineFunctions.mjs +16 -16
  94. package/dist/functions/RoutineFunctions.mjs.map +1 -1
  95. package/dist/functions/index.d.mts +3 -3
  96. package/dist/functions/index.d.ts +3 -3
  97. package/dist/functions/index.js +16 -16
  98. package/dist/functions/index.js.map +1 -1
  99. package/dist/functions/index.mjs +16 -16
  100. package/dist/functions/index.mjs.map +1 -1
  101. package/dist/index.d.mts +7 -6
  102. package/dist/index.d.ts +7 -6
  103. package/dist/index.js +543 -326
  104. package/dist/index.js.map +1 -1
  105. package/dist/index.mjs +536 -319
  106. package/dist/index.mjs.map +1 -1
  107. package/dist/interface/CommitmentProps.d.mts +2 -2
  108. package/dist/interface/CommitmentProps.d.ts +2 -2
  109. package/dist/interface/RoomProps.d.mts +2 -2
  110. package/dist/interface/RoomProps.d.ts +2 -2
  111. package/dist/interface/index.d.mts +4 -4
  112. package/dist/interface/index.d.ts +4 -4
  113. package/dist/interface/navigation/LocationProps.d.mts +2 -2
  114. package/dist/interface/navigation/LocationProps.d.ts +2 -2
  115. package/dist/interface/navigation/MapProps.d.mts +2 -2
  116. package/dist/interface/navigation/MapProps.d.ts +2 -2
  117. package/dist/interface/quest/GoalProps.d.mts +12 -0
  118. package/dist/interface/quest/GoalProps.d.ts +12 -0
  119. package/dist/interface/quest/QuestProps.d.mts +6 -9
  120. package/dist/interface/quest/QuestProps.d.ts +6 -9
  121. package/dist/interface/quest/StageFlags.d.mts +12 -0
  122. package/dist/interface/quest/StageFlags.d.ts +12 -0
  123. package/dist/interface/quest/StageFlags.js +4 -0
  124. package/dist/interface/quest/StageFlags.js.map +1 -0
  125. package/dist/interface/quest/StageFlags.mjs +3 -0
  126. package/dist/interface/quest/StageFlags.mjs.map +1 -0
  127. package/dist/interface/quest/StageProps.d.mts +3 -2
  128. package/dist/interface/quest/StageProps.d.ts +3 -2
  129. package/dist/override/OnEndStage.d.mts +19 -0
  130. package/dist/override/OnEndStage.d.ts +19 -0
  131. package/dist/override/OnEndStage.js +4 -0
  132. package/dist/override/OnEndStage.js.map +1 -0
  133. package/dist/override/OnEndStage.mjs +3 -0
  134. package/dist/override/OnEndStage.mjs.map +1 -0
  135. package/dist/override/OnStartStage.d.mts +19 -0
  136. package/dist/override/OnStartStage.d.ts +19 -0
  137. package/dist/override/OnStartStage.js +4 -0
  138. package/dist/override/OnStartStage.js.map +1 -0
  139. package/dist/override/OnStartStage.mjs +3 -0
  140. package/dist/override/OnStartStage.mjs.map +1 -0
  141. package/dist/override/index.d.mts +2 -0
  142. package/dist/override/index.d.ts +2 -0
  143. package/dist/types/ExecutionType.d.mts +3 -0
  144. package/dist/types/ExecutionType.d.ts +3 -0
  145. package/dist/types/ExecutionType.js +4 -0
  146. package/dist/types/ExecutionType.js.map +1 -0
  147. package/dist/types/ExecutionType.mjs +3 -0
  148. package/dist/types/ExecutionType.mjs.map +1 -0
  149. package/dist/types/QuestsRequired.d.mts +3 -2
  150. package/dist/types/QuestsRequired.d.ts +3 -2
  151. package/dist/types/index.d.mts +4 -2
  152. package/dist/types/index.d.ts +4 -2
  153. package/package.json +1 -1
  154. package/dist/Quest-Bdm0R9LA.d.mts +0 -71
  155. package/dist/Quest-CxJcXETG.d.ts +0 -71
  156. package/dist/enums/ExecutionTypeEnum.d.mts +0 -6
  157. package/dist/enums/ExecutionTypeEnum.d.ts +0 -6
  158. package/dist/enums/ExecutionTypeEnum.js +0 -12
  159. package/dist/enums/ExecutionTypeEnum.js.map +0 -1
  160. package/dist/enums/ExecutionTypeEnum.mjs +0 -10
  161. package/dist/enums/ExecutionTypeEnum.mjs.map +0 -1
  162. package/dist/enums/index.d.mts +0 -1
  163. package/dist/enums/index.d.ts +0 -1
  164. package/dist/enums/index.js +0 -12
  165. package/dist/enums/index.js.map +0 -1
  166. package/dist/enums/index.mjs +0 -10
  167. package/dist/enums/index.mjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
  export { A as ActivityProps } from '../ActivityProps-_79x9-BX.js';
2
- export { a as CommitmentProps, b as LocationProps, c as MapProps, d as RoomProps } from '../Commitment-GIA4EK_q.js';
2
+ export { a as CommitmentProps, b as LocationProps, c as MapProps, d as RoomProps } from '../Commitment-Cc2kZEy0.js';
3
3
  export { default as GoalProps } from './quest/GoalProps.js';
4
- export { default as QuestProps } from './quest/QuestProps.js';
5
- export { a as StageProps } from '../Quest-CxJcXETG.js';
4
+ export { a as QuestProps, b as StageProps } from '../Quest-BQ1pwvQ_.js';
6
5
  import '../classes/Activity.js';
7
6
  import '../classes/quest/Goal.js';
8
7
  import '@drincs/nqtr/dist/override';
9
8
  import '../types/OnRunActivityEvent.js';
10
9
  import '@drincs/pixi-vn';
11
- import '../enums/ExecutionTypeEnum.js';
10
+ import '../types/ExecutionType.js';
12
11
  import '../types/OnRunCommitmentEvent.js';
12
+ import './quest/StageFlags.js';
@@ -1,7 +1,7 @@
1
1
  import '@drincs/nqtr/dist/override';
2
- export { b as default } from '../../Commitment-DNn_TEgV.mjs';
2
+ export { b as default } from '../../Commitment-C3Nc2RJH.mjs';
3
3
  import '@drincs/pixi-vn';
4
- import '../../enums/ExecutionTypeEnum.mjs';
4
+ import '../../types/ExecutionType.mjs';
5
5
  import '../../classes/Activity.mjs';
6
6
  import '../../ActivityProps-BoJeWa2B.mjs';
7
7
  import '../../types/OnRunActivityEvent.mjs';
@@ -1,7 +1,7 @@
1
1
  import '@drincs/nqtr/dist/override';
2
- export { b as default } from '../../Commitment-GIA4EK_q.js';
2
+ export { b as default } from '../../Commitment-Cc2kZEy0.js';
3
3
  import '@drincs/pixi-vn';
4
- import '../../enums/ExecutionTypeEnum.js';
4
+ import '../../types/ExecutionType.js';
5
5
  import '../../classes/Activity.js';
6
6
  import '../../ActivityProps-_79x9-BX.js';
7
7
  import '../../types/OnRunActivityEvent.js';
@@ -1,7 +1,7 @@
1
1
  import '@drincs/nqtr/dist/override';
2
- export { c as default } from '../../Commitment-DNn_TEgV.mjs';
2
+ export { c as default } from '../../Commitment-C3Nc2RJH.mjs';
3
3
  import '@drincs/pixi-vn';
4
- import '../../enums/ExecutionTypeEnum.mjs';
4
+ import '../../types/ExecutionType.mjs';
5
5
  import '../../classes/Activity.mjs';
6
6
  import '../../ActivityProps-BoJeWa2B.mjs';
7
7
  import '../../types/OnRunActivityEvent.mjs';
@@ -1,7 +1,7 @@
1
1
  import '@drincs/nqtr/dist/override';
2
- export { c as default } from '../../Commitment-GIA4EK_q.js';
2
+ export { c as default } from '../../Commitment-Cc2kZEy0.js';
3
3
  import '@drincs/pixi-vn';
4
- import '../../enums/ExecutionTypeEnum.js';
4
+ import '../../types/ExecutionType.js';
5
5
  import '../../classes/Activity.js';
6
6
  import '../../ActivityProps-_79x9-BX.js';
7
7
  import '../../types/OnRunActivityEvent.js';
@@ -1,6 +1,18 @@
1
1
  interface GoalProps {
2
+ /**
3
+ * The description of the goal.
4
+ * @default ""
5
+ */
2
6
  description: string;
7
+ /**
8
+ * The value that the goal needs to be completed.
9
+ * @default 1
10
+ */
3
11
  need?: number;
12
+ /**
13
+ * The value that the goal already has.
14
+ * @default 0
15
+ */
4
16
  have?: number;
5
17
  }
6
18
 
@@ -1,6 +1,18 @@
1
1
  interface GoalProps {
2
+ /**
3
+ * The description of the goal.
4
+ * @default ""
5
+ */
2
6
  description: string;
7
+ /**
8
+ * The value that the goal needs to be completed.
9
+ * @default 1
10
+ */
3
11
  need?: number;
12
+ /**
13
+ * The value that the goal already has.
14
+ * @default 0
15
+ */
4
16
  have?: number;
5
17
  }
6
18
 
@@ -1,9 +1,6 @@
1
- interface QuestProps {
2
- name?: string;
3
- description?: string;
4
- icon?: string;
5
- image?: string;
6
- isInDevelopment?: boolean;
7
- }
8
-
9
- export type { QuestProps as default };
1
+ import '@drincs/nqtr/dist/override';
2
+ export { a as default } from '../../Quest-DaNlPBHb.mjs';
3
+ import '@drincs/pixi-vn';
4
+ import '../../classes/quest/Goal.mjs';
5
+ import './GoalProps.mjs';
6
+ import './StageFlags.mjs';
@@ -1,9 +1,6 @@
1
- interface QuestProps {
2
- name?: string;
3
- description?: string;
4
- icon?: string;
5
- image?: string;
6
- isInDevelopment?: boolean;
7
- }
8
-
9
- export type { QuestProps as default };
1
+ import '@drincs/nqtr/dist/override';
2
+ export { a as default } from '../../Quest-BQ1pwvQ_.js';
3
+ import '@drincs/pixi-vn';
4
+ import '../../classes/quest/Goal.js';
5
+ import './GoalProps.js';
6
+ import './StageFlags.js';
@@ -0,0 +1,12 @@
1
+ interface StageFlags {
2
+ /**
3
+ * The flag for checking if the condition is met.
4
+ */
5
+ flag: string;
6
+ /**
7
+ * The description of the flag.
8
+ */
9
+ description: string;
10
+ }
11
+
12
+ export type { StageFlags as default };
@@ -0,0 +1,12 @@
1
+ interface StageFlags {
2
+ /**
3
+ * The flag for checking if the condition is met.
4
+ */
5
+ flag: string;
6
+ /**
7
+ * The description of the flag.
8
+ */
9
+ description: string;
10
+ }
11
+
12
+ export type { StageFlags as default };
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=StageFlags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+
2
+ //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=StageFlags.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
- export { a as default } from '../../Quest-Bdm0R9LA.mjs';
1
+ import '@drincs/nqtr/dist/override';
2
+ export { b as default } from '../../Quest-DaNlPBHb.mjs';
2
3
  import '../../classes/quest/Goal.mjs';
4
+ import './StageFlags.mjs';
3
5
  import '@drincs/pixi-vn';
4
- import './QuestProps.mjs';
5
6
  import './GoalProps.mjs';
@@ -1,5 +1,6 @@
1
- export { a as default } from '../../Quest-CxJcXETG.js';
1
+ import '@drincs/nqtr/dist/override';
2
+ export { b as default } from '../../Quest-BQ1pwvQ_.js';
2
3
  import '../../classes/quest/Goal.js';
4
+ import './StageFlags.js';
3
5
  import '@drincs/pixi-vn';
4
- import './QuestProps.js';
5
6
  import './GoalProps.js';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The props of the onEnd functions.
3
+ * You can override this interface to add your own props.
4
+ * @example
5
+ * ```typescript
6
+ * // nqtr.types.ts
7
+ * declare module '@drincs/nqtr/dist/override' {
8
+ * interface OnEndStage {
9
+ * navigate: (route: string) => void,
10
+ * [key: string]: any
11
+ * }
12
+ * }
13
+ * ```
14
+ */
15
+ interface OnEndStage {
16
+ [key: string]: any;
17
+ }
18
+
19
+ export type { OnEndStage as default };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The props of the onEnd functions.
3
+ * You can override this interface to add your own props.
4
+ * @example
5
+ * ```typescript
6
+ * // nqtr.types.ts
7
+ * declare module '@drincs/nqtr/dist/override' {
8
+ * interface OnEndStage {
9
+ * navigate: (route: string) => void,
10
+ * [key: string]: any
11
+ * }
12
+ * }
13
+ * ```
14
+ */
15
+ interface OnEndStage {
16
+ [key: string]: any;
17
+ }
18
+
19
+ export type { OnEndStage as default };
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=OnEndStage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+
2
+ //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=OnEndStage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The props of the onStart functions.
3
+ * You can override this interface to add your own props.
4
+ * @example
5
+ * ```typescript
6
+ * // nqtr.types.ts
7
+ * declare module '@drincs/nqtr/dist/override' {
8
+ * interface OnStartStage {
9
+ * navigate: (route: string) => void,
10
+ * [key: string]: any
11
+ * }
12
+ * }
13
+ * ```
14
+ */
15
+ interface OnStartStage {
16
+ [key: string]: any;
17
+ }
18
+
19
+ export type { OnStartStage as default };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The props of the onStart functions.
3
+ * You can override this interface to add your own props.
4
+ * @example
5
+ * ```typescript
6
+ * // nqtr.types.ts
7
+ * declare module '@drincs/nqtr/dist/override' {
8
+ * interface OnStartStage {
9
+ * navigate: (route: string) => void,
10
+ * [key: string]: any
11
+ * }
12
+ * }
13
+ * ```
14
+ */
15
+ interface OnStartStage {
16
+ [key: string]: any;
17
+ }
18
+
19
+ export type { OnStartStage as default };
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=OnStartStage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+
2
+ //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=OnStartStage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,6 +1,8 @@
1
1
  export { default as GraphicItemInterface } from './GraphicItemInterface.mjs';
2
2
  export { default as GraphicItemType } from './GraphicItemType.mjs';
3
+ export { default as OnEndStage } from './OnEndStage.mjs';
3
4
  export { default as OnRenderGraphicItemProps } from './OnRenderGraphicItemProps.mjs';
4
5
  export { default as OnRunProps } from './OnRunProps.mjs';
6
+ export { default as OnStartStage } from './OnStartStage.mjs';
5
7
  import '@drincs/nqtr/dist/override';
6
8
  import '@drincs/pixi-vn';
@@ -1,6 +1,8 @@
1
1
  export { default as GraphicItemInterface } from './GraphicItemInterface.js';
2
2
  export { default as GraphicItemType } from './GraphicItemType.js';
3
+ export { default as OnEndStage } from './OnEndStage.js';
3
4
  export { default as OnRenderGraphicItemProps } from './OnRenderGraphicItemProps.js';
4
5
  export { default as OnRunProps } from './OnRunProps.js';
6
+ export { default as OnStartStage } from './OnStartStage.js';
5
7
  import '@drincs/nqtr/dist/override';
6
8
  import '@drincs/pixi-vn';
@@ -0,0 +1,3 @@
1
+ type ExecutionType = "automatic" | "interaction";
2
+
3
+ export type { ExecutionType as default };
@@ -0,0 +1,3 @@
1
+ type ExecutionType = "automatic" | "interaction";
2
+
3
+ export type { ExecutionType as default };
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=ExecutionType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+
2
+ //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=ExecutionType.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
- export { b as QuestsRequiredType } from '../Quest-Bdm0R9LA.mjs';
1
+ export { c as QuestsRequiredType } from '../Quest-DaNlPBHb.mjs';
2
+ import '@drincs/nqtr/dist/override';
2
3
  import '@drincs/pixi-vn';
3
4
  import '../classes/quest/Goal.mjs';
4
5
  import '../interface/quest/GoalProps.mjs';
5
- import '../interface/quest/QuestProps.mjs';
6
+ import '../interface/quest/StageFlags.mjs';
@@ -1,5 +1,6 @@
1
- export { b as QuestsRequiredType } from '../Quest-CxJcXETG.js';
1
+ export { c as QuestsRequiredType } from '../Quest-BQ1pwvQ_.js';
2
+ import '@drincs/nqtr/dist/override';
2
3
  import '@drincs/pixi-vn';
3
4
  import '../classes/quest/Goal.js';
4
5
  import '../interface/quest/GoalProps.js';
5
- import '../interface/quest/QuestProps.js';
6
+ import '../interface/quest/StageFlags.js';
@@ -1,6 +1,8 @@
1
- export { b as QuestsRequiredType } from '../Quest-Bdm0R9LA.mjs';
1
+ export { default as ExecutionType } from './ExecutionType.mjs';
2
+ export { c as QuestsRequiredType } from '../Quest-DaNlPBHb.mjs';
2
3
  export { ITimeStlot, TimeSettings } from './TimeSettings.mjs';
4
+ import '@drincs/nqtr/dist/override';
3
5
  import '@drincs/pixi-vn';
4
6
  import '../classes/quest/Goal.mjs';
5
7
  import '../interface/quest/GoalProps.mjs';
6
- import '../interface/quest/QuestProps.mjs';
8
+ import '../interface/quest/StageFlags.mjs';
@@ -1,6 +1,8 @@
1
- export { b as QuestsRequiredType } from '../Quest-CxJcXETG.js';
1
+ export { default as ExecutionType } from './ExecutionType.js';
2
+ export { c as QuestsRequiredType } from '../Quest-BQ1pwvQ_.js';
2
3
  export { ITimeStlot, TimeSettings } from './TimeSettings.js';
4
+ import '@drincs/nqtr/dist/override';
3
5
  import '@drincs/pixi-vn';
4
6
  import '../classes/quest/Goal.js';
5
7
  import '../interface/quest/GoalProps.js';
6
- import '../interface/quest/QuestProps.js';
8
+ import '../interface/quest/StageFlags.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drincs/nqtr",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "A complete system introducing the concepts of location, time and event, producing the framework of a not-quite-point-and-click adventure game.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -1,71 +0,0 @@
1
- import { StoredClassModel } from '@drincs/pixi-vn';
2
- import Goal from './classes/quest/Goal.mjs';
3
- import QuestProps from './interface/quest/QuestProps.mjs';
4
-
5
- type QuestsRequiredType<TQuest extends QuestBaseModel = QuestBaseModel> = {
6
- quest: TQuest;
7
- stageNumber: number;
8
- } | TQuest;
9
-
10
- interface StageProps {
11
- goals?: Goal[];
12
- name?: string;
13
- description?: string;
14
- adviceDescription?: string;
15
- image?: string;
16
- daysRequiredToStart: number;
17
- flagsRequired: string[];
18
- questsRequired: QuestsRequiredType[];
19
- requestDescription?: string;
20
- onStart: () => void;
21
- onEnd: () => void;
22
- }
23
-
24
- declare class StageBaseModel extends StoredClassModel {
25
- constructor(id: string, props: StageProps);
26
- private _completed;
27
- get completed(): boolean;
28
- private _active;
29
- get active(): boolean;
30
- private defaultGoals;
31
- get goals(): Goal[];
32
- set goals(value: Goal[]);
33
- private _name;
34
- get name(): string;
35
- private _description;
36
- get description(): string;
37
- private _adviceDescription;
38
- get adviceDescription(): string;
39
- private _image;
40
- get image(): string;
41
- private _daysRequiredToStart;
42
- get daysRequiredToStart(): number;
43
- private _flagsRequired;
44
- get flagsRequired(): string[];
45
- private _questsRequired;
46
- get questsRequired(): QuestsRequiredType[];
47
- private _requestDescription;
48
- get requestDescription(): string;
49
- private _onStart;
50
- get onStart(): () => void;
51
- private _onEnd;
52
- get onEnd(): () => void;
53
- }
54
-
55
- declare class QuestBaseModel<TStage extends StageBaseModel = StageBaseModel> extends StoredClassModel {
56
- constructor(id: string, stages: TStage[], props: QuestProps);
57
- private _stages;
58
- get stages(): TStage[];
59
- private _name;
60
- get name(): string;
61
- private _description;
62
- get description(): string;
63
- private _icon;
64
- get icon(): string;
65
- private _image;
66
- get image(): string;
67
- private _isInDevelopment;
68
- get isInDevelopment(): boolean;
69
- }
70
-
71
- export { QuestBaseModel as Q, StageBaseModel as S, type StageProps as a, type QuestsRequiredType as b };
@@ -1,71 +0,0 @@
1
- import { StoredClassModel } from '@drincs/pixi-vn';
2
- import Goal from './classes/quest/Goal.js';
3
- import QuestProps from './interface/quest/QuestProps.js';
4
-
5
- type QuestsRequiredType<TQuest extends QuestBaseModel = QuestBaseModel> = {
6
- quest: TQuest;
7
- stageNumber: number;
8
- } | TQuest;
9
-
10
- interface StageProps {
11
- goals?: Goal[];
12
- name?: string;
13
- description?: string;
14
- adviceDescription?: string;
15
- image?: string;
16
- daysRequiredToStart: number;
17
- flagsRequired: string[];
18
- questsRequired: QuestsRequiredType[];
19
- requestDescription?: string;
20
- onStart: () => void;
21
- onEnd: () => void;
22
- }
23
-
24
- declare class StageBaseModel extends StoredClassModel {
25
- constructor(id: string, props: StageProps);
26
- private _completed;
27
- get completed(): boolean;
28
- private _active;
29
- get active(): boolean;
30
- private defaultGoals;
31
- get goals(): Goal[];
32
- set goals(value: Goal[]);
33
- private _name;
34
- get name(): string;
35
- private _description;
36
- get description(): string;
37
- private _adviceDescription;
38
- get adviceDescription(): string;
39
- private _image;
40
- get image(): string;
41
- private _daysRequiredToStart;
42
- get daysRequiredToStart(): number;
43
- private _flagsRequired;
44
- get flagsRequired(): string[];
45
- private _questsRequired;
46
- get questsRequired(): QuestsRequiredType[];
47
- private _requestDescription;
48
- get requestDescription(): string;
49
- private _onStart;
50
- get onStart(): () => void;
51
- private _onEnd;
52
- get onEnd(): () => void;
53
- }
54
-
55
- declare class QuestBaseModel<TStage extends StageBaseModel = StageBaseModel> extends StoredClassModel {
56
- constructor(id: string, stages: TStage[], props: QuestProps);
57
- private _stages;
58
- get stages(): TStage[];
59
- private _name;
60
- get name(): string;
61
- private _description;
62
- get description(): string;
63
- private _icon;
64
- get icon(): string;
65
- private _image;
66
- get image(): string;
67
- private _isInDevelopment;
68
- get isInDevelopment(): boolean;
69
- }
70
-
71
- export { QuestBaseModel as Q, StageBaseModel as S, type StageProps as a, type QuestsRequiredType as b };
@@ -1,6 +0,0 @@
1
- declare enum ExecutionTypeEnum {
2
- AUTOMATIC = "automatic",
3
- INTERACTION = "interaction"
4
- }
5
-
6
- export { ExecutionTypeEnum };
@@ -1,6 +0,0 @@
1
- declare enum ExecutionTypeEnum {
2
- AUTOMATIC = "automatic",
3
- INTERACTION = "interaction"
4
- }
5
-
6
- export { ExecutionTypeEnum };
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- // src/enums/ExecutionTypeEnum.ts
4
- var ExecutionTypeEnum = /* @__PURE__ */ ((ExecutionTypeEnum2) => {
5
- ExecutionTypeEnum2["AUTOMATIC"] = "automatic";
6
- ExecutionTypeEnum2["INTERACTION"] = "interaction";
7
- return ExecutionTypeEnum2;
8
- })(ExecutionTypeEnum || {});
9
-
10
- exports.ExecutionTypeEnum = ExecutionTypeEnum;
11
- //# sourceMappingURL=out.js.map
12
- //# sourceMappingURL=ExecutionTypeEnum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/enums/ExecutionTypeEnum.ts"],"names":["ExecutionTypeEnum"],"mappings":";AAAO,IAAK,oBAAL,kBAAKA,uBAAL;AACH,EAAAA,mBAAA,eAAY;AACZ,EAAAA,mBAAA,iBAAc;AAFN,SAAAA;AAAA,GAAA","sourcesContent":["export enum ExecutionTypeEnum {\n AUTOMATIC = \"automatic\",\n INTERACTION = \"interaction\",\n}\n"]}
@@ -1,10 +0,0 @@
1
- // src/enums/ExecutionTypeEnum.ts
2
- var ExecutionTypeEnum = /* @__PURE__ */ ((ExecutionTypeEnum2) => {
3
- ExecutionTypeEnum2["AUTOMATIC"] = "automatic";
4
- ExecutionTypeEnum2["INTERACTION"] = "interaction";
5
- return ExecutionTypeEnum2;
6
- })(ExecutionTypeEnum || {});
7
-
8
- export { ExecutionTypeEnum };
9
- //# sourceMappingURL=out.js.map
10
- //# sourceMappingURL=ExecutionTypeEnum.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/enums/ExecutionTypeEnum.ts"],"names":["ExecutionTypeEnum"],"mappings":";AAAO,IAAK,oBAAL,kBAAKA,uBAAL;AACH,EAAAA,mBAAA,eAAY;AACZ,EAAAA,mBAAA,iBAAc;AAFN,SAAAA;AAAA,GAAA","sourcesContent":["export enum ExecutionTypeEnum {\n AUTOMATIC = \"automatic\",\n INTERACTION = \"interaction\",\n}\n"]}
@@ -1 +0,0 @@
1
- export { ExecutionTypeEnum } from './ExecutionTypeEnum.mjs';
@@ -1 +0,0 @@
1
- export { ExecutionTypeEnum } from './ExecutionTypeEnum.js';
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- // src/enums/ExecutionTypeEnum.ts
4
- var ExecutionTypeEnum = /* @__PURE__ */ ((ExecutionTypeEnum2) => {
5
- ExecutionTypeEnum2["AUTOMATIC"] = "automatic";
6
- ExecutionTypeEnum2["INTERACTION"] = "interaction";
7
- return ExecutionTypeEnum2;
8
- })(ExecutionTypeEnum || {});
9
-
10
- exports.ExecutionTypeEnum = ExecutionTypeEnum;
11
- //# sourceMappingURL=out.js.map
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/enums/ExecutionTypeEnum.ts"],"names":["ExecutionTypeEnum"],"mappings":";AAAO,IAAK,oBAAL,kBAAKA,uBAAL;AACH,EAAAA,mBAAA,eAAY;AACZ,EAAAA,mBAAA,iBAAc;AAFN,SAAAA;AAAA,GAAA","sourcesContent":["export enum ExecutionTypeEnum {\n AUTOMATIC = \"automatic\",\n INTERACTION = \"interaction\",\n}\n"]}