feat: add (free) DLC "Frost Fang" weapon

This commit is contained in:
GenZmeY 2020-11-29 01:56:14 +03:00
parent e68d21f1d9
commit ab112d8e88
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,7 @@
class DLCWeapDef_Rifle_FrostShotgunAxe extends KFWeapDef_Rifle_FrostShotgunAxe
abstract;
DefaultProperties
{
SharedUnlockId=SCU_None
}

View File

@ -343,7 +343,8 @@ function EditTraiderItems()
|| string(Trad.SaleItems[i].ClassName) ~= "KFWeap_SMG_G18" || string(Trad.SaleItems[i].ClassName) ~= "KFWeap_SMG_G18"
|| string(Trad.SaleItems[i].ClassName) ~= "KFWeap_Pistol_DualG18" || string(Trad.SaleItems[i].ClassName) ~= "KFWeap_Pistol_DualG18"
|| string(Trad.SaleItems[i].ClassName) ~= "KFWeap_Mine_Reconstructor" || string(Trad.SaleItems[i].ClassName) ~= "KFWeap_Mine_Reconstructor"
|| string(Trad.SaleItems[i].ClassName) ~= "KFWeap_Minigun") || string(Trad.SaleItems[i].ClassName) ~= "KFWeap_Minigun"
|| string(Trad.SaleItems[i].ClassName) ~= "KFWeap_Rifle_FrostShotgunAxe")
{ {
continue; continue;
} }
@ -384,6 +385,7 @@ function EditTraiderItems()
AddCIToTrader("ServerExt.DLCWeapDef_Pistol_G18C"); AddCIToTrader("ServerExt.DLCWeapDef_Pistol_G18C");
AddCIToTrader("ServerExt.DLCWeapDef_Mine_Reconstructor"); AddCIToTrader("ServerExt.DLCWeapDef_Mine_Reconstructor");
AddCIToTrader("ServerExt.DLCWeapDef_Minigun"); AddCIToTrader("ServerExt.DLCWeapDef_Minigun");
AddCIToTrader("ServerExt.DLCWeapDef_Rifle_FrostShotgunAxe");
} }
// Add custom items from WebAdmin // Add custom items from WebAdmin