KF2-Server-Extension/ServerExt/Classes/Ext_TraitMedicPistol.uc
2017-10-19 21:00:49 -05:00

14 lines
433 B
Ucode

Class Ext_TraitMedicPistol extends Ext_TraitBase;
static function AddDefaultInventory( KFPawn Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Player.DefaultInventory.RemoveItem(class'KFWeap_Pistol_9mm');
Player.DefaultInventory.AddItem(class'KFWeap_Pistol_Medic');
}
defaultproperties
{
TraitName="Medic Pistol"
DefLevelCosts(0)=20
Description="Spawn with a medic pistol instead of standard 9mm."
}