Skip to content
William Edwards edited this page Sep 9, 2015 · 2 revisions

The npc directory contains a list of all the available NPCs in the game and their monster party.

Here is the layout of the table with descriptions of each column:

Name Description
id The id of the NPC.
name The name of the NPC. This name currently corresponds to its sprites/images in resources/sprites.

Examples

resources/db/npc/maple.json

{
    "monsters": [
        {
            "attack": 50, 
            "defense": 7, 
            "name": "Snowball", 
            "special_attack": 9, 
            "level": 5, 
            "monster_id": 1, 
            "hp": 50, 
            "speed": 7, 
            "special_defense": 7,
            "exp_give_mod": 3,
            "exp_req_mod": 27
        }
    ], 
    "id": 1, 
    "name": "Maple"
}