Field MonsterName
- Namespace
- GrindFest.Characters.Monster
- Assembly
- GrindFest.dll
The monster's NAME in the content index — what a declaration actually means.
MonsterPrefab above stays as the resolved fast path, but a table must not require an instance when it is built: a story is parsed while it is being read, long before anything is resident (and a WebGL build cannot load synchronously at all), and a mod can replace a monster's prefab after a table was written. A name survives both; a pinned instance survives neither.
At spawn time the name is resolved through MonsterPool.RequestMonsterPrefab, which is the place
where waiting is possible — resident resolves immediately, a miss spawns when it arrives.
[VerticalGroup("Monster", 0)]
[HideIf("Table", true)]
public string MonsterName
Returns
- string
- The monster's NAME in the content index — what a declaration actually means. above stays as the resolved fast path, but a table must not require an instance when it is built: a story is parsed while it is being read, long before anything is resident (and a WebGL build cannot load synchronously at all), and a mod can replace a monster's prefab after a table was written. A name survives both; a pinned instance survives neither. At spawn time the name is resolved through MonsterPool.RequestMonsterPrefab, which is the place where waiting is possible — resident resolves immediately, a miss spawns when it arrives.