Hi everyone. Figured id add a small guide on writing custom pickit lines. Something condensed and simplified for ease of access! Will Update stuff overtime. feel free to post any questions or requests for a specific item below and i will do my best to answer them! Please note by all means this is not an end all be all guide for pickit, this is just the BASICS
First I will go over the basics, while showing some examples of use, then below I will give more examples using more of the flags to show different combinations of pickit line types
~ Basics ~
Name / Type
Name - This refers to a specific type of item. ~ eg: berserker Axe / war hammer / shako
UNID TOMB REAVER
[Name] == CrypticAxe && [Quality] == Unique UNID TOMB REAVER
Type - This refers to a group of item types. ~ eg: axe / mace / hammer / helm
MARAS KALAIDOSCOPE
[Type] == Amulet && [Quality] == Unique # [ItemAllSkills] == 2 && [FireResist] => 20 MARAS KALAIDOSCOPE
Note: things like rings, amulets, jewels, grand charms are used as the Type tag.
Quality / Flag / Class
Quality - This refers to the item type ~ eg: Normal / Magic / Rare / Unique / Superior / Set
ANY SUPERIOR WAR PIKE
[Name] == WarPike && [Quality] == Superior
Flag - Used to determine between ethereal and non ethereal ( == - yes etheral / =! - no etheral)
ANY SUPERIOR ETHEREAL WARPIKE
[Name] == WarPike && [Quality] == Superior && [Flag] == Ethereal
Class - Normal / Exceptional / Elite versions of item
ANY POLEARM THAT IS ELITE , ETHEREAL AND SUPERIOR
[Type] == polearm && [Quality] == Superior && [Flag] == Ethereal
Separators
- This is used to separate the item base identifiers from the stats you want to keep
&& - This means "And" , used to link multiple stat flags together
( ) - Used to group things together
|| - This means "Or"
Comparison Symbols
== equals
greater than
=> greater or equal to
< less than
<= less than or equal to
!= not equal to
Commenting/Disabling & Quantity
// - this is used to comment (disable) a line from your pickit file, use this if you want to turn off a line. or if you have a title header separating certain areas of your pickit file
[MaxQuantity] == x ~ with X as the value of the maximum amount of this item you want to hold, used at the end of the pickit line, separated with ##
Below you can see a section of a pickit file refering to gems, at the top the word gems is commented out with //
also chipped sapphire and emerald is disabled from being picked up by the bot, Amethysts have a maximum quantity of 10, while others are all 1
//GEMS
[Name] == ChippedAmethyst //# # [MaxQuantity] == 10
[Name] == ChippedDiamond // # # [MaxQuantity] == 1
//[Name] == ChippedEmerald // # # [MaxQuantity] == 1
[Name] == ChippedRuby //# # [MaxQuantity] == 1
//[Name] == ChippedSapphire // # # [MaxQuantity] == 1
[Name] == ChippedSkull //# # [MaxQuantity] == 1
[Name] == ChippedTopaz //# # [MaxQuantity] == 1
Making your own pickit lines!
Here i am just going to go over different pickit lines, while explaining what each of them do. If you are making your own line and are unsure of what to use to identify a specific mod type on an item, feel free to post here or check the full in depth .nip guide at the bottom of the thread. most identifiers will be able to be found in the default pickit file that comes with the bot
Lets start with a basic monarch shield, this line will pick up any non ethereal monarch shield, superior OR normal. The <= symbol stands for less then, so anything below superior quality. note however since no amount of sockets are specified it will still get 1os, 2os etc
[Name] == Monarch && [Quality] <= Superior && [Flag] != Ethereal
Now to get rid of any unwanted socket numbers, we specify ONLY 4 socket monarchs, NOTE, the sockets section is separated from the item base type with # as the game considers sockets an item modifier, we use # to separate item base info from item modifiers
[Name] == Monarch && [Quality] <= Superior && [Flag] != Ethereal # [Sockets] == 4
If we want to also get unsocketed monarchs we could add another line below it with sockets set to 0, but we can also use the ( ) to group things together and || to specify one or the other mod, while we are at it we will also have the bot pickup ONLY superior monarchs with ABOVE 10% enhanced defence instead of any from norm - sup
[Name] == Monarch && [Quality] == Superior && [Flag] != Ethereal # [EnhancedDefense] => 10 && ([Sockets] == 0 || [Sockets] == 4)
The above line reads as follows:
Item- Monarch shield / Quality - Only Superior / Not Ethereal / Enhanced defence - Above 10% / Sockets - 0 OR 4
COMING NEXT - MAGICS > RARES > SETS > UNIQUES
WILL TRY TO GET THE FULL GUIDE FOR ALL TYPES DONE WITHIN A WEEK OR SO
more guide info on nip pickit files at
github.com/blizzhackers/pickits/blob/master/NipGuide.md
Originally posted by @quavo