Skip to content

Commit

Permalink
Initial recruitment system implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladinator committed Feb 4, 2022
1 parent 5608855 commit 81230d5
Show file tree
Hide file tree
Showing 29 changed files with 475 additions and 37 deletions.
189 changes: 169 additions & 20 deletions core.lua

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<Script file="db/db_score_stats.lua" />
<Script file="db/db_score_tiers.lua" />
<Script file="db/db_score_tiers_prev.lua" />
<Script file="db/db_titles.lua" />

<Script file="utf8.lua" />
<Script file="core.lua" />
Expand Down
6 changes: 5 additions & 1 deletion db/RaiderIO_DB.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
setlocal enabledelayedexpansion

set toc_interface=90150
set toc_interface=90200
set toc_author=Vladinator ^(Vladinator-TarrenMill^), Aspyr ^(Aspyrox-Skullcrusher^) and Isak ^(Isak-Sargeras^)
set toc_addon=RaiderIO

Expand All @@ -18,6 +18,7 @@ for %%r in (
for %%t in (
"R Raiding"
"M Mythic Plus"
"F Recruitment"
) do (
set t=%%t
set t1=!t:~1,1!
Expand Down Expand Up @@ -66,6 +67,9 @@ for %%r in (
if !t1! == _R (
echo ../!toc_addon!/db/db_raiding_!lr!_!lf!_characters.lua>>"!f!"
echo ../!toc_addon!/db/db_raiding_!lr!_!lf!_lookup.lua>>"!f!"
) else if !t1! == _F (
echo ../!toc_addon!/db/db_recruitment_!lr!_!lf!_characters.lua>>"!f!"
echo ../!toc_addon!/db/db_recruitment_!lr!_!lf!_lookup.lua>>"!f!"
) else (
echo ../!toc_addon!/db/db_!lr!_!lf!!lt!_characters.lua>>"!f!"
echo ../!toc_addon!/db/db_!lr!_!lf!!lt!_lookup.lua>>"!f!"
Expand Down
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_EU_A/RaiderIO_DB_EU_A.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFMythic Plus|r (Europe - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
11 changes: 11 additions & 0 deletions db/RaiderIO_DB_EU_A_F/RaiderIO_DB_EU_A_F.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRecruitment|r (Europe - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
## DefaultState: enabled
## X-Type: Recruitment
## X-Region: Europe
## X-Faction: Alliance
## X-Website: https://raider.io
../RaiderIO/db/db_recruitment_eu_alliance_characters.lua
../RaiderIO/db/db_recruitment_eu_alliance_lookup.lua
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_EU_A_R/RaiderIO_DB_EU_A_R.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRaiding|r (Europe - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_EU_H/RaiderIO_DB_EU_H.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFMythic Plus|r (Europe - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
11 changes: 11 additions & 0 deletions db/RaiderIO_DB_EU_H_F/RaiderIO_DB_EU_H_F.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRecruitment|r (Europe - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
## DefaultState: enabled
## X-Type: Recruitment
## X-Region: Europe
## X-Faction: Horde
## X-Website: https://raider.io
../RaiderIO/db/db_recruitment_eu_horde_characters.lua
../RaiderIO/db/db_recruitment_eu_horde_lookup.lua
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_EU_H_R/RaiderIO_DB_EU_H_R.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRaiding|r (Europe - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_KR_A/RaiderIO_DB_KR_A.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFMythic Plus|r (Korea - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
11 changes: 11 additions & 0 deletions db/RaiderIO_DB_KR_A_F/RaiderIO_DB_KR_A_F.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRecruitment|r (Korea - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
## DefaultState: enabled
## X-Type: Recruitment
## X-Region: Korea
## X-Faction: Alliance
## X-Website: https://raider.io
../RaiderIO/db/db_recruitment_kr_alliance_characters.lua
../RaiderIO/db/db_recruitment_kr_alliance_lookup.lua
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_KR_A_R/RaiderIO_DB_KR_A_R.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRaiding|r (Korea - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_KR_H/RaiderIO_DB_KR_H.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFMythic Plus|r (Korea - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
11 changes: 11 additions & 0 deletions db/RaiderIO_DB_KR_H_F/RaiderIO_DB_KR_H_F.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRecruitment|r (Korea - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
## DefaultState: enabled
## X-Type: Recruitment
## X-Region: Korea
## X-Faction: Horde
## X-Website: https://raider.io
../RaiderIO/db/db_recruitment_kr_horde_characters.lua
../RaiderIO/db/db_recruitment_kr_horde_lookup.lua
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_KR_H_R/RaiderIO_DB_KR_H_R.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRaiding|r (Korea - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_TW_A/RaiderIO_DB_TW_A.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFMythic Plus|r (Taiwan - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
11 changes: 11 additions & 0 deletions db/RaiderIO_DB_TW_A_F/RaiderIO_DB_TW_A_F.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRecruitment|r (Taiwan - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
## DefaultState: enabled
## X-Type: Recruitment
## X-Region: Taiwan
## X-Faction: Alliance
## X-Website: https://raider.io
../RaiderIO/db/db_recruitment_tw_alliance_characters.lua
../RaiderIO/db/db_recruitment_tw_alliance_lookup.lua
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_TW_A_R/RaiderIO_DB_TW_A_R.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRaiding|r (Taiwan - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_TW_H/RaiderIO_DB_TW_H.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFMythic Plus|r (Taiwan - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
11 changes: 11 additions & 0 deletions db/RaiderIO_DB_TW_H_F/RaiderIO_DB_TW_H_F.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRecruitment|r (Taiwan - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
## DefaultState: enabled
## X-Type: Recruitment
## X-Region: Taiwan
## X-Faction: Horde
## X-Website: https://raider.io
../RaiderIO/db/db_recruitment_tw_horde_characters.lua
../RaiderIO/db/db_recruitment_tw_horde_lookup.lua
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_TW_H_R/RaiderIO_DB_TW_H_R.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRaiding|r (Taiwan - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_US_A/RaiderIO_DB_US_A.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFMythic Plus|r (Americas - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
11 changes: 11 additions & 0 deletions db/RaiderIO_DB_US_A_F/RaiderIO_DB_US_A_F.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRecruitment|r (Americas - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
## DefaultState: enabled
## X-Type: Recruitment
## X-Region: Americas
## X-Faction: Alliance
## X-Website: https://raider.io
../RaiderIO/db/db_recruitment_us_alliance_characters.lua
../RaiderIO/db/db_recruitment_us_alliance_lookup.lua
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_US_A_R/RaiderIO_DB_US_A_R.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRaiding|r (Americas - Alliance)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_US_H/RaiderIO_DB_US_H.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFMythic Plus|r (Americas - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
11 changes: 11 additions & 0 deletions db/RaiderIO_DB_US_H_F/RaiderIO_DB_US_H_F.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRecruitment|r (Americas - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
## DefaultState: enabled
## X-Type: Recruitment
## X-Region: Americas
## X-Faction: Horde
## X-Website: https://raider.io
../RaiderIO/db/db_recruitment_us_horde_characters.lua
../RaiderIO/db/db_recruitment_us_horde_lookup.lua
2 changes: 1 addition & 1 deletion db/RaiderIO_DB_US_H_R/RaiderIO_DB_US_H_R.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 90105
## Interface: 90200
## Title: Raider.IO |cffFFFFFFRaiding|r (Americas - Horde)
## Author: Vladinator (Vladinator-TarrenMill), Aspyr (Aspyrox-Skullcrusher) and Isak (Isak-Sargeras)
## Dependencies: RaiderIO
Expand Down
Loading

0 comments on commit 81230d5

Please sign in to comment.