@drincs/nqtr 0.3.7 → 0.4.1

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 (341) hide show
  1. package/dist/RoomInterface-BRA386zn.d.mts +171 -0
  2. package/dist/RoomInterface-Cwm08AzD.d.ts +171 -0
  3. package/dist/{StageInterface-DX74DUxG.d.mts → StageInterface-LDgQToad.d.mts} +28 -14
  4. package/dist/{StageInterface-DX74DUxG.d.ts → StageInterface-LDgQToad.d.ts} +28 -14
  5. package/dist/classes/index.cjs +2 -0
  6. package/dist/classes/index.cjs.map +1 -0
  7. package/dist/classes/index.d.mts +508 -31
  8. package/dist/classes/index.d.ts +508 -31
  9. package/dist/classes/index.mjs +1 -1
  10. package/dist/classes/index.mjs.map +1 -1
  11. package/dist/decorators/index.cjs +2 -0
  12. package/dist/decorators/index.cjs.map +1 -0
  13. package/dist/decorators/index.d.mts +161 -9
  14. package/dist/decorators/index.d.ts +161 -9
  15. package/dist/decorators/index.mjs +1 -1
  16. package/dist/decorators/index.mjs.map +1 -1
  17. package/dist/index-B-x-OmU2.d.ts +186 -0
  18. package/dist/index-CJubtUni.d.mts +301 -0
  19. package/dist/index-Cq_kqDbo.d.ts +301 -0
  20. package/dist/index-k8ho_YWr.d.mts +186 -0
  21. package/dist/index.cjs +2 -0
  22. package/dist/index.cjs.map +1 -0
  23. package/dist/index.d.mts +16 -46
  24. package/dist/index.d.ts +16 -46
  25. package/dist/index.mjs +1 -1
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/interface/index.cjs +2 -0
  28. package/dist/{functions/index.js.map → interface/index.cjs.map} +1 -1
  29. package/dist/interface/index.d.mts +3 -14
  30. package/dist/interface/index.d.ts +3 -14
  31. package/dist/managers/index.cjs +2 -0
  32. package/dist/managers/index.cjs.map +1 -0
  33. package/dist/managers/index.d.mts +4 -17
  34. package/dist/managers/index.d.ts +4 -17
  35. package/dist/managers/index.mjs +1 -1
  36. package/dist/managers/index.mjs.map +1 -1
  37. package/dist/types/index.cjs +2 -0
  38. package/dist/{functions/index.mjs.map → types/index.cjs.map} +1 -1
  39. package/dist/types/index.d.mts +60 -4
  40. package/dist/types/index.d.ts +60 -4
  41. package/package.json +13 -5
  42. package/dist/RoomInterface-CdAM_q7P.d.ts +0 -83
  43. package/dist/RoomInterface-DURfkQ7u.d.mts +0 -83
  44. package/dist/classes/ActivityBaseModel.d.mts +0 -63
  45. package/dist/classes/ActivityBaseModel.d.ts +0 -63
  46. package/dist/classes/ActivityBaseModel.js +0 -2
  47. package/dist/classes/ActivityBaseModel.js.map +0 -1
  48. package/dist/classes/ActivityBaseModel.mjs +0 -2
  49. package/dist/classes/ActivityBaseModel.mjs.map +0 -1
  50. package/dist/classes/ActivityStoredClass.d.mts +0 -27
  51. package/dist/classes/ActivityStoredClass.d.ts +0 -27
  52. package/dist/classes/ActivityStoredClass.js +0 -2
  53. package/dist/classes/ActivityStoredClass.js.map +0 -1
  54. package/dist/classes/ActivityStoredClass.mjs +0 -2
  55. package/dist/classes/ActivityStoredClass.mjs.map +0 -1
  56. package/dist/classes/CommitmentBaseModel.d.mts +0 -65
  57. package/dist/classes/CommitmentBaseModel.d.ts +0 -65
  58. package/dist/classes/CommitmentBaseModel.js +0 -2
  59. package/dist/classes/CommitmentBaseModel.js.map +0 -1
  60. package/dist/classes/CommitmentBaseModel.mjs +0 -2
  61. package/dist/classes/CommitmentBaseModel.mjs.map +0 -1
  62. package/dist/classes/CommitmentStoredClass.d.mts +0 -31
  63. package/dist/classes/CommitmentStoredClass.d.ts +0 -31
  64. package/dist/classes/CommitmentStoredClass.js +0 -2
  65. package/dist/classes/CommitmentStoredClass.js.map +0 -1
  66. package/dist/classes/CommitmentStoredClass.mjs +0 -2
  67. package/dist/classes/CommitmentStoredClass.mjs.map +0 -1
  68. package/dist/classes/index.js +0 -2
  69. package/dist/classes/index.js.map +0 -1
  70. package/dist/classes/navigation/LocationBaseModel.d.mts +0 -54
  71. package/dist/classes/navigation/LocationBaseModel.d.ts +0 -54
  72. package/dist/classes/navigation/LocationBaseModel.js +0 -2
  73. package/dist/classes/navigation/LocationBaseModel.js.map +0 -1
  74. package/dist/classes/navigation/LocationBaseModel.mjs +0 -2
  75. package/dist/classes/navigation/LocationBaseModel.mjs.map +0 -1
  76. package/dist/classes/navigation/LocationStoredClass.d.mts +0 -23
  77. package/dist/classes/navigation/LocationStoredClass.d.ts +0 -23
  78. package/dist/classes/navigation/LocationStoredClass.js +0 -2
  79. package/dist/classes/navigation/LocationStoredClass.js.map +0 -1
  80. package/dist/classes/navigation/LocationStoredClass.mjs +0 -2
  81. package/dist/classes/navigation/LocationStoredClass.mjs.map +0 -1
  82. package/dist/classes/navigation/MapBaseModel.d.mts +0 -41
  83. package/dist/classes/navigation/MapBaseModel.d.ts +0 -41
  84. package/dist/classes/navigation/MapBaseModel.js +0 -2
  85. package/dist/classes/navigation/MapBaseModel.js.map +0 -1
  86. package/dist/classes/navigation/MapBaseModel.mjs +0 -2
  87. package/dist/classes/navigation/MapBaseModel.mjs.map +0 -1
  88. package/dist/classes/navigation/MapStoredClass.d.mts +0 -14
  89. package/dist/classes/navigation/MapStoredClass.d.ts +0 -14
  90. package/dist/classes/navigation/MapStoredClass.js +0 -2
  91. package/dist/classes/navigation/MapStoredClass.js.map +0 -1
  92. package/dist/classes/navigation/MapStoredClass.mjs +0 -2
  93. package/dist/classes/navigation/MapStoredClass.mjs.map +0 -1
  94. package/dist/classes/navigation/NavigationAbstractClass.d.mts +0 -48
  95. package/dist/classes/navigation/NavigationAbstractClass.d.ts +0 -48
  96. package/dist/classes/navigation/NavigationAbstractClass.js +0 -2
  97. package/dist/classes/navigation/NavigationAbstractClass.js.map +0 -1
  98. package/dist/classes/navigation/NavigationAbstractClass.mjs +0 -2
  99. package/dist/classes/navigation/NavigationAbstractClass.mjs.map +0 -1
  100. package/dist/classes/navigation/RoomBaseModel.d.mts +0 -67
  101. package/dist/classes/navigation/RoomBaseModel.d.ts +0 -67
  102. package/dist/classes/navigation/RoomBaseModel.js +0 -2
  103. package/dist/classes/navigation/RoomBaseModel.js.map +0 -1
  104. package/dist/classes/navigation/RoomBaseModel.mjs +0 -2
  105. package/dist/classes/navigation/RoomBaseModel.mjs.map +0 -1
  106. package/dist/classes/navigation/RoomStoredClass.d.mts +0 -24
  107. package/dist/classes/navigation/RoomStoredClass.d.ts +0 -24
  108. package/dist/classes/navigation/RoomStoredClass.js +0 -2
  109. package/dist/classes/navigation/RoomStoredClass.js.map +0 -1
  110. package/dist/classes/navigation/RoomStoredClass.mjs +0 -2
  111. package/dist/classes/navigation/RoomStoredClass.mjs.map +0 -1
  112. package/dist/classes/quest/QuestBaseModel.d.mts +0 -36
  113. package/dist/classes/quest/QuestBaseModel.d.ts +0 -36
  114. package/dist/classes/quest/QuestBaseModel.js +0 -2
  115. package/dist/classes/quest/QuestBaseModel.js.map +0 -1
  116. package/dist/classes/quest/QuestBaseModel.mjs +0 -2
  117. package/dist/classes/quest/QuestBaseModel.mjs.map +0 -1
  118. package/dist/classes/quest/QuestStoredClass.d.mts +0 -37
  119. package/dist/classes/quest/QuestStoredClass.d.ts +0 -37
  120. package/dist/classes/quest/QuestStoredClass.js +0 -2
  121. package/dist/classes/quest/QuestStoredClass.js.map +0 -1
  122. package/dist/classes/quest/QuestStoredClass.mjs +0 -2
  123. package/dist/classes/quest/QuestStoredClass.mjs.map +0 -1
  124. package/dist/classes/quest/StageBaseModel.d.mts +0 -50
  125. package/dist/classes/quest/StageBaseModel.d.ts +0 -50
  126. package/dist/classes/quest/StageBaseModel.js +0 -2
  127. package/dist/classes/quest/StageBaseModel.js.map +0 -1
  128. package/dist/classes/quest/StageBaseModel.mjs +0 -2
  129. package/dist/classes/quest/StageBaseModel.mjs.map +0 -1
  130. package/dist/classes/quest/StageStoredClass.d.mts +0 -46
  131. package/dist/classes/quest/StageStoredClass.d.ts +0 -46
  132. package/dist/classes/quest/StageStoredClass.js +0 -2
  133. package/dist/classes/quest/StageStoredClass.js.map +0 -1
  134. package/dist/classes/quest/StageStoredClass.mjs +0 -2
  135. package/dist/classes/quest/StageStoredClass.mjs.map +0 -1
  136. package/dist/constants.d.mts +0 -4
  137. package/dist/constants.d.ts +0 -4
  138. package/dist/constants.js +0 -2
  139. package/dist/constants.js.map +0 -1
  140. package/dist/constants.mjs +0 -2
  141. package/dist/constants.mjs.map +0 -1
  142. package/dist/decorators/ActivityDecorator.d.mts +0 -15
  143. package/dist/decorators/ActivityDecorator.d.ts +0 -15
  144. package/dist/decorators/ActivityDecorator.js +0 -2
  145. package/dist/decorators/ActivityDecorator.js.map +0 -1
  146. package/dist/decorators/ActivityDecorator.mjs +0 -2
  147. package/dist/decorators/ActivityDecorator.mjs.map +0 -1
  148. package/dist/decorators/CommitmentDecorator.d.mts +0 -27
  149. package/dist/decorators/CommitmentDecorator.d.ts +0 -27
  150. package/dist/decorators/CommitmentDecorator.js +0 -2
  151. package/dist/decorators/CommitmentDecorator.js.map +0 -1
  152. package/dist/decorators/CommitmentDecorator.mjs +0 -2
  153. package/dist/decorators/CommitmentDecorator.mjs.map +0 -1
  154. package/dist/decorators/QuestDecorator.d.mts +0 -22
  155. package/dist/decorators/QuestDecorator.d.ts +0 -22
  156. package/dist/decorators/QuestDecorator.js +0 -2
  157. package/dist/decorators/QuestDecorator.js.map +0 -1
  158. package/dist/decorators/QuestDecorator.mjs +0 -2
  159. package/dist/decorators/QuestDecorator.mjs.map +0 -1
  160. package/dist/decorators/RoomDecorator.d.mts +0 -28
  161. package/dist/decorators/RoomDecorator.d.ts +0 -28
  162. package/dist/decorators/RoomDecorator.js +0 -2
  163. package/dist/decorators/RoomDecorator.js.map +0 -1
  164. package/dist/decorators/RoomDecorator.mjs +0 -2
  165. package/dist/decorators/RoomDecorator.mjs.map +0 -1
  166. package/dist/decorators/index.js +0 -2
  167. package/dist/decorators/index.js.map +0 -1
  168. package/dist/functions/index.d.mts +0 -2
  169. package/dist/functions/index.d.ts +0 -2
  170. package/dist/functions/index.js +0 -2
  171. package/dist/functions/index.mjs +0 -2
  172. package/dist/index.js +0 -2
  173. package/dist/index.js.map +0 -1
  174. package/dist/interface/ActivityInterface.d.mts +0 -40
  175. package/dist/interface/ActivityInterface.d.ts +0 -40
  176. package/dist/interface/ActivityInterface.js +0 -2
  177. package/dist/interface/ActivityInterface.js.map +0 -1
  178. package/dist/interface/ActivityInterface.mjs +0 -2
  179. package/dist/interface/ActivityInterface.mjs.map +0 -1
  180. package/dist/interface/ActivityProps.d.mts +0 -48
  181. package/dist/interface/ActivityProps.d.ts +0 -48
  182. package/dist/interface/ActivityProps.js +0 -2
  183. package/dist/interface/ActivityProps.js.map +0 -1
  184. package/dist/interface/ActivityProps.mjs +0 -2
  185. package/dist/interface/ActivityProps.mjs.map +0 -1
  186. package/dist/interface/CommitmentInterface.d.mts +0 -6
  187. package/dist/interface/CommitmentInterface.d.ts +0 -6
  188. package/dist/interface/CommitmentInterface.js +0 -2
  189. package/dist/interface/CommitmentInterface.js.map +0 -1
  190. package/dist/interface/CommitmentInterface.mjs +0 -2
  191. package/dist/interface/CommitmentInterface.mjs.map +0 -1
  192. package/dist/interface/CommitmentProps.d.mts +0 -79
  193. package/dist/interface/CommitmentProps.d.ts +0 -79
  194. package/dist/interface/CommitmentProps.js +0 -2
  195. package/dist/interface/CommitmentProps.js.map +0 -1
  196. package/dist/interface/CommitmentProps.mjs +0 -2
  197. package/dist/interface/CommitmentProps.mjs.map +0 -1
  198. package/dist/interface/index.js +0 -2
  199. package/dist/interface/index.js.map +0 -1
  200. package/dist/interface/navigation/LocationBaseModelProps.d.mts +0 -32
  201. package/dist/interface/navigation/LocationBaseModelProps.d.ts +0 -32
  202. package/dist/interface/navigation/LocationBaseModelProps.js +0 -2
  203. package/dist/interface/navigation/LocationBaseModelProps.js.map +0 -1
  204. package/dist/interface/navigation/LocationBaseModelProps.mjs +0 -2
  205. package/dist/interface/navigation/LocationBaseModelProps.mjs.map +0 -1
  206. package/dist/interface/navigation/LocationInterface.d.mts +0 -6
  207. package/dist/interface/navigation/LocationInterface.d.ts +0 -6
  208. package/dist/interface/navigation/LocationInterface.js +0 -2
  209. package/dist/interface/navigation/LocationInterface.js.map +0 -1
  210. package/dist/interface/navigation/LocationInterface.mjs +0 -2
  211. package/dist/interface/navigation/LocationInterface.mjs.map +0 -1
  212. package/dist/interface/navigation/MapBaseModelProps.d.mts +0 -22
  213. package/dist/interface/navigation/MapBaseModelProps.d.ts +0 -22
  214. package/dist/interface/navigation/MapBaseModelProps.js +0 -2
  215. package/dist/interface/navigation/MapBaseModelProps.js.map +0 -1
  216. package/dist/interface/navigation/MapBaseModelProps.mjs +0 -2
  217. package/dist/interface/navigation/MapBaseModelProps.mjs.map +0 -1
  218. package/dist/interface/navigation/MapInterface.d.mts +0 -6
  219. package/dist/interface/navigation/MapInterface.d.ts +0 -6
  220. package/dist/interface/navigation/MapInterface.js +0 -2
  221. package/dist/interface/navigation/MapInterface.js.map +0 -1
  222. package/dist/interface/navigation/MapInterface.mjs +0 -2
  223. package/dist/interface/navigation/MapInterface.mjs.map +0 -1
  224. package/dist/interface/navigation/NavigationAbstractClass.d.mts +0 -54
  225. package/dist/interface/navigation/NavigationAbstractClass.d.ts +0 -54
  226. package/dist/interface/navigation/NavigationAbstractClass.js +0 -2
  227. package/dist/interface/navigation/NavigationAbstractClass.js.map +0 -1
  228. package/dist/interface/navigation/NavigationAbstractClass.mjs +0 -2
  229. package/dist/interface/navigation/NavigationAbstractClass.mjs.map +0 -1
  230. package/dist/interface/navigation/RoomBaseModelProps.d.mts +0 -37
  231. package/dist/interface/navigation/RoomBaseModelProps.d.ts +0 -37
  232. package/dist/interface/navigation/RoomBaseModelProps.js +0 -2
  233. package/dist/interface/navigation/RoomBaseModelProps.js.map +0 -1
  234. package/dist/interface/navigation/RoomBaseModelProps.mjs +0 -2
  235. package/dist/interface/navigation/RoomBaseModelProps.mjs.map +0 -1
  236. package/dist/interface/navigation/RoomInterface.d.mts +0 -6
  237. package/dist/interface/navigation/RoomInterface.d.ts +0 -6
  238. package/dist/interface/navigation/RoomInterface.js +0 -2
  239. package/dist/interface/navigation/RoomInterface.js.map +0 -1
  240. package/dist/interface/navigation/RoomInterface.mjs +0 -2
  241. package/dist/interface/navigation/RoomInterface.mjs.map +0 -1
  242. package/dist/interface/quest/QuestInterface.d.mts +0 -2
  243. package/dist/interface/quest/QuestInterface.d.ts +0 -2
  244. package/dist/interface/quest/QuestInterface.js +0 -2
  245. package/dist/interface/quest/QuestInterface.js.map +0 -1
  246. package/dist/interface/quest/QuestInterface.mjs +0 -2
  247. package/dist/interface/quest/QuestInterface.mjs.map +0 -1
  248. package/dist/interface/quest/QuestProps.d.mts +0 -39
  249. package/dist/interface/quest/QuestProps.d.ts +0 -39
  250. package/dist/interface/quest/QuestProps.js +0 -2
  251. package/dist/interface/quest/QuestProps.js.map +0 -1
  252. package/dist/interface/quest/QuestProps.mjs +0 -2
  253. package/dist/interface/quest/QuestProps.mjs.map +0 -1
  254. package/dist/interface/quest/StageFlags.d.mts +0 -12
  255. package/dist/interface/quest/StageFlags.d.ts +0 -12
  256. package/dist/interface/quest/StageFlags.js +0 -2
  257. package/dist/interface/quest/StageFlags.js.map +0 -1
  258. package/dist/interface/quest/StageFlags.mjs +0 -2
  259. package/dist/interface/quest/StageFlags.mjs.map +0 -1
  260. package/dist/interface/quest/StageInterface.d.mts +0 -2
  261. package/dist/interface/quest/StageInterface.d.ts +0 -2
  262. package/dist/interface/quest/StageInterface.js +0 -2
  263. package/dist/interface/quest/StageInterface.js.map +0 -1
  264. package/dist/interface/quest/StageInterface.mjs +0 -2
  265. package/dist/interface/quest/StageInterface.mjs.map +0 -1
  266. package/dist/interface/quest/StageProps.d.mts +0 -60
  267. package/dist/interface/quest/StageProps.d.ts +0 -60
  268. package/dist/interface/quest/StageProps.js +0 -2
  269. package/dist/interface/quest/StageProps.js.map +0 -1
  270. package/dist/interface/quest/StageProps.mjs +0 -2
  271. package/dist/interface/quest/StageProps.mjs.map +0 -1
  272. package/dist/managers/NavigatorManager.d.mts +0 -22
  273. package/dist/managers/NavigatorManager.d.ts +0 -22
  274. package/dist/managers/NavigatorManager.js +0 -2
  275. package/dist/managers/NavigatorManager.js.map +0 -1
  276. package/dist/managers/NavigatorManager.mjs +0 -2
  277. package/dist/managers/NavigatorManager.mjs.map +0 -1
  278. package/dist/managers/QuestManager.d.mts +0 -17
  279. package/dist/managers/QuestManager.d.ts +0 -17
  280. package/dist/managers/QuestManager.js +0 -2
  281. package/dist/managers/QuestManager.js.map +0 -1
  282. package/dist/managers/QuestManager.mjs +0 -2
  283. package/dist/managers/QuestManager.mjs.map +0 -1
  284. package/dist/managers/RoutineManager.d.mts +0 -59
  285. package/dist/managers/RoutineManager.d.ts +0 -59
  286. package/dist/managers/RoutineManager.js +0 -2
  287. package/dist/managers/RoutineManager.js.map +0 -1
  288. package/dist/managers/RoutineManager.mjs +0 -2
  289. package/dist/managers/RoutineManager.mjs.map +0 -1
  290. package/dist/managers/TimeManager.d.mts +0 -74
  291. package/dist/managers/TimeManager.d.ts +0 -74
  292. package/dist/managers/TimeManager.js +0 -2
  293. package/dist/managers/TimeManager.js.map +0 -1
  294. package/dist/managers/TimeManager.mjs +0 -2
  295. package/dist/managers/TimeManager.mjs.map +0 -1
  296. package/dist/managers/TimeManagerSettings.d.mts +0 -13
  297. package/dist/managers/TimeManagerSettings.d.ts +0 -13
  298. package/dist/managers/TimeManagerSettings.js +0 -2
  299. package/dist/managers/TimeManagerSettings.js.map +0 -1
  300. package/dist/managers/TimeManagerSettings.mjs +0 -2
  301. package/dist/managers/TimeManagerSettings.mjs.map +0 -1
  302. package/dist/managers/index.js +0 -2
  303. package/dist/managers/index.js.map +0 -1
  304. package/dist/nqtr.d.d.mts +0 -195
  305. package/dist/nqtr.d.d.ts +0 -195
  306. package/dist/nqtr.d.js +0 -2
  307. package/dist/nqtr.d.js.map +0 -1
  308. package/dist/nqtr.d.mjs +0 -2
  309. package/dist/nqtr.d.mjs.map +0 -1
  310. package/dist/types/ExecutionType.d.mts +0 -3
  311. package/dist/types/ExecutionType.d.ts +0 -3
  312. package/dist/types/ExecutionType.js +0 -2
  313. package/dist/types/ExecutionType.js.map +0 -1
  314. package/dist/types/ExecutionType.mjs +0 -2
  315. package/dist/types/ExecutionType.mjs.map +0 -1
  316. package/dist/types/OnRunEvent.d.mts +0 -9
  317. package/dist/types/OnRunEvent.d.ts +0 -9
  318. package/dist/types/OnRunEvent.js +0 -2
  319. package/dist/types/OnRunEvent.js.map +0 -1
  320. package/dist/types/OnRunEvent.mjs +0 -2
  321. package/dist/types/OnRunEvent.mjs.map +0 -1
  322. package/dist/types/QuestsRequired.d.mts +0 -2
  323. package/dist/types/QuestsRequired.d.ts +0 -2
  324. package/dist/types/QuestsRequired.js +0 -2
  325. package/dist/types/QuestsRequired.js.map +0 -1
  326. package/dist/types/QuestsRequired.mjs +0 -2
  327. package/dist/types/QuestsRequired.mjs.map +0 -1
  328. package/dist/types/TimeDataType.d.mts +0 -6
  329. package/dist/types/TimeDataType.d.ts +0 -6
  330. package/dist/types/TimeDataType.js +0 -2
  331. package/dist/types/TimeDataType.js.map +0 -1
  332. package/dist/types/TimeDataType.mjs +0 -2
  333. package/dist/types/TimeDataType.mjs.map +0 -1
  334. package/dist/types/TimeSettings.d.mts +0 -58
  335. package/dist/types/TimeSettings.d.ts +0 -58
  336. package/dist/types/TimeSettings.js +0 -2
  337. package/dist/types/TimeSettings.js.map +0 -1
  338. package/dist/types/TimeSettings.mjs +0 -2
  339. package/dist/types/TimeSettings.mjs.map +0 -1
  340. package/dist/types/index.js +0 -2
  341. package/dist/types/index.js.map +0 -1
