Effect icons and tooltip !

This commit is contained in:
2026-10-02 13:16:50 -03:00
parent e560cb3928
commit f749f6be79
22 changed files with 131 additions and 19 deletions
+1
View File
@@ -241,6 +241,7 @@ export function check_references(mods: LoadedMod[], engine_textures: Iterable<st
if ((effect_owners.get(json.id)?.length ?? 0) > 1) {
errors.push(`${file}: effect ${json.id} is also defined by ${effect_owners.get(json.id)!.join(", ")}`);
}
if (json.icon !== undefined) uses(file, json.icon, "texture");
}
for (const { file, json } of mod.spawns) {
check_namespace(file, json.entity);