Multi item_db

Like it~*

New member
Messages
175
Points
0
Hello. I wonder if this is possible? I am from Brazil and here the native language is Portuguese, so because of this I would like to know if it is possible to use more than one item_db?

 
src/map/itemdb.c

search for void itemdb_read(bool minimal) {

I am using this as multi-item-db

    const char *filename[] = {
        DBPATH"item_db.conf",
        "item_db2.conf",
        "item_darkro.conf",
        "item_freebies.conf",
        "item_headgear.conf",
    };
 
Last edited by a moderator:
src/map/itemdb.c

search for void itemdb_read(bool minimal) {

I am using this as multi-item-db

    const char *filename[] = {        DBPATH"item_db.conf",

        "item_db2.conf",

        "item_darkro.conf",

        "item_freebies.conf",

        "item_headgear.conf",

    };
Wow, thank you very much! I did not now that.The order of placement is the same as the order of reading, right?

 
Back
Top