KF2-CustomTraderInventory/CTI/Classes/CTI_WeapDef_MosinNagant.uc

15 lines
422 B
Ucode
Raw Normal View History

2023-05-12 23:33:32 +00:00
class CTI_WeapDef_MosinNagant extends KFWeapDef_MosinNagant
abstract;
2023-09-11 01:27:45 +00:00
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_MosinNagant'.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_Rifle_MosinNagant"
}