@@ -0,0 +1,186 @@
1
+ import { C as CommitmentInterface, R as RoomInterface, L as LocationInterface, M as MapInterface } from './RoomInterface-Cwm08AzD.js';
2
+ import { OnRunProps } from '@drincs/nqtr';
3
+ import { Q as QuestInterface } from './StageInterface-LDgQToad.js';
4
+ import { CharacterInterface } from '@drincs/pixi-vn';
5
+ import { TimeSettings, ITimeStlot } from './types/index.js';
6
+
7
+ declare class TimeManager {
8
+ initialize(settings: TimeSettings): void;
9
+ get minDayHours(): number;
10
+ get maxDayHours(): number;
11
+ get defaultTimeSpent(): number;
12
+ get timeSlots(): ITimeStlot[];
13
+ get weekLength(): number;
14
+ get weekendStartDay(): number;
15
+ get weekDaysNames(): string[];
16
+ /**
17
+ * Get the current hour
18
+ */
19
+ get currentHour(): number;
20
+ set currentHour(value: number | undefined);
21
+ /**
22
+ * Get the current day
23
+ */
24
+ get currentDay(): number;
25
+ set currentDay(value: number | undefined);
26
+ /**
27
+ * If the current day is greater than or equal to the weekend start day, then it will return true.
28
+ */
29
+ get isWeekend(): boolean;
30
+ /**
31
+ * Get the current week day number (1 - {@link weekLength}).
32
+ * For example, if the week length is 7 and the current day is 10, then the result will be 4.
33
+ */
34
+ get currentWeekDayNumber(): number;
35
+ /**
36
+ * Get the current week day name. If the week days names are not defined, then it will return undefined.
37
+ * For example, if the week days names are ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'] and the current day is 10, then the result will be 'Thursday'.
38
+ * @default ""
39
+ */
40
+ get currentDayName(): string;
41
+ /**
42
+ * Get the current {@link timeSlots} index.
43
+ * You can use this property to create "Image that changes based on the time period":
44
+ * @example
45
+ * ```tsx
46
+ * import { weekLength } from '@drincs/nqtr';
47
+ *
48
+ * function changeBackground() {
49
+ * return (
50
+ * <img src={`background-currentTimeSlot.currentTimeSlot.png`} />
51
+ * )
52
+ * }
53
+ */
54
+ get currentTimeSlot(): number;
55
+ /**
56
+ * This function will increase the current hour by the given time spent.
57
+ * If the new hour is greater than or equal to the max day hours, then it will increase the day and set the new hour.
58
+ * @param timeSpent is the time spent in hours (default: {@link defaultTimeSpent})
59
+ * @returns currentTimeSlot.currentHour
60
+ */
61
+ increaseHour(timeSpent?: number): number;
62
+ /**
63
+ * This function will increase the current day by the given days.
64
+ * @param newDayHour is the hour of the new day (default: {@link minDayHours})
65
+ * @param days is the number of days to increase (default: 1)
66
+ * @returns timeTracker.currentDay
67
+ */
68
+ increaseDay(newDayHour?: number, days?: number): number;
69
+ /**
70
+ * This function will check if the current hour is between the given hours.
71
+ * @param fromHour the starting hour. If the {@link currentHour} is equal to this hour, the function will return true.
72
+ * @param toHour the ending hour.
73
+ * @returns true if the current hour is between the given hours, otherwise false.
74
+ */
75
+ nowIsBetween(fromHour: number | undefined, toHour: number | undefined): boolean;
76
+ }
77
+
78
+ declare class RoutineManager {
79
+ get fixedRoutine(): CommitmentInterface[];
80
+ /**
81
+ * Set a commitment as fixed, it will be always available. They cannot be deleted or edit during the game session.
82
+ */
83
+ set fixedRoutine(commitments: CommitmentInterface[]);
84
+ /**
85
+ * Get the temporary commitments by its id.
86
+ * @returns The temporary commitments.
87
+ */
88
+ get temporaryRoutine(): CommitmentInterface[];
89
+ get allRoutine(): CommitmentInterface[];
90
+ /**
91
+ * This feature adds the commitments during the game session.
92
+ * @param commitment The commitment or commitments to add.
93
+ */
94
+ add(commitment: CommitmentInterface[] | CommitmentInterface): void;
95
+ /**
96
+ * Get the commitments added during the game session.
97
+ * @param id The id of the commitment.
98
+ * @returns The commitment or undefined if not found.
99
+ */
100
+ find(id: string): CommitmentInterface | undefined;
101
+ /**
102
+ * Remove the commitments added during the game session.
103
+ * @param commitment The commitment or commitments to remove.
104
+ */
105
+ remove(commitment: CommitmentInterface[] | CommitmentInterface): void;
106
+ /**
107
+ * Clear all the expired commitments.
108
+ */
109
+ clearExpiredRoutine(): void;
110
+ /**
111
+ * Get the current commitments. The hidden commitments are not included.
112
+ * In case there is a character who has two or more commitments at the same time, will be selected the commitment with the highest priority.
113
+ * Higher priority commitments are calculated using the following steps:
114
+ * 1. The commitments that have Commitments BaseModel.priority set to a higher value will be selected first.
115
+ * 2. If there are commitments with the same priority, the commitments that are not fixed will be selected first.
116
+ * 3. If there are commitments with the same priority and the same fixed status, priority will be given to the commitment with a lower index.
117
+ * @returns The current commitments.
118
+ */
119
+ get currentRoutine(): CommitmentInterface[];
120
+ get currentRoomRoutine(): CommitmentInterface[];
121
+ /**
122
+ * Get the character commitment.
123
+ * @param character The character.
124
+ * @returns The commitment or undefined if not found.
125
+ */
126
+ getCommitmentByCharacter(character: CharacterInterface): CommitmentInterface | undefined;
127
+ }
128
+
129
+ declare class QuestManager {
130
+ /**
131
+ * The quests registered in the game.
132
+ */
133
+ get quests(): QuestInterface[];
134
+ /**
135
+ * The quests that are started, so they are in progress or completed or failed.
136
+ */
137
+ get startedQuests(): QuestInterface[];
138
+ /**
139
+ * The quests that are in progress.
140
+ */
141
+ get inProgressQuests(): QuestInterface[];
142
+ /**
143
+ * The quests that are completed.
144
+ */
145
+ get completedQuests(): QuestInterface[];
146
+ /**
147
+ * The quests that are failed.
148
+ */
149
+ get failedQuests(): QuestInterface[];
150
+ /**
151
+ * The quests that are not started.
152
+ */
153
+ get notStartedQuests(): QuestInterface[];
154
+ /**
155
+ * Get the quest by the id.
156
+ * @param id The id of the quest.
157
+ * @returns The quest with the id.
158
+ */
159
+ find(id: string): QuestInterface | undefined;
160
+ /**
161
+ * Start the quests that must start on the current stage.
162
+ */
163
+ startsStageMustBeStarted(props: OnRunProps): Promise<void>;
164
+ }
165
+
166
+ declare class NavigatorManager {
167
+ get rooms(): RoomInterface[];
168
+ get locations(): LocationInterface[];
169
+ get maps(): MapInterface[];
170
+ get currentRoomId(): string | undefined;
171
+ get currentRoom(): RoomInterface | undefined;
172
+ set currentRoom(room: RoomInterface | string);
173
+ get currentLocation(): LocationInterface | undefined;
174
+ get currentMap(): MapInterface | undefined;
175
+ /**
176
+ * Clear all the expired activities.
177
+ */
178
+ clearExpiredActivities(): void;
179
+ }
180
+
181
+ declare const timeTracker: TimeManager;
182
+ declare const navigator: NavigatorManager;
183
+ declare const routine: RoutineManager;
184
+ declare const questsNotebook: QuestManager;
185
+
186
+ export { NavigatorManager as N, QuestManager as Q, RoutineManager as R, TimeManager as T, navigator as n, questsNotebook as q, routine as r, timeTracker as t };
@@ -0,0 +1,301 @@
1
+ import { C as CommitmentInterface, A as ActivityInterface } from './RoomInterface-BRA386zn.mjs';
2
+ import { E as ExecutionType, a as OnRunEvent, Q as QuestInterface, d as QuestsRequiredType, S as StageInterface } from './StageInterface-LDgQToad.mjs';
3
+
4
+ interface ActivityProps {
5
+ /**
6
+ * The name
7
+ * @default ""
8
+ */
9
+ name?: string;
10
+ /**
11
+ * The hour when the activity starts. If the activity is not started yet, it will be hidden.
12
+ * If you set 3, the activity will be hidden into hours 1 and 2, and will be shown from hour 3.
13
+ * @default timeTracker.minDayHours
14
+ */
15
+ fromHour?: number;
16
+ /**
17
+ * The hour when the activity ends. If the activity is ended yet, it will be hidden.
18
+ * If you set 3, the activity will be shown into hours 1 and 2 and will be hidden from hour 3.
19
+ * @default timeTracker.maxDayHours + 1
20
+ */
21
+ toHour?: number;
22
+ /**
23
+ * The day when the activity starts. If the activity is not started yet, it will be hidden.
24
+ * If you set 3, the activity will be hidden into days 1 and 2, and will be shown from day 3.
25
+ * @default undefined
26
+ */
27
+ fromDay?: number;
28
+ /**
29
+ * The day when the activity ends. If the activity is ended yet, it will be deleted or hidden.
30
+ * If you set 3, the activity will be shown into days 1 and 2 and will be deleted or hidden from day 3.
31
+ * @default undefined
32
+ */
33
+ toDay?: number;
34
+ /**
35
+ * Whether is disabled. You can also pass a Pixi'VN flag name.
36
+ * @default false
37
+ */
38
+ disabled?: boolean | string;
39
+ /**
40
+ * Whether is hidden. You can also pass a Pixi'VN flag name.
41
+ * @default false
42
+ */
43
+ hidden?: boolean | string;
44
+ /**
45
+ * The icon of the activity.
46
+ * @default undefined
47
+ */
48
+ renderIcon?: string;
49
+ }
50
+
51
+ interface CommitmentProps {
52
+ /**
53
+ * The name
54
+ * @default ""
55
+ */
56
+ name?: string;
57
+ /**
58
+ * The hour when the commitment starts. If the commitment is not started yet, it will be hidden.
59
+ * If you set 3, the commitment will be hidden into hours 1 and 2, and will be shown from hour 3.
60
+ * @default timeTracker.minDayHours
61
+ */
62
+ fromHour?: number;
63
+ /**
64
+ * The hour when the commitment ends. If the commitment is ended yet, it will be hidden.
65
+ * If you set 3, the commitment will be shown into hours 1 and 2 and will be hidden from hour 3.
66
+ * @default timeTracker.maxDayHours + 1
67
+ */
68
+ toHour?: number;
69
+ /**
70
+ * The day when the commitment starts. If the commitment is not started yet, it will be hidden.
71
+ * If you set 3, the commitment will be hidden into days 1 and 2, and will be shown from day 3.
72
+ * @default undefined
73
+ */
74
+ fromDay?: number;
75
+ /**
76
+ * The day when the commitment ends. If the commitment is ended yet, it will be deleted or hidden.
77
+ * If you set 3, the commitment will be shown into days 1 and 2 and will be deleted or hidden from day 3.
78
+ * @default undefined
79
+ */
80
+ toDay?: number;
81
+ /**
82
+ * The image ofthe Commitment.
83
+ */
84
+ image?: string;
85
+ /**
86
+ * Execution type. If is "automatic" the onRun() runned automatically when the palayer is in the room. If is "interaction" the player must interact with the character to run the onRun() function.
87
+ * If you set "automatic" remember to remove the commitment when it is no longer needed, because otherwise it repeats itself every time.
88
+ * @default "interaction"
89
+ */
90
+ executionType?: ExecutionType;
91
+ /**
92
+ * Is a function that is called when the player interacts with the character.
93
+ * @param commitment
94
+ * @returns
95
+ * @default undefined
96
+ */
97
+ onRun?: OnRunEvent<CommitmentInterface>;
98
+ /**
99
+ * Whether is disabled. You can also pass a Pixi'VN flag name.
100
+ * If it is disabled this commitment will not be taken into consideration. So the characters will not be in the room, but will be busy with other commitments.
101
+ * @default false
102
+ */
103
+ disabled?: boolean | string;
104
+ /**
105
+ * Whether is hidden. You can also pass a Pixi'VN flag name.
106
+ * @default false
107
+ */
108
+ hidden?: boolean | string;
109
+ /**
110
+ * The icon of the commitment.
111
+ */
112
+ icon?: string;
113
+ /**
114
+ * The priority. The higher the number, the higher the priority.
115
+ * To ensure that a character is not in 2 places at the same time, if there are 2 or more valid commits at the same time and with the same character, the one with the highest priority will be chosen.
116
+ * @default 0
117
+ */
118
+ priority?: number;
119
+ }
120
+
121
+ interface LocationBaseModelProps {
122
+ /**
123
+ * The name
124
+ * @default ""
125
+ */
126
+ name?: string;
127
+ /**
128
+ * Whether is disabled. You can also pass a Pixi'VN flag name.
129
+ * @default false
130
+ */
131
+ disabled?: boolean | string;
132
+ /**
133
+ * Whether is hidden. You can also pass a Pixi'VN flag name.
134
+ * @default false
135
+ */
136
+ hidden?: boolean | string;
137
+ /**
138
+ * The icon of the location.
139
+ * @default undefined
140
+ */
141
+ icon?: string;
142
+ /**
143
+ * The activities that are available in this location.
144
+ * @default []
145
+ */
146
+ activities?: ActivityInterface[];
147
+ }
148
+
149
+ interface MapBaseModelProps {
150
+ /**
151
+ * The name
152
+ * @default ""
153
+ */
154
+ name?: string;
155
+ /**
156
+ * The image of the map.
157
+ * @default undefined
158
+ */
159
+ image?: string;
160
+ /**
161
+ * The activities that are available in this map.
162
+ * @default []
163
+ */
164
+ activities?: ActivityInterface[];
165
+ }
166
+
167
+ interface RoomBaseModelProps {
168
+ /**
169
+ * The name
170
+ * @default ""
171
+ */
172
+ name?: string;
173
+ /**
174
+ * The image of the room.
175
+ * @default undefined
176
+ */
177
+ image?: string;
178
+ /**
179
+ * The activities that are available in this room.
180
+ * @default []
181
+ */
182
+ activities?: ActivityInterface[];
183
+ /**
184
+ * Whether is disabled. You can also pass a Pixi'VN flag name.
185
+ * @default false
186
+ */
187
+ disabled?: boolean | string;
188
+ /**
189
+ * Whether is hidden. You can also pass a Pixi'VN flag name.
190
+ * @default false
191
+ */
192
+ hidden?: boolean | string;
193
+ /**
194
+ * The icon of the room.
195
+ * @default undefined
196
+ */
197
+ icon?: string;
198
+ }
199
+
200
+ interface QuestProps {
201
+ /**
202
+ * The name of the quest.
203
+ * @default ""
204
+ */
205
+ name?: string;
206
+ /**
207
+ * The description of the quest.
208
+ * @default ""
209
+ */
210
+ description?: string;
211
+ /**
212
+ * The icon of the quest.
213
+ * @default undefined
214
+ */
215
+ icon?: string;
216
+ /**
217
+ * The image of the quest.
218
+ */
219
+ image?: string;
220
+ /**
221
+ * If the quest is in development.
222
+ * @default false
223
+ */
224
+ inDevelopment?: boolean;
225
+ /**
226
+ * The function that will be executed when the quest starts.
227
+ */
228
+ onStart?: OnRunEvent<QuestInterface>;
229
+ /**
230
+ * The function that will be executed when a stage end in the quest.
231
+ */
232
+ onNextStage?: OnRunEvent<QuestInterface>;
233
+ }
234
+
235
+ interface StageFlags {
236
+ /**
237
+ * The flag for checking if the condition is met.
238
+ */
239
+ flag: string;
240
+ /**
241
+ * The description of the flag.
242
+ */
243
+ description: string;
244
+ }
245
+
246
+ interface StageProps {
247
+ /**
248
+ * The flags of the stage.
249
+ * @default []
250
+ */
251
+ flags?: StageFlags[];
252
+ /**
253
+ * The name of the stage.
254
+ * @default ""
255
+ */
256
+ name?: string;
257
+ /**
258
+ * The description of the stage.
259
+ * @default ""
260
+ */
261
+ description?: string;
262
+ /**
263
+ * The advice description of the stage.
264
+ * @default ""
265
+ */
266
+ adviceDescription?: string;
267
+ /**
268
+ * The image of the stage.
269
+ */
270
+ image?: string;
271
+ /**
272
+ * The day required to start the stage.
273
+ * @example If the value is 3, and the previous stage ends on day 1, the stage will start on day 4.
274
+ */
275
+ daysRequiredToStart?: number;
276
+ /**
277
+ * The flags required to start the stage.
278
+ * @default []
279
+ */
280
+ flagsRequiredToStart?: StageFlags[];
281
+ /**
282
+ * The quests required to start the stage.
283
+ * @default []
284
+ */
285
+ questsRequiredToStart?: QuestsRequiredType[];
286
+ /**
287
+ * The description to request to start the stage.
288
+ * @default ""
289
+ */
290
+ requestDescriptionToStart?: string;
291
+ /**
292
+ * The function that will be executed when the stage starts.
293
+ */
294
+ onStart?: OnRunEvent<StageInterface>;
295
+ /**
296
+ * The function that will be executed when the stage ends.
297
+ */
298
+ onEnd?: OnRunEvent<StageInterface>;
299
+ }
300
+
301
+ export type { ActivityProps as A, CommitmentProps as C, LocationBaseModelProps as L, MapBaseModelProps as M, QuestProps as Q, RoomBaseModelProps as R, StageProps as S, StageFlags as a };