From ab112d8e888fdcf934bc47cde716adeadeb75df6 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sun, 29 Nov 2020 01:56:14 +0300 Subject: [PATCH] feat: add (free) DLC "Frost Fang" weapon --- ServerExt/Classes/DLCWeapDef_Rifle_FrostShotgunAxe.uc | 7 +++++++ ServerExtMut/Classes/ServerExtMut.uc | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 ServerExt/Classes/DLCWeapDef_Rifle_FrostShotgunAxe.uc diff --git a/ServerExt/Classes/DLCWeapDef_Rifle_FrostShotgunAxe.uc b/ServerExt/Classes/DLCWeapDef_Rifle_FrostShotgunAxe.uc new file mode 100644 index 0000000..b86eae3 --- /dev/null +++ b/ServerExt/Classes/DLCWeapDef_Rifle_FrostShotgunAxe.uc @@ -0,0 +1,7 @@ +class DLCWeapDef_Rifle_FrostShotgunAxe extends KFWeapDef_Rifle_FrostShotgunAxe + abstract; + +DefaultProperties +{ + SharedUnlockId=SCU_None +} diff --git a/ServerExtMut/Classes/ServerExtMut.uc b/ServerExtMut/Classes/ServerExtMut.uc index 8db4393..9ed90d1 100644 --- a/ServerExtMut/Classes/ServerExtMut.uc +++ b/ServerExtMut/Classes/ServerExtMut.uc @@ -343,7 +343,8 @@ function EditTraiderItems() || string(Trad.SaleItems[i].ClassName) ~= "KFWeap_SMG_G18" || string(Trad.SaleItems[i].ClassName) ~= "KFWeap_Pistol_DualG18" || 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; } @@ -384,6 +385,7 @@ function EditTraiderItems() AddCIToTrader("ServerExt.DLCWeapDef_Pistol_G18C"); AddCIToTrader("ServerExt.DLCWeapDef_Mine_Reconstructor"); AddCIToTrader("ServerExt.DLCWeapDef_Minigun"); + AddCIToTrader("ServerExt.DLCWeapDef_Rifle_FrostShotgunAxe"); } // Add custom items from WebAdmin