1911.c 501 B

123456789101112131415161718192021
  1. class Colt1911_Base : Pistol_Base
  2. {
  3. override RecoilBase SpawnRecoilObject()
  4. {
  5. return new Colt1911Recoil(this);
  6. }
  7. //Debug menu Spawn Ground Special
  8. override void OnDebugSpawn()
  9. {
  10. GameInventory inventory = GetInventory();
  11. inventory.CreateInInventory( "PistolSuppressor" );
  12. inventory.CreateInInventory( "TLRLight" );
  13. inventory.CreateInInventory( "Battery9V" );
  14. SpawnAttachedMagazine("Mag_1911_7Rnd");
  15. }
  16. };
  17. class Colt1911 : Colt1911_Base {};
  18. class Engraved1911 : Colt1911_Base {};