qpremake 1.5.3 → 1.6.3

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 (234) hide show
  1. package/README.md +5 -3
  2. package/package.json +2 -7
  3. package/lib/_localizationFiles/English.d.ts +0 -2
  4. package/lib/_localizationFiles/English.js +0 -307
  5. package/lib/_mods/parserModules/addSymbol.d.ts +0 -7
  6. package/lib/_mods/parserModules/addSymbol.js +0 -18
  7. package/lib/_mods/parserModules/expression.d.ts +0 -7
  8. package/lib/_mods/parserModules/expression.js +0 -45
  9. package/lib/_mods/parserModules/expression_parser.d.ts +0 -143
  10. package/lib/_mods/parserModules/expression_parser.js +0 -728
  11. package/lib/_mods/parserModules/img.d.ts +0 -8
  12. package/lib/_mods/parserModules/img.js +0 -42
  13. package/lib/_mods/parserModules/qpOriginal.d.ts +0 -5
  14. package/lib/_mods/parserModules/qpOriginal.js +0 -27
  15. package/lib/_mods/parserModules/sectionID.d.ts +0 -13
  16. package/lib/_mods/parserModules/sectionID.js +0 -56
  17. package/lib/_mods/parserModules/tags.d.ts +0 -9
  18. package/lib/_mods/parserModules/tags.js +0 -29
  19. package/lib/_mods/parserModules/uaddminus.d.ts +0 -9
  20. package/lib/_mods/parserModules/uaddminus.js +0 -42
  21. package/lib/_mods/parserModules/variantCheck.d.ts +0 -10
  22. package/lib/_mods/parserModules/variantCheck.js +0 -53
  23. package/lib/_queenSystem/handler/actionGenrator.d.ts +0 -994
  24. package/lib/_queenSystem/handler/actionGenrator.js +0 -646
  25. package/lib/_queenSystem/handler/actionInputGenerator.d.ts +0 -95
  26. package/lib/_queenSystem/handler/actionInputGenerator.js +0 -373
  27. package/lib/_queenSystem/handler/actionInputRequesterGenerator.d.ts +0 -92
  28. package/lib/_queenSystem/handler/actionInputRequesterGenerator.js +0 -341
  29. package/lib/_queenSystem/handler/cardHandler.d.ts +0 -20
  30. package/lib/_queenSystem/handler/cardHandler.js +0 -61
  31. package/lib/_queenSystem/handler/effectGenerator.d.ts +0 -1
  32. package/lib/_queenSystem/handler/effectGenerator.js +0 -127
  33. package/lib/_queenSystem/handler/localizationHandler.d.ts +0 -28
  34. package/lib/_queenSystem/handler/localizationHandler.js +0 -166
  35. package/lib/_queenSystem/handler/modHandler.d.ts +0 -10
  36. package/lib/_queenSystem/handler/modHandler.js +0 -36
  37. package/lib/_queenSystem/handler/oldDataProcessor.d.ts +0 -9
  38. package/lib/_queenSystem/handler/oldDataProcessor.js +0 -129
  39. package/lib/_queenSystem/handler/registryHandler.d.ts +0 -36
  40. package/lib/_queenSystem/handler/registryHandler.js +0 -63
  41. package/lib/_queenSystem/handler/zoneHandler.d.ts +0 -102
  42. package/lib/_queenSystem/handler/zoneHandler.js +0 -606
  43. package/lib/_queenSystem/loader/loader_card.d.ts +0 -20
  44. package/lib/_queenSystem/loader/loader_card.js +0 -124
  45. package/lib/_queenSystem/loader/loader_effect.d.ts +0 -27
  46. package/lib/_queenSystem/loader/loader_effect.js +0 -163
  47. package/lib/_queenSystem/loader/loader_handler.d.ts +0 -11
  48. package/lib/_queenSystem/loader/loader_handler.js +0 -24
  49. package/lib/_queenSystem/loader/loader_localization.d.ts +0 -11
  50. package/lib/_queenSystem/loader/loader_localization.js +0 -73
  51. package/lib/_queenSystem/loader/loader_mod.d.ts +0 -10
  52. package/lib/_queenSystem/loader/loader_mod.js +0 -72
  53. package/lib/_queenSystem/loader/loader_subtype.d.ts +0 -9
  54. package/lib/_queenSystem/loader/loader_subtype.js +0 -39
  55. package/lib/_queenSystem/loader/loader_type.d.ts +0 -9
  56. package/lib/_queenSystem/loader/loader_type.js +0 -39
  57. package/lib/_queenSystem/loader/loader_zone.d.ts +0 -14
  58. package/lib/_queenSystem/loader/loader_zone.js +0 -35
  59. package/lib/_queenSystem/queenSystem.d.ts +0 -127
  60. package/lib/_queenSystem/queenSystem.js +0 -996
  61. package/lib/_queenSystem/renderer/rendererInterface.d.ts +0 -27
  62. package/lib/_queenSystem/renderer/rendererInterface.js +0 -25
  63. package/lib/data/actionRegistry.d.ts +0 -56
  64. package/lib/data/actionRegistry.js +0 -60
  65. package/lib/data/cardRegistry.d.ts +0 -1162
  66. package/lib/data/cardRegistry.js +0 -716
  67. package/lib/data/deckRegistry.d.ts +0 -19
  68. package/lib/data/deckRegistry.js +0 -41
  69. package/lib/data/effectRegistry.d.ts +0 -465
  70. package/lib/data/effectRegistry.js +0 -151
  71. package/lib/data/effectTypeRegistry.d.ts +0 -14
  72. package/lib/data/effectTypeRegistry.js +0 -14
  73. package/lib/data/operatorRegistry.d.ts +0 -92
  74. package/lib/data/operatorRegistry.js +0 -82
  75. package/lib/data/rarityRegistry.d.ts +0 -28
  76. package/lib/data/rarityRegistry.js +0 -63
  77. package/lib/data/registryRegistry.d.ts +0 -10
  78. package/lib/data/registryRegistry.js +0 -14
  79. package/lib/data/subtypeRegistry.d.ts +0 -15
  80. package/lib/data/subtypeRegistry.js +0 -15
  81. package/lib/data/systemRegistry.d.ts +0 -253
  82. package/lib/data/systemRegistry.js +0 -56
  83. package/lib/data/zoneRegistry.d.ts +0 -43
  84. package/lib/data/zoneRegistry.js +0 -157
  85. package/lib/effectTextParser/index.d.ts +0 -42
  86. package/lib/effectTextParser/index.js +0 -316
  87. package/lib/global/index.d.ts +0 -8
  88. package/lib/global/index.js +0 -12
  89. package/lib/index.d.ts +0 -6335
  90. package/lib/index.js +0 -205
  91. package/lib/specificEffects/e_cond.d.ts +0 -11
  92. package/lib/specificEffects/e_cond.js +0 -36
  93. package/lib/specificEffects/e_fruit.d.ts +0 -3
  94. package/lib/specificEffects/e_fruit.js +0 -187
  95. package/lib/specificEffects/e_generic.d.ts +0 -191
  96. package/lib/specificEffects/e_generic.js +0 -662
  97. package/lib/specificEffects/e_generic_cardTargetting.d.ts +0 -38
  98. package/lib/specificEffects/e_generic_cardTargetting.js +0 -82
  99. package/lib/specificEffects/e_generic_noneTargetting.d.ts +0 -10
  100. package/lib/specificEffects/e_generic_noneTargetting.js +0 -26
  101. package/lib/specificEffects/e_status.d.ts +0 -80
  102. package/lib/specificEffects/e_status.js +0 -151
  103. package/lib/specificEffects/e_test.d.ts +0 -3
  104. package/lib/specificEffects/e_test.js +0 -21
  105. package/lib/types/abstract/gameComponents/API.d.ts +0 -19
  106. package/lib/types/abstract/gameComponents/API.js +0 -2
  107. package/lib/types/abstract/gameComponents/card.d.ts +0 -108
  108. package/lib/types/abstract/gameComponents/card.js +0 -771
  109. package/lib/types/abstract/gameComponents/effect.d.ts +0 -82
  110. package/lib/types/abstract/gameComponents/effect.js +0 -331
  111. package/lib/types/abstract/gameComponents/effectSubtype.d.ts +0 -22
  112. package/lib/types/abstract/gameComponents/effectSubtype.js +0 -40
  113. package/lib/types/abstract/gameComponents/effectType.d.ts +0 -11
  114. package/lib/types/abstract/gameComponents/effectType.js +0 -8
  115. package/lib/types/abstract/gameComponents/settings.d.ts +0 -80
  116. package/lib/types/abstract/gameComponents/settings.js +0 -72
  117. package/lib/types/abstract/gameComponents/zone.d.ts +0 -113
  118. package/lib/types/abstract/gameComponents/zone.js +0 -614
  119. package/lib/types/abstract/gameComponents/zone_gridBased.d.ts +0 -18
  120. package/lib/types/abstract/gameComponents/zone_gridBased.js +0 -58
  121. package/lib/types/abstract/gameComponents/zone_stackBased.d.ts +0 -13
  122. package/lib/types/abstract/gameComponents/zone_stackBased.js +0 -55
  123. package/lib/types/abstract/generics/node.d.ts +0 -23
  124. package/lib/types/abstract/generics/node.js +0 -46
  125. package/lib/types/abstract/generics/position.d.ts +0 -23
  126. package/lib/types/abstract/generics/position.js +0 -91
  127. package/lib/types/abstract/generics/tree.d.ts +0 -25
  128. package/lib/types/abstract/generics/tree.js +0 -153
  129. package/lib/types/abstract/generics/universalResponse.d.ts +0 -4
  130. package/lib/types/abstract/generics/universalResponse.js +0 -2
  131. package/lib/types/abstract/generics/wraper.d.ts +0 -21
  132. package/lib/types/abstract/generics/wraper.js +0 -56
  133. package/lib/types/abstract/parser/component.d.ts +0 -88
  134. package/lib/types/abstract/parser/component.js +0 -132
  135. package/lib/types/abstract/parser/index.d.ts +0 -6
  136. package/lib/types/abstract/parser/index.js +0 -28
  137. package/lib/types/abstract/parser/modPack.d.ts +0 -21
  138. package/lib/types/abstract/parser/modPack.js +0 -48
  139. package/lib/types/abstract/parser/moduleInputObject.d.ts +0 -12
  140. package/lib/types/abstract/parser/moduleInputObject.js +0 -21
  141. package/lib/types/abstract/parser/options.d.ts +0 -31
  142. package/lib/types/abstract/parser/options.js +0 -45
  143. package/lib/types/abstract/serializedGameComponents/Gamestate.d.ts +0 -46
  144. package/lib/types/abstract/serializedGameComponents/Gamestate.js +0 -70
  145. package/lib/types/abstract/serializedGameComponents/Localized.d.ts +0 -69
  146. package/lib/types/abstract/serializedGameComponents/Localized.js +0 -84
  147. package/lib/types/defaultZones/ability.d.ts +0 -10
  148. package/lib/types/defaultZones/ability.js +0 -22
  149. package/lib/types/defaultZones/deck.d.ts +0 -25
  150. package/lib/types/defaultZones/deck.js +0 -90
  151. package/lib/types/defaultZones/drop.d.ts +0 -5
  152. package/lib/types/defaultZones/drop.js +0 -13
  153. package/lib/types/defaultZones/field.d.ts +0 -11
  154. package/lib/types/defaultZones/field.js +0 -35
  155. package/lib/types/defaultZones/grave.d.ts +0 -8
  156. package/lib/types/defaultZones/grave.js +0 -21
  157. package/lib/types/defaultZones/hand.d.ts +0 -5
  158. package/lib/types/defaultZones/hand.js +0 -14
  159. package/lib/types/defaultZones/storage.d.ts +0 -9
  160. package/lib/types/defaultZones/storage.js +0 -21
  161. package/lib/types/defaultZones/system.d.ts +0 -12
  162. package/lib/types/defaultZones/system.js +0 -35
  163. package/lib/types/defaultZones/void.d.ts +0 -4
  164. package/lib/types/defaultZones/void.js +0 -10
  165. package/lib/types/effects/effectSubtypes/subtype_chained.d.ts +0 -10
  166. package/lib/types/effects/effectSubtypes/subtype_chained.js +0 -17
  167. package/lib/types/effects/effectSubtypes/subtype_delayed.d.ts +0 -9
  168. package/lib/types/effects/effectSubtypes/subtype_delayed.js +0 -16
  169. package/lib/types/effects/effectSubtypes/subtype_fieldLock.d.ts +0 -9
  170. package/lib/types/effects/effectSubtypes/subtype_fieldLock.js +0 -21
  171. package/lib/types/effects/effectSubtypes/subtype_graveLock.d.ts +0 -9
  172. package/lib/types/effects/effectSubtypes/subtype_graveLock.js +0 -21
  173. package/lib/types/effects/effectSubtypes/subtype_hand_or_fieldLock.d.ts +0 -9
  174. package/lib/types/effects/effectSubtypes/subtype_hand_or_fieldLock.js +0 -21
  175. package/lib/types/effects/effectSubtypes/subtype_hardUnique.d.ts +0 -9
  176. package/lib/types/effects/effectSubtypes/subtype_hardUnique.js +0 -15
  177. package/lib/types/effects/effectSubtypes/subtype_instant.d.ts +0 -8
  178. package/lib/types/effects/effectSubtypes/subtype_instant.js +0 -20
  179. package/lib/types/effects/effectSubtypes/subtype_once.d.ts +0 -12
  180. package/lib/types/effects/effectSubtypes/subtype_once.js +0 -27
  181. package/lib/types/effects/effectSubtypes/subtype_unique.d.ts +0 -9
  182. package/lib/types/effects/effectSubtypes/subtype_unique.js +0 -16
  183. package/lib/types/effects/effectTypes/initEffect.d.ts +0 -7
  184. package/lib/types/effects/effectTypes/initEffect.js +0 -23
  185. package/lib/types/effects/effectTypes/lockEffect.d.ts +0 -9
  186. package/lib/types/effects/effectTypes/lockEffect.js +0 -25
  187. package/lib/types/effects/effectTypes/manualEffect.d.ts +0 -9
  188. package/lib/types/effects/effectTypes/manualEffect.js +0 -18
  189. package/lib/types/effects/effectTypes/passiveEffect.d.ts +0 -9
  190. package/lib/types/effects/effectTypes/passiveEffect.js +0 -23
  191. package/lib/types/effects/effectTypes/triggerEffect.d.ts +0 -9
  192. package/lib/types/effects/effectTypes/triggerEffect.js +0 -28
  193. package/lib/types/errors/cannotLoad.d.ts +0 -5
  194. package/lib/types/errors/cannotLoad.js +0 -13
  195. package/lib/types/errors/cardNotExist.d.ts +0 -5
  196. package/lib/types/errors/cardNotExist.js +0 -13
  197. package/lib/types/errors/cardNotInApplicableZone.d.ts +0 -5
  198. package/lib/types/errors/cardNotInApplicableZone.js +0 -13
  199. package/lib/types/errors/effectCondNotMet.d.ts +0 -5
  200. package/lib/types/errors/effectCondNotMet.js +0 -13
  201. package/lib/types/errors/effectNotExist.d.ts +0 -5
  202. package/lib/types/errors/effectNotExist.js +0 -13
  203. package/lib/types/errors/error.d.ts +0 -17
  204. package/lib/types/errors/error.js +0 -42
  205. package/lib/types/errors/incorrectActionType.d.ts +0 -5
  206. package/lib/types/errors/incorrectActionType.js +0 -13
  207. package/lib/types/errors/index.d.ts +0 -16
  208. package/lib/types/errors/index.js +0 -36
  209. package/lib/types/errors/invalidOrderMap.d.ts +0 -6
  210. package/lib/types/errors/invalidOrderMap.js +0 -14
  211. package/lib/types/errors/invalidPosition.d.ts +0 -6
  212. package/lib/types/errors/invalidPosition.js +0 -13
  213. package/lib/types/errors/subTypeOverrideConflict.d.ts +0 -7
  214. package/lib/types/errors/subTypeOverrideConflict.js +0 -15
  215. package/lib/types/errors/unknownError.d.ts +0 -5
  216. package/lib/types/errors/unknownError.js +0 -13
  217. package/lib/types/errors/unregisteredAction.d.ts +0 -6
  218. package/lib/types/errors/unregisteredAction.js +0 -13
  219. package/lib/types/errors/wrongEffectIdx.d.ts +0 -5
  220. package/lib/types/errors/wrongEffectIdx.js +0 -14
  221. package/lib/types/errors/zoneAttrConflict.d.ts +0 -5
  222. package/lib/types/errors/zoneAttrConflict.js +0 -15
  223. package/lib/types/errors/zoneFull.d.ts +0 -5
  224. package/lib/types/errors/zoneFull.js +0 -13
  225. package/lib/types/errors/zoneNotExist.d.ts +0 -5
  226. package/lib/types/errors/zoneNotExist.js +0 -13
  227. package/lib/types/misc.d.ts +0 -97
  228. package/lib/types/misc.js +0 -8
  229. package/lib/types/mods/effectTextParserModule.d.ts +0 -16
  230. package/lib/types/mods/effectTextParserModule.js +0 -81
  231. package/lib/types/mods/gameModule.d.ts +0 -5
  232. package/lib/types/mods/gameModule.js +0 -8
  233. package/lib/utils/index.d.ts +0 -78
  234. package/lib/utils/index.js +0 -562
