b95.c 517 B

123456789101112131415161718192021222324252627
  1. class B95_base : DoubleBarrel_Base
  2. {
  3. override RecoilBase SpawnRecoilObject()
  4. {
  5. return new B95Recoil(this);
  6. }
  7. //Debug menu Spawn Ground Special
  8. override void OnDebugSpawn()
  9. {
  10. super.OnDebugSpawn();
  11. GameInventory inventory = GetInventory();
  12. inventory.CreateInInventory( "HuntingOptic" );
  13. EntityAI entity;
  14. if ( Class.CastTo(entity, this) )
  15. {
  16. entity.SpawnEntityOnGroundPos("Ammo_308Win", entity.GetPosition());
  17. }
  18. }
  19. };
  20. class B95 : B95_base {};
  21. class SawedoffB95 extends B95_base {};