class MutStartInv extends Mutator;
function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{
if (Other.IsA('KFHumanPawn'))
{
KFHumanPawn(Other).RequiredEquipment[0] = "KFMod.Single";
KFHumanPawn(Other).RequiredEquipment[1] = "KFMod.Frag";
KFHumanPawn(Other).RequiredEquipment[2] = "";
KFHumanPawn(Other).RequiredEquipment[3] = "";
KFHumanPawn(Other).RequiredEquipment[4] = "";
}
return true;
}
//Defaults
//RequiredEquipment[0] = "KFMod.Knife"; // Knife
//RequiredEquipment[1] = "KFMod.Single"; // Single 9mm
//RequiredEquipment[2] = "KFMod.Frag"; // Grenade
//RequiredEquipment[3] = "KFMod.Syringe"; // Syringe
//RequiredEquipment[4] = "KFMod.Welder"; // Welder
defaultproperties
{
bAddToServerPackages=True
GroupName="KF-Inventory"
FriendlyName="Inventory Edit"
Description="You start with the equipment needed for the challenge"
}