include more ammo packs
This commit is contained in:
parent
1ffa4f1e0c
commit
09f50f9f97
@ -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
|
// 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
|
var ammoPacks = ItemTemplateHelper.Items.Values
|
||||||
.Where(x => (x._parent == "5661632d4bdc2d903d8b456b" || x._parent == "543be5cb4bdc2deb348b4568")
|
.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"));
|
&& !x._name.Contains("_damaged"));
|
||||||
|
|
||||||
foreach (var ammoPack in ammoPacks)
|
foreach (var ammoPack in ammoPacks)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user