# CustomSort
* **Need EAC disabled**
* **Need OcbAdvancedPinRecipes to work**
* https://www.nexusmods.com/7daystodie/mods/1850
* Using ModXmlPatcher for <modif> and <include>.
## About
* Customize sort order and coloring slots.
* Add lock icon for Locked slot/Locked item type.
* Changed default name sort key from translated name to ID.
* Alt+Click sort button to dump ItemStack info to console.
* Shift+Click sort button to Merge with Locked slot items.
* Lock by item type
* avoid MoveAll, SmartMove and QuickStack of QuickStackWithLockedSlots MOD.
* Made for using with Vehicles.
* Default state can be set by XML.
* To change state in game, use QuickStackWithLockedSlots at optional files.
## How to customize
* SortOrder and color
* Add ```` tag to item/block in items.xml/blocks.xml
* If you want to make many changes from default, I recommend you to make your own Modlet.
* Default items.xml/block.xml may be overwritten when MOD updates.
* Specify RRGGBB with Hex.
* If you don't need change color, specify key only.````
* Item Type lock
* Add ````
## Compatibility
* You need to modify controls.xml if you're using MOD which extends backpack/toolbelt.
* Now compatible to Khaine's 96BBM, DarknessFalls v5, ~~SorceryMod~~, AGF 72/84 Slot Backpack
## Changelog
### 2024.06/19 v0.21.4
* items.xml : Add tools.
### 2024.06/19 v0.21.3
* items.xml : DF : Add IDC's VOID remote to Notables and Locked item type by default.
* items.xml : DF : Add MolecularReconstructors to Notables.
### 2024.06/15 v0.21.2
* items*.xml : Change DF Kevlar color. Add DF PulseGrenade.
* Readme.md : Fix typo.
### 2024.06/04 v0.21.1
* items.xml : Add DF ammo tip/casing.
### 2024.05/28 v0.21.0
* for DarknessFalls v5.1.0
* items.xml : Add weapons.
* The sort order has been changed entirely.
### 2024.01/04 v0.20.2
* item_modifiers.xml : Patch for non vanilla mods.
### 2023.12/09 v0.20.1
* for a21.2(b30)
### 2023.09/05 v0.19.2
* items.xml : DF change food/drink color by buff tier.
### 2023.08/27 v0.19.1
* items.xml : Add DF armors, NailBomb
### 2023.08/22 v0.19
* Shift+Sort to Merge stack with Locked Slot items.
### 2023.08/20 v0.18.1
* items.xml : Add new group for Resources.
* items.xml : change some.
### 2023.08/20 v0.18.0
* From this version this mod require OcbPinRecipes to work.
* Patch for DarknessFalls v5.0.0-DEV-B17
* Food/Drink/Medical/Drug/Seed
### 2023.08/18 v0.17.6
* items.xml/blocks.xml : Add meleeToolWireTool, blocks with electricianSkill/trapSkill tag.
### 2023.06/23 v0.17.5
* items.xml : Add GasCanBundle
### 2023.06/22 v0.17.4
* AGF 72/84 Slot Backpack compatible.
### 2023.06/17 v0.17.3
* items.xml : Add Lockpick and TimedCharge.
### 2023.06/17 v0.17.2
* Fix the bug that blue locks are visible without QuickStackWithLockedSlots.
### 2023.06/17 v0.17.1
* Khaine's 96 Slots Backpack compatible.
### 2023.06/14 v0.17
* Patch for a21(b313)
* Change default sort key from unlocalized name to ID(int).
* SortKey → Group → ID → Quality → UseTimes
* Add some settings(SkillMagazine, Mods, Ammo, etc).
### 2023.05/31 v0.16
* SorceryMod compatible.
### 2022.10/10 v0.15
* items.xml : Add materials of iron/brass/lead.
### 2022.08/02 v0.14
* Fix archive structure. All files are below the folder of MOD name now(./ModInfo.xml -> ./MODNAME/ModsInfo.xml)
### 2022.04/21 v0.13
* Implement Type lock. Made for vehicles.
### 2022.04/18 v0.12
* items.xml, DF : Add GyroCopter.
* items.xml, DF : Add AntiRad and CodeinePills.
* items.xml : Classify apparels by each equipping slot.
* items.xml : Add RoboticsDrone.
* blocks.xml : Add Growing seed.
### 2022.02/20 v0.11
* blocks.xml, DF : Add seed.
### 2022.02/18 v0.10
* items.xml, DF v4 : Add food and drink.
### 2022.02/14 ver 0.9
* Change way of coloring to own Rectangle from backgroundBorderColor.
* Change LockedSlots state display to lock icon at upper right of slot.
### 2022.02/11 ver 0.8
* DF v4 : Toolbelt encolor
### 2022.02/08 ver 0.7
* DarknessFalls v4 : Enable to encolor
### 2022.01/17 ver 0.6
* items.xml:Honey as medicine. Change color of food.
### 2022.01/16 ver 0.5
* items.xml:Fix apparel sort key.
### 2022.01/14 ver 0.4
* Alt+Click sort button to dump ItemStack info to console.
* Fixed sort key to unlocalized name(ID).
* Fixed code to get block's sort key.
### 2022.01/10 ver 0.3
* Change slot selection color. Hardcoded Red.
### 2022.01/09 ver 0.2
* Fix log spam while using chemistry station.