#library "MorseScripts.acs"
#include "zcommon.acs"
#import "CustomFunctions.acs"
#import "PickupScripts.acs"


Script "MorseClass_PistolStart" (void)
{ 
	TakeInventory("NanoShotgun", 1);
	TakeInventory("NanoSuperShotgun", 1);
	TakeInventory("NanoMachineGun", 1);
	TakeInventory("NanoRocketLauncher", 1);
	TakeInventory("NanoPlasmaGun", 1);
	TakeInventory("NanoPhotonCannon", 1);
}

Script "MorseClass_PickupSystem" (void)
{ 
   
   int plr = PlayerNumber();
   
   GiveInventory("PickupBlend", 1);
   PlaySound(0, "DSWPNUP", 4);
   
     switch(weaponnumbersave[plr])
  {
   case 1: print(s:"\cfYou got... nothing?"); ; SetInventory("HasChainsaw", 1); break;
   case 2: GiveInventory("NanoShotgun", 1);  print(s:"\cfYou got the SPAS-12!"); SetInventory("HasShotgun", 1); break;
   case 3: GiveInventory("NanoSuperShotgun",1); print(s:"\cfGot the Super Shotgun!");  SetInventory("HasSuperShotgun", 1); break;
   case 4: GiveInventory("NanoMachineGun",1); GiveInventory("CamChaingun",1);  print(s:"\cfYou got the UMP-45!"); SetInventory("HasChaingun", 1); break;
   case 5: GiveInventory("NanoRocketLauncher", 1);  print(s:"\cfYou got the Cluster Launcher!"); SetInventory("HasRocketLauncher", 1); break;
   case 6: GiveInventory("NanoPlasmaGun", 1); print(s:"\cfYou got the Plasma Blaster!"); SetInventory("HasPlasmaRifle", 1); break;
   case 7: GiveInventory("NanoPhotonCannon", 1); print(s:"\cfYou got the Photon Cannon!"); SetInventory("HasBFG9000", 1); break;
   }
   
}