@eveshipfit/dogma-engine 13.7.0 → 14.1.0
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.
package/esf_dogma_engine.d.ts
CHANGED
|
@@ -129,6 +129,10 @@ export interface ProjectedEffect {
|
|
|
129
129
|
* Every attribute and its value the effect reads.
|
|
130
130
|
*/
|
|
131
131
|
attributes?: Map<number, number> | Record<number, number>;
|
|
132
|
+
/**
|
|
133
|
+
* How many items aim it.
|
|
134
|
+
*/
|
|
135
|
+
quantity?: number;
|
|
132
136
|
}
|
|
133
137
|
|
|
134
138
|
/**
|
|
@@ -147,7 +151,7 @@ export type Resource = "cpu" | "powergrid" | "calibration" | "drone_bay" | "dron
|
|
|
147
151
|
* What an item would accept instead is not repeated here; it is on the item
|
|
148
152
|
* itself, as `chargeGroup1`, `canFitShipType1` and the like.
|
|
149
153
|
*/
|
|
150
|
-
export type Rule = { type: "resource"; resource: Resource; used: number; available: number } | { type: "slots"; slot: SlotKind; used: number; available: number } | { type: "wrong_slot"; expected: SlotKind } | { type: "slot_taken" } | { type: "wrong_slot_index"; expected: number } | { type: "subsystem_taken" } | { type: "skill"; type_id: number; required: number; level: number } | { type: "rig_size"; ship: number; item: number } | { type: "ship_restricted" } | { type: "capital_item" } | { type: "structure_item" } | { type: "ship_item" } | { type: "max_group"; group_id: number; limit: GroupLimit; used: number; allowed: number } | { type: "max_type"; type_id: number; used: number; allowed: number } | { type: "charge_group" } | { type: "charge_size"; module: number; charge: number };
|
|
154
|
+
export type Rule = { type: "resource"; resource: Resource; used: number; available: number } | { type: "slots"; slot: SlotKind; used: number; available: number } | { type: "wrong_slot"; expected: SlotKind } | { type: "not_a_module" } | { type: "not_a_drone" } | { type: "not_a_fighter" } | { type: "not_an_implant" } | { type: "slot_taken" } | { type: "wrong_slot_index"; expected: number } | { type: "subsystem_taken" } | { type: "skill"; type_id: number; required: number; level: number } | { type: "rig_size"; ship: number; item: number } | { type: "ship_restricted" } | { type: "capital_item" } | { type: "structure_item" } | { type: "ship_item" } | { type: "max_group"; group_id: number; limit: GroupLimit; used: number; allowed: number } | { type: "max_type"; type_id: number; used: number; allowed: number } | { type: "not_a_hull" } | { type: "not_a_mode" } | { type: "not_a_skill"; type_id: number } | { type: "charge_group" } | { type: "charge_size"; module: number; charge: number };
|
|
151
155
|
|
|
152
156
|
/**
|
|
153
157
|
* A ship, what is fitted to it, and the character flying it.
|
|
@@ -310,7 +314,7 @@ export interface Source {
|
|
|
310
314
|
*/
|
|
311
315
|
value: number;
|
|
312
316
|
/**
|
|
313
|
-
* A penalised stack is split into one entry per item,
|
|
317
|
+
* A penalised stack is split into one entry per counted item, plus one for the rest.
|
|
314
318
|
*/
|
|
315
319
|
quantity: number;
|
|
316
320
|
/**
|
package/esf_dogma_engine_bg.wasm
CHANGED
|
Binary file
|