WIP: Allow using _parent Ids to set prices for a group of items #4
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "(deleted):main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Primarily used for fixing the extremely low prices for blacklisted helmets due to handbook prices being out of wack.
Ie. Team Wendy EXFIL Ballistic Helmet (Coyote Brown) has a handbook price of 5068, leading flea price to be
(5068 * handbookPriceMultiplier) = 15204 by default
@ -72,3 +72,3 @@
const originalPrice = prices[item._id];
const customItemConfig = this.config.customItemConfigs.find(conf => conf.itemId === item._id);
const customItemConfig = this.config.customItemConfigs.find(conf => conf.itemId === item._id || conf.itemId == item._parent);
First of all, thanks for contributing to my mod. I think this feature addition is valuable.
I would suggest we use a new property for this check. Instead of using itemId in the json config, let's rename to it
parentId
. Then you'll have|| conf.parentId == item._parent);
here.Allow using _parent Ids to set prices for a group of itemsto WIP: Allow using _parent Ids to set prices for a group of itemsPull request closed