Initial Commit
Initial Commit
This commit is contained in:
51
_module/nss/wdiff_show.nss
Normal file
51
_module/nss/wdiff_show.nss
Normal file
@@ -0,0 +1,51 @@
|
||||
void main()
|
||||
{
|
||||
object oModule = GetModule();
|
||||
string sDDeath = GetLocalString(oModule, "mDiffDeath");
|
||||
string sDExplo = GetLocalString(oModule, "mDiffExplo");
|
||||
string sDEnemy = GetLocalString(oModule, "mDiffEnemy");
|
||||
string sDAdven = GetLocalString(oModule, "mDiffAdven");
|
||||
string sDCommu = GetLocalString(oModule, "mDiffCommu");
|
||||
string sDDeath_pl;
|
||||
string sDExplo_pl;
|
||||
string sDEnemy_pl;
|
||||
string sDAdven_pl;
|
||||
string sDCommu_pl;
|
||||
|
||||
if (sDDeath == "COMMONER") sDDeath_pl = "PLEBEJUSZ";
|
||||
if (sDDeath == "ADVENTURER") sDDeath_pl = "AWANTURNIK";
|
||||
if (sDDeath == "HERO") sDDeath_pl = "BOHATER";
|
||||
if (sDDeath == "LEGEND") sDDeath_pl = "LEGENDA";
|
||||
if (sDDeath == "DEMIGOD") sDDeath_pl = "POLBOG";
|
||||
if (sDExplo == "COMMONER") sDExplo_pl = "PLEBEJUSZ";
|
||||
if (sDExplo == "ADVENTURER") sDExplo_pl = "AWANTURNIK";
|
||||
if (sDExplo == "HERO") sDExplo_pl = "BOHATER";
|
||||
if (sDExplo == "LEGEND") sDExplo_pl = "LEGENDA";
|
||||
if (sDExplo == "DEMIGOD") sDExplo_pl = "POLBOG";
|
||||
if (sDEnemy == "COMMONER") sDEnemy_pl = "PLEBEJUSZ";
|
||||
if (sDEnemy == "ADVENTURER") sDEnemy_pl = "AWANTURNIK";
|
||||
if (sDEnemy == "HERO") sDEnemy_pl = "BOHATER";
|
||||
if (sDEnemy == "LEGEND") sDEnemy_pl = "LEGENDA";
|
||||
if (sDEnemy == "DEMIGOD") sDEnemy_pl = "POLBOG";
|
||||
if (sDAdven == "COMMONER") sDAdven_pl = "PLEBEJUSZ";
|
||||
if (sDAdven == "ADVENTURER") sDAdven_pl = "AWANTURNIK";
|
||||
if (sDAdven == "HERO") sDAdven_pl = "BOHATER";
|
||||
if (sDAdven == "LEGEND") sDAdven_pl = "LEGENDA";
|
||||
if (sDAdven == "DEMIGOD") sDAdven_pl = "POLBOG";
|
||||
if (sDCommu == "COMMONER") sDCommu_pl = "PLEBEJUSZ";
|
||||
if (sDCommu == "ADVENTURER") sDCommu_pl = "AWANTURNIK";
|
||||
if (sDCommu == "HERO") sDCommu_pl = "BOHATER";
|
||||
if (sDCommu == "LEGEND") sDCommu_pl = "LEGENDA";
|
||||
if (sDCommu == "DEMIGOD") sDCommu_pl = "POLBOG";
|
||||
|
||||
SetCustomToken(800, sDDeath);
|
||||
SetCustomToken(801, sDExplo);
|
||||
SetCustomToken(802, sDEnemy);
|
||||
SetCustomToken(505, sDAdven);
|
||||
SetCustomToken(803, sDCommu);
|
||||
SetCustomToken(804, sDDeath_pl);
|
||||
SetCustomToken(805, sDExplo_pl);
|
||||
SetCustomToken(806, sDEnemy_pl);
|
||||
SetCustomToken(506, sDAdven_pl);
|
||||
SetCustomToken(807, sDCommu_pl);
|
||||
}
|
||||
Reference in New Issue
Block a user