Mapping enemy ids to difficulties

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-15 19:21:12 +01:00
parent 6c55136d5b
commit 0eebf8e4fa
15 changed files with 274 additions and 196 deletions

View File

@@ -36,6 +36,16 @@ class SpriteGallery extends StatelessWidget {
if (animation != null) {
label += "\n${animation.name}";
}
// Append the Map IDs for level editing reference
int staticBase = enemy.mapData.baseStaticId;
int patrolBase = enemy.mapData.basePatrolId;
label +=
"\nStat: $staticBase (E), ${staticBase + 1} (M), ${staticBase + 2} (H)";
label += "\nPat: $patrolBase-${patrolBase + 3}(E)";
label += "\nPat: ${patrolBase + 4}-${patrolBase + 7}(M)";
label += "\nPat: ${patrolBase + 8}-${patrolBase + 11}(H)";
break;
}
}