Single module modding
This commit is contained in:
@@ -19,14 +19,8 @@ export type HostToGame =
|
||||
// level.json, and where the saved chunks are. the game reads them with read_chunk when it needs them
|
||||
save: { level?: string; chunks: [number, number][] };
|
||||
default_seed: string;
|
||||
// in load order, with the scripts' code since the worker can't read files
|
||||
mods: {
|
||||
listing: ModListing;
|
||||
data: ModData;
|
||||
server_code?: string;
|
||||
worldgen_code?: string;
|
||||
shared_code?: string;
|
||||
}[];
|
||||
// in load order, with their script's code since the worker can't read files
|
||||
mods: { listing: ModListing; data: ModData; code?: string }[];
|
||||
// the game's ends of channels to the worldgen workers the host started, see worldgen_pool.ts. none means
|
||||
// generating on the game's thread
|
||||
worldgen_ports: MessagePort[];
|
||||
|
||||
Reference in New Issue
Block a user