summaryrefslogtreecommitdiff
path: root/db/craft_db.conf
blob: 4397edce9f415b5fb3dfcf1bb0d96d1627a972bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
craft_db: (
//  craft Database
/******************************************************************************
 ************* Entry structure ************************************************
 ******************************************************************************
{
    Id: craft id                    [int]
    Name: craft name                [string]
    Priority: craft priority        [int]
    Price: craft price              [int]
    Lv: base level                  [int]
    Flag: flag from craft object    [string/int]
    ReturnCode: return code for scripts [int]

    SourceItems: ({  craft inventory source (will be deleted after crafting)
        Name: amount                [int]
        ...
    },
    ...
    )
    CreateItems: ( // items what will be creted in crafting
    {
        Name: amount
        ...
    },
    {
        Name:
        {
            Amount: amount
            Cards: ["card0", ...]
        },
    },
    ...
    )
    DeleteItems: {  additional items what will be deleted from inventory
        Name: amount                [int]
        ...
    }
    RequiredItems: {  required additional items. will be unchanged
        Name: amount                [int]
        ...
    }
    RequiredSkills: {  required skills and levels
        Name: level                 [int]
        ...
    }
    RequiredQuests: {
        Name: level                 [int]
        ...
    }
    RequiredEquips: {
        Name: true
    }
},
******************************************************************************/


)