@@ -1,994 +0,0 @@
1
- import actionRegistry, { actionID, actionName } from "../../data/actionRegistry";
2
- import type { dry_card, dry_effect, dry_zone, dry_system, dry_position, dry_effectSubType, inputData, identificationInfo_partition } from "../../data/systemRegistry";
3
- import type { effectName, effectData_specific } from "../../data/effectRegistry";
4
- import type { effectData, patchData } from "../../data/cardRegistry";
5
- import { safeSimpleTypes, singleTypedArray, ExtractReturn_any } from "../../types/misc";
6
- import { identificationInfo, identificationInfo_action, identificationInfo_card, identificationInfo_effect, identificationInfo_none, identificationInfo_player, identificationInfo_pos, identificationInfo_subtype, identificationInfo_zone, identificationType, inputType, identificationInfo_system } from "../../data/systemRegistry";
7
- import { inputApplicator, inputRequester } from "./actionInputGenerator";
8
- export declare class Action_class<TargetType extends identificationInfo[] = identificationInfo[], mapElementType extends any = any, constructionObjType extends actionConstructionObj_variable<mapElementType> = any> {
9
- id: number;
10
- typeID: actionID;
11
- isDisabled: boolean;
12
- isCost: boolean;
13
- cost(): void;
14
- targets: TargetType;
15
- cause: identificationInfo;
16
- originalCause: identificationInfo;
17
- originalTargets: TargetType | [];
18
- deleteInputObj(): void;
19
- clone(): this;
20
- copy(a: Action): void;
21
- protected attr: Map<keyof constructionObjType | "isChain" | "canBeChainedTo" | "canBeTriggeredTo" | "input", boolean | mapElementType>;
22
- modifiedSinceLastAccessed: boolean;
23
- protected checkers: Required<checkerType>;
24
- flat(): {
25
- targets: TargetType;
26
- cause: identificationInfo;
27
- originalTargets: [] | TargetType;
28
- originalCause: identificationInfo;
29
- modifiedSinceLastAccessed: boolean;
30
- isDisabled: boolean;
31
- id: number;
32
- typeID: actionRegistry;
33
- isChain: boolean;
34
- canBeChainedTo: boolean;
35
- canBeTriggeredTo: boolean;
36
- attr: constructionObjType & {
37
- isChain?: boolean;
38
- canBeChainedTo?: boolean;
39
- canBeTriggeredTo?: boolean;
40
- };
41
- };
42
- flatAttr(): constructionObjType & {
43
- isChain?: boolean;
44
- canBeChainedTo?: boolean;
45
- canBeTriggeredTo?: boolean;
46
- };
47
- resolvable(s: dry_system, z?: dry_zone, c?: dry_card, eff?: dry_effect, subtype?: dry_effectSubType): boolean;
48
- get isChain(): boolean;
49
- set isChain(newVal: boolean);
50
- get canBeChainedTo(): boolean;
51
- get canBeTriggeredTo(): boolean;
52
- get firstCardTarget(): identificationInfo | undefined;
53
- get firstPosTarget(): identificationInfo | undefined;
54
- get firstZoneTarget(): identificationInfo | undefined;
55
- constructor(o: actionConstructionObj<mapElementType>);
56
- dontchain(): this;
57
- chain(): this;
58
- assignID(n: number): void;
59
- get hasCardTarget(): boolean;
60
- get hasActionTarget(): boolean;
61
- get hasCause(): boolean;
62
- get fromCard(): boolean;
63
- get type(): string;
64
- protected verifyNewValue(key: string | symbol | number, newVal: any): boolean;
65
- modifyAttr(key: "target", newVal: TargetType): void;
66
- modifyAttr(key: "canBeChainedTo", newVal: boolean): void;
67
- modifyAttr(key: "canBeTriggeredTo", newVal: boolean): void;
68
- modifyAttr(key: keyof constructionObjType, newVal: constructionObjType[typeof key]): void;
69
- protected verifyTarget(val: any, compareType: identificationType): identificationInfo | undefined;
70
- verifyInput_target_all(input: inputData[]): boolean;
71
- private __inputs;
72
- disable(): void;
73
- enable(): void;
74
- is<T extends actionName>(type: T): this is Action<T>;
75
- }
76
- export type actionAttrType<T> = safeSimpleTypes | singleTypedArray<T> | T;
77
- export type actionConstructionObj_fixxed_unstaged = {
78
- type: actionID;
79
- isChainDefault?: boolean;
80
- canBeChainTo?: boolean;
81
- canBeTriggeredTo?: boolean;
82
- inputs?: inputType[];
83
- checkers?: checkerType;
84
- };
85
- type checkerType = Partial<{
86
- zone: (target: identificationInfo_zone, currZone: dry_zone) => boolean;
87
- card: (target: identificationInfo_card, currCard: dry_card, currZone: dry_zone) => boolean;
88
- effect: (target: identificationInfo_effect, currEffect: dry_effect, currCard: dry_card, currZone: dry_zone) => boolean;
89
- effectSubtype: (target: identificationInfo_subtype, currSubtype: dry_effectSubType, currEffect: dry_effect, currCard: dry_card, currZone: dry_zone) => boolean;
90
- }>;
91
- export type actionConstructionObj_fixxed = {
92
- type: actionID;
93
- targets: identificationInfo[];
94
- cause: identificationInfo;
95
- } & actionConstructionObj_fixxed_unstaged;
96
- export type actionConstructionObj_variable<T> = {
97
- [key: string]: T | undefined;
98
- };
99
- export type actionConstructionObj<T> = actionConstructionObj_fixxed | (actionConstructionObj_fixxed & actionConstructionObj_variable<T>);
100
- declare function form_none(): identificationInfo_none;
101
- declare function form_system(): identificationInfo_system;
102
- type ExtractInnerType<A> = A extends actionConstructionObj_variable<infer B> ? B : never;
103
- declare function modifyActionContructor<targetType extends Exclude<actionName, "a_modify_action">>(type: targetType): (s: dry_system, action: Action<targetType>) => (cause: identificationInfo) => (p: Partial<ConstructionExtraParamsType<targetType>> & Partial<{
104
- targets: TargetType<targetType>;
105
- cause: identificationInfo;
106
- canBeChainedTo: boolean;
107
- canBeTriggeredTo: boolean;
108
- }>) => Action_class<[identificationInfo_action], ExtractInnerType<Partial<ConstructionExtraParamsType<targetType>> & Partial<{
109
- targets: TargetType<targetType>;
110
- cause: identificationInfo;
111
- canBeChainedTo: boolean;
112
- canBeTriggeredTo: boolean;
113
- }>>, Partial<ConstructionExtraParamsType<targetType>> & Partial<{
114
- targets: TargetType<targetType>;
115
- cause: identificationInfo;
116
- canBeChainedTo: boolean;
117
- canBeTriggeredTo: boolean;
118
- }>>;
119
- declare function addEffectContructor<targetType extends effectName, isStatus_t extends boolean>(type: targetType, isStatus: isStatus_t): (s: dry_system, card: dry_card) => (cause: identificationInfo, p: Partial<Omit<effectData_specific<targetType>, "typeID" | "subTypeIDs">>) => Action_class<[identificationInfo_card], ExtractInnerType<Partial<Omit<effectData_specific<targetType, {
120
- readonly e_apple: {
121
- typeID: "e_t_init";
122
- subTypeIDs: [];
123
- } & {
124
- count: number;
125
- };
126
- readonly e_banana: {
127
- typeID: "e_t_init";
128
- subTypeIDs: [];
129
- } & {
130
- doArchtypeCheck: 0 | 1;
131
- };
132
- readonly e_lemon: {
133
- typeID: "e_t_init";
134
- subTypeIDs: [];
135
- };
136
- readonly e_pumpkin: {
137
- typeID: "e_t_init";
138
- subTypeIDs: [];
139
- } & {
140
- maxAtk: number;
141
- } & {
142
- maxHp: number;
143
- } & {
144
- level: number;
145
- };
146
- readonly e_pomegranate: {
147
- typeID: "e_t_trigger";
148
- subTypeIDs: [];
149
- } & {
150
- exposedDmg: number;
151
- } & {
152
- coveredDmg: number;
153
- };
154
- readonly e_pollinate: {
155
- typeID: "e_t_init";
156
- subTypeIDs: [];
157
- } & {
158
- doArchtypeCheck: 0 | 1;
159
- };
160
- readonly e_greenhouse: {
161
- typeID: "e_t_trigger";
162
- subTypeIDs: ["e_st_unique"];
163
- } & {
164
- checkLevel: number;
165
- };
166
- readonly e_growth: {
167
- typeID: "e_t_init";
168
- subTypeIDs: [];
169
- } & {
170
- doArchtypeCheck: 0 | 1;
171
- };
172
- readonly e_spring: {
173
- typeID: "e_t_init";
174
- subTypeIDs: [];
175
- } & {
176
- checkLevel: number;
177
- };
178
- readonly e_summer: {
179
- typeID: "e_t_init";
180
- subTypeIDs: [];
181
- } & {
182
- checkLevel: number;
183
- };
184
- readonly e_autumn: {
185
- typeID: "e_t_init";
186
- subTypeIDs: [];
187
- };
188
- readonly e_winter_1: {
189
- typeID: "e_t_init";
190
- subTypeIDs: [];
191
- } & {
192
- mult: number;
193
- };
194
- readonly e_winter_2: {
195
- typeID: "e_t_none";
196
- subTypeIDs: never[];
197
- };
198
- readonly e_persephone_1: {
199
- typeID: "e_t_init";
200
- subTypeIDs: [];
201
- };
202
- readonly e_persephone_2: {
203
- typeID: "e_t_passive";
204
- subTypeIDs: ["e_st_delayed"];
205
- };
206
- readonly e_persephone_3: {
207
- typeID: "e_t_lock";
208
- subTypeIDs: [];
209
- };
210
- readonly e_demeter_1: {
211
- typeID: "e_t_init";
212
- subTypeIDs: [];
213
- };
214
- readonly e_demeter_2: {
215
- typeID: "e_t_trigger";
216
- subTypeIDs: ["e_st_unique"];
217
- };
218
- readonly e_demeter_3: {
219
- typeID: "e_t_lock";
220
- subTypeIDs: [];
221
- };
222
- readonly e_capacitor_1: {
223
- typeID: "e_t_trigger";
224
- subTypeIDs: ["e_st_once"];
225
- } & {
226
- maxCount: number;
227
- };
228
- readonly e_capacitor_2: {
229
- typeID: "e_t_trigger";
230
- subTypeIDs: ["e_st_once"];
231
- };
232
- readonly e_avarice_1: {
233
- typeID: "e_t_init";
234
- subTypeIDs: [];
235
- } & {
236
- count: number;
237
- };
238
- readonly e_clawtrap: {
239
- typeID: "e_t_manual";
240
- subTypeIDs: [];
241
- } & {
242
- delayCount: number;
243
- } & {
244
- dmg: number;
245
- };
246
- readonly e_dmg_reduction: {
247
- typeID: "e_t_passive";
248
- subTypeIDs: [];
249
- } & {
250
- reductionAmmount: number;
251
- } & {
252
- minDmg: number;
253
- } & {
254
- reductionDmgType: import("../../types/misc").damageType.physical | undefined;
255
- };
256
- readonly e_delay: {
257
- typeID: "e_t_manual";
258
- subTypeIDs: [];
259
- } & {
260
- count: number;
261
- } & {
262
- delayCount: number;
263
- };
264
- readonly e_bounce: {
265
- typeID: "e_t_manual";
266
- subTypeIDs: [];
267
- } & {
268
- count: number;
269
- } & {
270
- target_zone: number;
271
- };
272
- readonly e_delay_all: {
273
- typeID: "e_t_manual";
274
- subTypeIDs: [];
275
- } & {
276
- delayCount: number;
277
- };
278
- readonly e_add_to_hand: {
279
- typeID: "e_t_manual";
280
- subTypeIDs: [];
281
- } & {
282
- count: number;
283
- };
284
- readonly e_remove_all_effects: {
285
- typeID: "e_t_manual";
286
- subTypeIDs: [];
287
- } & {
288
- count: number;
289
- };
290
- readonly e_add_all_to_hand: {
291
- typeID: "e_t_none";
292
- subTypeIDs: never[];
293
- };
294
- readonly e_add_all_to_grave: {
295
- typeID: "e_t_none";
296
- subTypeIDs: never[];
297
- };
298
- readonly e_attack: {
299
- typeID: "e_t_manual";
300
- subTypeIDs: [];
301
- } & {
302
- count: number;
303
- } & {
304
- dmg: number;
305
- } & {
306
- dmgType: import("../../types/misc").damageType.physical;
307
- };
308
- readonly e_deal_dmg_card: {
309
- typeID: "e_t_manual";
310
- subTypeIDs: [];
311
- } & {
312
- count: number;
313
- } & {
314
- dmg: number;
315
- } & {
316
- dmgType: import("../../types/misc").damageType.physical;
317
- };
318
- readonly e_deal_dmg_ahead: {
319
- typeID: "e_t_manual";
320
- subTypeIDs: [];
321
- } & {
322
- count: number;
323
- } & {
324
- dmg: number;
325
- } & {
326
- dmgType: import("../../types/misc").damageType.physical;
327
- };
328
- readonly e_destroy_this: {
329
- typeID: "e_t_manual";
330
- subTypeIDs: ["e_st_fieldLock"];
331
- };
332
- readonly e_clear_all_status_this: {
333
- typeID: "e_t_manual";
334
- subTypeIDs: ["e_st_fieldLock"];
335
- };
336
- readonly e_reactivate_this: {
337
- typeID: "e_t_manual";
338
- subTypeIDs: ["e_st_fieldLock"];
339
- };
340
- readonly e_deactivate_this: {
341
- typeID: "e_t_manual";
342
- subTypeIDs: ["e_st_fieldLock"];
343
- };
344
- readonly e_decompile_this: {
345
- typeID: "e_t_manual";
346
- subTypeIDs: ["e_st_fieldLock"];
347
- };
348
- readonly e_execute_this: {
349
- typeID: "e_t_manual";
350
- subTypeIDs: ["e_st_fieldLock"];
351
- };
352
- readonly e_void_this: {
353
- typeID: "e_t_manual";
354
- subTypeIDs: ["e_st_fieldLock"];
355
- };
356
- readonly e_reset_all_once_this: {
357
- typeID: "e_t_manual";
358
- subTypeIDs: ["e_st_fieldLock"];
359
- };
360
- readonly e_reset_all_once: {
361
- typeID: "e_t_manual";
362
- subTypeIDs: [];
363
- };
364
- readonly e_add_counter: {
365
- typeID: "e_t_manual";
366
- subTypeIDs: [];
367
- };
368
- readonly e_add_stat_change_diff: {
369
- typeID: "e_t_manual";
370
- subTypeIDs: [];
371
- } & {
372
- maxAtk: number;
373
- } & {
374
- maxHp: number;
375
- } & {
376
- level: number;
377
- };
378
- readonly e_add_stat_change_override: {
379
- typeID: "e_t_manual";
380
- subTypeIDs: [];
381
- } & {
382
- maxAtk: number;
383
- } & {
384
- maxHp: number;
385
- } & {
386
- level: number;
387
- };
388
- readonly e_quick: {
389
- typeID: "e_t_init";
390
- subTypeIDs: ["e_st_chained"];
391
- };
392
- readonly e_reflect: {
393
- typeID: "e_t_trigger";
394
- subTypeIDs: [];
395
- };
396
- readonly e_revenge: {
397
- typeID: "e_t_trigger";
398
- subTypeIDs: [];
399
- };
400
- readonly e_volatile: {
401
- typeID: "e_t_passive";
402
- subTypeIDs: [];
403
- };
404
- readonly e_fragile: {
405
- typeID: "e_t_trigger";
406
- subTypeIDs: [];
407
- };
408
- readonly e_draw: {
409
- typeID: "e_t_manual";
410
- subTypeIDs: [];
411
- } & {
412
- count: number;
413
- } & {
414
- cooldown: number;
415
- } & {
416
- doTurnDraw: 0 | 1;
417
- };
418
- readonly e_draw_until: {
419
- typeID: "e_t_manual";
420
- subTypeIDs: [];
421
- } & {
422
- count: number;
423
- };
424
- readonly e_revive: {
425
- typeID: "e_t_manual";
426
- subTypeIDs: [];
427
- };
428
- readonly e_generic_counter: {
429
- typeID: "e_t_counter";
430
- subTypeIDs: [];
431
- } & {
432
- count: number;
433
- };
434
- readonly e_generic_stat_change_diff: {
435
- typeID: "e_t_status";
436
- subTypeIDs: [];
437
- } & {
438
- maxAtk: number;
439
- } & {
440
- maxHp: number;
441
- } & {
442
- level: number;
443
- };
444
- readonly e_generic_stat_change_override: {
445
- typeID: "e_t_status";
446
- subTypeIDs: [];
447
- } & {
448
- maxAtk: number;
449
- } & {
450
- maxHp: number;
451
- } & {
452
- level: number;
453
- };
454
- readonly e_any_extension: {
455
- typeID: "e_t_status";
456
- subTypeIDs: [];
457
- };
458
- readonly e_lock: {
459
- typeID: "e_t_lock";
460
- subTypeIDs: [];
461
- };
462
- }[targetType]>, "typeID" | "subTypeIDs">> & {
463
- typeID: string;
464
- }>, Partial<Omit<effectData_specific<targetType, {
465
- readonly e_apple: {
466
- typeID: "e_t_init";
467
- subTypeIDs: [];
468
- } & {
469
- count: number;
470
- };
471
- readonly e_banana: {
472
- typeID: "e_t_init";
473
- subTypeIDs: [];
474
- } & {
475
- doArchtypeCheck: 0 | 1;
476
- };
477
- readonly e_lemon: {
478
- typeID: "e_t_init";
479
- subTypeIDs: [];
480
- };
481
- readonly e_pumpkin: {
482
- typeID: "e_t_init";
483
- subTypeIDs: [];
484
- } & {
485
- maxAtk: number;
486
- } & {
487
- maxHp: number;
488
- } & {
489
- level: number;
490
- };
491
- readonly e_pomegranate: {
492
- typeID: "e_t_trigger";
493
- subTypeIDs: [];
494
- } & {
495
- exposedDmg: number;
496
- } & {
497
- coveredDmg: number;
498
- };
499
- readonly e_pollinate: {
500
- typeID: "e_t_init";
501
- subTypeIDs: [];
502
- } & {
503
- doArchtypeCheck: 0 | 1;
504
- };
505
- readonly e_greenhouse: {
506
- typeID: "e_t_trigger";
507
- subTypeIDs: ["e_st_unique"];
508
- } & {
509
- checkLevel: number;
510
- };
511
- readonly e_growth: {
512
- typeID: "e_t_init";
513
- subTypeIDs: [];
514
- } & {
515
- doArchtypeCheck: 0 | 1;
516
- };
517
- readonly e_spring: {
518
- typeID: "e_t_init";
519
- subTypeIDs: [];
520
- } & {
521
- checkLevel: number;
522
- };
523
- readonly e_summer: {
524
- typeID: "e_t_init";
525
- subTypeIDs: [];
526
- } & {
527
- checkLevel: number;
528
- };
529
- readonly e_autumn: {
530
- typeID: "e_t_init";
531
- subTypeIDs: [];
532
- };
533
- readonly e_winter_1: {
534
- typeID: "e_t_init";
535
- subTypeIDs: [];
536
- } & {
537
- mult: number;
538
- };
539
- readonly e_winter_2: {
540
- typeID: "e_t_none";
541
- subTypeIDs: never[];
542
- };
543
- readonly e_persephone_1: {
544
- typeID: "e_t_init";
545
- subTypeIDs: [];
546
- };
547
- readonly e_persephone_2: {
548
- typeID: "e_t_passive";
549
- subTypeIDs: ["e_st_delayed"];
550
- };
551
- readonly e_persephone_3: {
552
- typeID: "e_t_lock";
553
- subTypeIDs: [];
554
- };
555
- readonly e_demeter_1: {
556
- typeID: "e_t_init";
557
- subTypeIDs: [];
558
- };
559
- readonly e_demeter_2: {
560
- typeID: "e_t_trigger";
561
- subTypeIDs: ["e_st_unique"];
562
- };
563
- readonly e_demeter_3: {
564
- typeID: "e_t_lock";
565
- subTypeIDs: [];
566
- };
567
- readonly e_capacitor_1: {
568
- typeID: "e_t_trigger";
569
- subTypeIDs: ["e_st_once"];
570
- } & {
571
- maxCount: number;
572
- };
573
- readonly e_capacitor_2: {
574
- typeID: "e_t_trigger";
575
- subTypeIDs: ["e_st_once"];
576
- };
577
- readonly e_avarice_1: {
578
- typeID: "e_t_init";
579
- subTypeIDs: [];
580
- } & {
581
- count: number;
582
- };
583
- readonly e_clawtrap: {
584
- typeID: "e_t_manual";
585
- subTypeIDs: [];
586
- } & {
587
- delayCount: number;
588
- } & {
589
- dmg: number;
590
- };
591
- readonly e_dmg_reduction: {
592
- typeID: "e_t_passive";
593
- subTypeIDs: [];
594
- } & {
595
- reductionAmmount: number;
596
- } & {
597
- minDmg: number;
598
- } & {
599
- reductionDmgType: import("../../types/misc").damageType.physical | undefined;
600
- };
601
- readonly e_delay: {
602
- typeID: "e_t_manual";
603
- subTypeIDs: [];
604
- } & {
605
- count: number;
606
- } & {
607
- delayCount: number;
608
- };
609
- readonly e_bounce: {
610
- typeID: "e_t_manual";
611
- subTypeIDs: [];
612
- } & {
613
- count: number;
614
- } & {
615
- target_zone: number;
616
- };
617
- readonly e_delay_all: {
618
- typeID: "e_t_manual";
619
- subTypeIDs: [];
620
- } & {
621
- delayCount: number;
622
- };
623
- readonly e_add_to_hand: {
624
- typeID: "e_t_manual";
625
- subTypeIDs: [];
626
- } & {
627
- count: number;
628
- };
629
- readonly e_remove_all_effects: {
630
- typeID: "e_t_manual";
631
- subTypeIDs: [];
632
- } & {
633
- count: number;
634
- };
635
- readonly e_add_all_to_hand: {
636
- typeID: "e_t_none";
637
- subTypeIDs: never[];
638
- };
639
- readonly e_add_all_to_grave: {
640
- typeID: "e_t_none";
641
- subTypeIDs: never[];
642
- };
643
- readonly e_attack: {
644
- typeID: "e_t_manual";
645
- subTypeIDs: [];
646
- } & {
647
- count: number;
648
- } & {
649
- dmg: number;
650
- } & {
651
- dmgType: import("../../types/misc").damageType.physical;
652
- };
653
- readonly e_deal_dmg_card: {
654
- typeID: "e_t_manual";
655
- subTypeIDs: [];
656
- } & {
657
- count: number;
658
- } & {
659
- dmg: number;
660
- } & {
661
- dmgType: import("../../types/misc").damageType.physical;
662
- };
663
- readonly e_deal_dmg_ahead: {
664
- typeID: "e_t_manual";
665
- subTypeIDs: [];
666
- } & {
667
- count: number;
668
- } & {
669
- dmg: number;
670
- } & {
671
- dmgType: import("../../types/misc").damageType.physical;
672
- };
673
- readonly e_destroy_this: {
674
- typeID: "e_t_manual";
675
- subTypeIDs: ["e_st_fieldLock"];
676
- };
677
- readonly e_clear_all_status_this: {
678
- typeID: "e_t_manual";
679
- subTypeIDs: ["e_st_fieldLock"];
680
- };
681
- readonly e_reactivate_this: {
682
- typeID: "e_t_manual";
683
- subTypeIDs: ["e_st_fieldLock"];
684
- };
685
- readonly e_deactivate_this: {
686
- typeID: "e_t_manual";
687
- subTypeIDs: ["e_st_fieldLock"];
688
- };
689
- readonly e_decompile_this: {
690
- typeID: "e_t_manual";
691
- subTypeIDs: ["e_st_fieldLock"];
692
- };
693
- readonly e_execute_this: {
694
- typeID: "e_t_manual";
695
- subTypeIDs: ["e_st_fieldLock"];
696
- };
697
- readonly e_void_this: {
698
- typeID: "e_t_manual";
699
- subTypeIDs: ["e_st_fieldLock"];
700
- };
701
- readonly e_reset_all_once_this: {
702
- typeID: "e_t_manual";
703
- subTypeIDs: ["e_st_fieldLock"];
704
- };
705
- readonly e_reset_all_once: {
706
- typeID: "e_t_manual";
707
- subTypeIDs: [];
708
- };
709
- readonly e_add_counter: {
710
- typeID: "e_t_manual";
711
- subTypeIDs: [];
712
- };
713
- readonly e_add_stat_change_diff: {
714
- typeID: "e_t_manual";
715
- subTypeIDs: [];
716
- } & {
717
- maxAtk: number;
718
- } & {
719
- maxHp: number;
720
- } & {
721
- level: number;
722
- };
723
- readonly e_add_stat_change_override: {
724
- typeID: "e_t_manual";
725
- subTypeIDs: [];
726
- } & {
727
- maxAtk: number;
728
- } & {
729
- maxHp: number;
730
- } & {
731
- level: number;
732
- };
733
- readonly e_quick: {
734
- typeID: "e_t_init";
735
- subTypeIDs: ["e_st_chained"];
736
- };
737
- readonly e_reflect: {
738
- typeID: "e_t_trigger";
739
- subTypeIDs: [];
740
- };
741
- readonly e_revenge: {
742
- typeID: "e_t_trigger";
743
- subTypeIDs: [];
744
- };
745
- readonly e_volatile: {
746
- typeID: "e_t_passive";
747
- subTypeIDs: [];
748
- };
749
- readonly e_fragile: {
750
- typeID: "e_t_trigger";
751
- subTypeIDs: [];
752
- };
753
- readonly e_draw: {
754
- typeID: "e_t_manual";
755
- subTypeIDs: [];
756
- } & {
757
- count: number;
758
- } & {
759
- cooldown: number;
760
- } & {
761
- doTurnDraw: 0 | 1;
762
- };
763
- readonly e_draw_until: {
764
- typeID: "e_t_manual";
765
- subTypeIDs: [];
766
- } & {
767
- count: number;
768
- };
769
- readonly e_revive: {
770
- typeID: "e_t_manual";
771
- subTypeIDs: [];
772
- };
773
- readonly e_generic_counter: {
774
- typeID: "e_t_counter";
775
- subTypeIDs: [];
776
- } & {
777
- count: number;
778
- };
779
- readonly e_generic_stat_change_diff: {
780
- typeID: "e_t_status";
781
- subTypeIDs: [];
782
- } & {
783
- maxAtk: number;
784
- } & {
785
- maxHp: number;
786
- } & {
787
- level: number;
788
- };
789
- readonly e_generic_stat_change_override: {
790
- typeID: "e_t_status";
791
- subTypeIDs: [];
792
- } & {
793
- maxAtk: number;
794
- } & {
795
- maxHp: number;
796
- } & {
797
- level: number;
798
- };
799
- readonly e_any_extension: {
800
- typeID: "e_t_status";
801
- subTypeIDs: [];
802
- };
803
- readonly e_lock: {
804
- typeID: "e_t_lock";
805
- subTypeIDs: [];
806
- };
807
- }[targetType]>, "typeID" | "subTypeIDs">> & {
808
- typeID: string;
809
- }>;
810
- export declare function getDefaultObjContructionObj(id: actionID): actionConstructionObj_fixxed_unstaged;
811
- declare const actionConstructorRegistry: {
812
- readonly error: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
813
- readonly a_null: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
814
- readonly a_negate_action: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
815
- readonly a_do_threat_burn: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
816
- readonly a_force_end_game: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
817
- readonly a_increase_turn_count: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
818
- readonly a_set_threat_level: (cause: identificationInfo, infoObj: {
819
- newThreatLevel: number | number[];
820
- }) => Action_class<[], number | number[], {
821
- newThreatLevel: number | number[];
822
- }>;
823
- readonly a_turn_end: (cause: identificationInfo, infoObj: {
824
- doIncreaseTurnCount: boolean;
825
- }) => Action_class<[], boolean, {
826
- doIncreaseTurnCount: boolean;
827
- }>;
828
- readonly a_turn_reset: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
829
- readonly a_turn_start: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
830
- readonly a_reprogram_start: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
831
- readonly a_reprogram_end: (cause: identificationInfo) => Action_class<[identificationInfo_none], never, {}>;
832
- readonly a_clear_all_status_effect: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
833
- readonly a_clear_all_counters: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
834
- readonly a_deal_damage_card: (s: dry_system, card: dry_card) => (cause: identificationInfo, infoObj: {
835
- dmg: number;
836
- dmgType: number;
837
- }) => Action_class<[identificationInfo_card], number, {
838
- dmg: number;
839
- dmgType: number;
840
- }>;
841
- readonly a_deal_damage_position: (s: dry_system, pos: dry_position) => (cause: identificationInfo, infoObj: {
842
- dmg: number;
843
- dmgType: number;
844
- }) => Action_class<[identificationInfo_pos], number, {
845
- dmg: number;
846
- dmgType: number;
847
- }>;
848
- readonly a_deal_damage_internal: (s: dry_system, card: dry_card) => (cause: identificationInfo, infoObj: {
849
- dmg: number;
850
- dmgType: number;
851
- }) => Action_class<[identificationInfo_card], number, {
852
- dmg: number;
853
- dmgType: number;
854
- }>;
855
- readonly a_deal_heart_damage: (s: dry_system, pid: number) => (cause: identificationInfo, infoObj: {
856
- dmg: number;
857
- }) => Action_class<[identificationInfo_player], number, {
858
- dmg: number;
859
- }>;
860
- readonly a_destroy: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
861
- readonly a_disable_card: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
862
- readonly a_enable_card: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
863
- readonly a_execute: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
864
- readonly a_pos_change: (s: dry_system, card: dry_card) => (pos: dry_position) => (cause: identificationInfo) => Action_class<[identificationInfo_card, identificationInfo_pos], never, {}>;
865
- readonly a_pos_change_force: (s: dry_system, card: dry_card) => (pos: dry_position) => (cause: identificationInfo) => Action_class<[identificationInfo_card, identificationInfo_pos], never, {}>;
866
- readonly a_attack: (s: dry_system, card: dry_card) => (cause: identificationInfo, infoObj: {
867
- dmg: number | undefined;
868
- dmgType: number | undefined;
869
- }) => Action_class<[identificationInfo_card], number, {
870
- dmg: number | undefined;
871
- dmgType: number | undefined;
872
- }>;
873
- readonly a_deal_damage_ahead: (s: dry_system, card: dry_card) => (cause: identificationInfo, infoObj: {
874
- dmg: number | undefined;
875
- dmgType: number | undefined;
876
- }) => Action_class<[identificationInfo_card], number, {
877
- dmg: number | undefined;
878
- dmgType: number | undefined;
879
- }>;
880
- readonly a_reset_card: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
881
- readonly a_decompile: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
882
- readonly a_void: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
883
- readonly a_reset_all_once: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
884
- readonly a_declare_activation: (s: dry_system, card: dry_card, eff: dry_effect) => (cause: identificationInfo) => Action_class<[identificationInfo_effect], never, {}>;
885
- readonly a_reset_effect: (s: dry_system, card: dry_card, eff: dry_effect) => (cause: identificationInfo) => Action_class<[identificationInfo_effect], never, {}>;
886
- readonly a_activate_effect: (s: dry_system, card: dry_card) => (pid: number) => (cause: identificationInfo) => Action_class<[identificationInfo_card, identificationInfo_partition], never, {}>;
887
- readonly a_activate_effect_internal: (s: dry_system, card: dry_card) => (pid: number) => (cause: identificationInfo) => Action_class<[identificationInfo_card, identificationInfo_partition], never, {}>;
888
- readonly a_add_status_effect: typeof addEffectContructor;
889
- readonly a_add_effect: typeof addEffectContructor;
890
- readonly a_duplicate_effect: (s: dry_system, card: dry_card) => (card: dry_card) => (pid: number) => (cause: identificationInfo, infoObj: {
891
- addedSubtype: string[];
892
- }) => Action_class<[identificationInfo_card, identificationInfo_card, identificationInfo_partition], string[], {
893
- addedSubtype: string[];
894
- }>;
895
- readonly a_duplicate_card: (s: dry_system, card: dry_card) => (pos: dry_position) => (cause: identificationInfo, infoObj: {
896
- variantIDs?: string[];
897
- overrideData?: patchData;
898
- followUp?: (c: dry_card) => Action[];
899
- }) => Action_class<[identificationInfo_card, identificationInfo_pos], string[] | Partial<import("../../data/cardRegistry").patchData_full> | ((c: dry_card) => Action[]), {
900
- variantIDs?: string[];
901
- overrideData?: patchData;
902
- followUp?: (c: dry_card) => Action[];
903
- }>;
904
- readonly a_remove_status_effect: (s: dry_system, card: dry_card, eff: dry_effect) => (cause: identificationInfo) => Action_class<[identificationInfo_effect], never, {}>;
905
- readonly a_remove_effect: (s: dry_system, card: dry_card) => (pid: number) => (cause: identificationInfo) => Action_class<[identificationInfo_card, identificationInfo_partition], never, {}>;
906
- readonly a_remove_all_effects: (s: dry_system, card: dry_card) => (cause: identificationInfo) => Action_class<[identificationInfo_card], never, {}>;
907
- readonly a_activate_effect_subtype: (s: dry_system, card: dry_card, eff: dry_effect, subtype: dry_effectSubType) => (cause: identificationInfo, infoObj: {
908
- newEffectData: undefined | Partial<effectData>;
909
- }) => Action_class<[identificationInfo_subtype], Partial<{
910
- typeID: keyof typeof import("../../data/effectTypeRegistry").default;
911
- subTypeIDs: import("../../data/subtypeRegistry").subtypeName[];
912
- displayID_default?: string;
913
- }> | Partial<{
914
- typeID: keyof typeof import("../../data/effectTypeRegistry").default;
915
- subTypeIDs: import("../../data/subtypeRegistry").subtypeName[];
916
- displayID_default?: string;
917
- } & {
918
- [key: string]: number;
919
- }>, {
920
- newEffectData: undefined | Partial<effectData>;
921
- }>;
922
- readonly a_modify_action: typeof modifyActionContructor;
923
- readonly a_replace_action: (s: dry_system, a: Action_class<identificationInfo[], any, any> | Action_class<identificationInfo[], any, any>) => (cause: identificationInfo) => Action_class<[identificationInfo_action], never, {}>;
924
- readonly a_zone_interact: (s: dry_system, zone: dry_zone) => (cause: identificationInfo) => Action_class<[identificationInfo_zone], never, {}>;
925
- readonly a_shuffle: (s: dry_system, zone: dry_zone) => (cause: identificationInfo, infoObj: {
926
- shuffleMap: Map<number, number>;
927
- }) => Action_class<[identificationInfo_zone], Map<number, number>, {
928
- shuffleMap: Map<number, number>;
929
- }>;
930
- readonly a_draw: (s: dry_system, zone: dry_zone) => (zone: dry_zone) => (cause: identificationInfo, infoObj: {
931
- cooldown: number;
932
- doTurnReset: boolean;
933
- actuallyDraw: boolean;
934
- }) => Action_class<[identificationInfo_zone, identificationInfo_zone], number | boolean, {
935
- cooldown: number;
936
- doTurnReset: boolean;
937
- actuallyDraw: boolean;
938
- }>;
939
- readonly a_add_top: (s: dry_system, card: dry_card) => (zone: dry_zone) => (cause: identificationInfo) => Action_class<[identificationInfo_card, identificationInfo_zone], never, {}>;
940
- readonly a_get_input: (cause: identificationInfo, infoObj: {
941
- requester: inputRequester<any, inputData[]>;
942
- applicator: inputApplicator<any, inputData[]>;
943
- }) => Action_class<[], inputRequester<any, import("../../data/systemRegistry").inputData_standard[], import("../../data/systemRegistry").inputData_standard[], import("../../data/systemRegistry").inputData_standard, import("../../data/systemRegistry").inputData_standard, import("../../data/systemRegistry").inputData_standard[]> | inputApplicator<any, import("../../data/systemRegistry").inputData_standard[]>, {
944
- requester: inputRequester<any, inputData[]>;
945
- applicator: inputApplicator<any, inputData[]>;
946
- }>;
947
- readonly a_delay: (cause: identificationInfo, infoObj: {
948
- delayAmmount: number;
949
- delayCID: string;
950
- delayEID: string;
951
- }) => Action_class<[], string | number, {
952
- delayAmmount: number;
953
- delayCID: string;
954
- delayEID: string;
955
- }>;
956
- };
957
- export type ConstructionExtraParamsType<name extends actionName> = name extends "a_modify_action" ? {} : name extends "a_add_effect" | "a_add_status_effect" ? any : ExtractReturn_any<typeof actionConstructorRegistry[name]> extends Action_class<any, any, infer T0> ? T0 : {};
958
- export type AttrType<name extends actionName> = name extends "a_modify_action" ? any : name extends "a_add_effect" | "a_add_status_effect" ? {
959
- typeID: string;
960
- [key: string]: any;
961
- } : ExtractReturn_any<typeof actionConstructorRegistry[name]> extends Action_class<any, infer T0, any> ? T0 : any;
962
- export type TargetType<name extends actionName> = name extends "a_modify_action" ? [identificationInfo_action] : name extends "a_add_effect" | "a_add_status_effect" ? [identificationInfo_card] : ExtractReturn_any<typeof actionConstructorRegistry[name]> extends Action_class<infer T0, any, any> ? T0 : never;
963
- declare const actionFormRegistry: {
964
- readonly action: (s: dry_system, a: Action | Action_class) => identificationInfo_action;
965
- readonly card: (s: dry_system, c: dry_card) => identificationInfo_card;
966
- readonly effect: (s: dry_system, c: dry_card, eff: dry_effect) => identificationInfo_effect;
967
- readonly subtype: (s: dry_system, c: dry_card, eff: dry_effect, subtype: dry_effectSubType) => identificationInfo_subtype;
968
- readonly position: (s: dry_system, pos: dry_position) => identificationInfo_pos;
969
- readonly zone: (s: dry_system, zone: dry_zone) => identificationInfo_zone;
970
- readonly player: (s: dry_system, pid: number) => identificationInfo_player;
971
- readonly none: typeof form_none;
972
- readonly system: typeof form_system;
973
- };
974
- export type Action<name extends actionName | undefined = undefined, name2 extends (name extends "a_modify_action" ? Exclude<actionName, "a_modify_action"> : undefined) | (name extends "a_add_effect" | "a_add_status_effect" ? effectName : undefined) | undefined = undefined> = name extends actionName ? (name extends "a_modify_action" ? (name2 extends actionName ? Action_class<TargetType<name>, ExtractInnerType<ConstructionExtraParamsType<name2>> | TargetType<name2> | identificationInfo | boolean, Partial<ConstructionExtraParamsType<name2>> & Partial<{
975
- targets: TargetType<name2>;
976
- cause: identificationInfo;
977
- canBeChainedTo: boolean;
978
- canBeTriggeredTo: boolean;
979
- }>> : Action<"a_modify_action", "a_null">) : name2 extends effectName ? (Action_class<[
980
- identificationInfo_card
981
- ], ExtractInnerType<Partial<Omit<effectData_specific<name2>, "typeID" | "subTypeIDs">>> | string, Partial<Omit<effectData_specific<name2>, "typeID" | "subTypeIDs">> & {
982
- typeID: string;
983
- }>) : Action_class<TargetType<name>, AttrType<name>, ConstructionExtraParamsType<name>>) : Action_class;
984
- export type ExtractActionName<A> = A extends Action<infer name> ? name : never;
985
- export type oneTarget<target extends identificationInfo, searchSet extends actionName = actionName> = {
986
- [K in searchSet]: TargetType<K> extends [target] ? K : never;
987
- }[searchSet];
988
- export type noExtraParam<searchSet extends actionName = actionName> = {
989
- [K in searchSet]: {} extends ConstructionExtraParamsType<K> ? K : never;
990
- }[searchSet];
991
- export type hasTarget<target extends identificationInfo, searchSet extends actionName = actionName> = {
992
- [K in searchSet]: TargetType<K> extends [target] ? K : TargetType<K> extends [target, ...any[]] ? K : never;
993
- }[searchSet];
994
- export { actionConstructorRegistry, actionFormRegistry };