KF2-CustomTraderInventory/CTI/Classes/CTI_WeapDef_Pistol_DualG18.uc

15 lines
428 B
Ucode
Raw Normal View History

2023-05-12 23:33:32 +00:00
class CTI_WeapDef_Pistol_DualG18 extends KFWeapDef_Pistol_DualG18
abstract;
2023-09-11 01:27:45 +00:00
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Pistol_DualG18'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
2023-05-12 23:33:32 +00:00
defaultproperties
{
2023-09-11 01:27:45 +00:00
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Pistol_DualG18"
}