feat(transmog): add transmog module
This commit is contained in:
@@ -279,6 +279,27 @@ import_playerbots_ru_sql() {
|
||||
import_sql_file "acore_characters" "$names_sql_file"
|
||||
}
|
||||
|
||||
import_transmog_sql() {
|
||||
local account_transmog_sql="$ROOT_DIR/sql/Transmogrification/auth.sql"
|
||||
local character_transmog_sql="$ROOT_DIR/sql/Transmogrification/char.sql"
|
||||
|
||||
if table_exists "acore_world" "account_transmog"; then
|
||||
log "account_transmog table already exists, skipping"
|
||||
else
|
||||
import_sql_file "acore_world" "$account_transmog_sql"
|
||||
|
||||
log "account_transmog table was successfully imported"
|
||||
fi
|
||||
|
||||
if table_exists "acore_world" "character_transmog"; then
|
||||
log "character_transmog table already exists, skipping"
|
||||
else
|
||||
import_sql_file "acore_world" "$character_transmog_sql"
|
||||
|
||||
log "account_character table was successfully imported"
|
||||
fi
|
||||
}
|
||||
|
||||
configure_server_motd() {
|
||||
log "configuring MoonWell login message"
|
||||
mysql_exec "acore_auth" "
|
||||
@@ -362,6 +383,7 @@ import_aoe_loot_sql
|
||||
import_playerbots_ru_sql
|
||||
import_encounter_journal_sql
|
||||
import_store_sql
|
||||
import_transmog_sql
|
||||
configure_server_motd
|
||||
|
||||
log "custom SQL bootstrap completed"
|
||||
|
||||
Reference in New Issue
Block a user