dstmodders/mod-dev-tools

Crash with "Select entity key" on the Celestial Altar

victorpopkov opened this issue · 0 comments

  • I understand that if I ignore these instructions, my issue may be closed without review.
  • I have made sure that there are no similar opened issues.
  • I have made sure that the mod version matches the latest release.
  • I have reproduced this issue when other mods have been disabled.

Describe the bug

Found by @sauktux. When using the "Select entity key" on the Celestial Altar (prefab moon_altar), Dev Tools crashes as it tries to concatenate the altar's name, which is a table:

{MOON_ALTAR_WIP = "Partially Assembled Altar", MOON_ALTAR = "Celestial Altar"})

Seems to be a Klei's naming inconsistency issue. The modder expects the name index to always return a string because Klei even defaults to "MISSING NAME".

Steps to reproduce

  1. Go to Celestial Altar.
  2. Use "Select entity key" on it.
  3. See error.

Expected behavior

See Celestial Altar info related to the "Select entity key" feature.

Console output

Click to expand
If applicable, replace this line with the output.

Screenshot

Click to expand

issue