m14.c 396 B

123456789101112131415161718
  1. class M14_Base : RifleBoltLock_Base
  2. {
  3. override RecoilBase SpawnRecoilObject()
  4. {
  5. return new M14Recoil(this);
  6. }
  7. override void OnDebugSpawn()
  8. {
  9. GameInventory inventory = GetInventory();
  10. inventory.CreateInInventory( "ReflexOptic" );
  11. inventory.CreateInInventory( "ImprovisedSuppressor" );
  12. inventory.CreateInInventory( "Battery9V" );
  13. SpawnAttachedMagazine("Mag_M14_20Rnd");
  14. }
  15. };