123456789101112131415161718192021222324252627 |
- class SVD_Base : RifleBoltLock_Base
- {
- override RecoilBase SpawnRecoilObject()
- {
- return new SvdRecoil(this);
- }
-
- override bool CanEnterIronsights()
- {
- ItemOptics optic = GetAttachedOptics();
- if (optic && PSO1Optic.Cast(optic) || PSO11Optic.Cast(optic) || KashtanOptic.Cast(optic) || KazuarOptic.Cast(optic))
- return true;
- return super.CanEnterIronsights();
- }
-
- //Debug menu Spawn Ground Special
- override void OnDebugSpawn()
- {
- GameInventory inventory = GetInventory();
- inventory.CreateInInventory( "PSO1Optic" );
- inventory.CreateInInventory( "AK_Suppressor" );
- inventory.CreateInInventory( "Battery9V" );
-
- SpawnAttachedMagazine("Mag_SVD_10Rnd");
- }
- };
|