rott/kf_sources/KFMutators/Classes/MutMachinePistols.uc
2026-07-14 20:27:09 +07:00

23 lines
587 B
Ucode

class MutMachinePistols extends Mutator;
function bool CheckReplacement( Actor Other, out byte bSuperRelevant )
{
// here, in mutator subclass, change InventoryClassName if desired. For example:
if ( WeaponPickup(Other) != None )
{
if ( string(Other.Class) ~= "KFMod.SinglePickup" )
{
ReplaceWith( Other, "MachinePistolPickup" );
return false;
}
}
return true;
}
Defaultproperties
{
//GroupName = "KF"
FriendlyName = "Machine Pistols"
Description = "All the semi-auto 9mms in Killing Floor are replaced with fully automatic counterparts. "
}