factorio-types 0.0.50 → 1.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/README.md +38 -3
- package/dist/classes.d.ts +4785 -1
- package/dist/core.d.ts +9 -4
- package/dist/defines.d.ts +816 -816
- package/dist/prototypes.d.ts +1 -1
- package/index.d.ts +1 -0
- package/package.json +13 -6
- package/tsconfig.base.json +15 -0
package/dist/core.d.ts
CHANGED
|
@@ -3,15 +3,20 @@
|
|
|
3
3
|
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
|
|
4
4
|
// Definition source https://github.com/sguest/factorio-types
|
|
5
5
|
|
|
6
|
-
declare
|
|
7
|
-
deepcopy<T>(this: void, value: T): T
|
|
8
|
-
}
|
|
6
|
+
declare namespace table {
|
|
7
|
+
function deepcopy<T>(this: void, value: T): T;
|
|
8
|
+
}
|
|
9
9
|
|
|
10
10
|
declare const data: {
|
|
11
11
|
raw: prototype.dataCollection,
|
|
12
|
-
extend(values:
|
|
12
|
+
extend(values: prototype.dataExtendType[]): void,
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Mapping of currently loaded mods to their version. Only exists at the data stage.
|
|
17
|
+
*/
|
|
18
|
+
declare const mods: { [key: string] : string}
|
|
19
|
+
|
|
15
20
|
declare const global: { [key: string]: any };
|
|
16
21
|
|
|
17
22
|
declare function log(str: runtime.LocalisedString): void;
|