๐Ÿง‘โ€๐ŸŒพ NPC Schema

Describes non-player characters in the game โ€” their roles, behaviors, and interactions.

โœ… Field Rules & Accepted Values

FieldTypeRequiredNotes
idstringโœ… YesMust be unique
namestringโœ… YesIn-game display
spritestringโœ… YesPath to image/sprite
levelsnumber[]โœ… YesLevel IDs where NPC appears
roleenumโŒ NoPredefined behavior types
interactablebooleanโŒ NoDefault is true
interactionLimitnumberโŒ NoMax interaction count
behaviorstringโŒ Noe.g., 'give_quest_on_talk', 'unlock_item'
spawnIfobjectโŒ NoAppears only if conditions met
dialogIdstringโŒ NoFor connecting to dialog later
soundobjectโŒ NoOptional FX triggers
questsstring[]โŒ NoQuest IDs this NPC provides
itemsForSalestring[]โŒ NoIf vendor, what items they sell