Engine api

This commit is contained in:
2026-10-06 20:27:17 -03:00
parent d13938550d
commit 69c5c187db
27 changed files with 1026 additions and 90 deletions
+3 -1
View File
@@ -25,7 +25,9 @@ export function confirm_mods(address: ServerAddress, welcome: Welcome): Promise<
list.style.cssText = "margin:0;padding-left:20px;";
for (const mod of welcome.mods) {
const item = document.createElement("li");
item.textContent = `${mod.name} ${mod.version} (${mod.id})`;
// it can change anything about the game, not just add to it
const access = mod.engine_access ? ", changes the engine" : "";
item.textContent = `${mod.name} ${mod.version} (${mod.id}${access})`;
list.append(item);
}