Advertisement
Guest User

Untitled

a guest
May 11th, 2012
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.43 KB | None | 0 0
  1.  if (lang <= 1)
  2.     {
  3.         string str = "";
  4.         if (WorldGen.tGood == 0)
  5.         {
  6.             str = string.Concat(new object[] { Main.worldName, " is ", WorldGen.tEvil, "% corrupt." });
  7.         }
  8.         else if (WorldGen.tEvil == 0)
  9.         {
  10.             str = string.Concat(new object[] { Main.worldName, " is ", WorldGen.tGood, "% hallow." });
  11.         }
  12.         else
  13.         {
  14.             str = string.Concat(new object[] { Main.worldName, " is ", WorldGen.tGood, "% hallow, and ", WorldGen.tEvil, "% corrupt." });
  15.         }
  16.         if (WorldGen.tGood > WorldGen.tEvil)
  17.         {
  18.             return (str + " Keep up the good work!");
  19.         }
  20.         if ((WorldGen.tEvil > WorldGen.tGood) && (WorldGen.tEvil > 20))
  21.         {
  22.             return (str + " Things are grim indeed.");
  23.         }
  24.         return (str + " You should try harder.");
  25.     }
  26.     if (lang == 2)
  27.     {
  28.         string str2 = "";
  29.         if (WorldGen.tGood == 0)
  30.         {
  31.             str2 = string.Concat(new object[] { Main.worldName, " ist zu ", WorldGen.tEvil, "% verderbt." });
  32.         }
  33.         else if (WorldGen.tEvil == 0)
  34.         {
  35.             str2 = string.Concat(new object[] { Main.worldName, " ist zu ", WorldGen.tGood, "% gesegnet." });
  36.         }
  37.         else
  38.         {
  39.             str2 = string.Concat(new object[] { Main.worldName, " ist zu ", WorldGen.tGood, "% gesegnet und zu ", WorldGen.tEvil, "% verderbt." });
  40.         }
  41.         if (WorldGen.tGood > WorldGen.tEvil)
  42.         {
  43.             return (str2 + " Gute Arbeit, weiter so!");
  44.         }
  45.         if ((WorldGen.tEvil > WorldGen.tGood) && (WorldGen.tEvil > 20))
  46.         {
  47.             return (str2 + " Es steht nicht gut.");
  48.         }
  49.         return (str2 + " Streng dich mehr an!");
  50.     }
  51.     if (lang == 3)
  52.     {
  53.         string str3 = "";
  54.         if (WorldGen.tGood == 0)
  55.         {
  56.             str3 = string.Concat(new object[] { Main.worldName, " \x00e8 distrutto al ", WorldGen.tEvil, "%." });
  57.         }
  58.         else if (WorldGen.tEvil == 0)
  59.         {
  60.             str3 = string.Concat(new object[] { Main.worldName, " \x00e8 santo al ", WorldGen.tGood, "%." });
  61.         }
  62.         else
  63.         {
  64.             str3 = string.Concat(new object[] { Main.worldName, " \x00e8 santo al ", WorldGen.tGood, "% e distrutto al ", WorldGen.tEvil, "%." });
  65.         }
  66.         if (WorldGen.tGood > WorldGen.tEvil)
  67.         {
  68.             return (str3 + " Continua cos\x00ec!");
  69.         }
  70.         if ((WorldGen.tEvil > WorldGen.tGood) && (WorldGen.tEvil > 20))
  71.         {
  72.             return (str3 + " Le cose vanno male.");
  73.         }
  74.         return (str3 + " Dovresti impegnarti di pi\x00f9.");
  75.     }
  76.     if (lang == 4)
  77.     {
  78.         string str4 = "";
  79.         if (WorldGen.tGood == 0)
  80.         {
  81.             str4 = string.Concat(new object[] { Main.worldName, " est corrompu \x00e0 ", WorldGen.tEvil, "%." });
  82.         }
  83.         else if (WorldGen.tEvil == 0)
  84.         {
  85.             str4 = string.Concat(new object[] { Main.worldName, " est purifi\x00e9 \x00e0 ", WorldGen.tGood, "%." });
  86.         }
  87.         else
  88.         {
  89.             str4 = string.Concat(new object[] { Main.worldName, " est purifi\x00e9 \x00e0 ", WorldGen.tGood, "% et corrompu \x00e0 ", WorldGen.tEvil, "%." });
  90.         }
  91.         if (WorldGen.tGood > WorldGen.tEvil)
  92.         {
  93.             return (str4 + " Continuez comme \x00e7a.");
  94.         }
  95.         if ((WorldGen.tEvil > WorldGen.tGood) && (WorldGen.tEvil > 20))
  96.         {
  97.             return (str4 + " En effet, c'est pas la joie.");
  98.         }
  99.         return (str4 + " Essayez encore.");
  100.     }
  101.     if (lang != 5)
  102.     {
  103.         return "";
  104.     }
  105.     string str5 = "";
  106.     if (WorldGen.tGood == 0)
  107.     {
  108.         str5 = string.Concat(new object[] { Main.worldName, " ha sido corrompido por ", WorldGen.tEvil, "%." });
  109.     }
  110.     else if (WorldGen.tEvil == 0)
  111.     {
  112.         str5 = string.Concat(new object[] { Main.worldName, " ha sido bendecido por ", WorldGen.tGood, "%." });
  113.     }
  114.     else
  115.     {
  116.         str5 = string.Concat(new object[] { Main.worldName, " ha sido bendecido por ", WorldGen.tGood, "% y corrompido por ", WorldGen.tEvil, "%." });
  117.     }
  118.     if (WorldGen.tGood > WorldGen.tEvil)
  119.     {
  120.         return (str5 + " \x00a1Sigue haci\x00e9ndolo bien!");
  121.     }
  122.     if ((WorldGen.tEvil > WorldGen.tGood) && (WorldGen.tEvil > 20))
  123.     {
  124.         return (str5 + " Es bastante desalentador.");
  125.     }
  126.     return (str5 + " Deber\x00edas esforzarte m\x00e1s.");
  127. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement