include more ammo packs

This commit is contained in:
Dev 2023-06-29 16:28:10 +01:00
parent 1ffa4f1e0c
commit 09f50f9f97

View File

@ -31,7 +31,7 @@ namespace MarketPriceLookup
// Ammo packs are easy to exploit, they're never listed on flea which casues server to use handbook price, often contain ammo worth x100 the cost of handbook price
var ammoPacks = ItemTemplateHelper.Items.Values
.Where(x => (x._parent == "5661632d4bdc2d903d8b456b" || x._parent == "543be5cb4bdc2deb348b4568")
&& x._name.Contains("item_ammo_box_")
&& (x._name.Contains("item_ammo_box_") || x._name.Contains("ammo_box_"))
&& !x._name.Contains("_damaged"));
foreach (var ammoPack in ammoPacks)