Advertisement
Guest User

Untitled

a guest
Sep 11th, 2019
960
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.00 KB | None | 0 0
  1. override void StartingEquipSetup(PlayerBase player, bool clothesChosen)
  2. {
  3.     player.RemoveAllItems();
  4.     EntityAI itemEnt;
  5.     ItemBase itemBs;
  6.     float rand;
  7.    
  8.     PlayerIdentity ident = PlayerIdentity.Cast(player.GetIdentity());
  9.     int h= m_humanity.GetHumanity(ident.GetPlainId());
  10.     switch( m_humanity.determainLevel(h))
  11.     {
  12.         case -4:
  13.             // Bandit LvL 4
  14.             player.GetInventory().CreateInInventory("Jeans_Black");
  15.             player.GetInventory().CreateInInventory("CombatBoots_Black");
  16.             player.GetInventory().CreateInInventory("MassBlackJacket");
  17.             player.GetInventory().CreateInInventory("BalaclavaMask_Blackskull");
  18.             player.GetInventory().CreateInInventory("BeanieHat_Black");
  19.             player.GetInventory().CreateInInventory("Mag_CZ75_15Rnd");
  20.             player.GetInventory().CreateInInventory("CZ75");
  21.             break;
  22.         case -3:  
  23.             // Bandit LvL 3
  24.             player.GetInventory().CreateInInventory("Jeans_Black");
  25.             player.GetInventory().CreateInInventory("CombatBoots_Black");
  26.             player.GetInventory().CreateInInventory("MassBlackJacket");
  27.             player.GetInventory().CreateInInventory("Balaclava3Holes_Black");
  28.             player.GetInventory().CreateInInventory("BeanieHat_Black");
  29.             player.GetInventory().CreateInInventory("CombatKnife");
  30.             break;
  31.         case -2:
  32.             // Bandit LvL 2
  33.             player.GetInventory().CreateInInventory("CanvasPants_Beige");
  34.             player.GetInventory().CreateInInventory("CombatBoots_Beige");
  35.             player.GetInventory().CreateInInventory("MassBeigeJacket");
  36.             player.GetInventory().CreateInInventory("Balaclava3Holes_Beige");
  37.             player.GetInventory().CreateInInventory("BeanieHat_Beige");
  38.             break;
  39.         case -1:
  40.             // Bandit LvL 1
  41.             player.GetInventory().CreateInInventory("Jeans_BlueDark");
  42.             player.GetInventory().CreateInInventory("MilitaryBoots_Black");
  43.             player.GetInventory().CreateInInventory("TShirt_Grey");
  44.             break;
  45.         case 0:
  46.             // Bambi
  47.             break;
  48.         case 1:
  49.             // Hero LvL 1
  50.             player.GetInventory().CreateInInventory("Jeans_BlueDark");
  51.             player.GetInventory().CreateInInventory("MilitaryBoots_Black");
  52.             player.GetInventory().CreateInInventory("TShirt_Grey");
  53.             break;
  54.         case 2:
  55.             // Hero LvL 2
  56.             player.GetInventory().CreateInInventory("Jeans_Blue");
  57.             player.GetInventory().CreateInInventory("MilitaryBoots_Black");
  58.             player.GetInventory().CreateInInventory("Shirt_WhiteCheck");
  59.             player.GetInventory().CreateInInventory("CombatKnife");
  60.             break;
  61.         case 3:
  62.             // Hero LvL 3
  63.             player.GetInventory().CreateInInventory("Jeans_Blue");
  64.             player.GetInventory().CreateInInventory("MilitaryBoots_Black");
  65.             player.GetInventory().CreateInInventory("Shirt_WhiteCheck");
  66.             player.GetInventory().CreateInInventory("CombatKnife");
  67.             break;
  68.         case 4:
  69.             // Hero LvL 4
  70.             player.GetInventory().CreateInInventory("Jeans_Blue");
  71.             player.GetInventory().CreateInInventory("MilitaryBoots_Black");
  72.             player.GetInventory().CreateInInventory("Shirt_WhiteCheck");
  73.             player.GetInventory().CreateInInventory("CombatKnife");
  74.             player.GetInventory().CreateInInventory("Bandage");
  75.             break;
  76.         default:
  77.             break;
  78.     }
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement