# This is NOT real compilable Verse, but it shows the logic flow
Spawn_NPC(Definition: NPC_Character_Definition) -> NPC_Entity:
# 1. The Game looks up the Definition (the blueprint)
# 2. It creates a new Entity in the Scene Graph
# 3. It applies the stats (Health, Speed) from the Definition
# 4. It applies the Visuals (Cosmetics) from the Definition
New_Entity = Create_Entity_From(Definition)
# 5. The Entity is now active and ready for AI to take over
Return New_Entity
Verse Library
verse
01 Fragment
Creates a new NPC entity from a definition blueprint, applying stats and visuals for AI control.
verse-library/custom-ip-character-definitions/01-fragment.verse