cz550.c 357 B

12345678910111213141516171819
  1. class CZ550_Base : BoltActionRifle_ExternalMagazine_Base
  2. {
  3. override RecoilBase SpawnRecoilObject()
  4. {
  5. return new CZ550Recoil(this);
  6. }
  7. //Debug menu Spawn Ground Special
  8. override void OnDebugSpawn()
  9. {
  10. super.OnDebugSpawn();
  11. EntityAI entity;
  12. if ( Class.CastTo(entity, this) )
  13. {
  14. GetInventory().CreateAttachment("HuntingOptic");
  15. }
  16. }
  17. };