move queries

master
Dominik Madarász 2024-05-29 17:50:42 +02:00
parent 23645ed32a
commit 2d593809d7
7 changed files with 6 additions and 5 deletions

View File

@ -0,0 +1 @@
Only modify these for eco2d game specifically!

View File

@ -38,13 +38,13 @@ bool db_init() {
if (new_db) { if (new_db) {
zpl_printf("[INFO] Creating new database...\n"); zpl_printf("[INFO] Creating new database...\n");
db_exec_file("art/queries/tables.sql"); db_exec_file("art/queries/eco2d/tables.sql");
assets_db_init(); assets_db_init();
db_exec_file("art/queries/resources.sql"); db_exec_file("art/queries/eco2d/resources.sql");
db_exec_file("art/queries/blocks.sql"); db_exec_file("art/queries/eco2d/blocks.sql");
db_exec_file("art/queries/recipes.sql"); db_exec_file("art/queries/eco2d/recipes.sql");
db_exec_file("art/queries/items.sql"); db_exec_file("art/queries/eco2d/items.sql");
} }
// initialise models db // initialise models db