Coder Social home page Coder Social logo

wolua.isort's Introduction

Requires WoLua

This is a WoLua command script for FFXIV. You will need to install the WoLua plugin via Dalamud (instructions at link) in order to use it.

GitHub last commit (branch) GitHub issues

Support me!

Usage

It is possible to configure your own sorting order for your inventory, and even to set different orders for different inventories. For example, your main inventory, armoury chest, retainer, and saddlebags can all have custom sorting orders. However, the means to do so in vanilla is clunky and not well documented. For example, you can use multiple conditions, but this isn't mentioned in the official documentation - nor is it mentioned that the conditions are LIFO, so the last one you enter is the first one applied. For another, macros only run to fifteen lines, so if you want detailed sorting, especially of multiple inventory types, you have to use multiple macros in a row.

This script aims to improve item sorting by providing a single command that takes multiple (comma-separated) inventory names followed by as many (space-separated) sorting filters as you want. The filters are executed FIFO, so natural left-to-right reading order will be the order of execution. All filters are applied to all of the inventories specified. You can even combine chunks of inventory names and filters into one command by separating them with semicolons.

Inventories

  • inventory, inv
  • retainer
  • armoury, armory
  • saddlebag
  • rightsaddlebag
  • mh, mainhand
  • oh, offhand
  • head
  • body
  • hands
  • legs
  • feet
  • neck
  • ears
  • wrists
  • rings
  • soul, souls, soulgem, soulgems

Filters

⚠️ Each filter item in the call must be prefixed with either + for ascending sort order (low to high) or - for descending order (high to low).

⚠️ GP and CP are not available. This is because SE didn't offer those stats are sorting criteria. This script only generates and calls the vanilla /itemsort commands.

  • id
  • spiritbond
  • category
  • lv, lvl, level
  • ilv, ilvl, ilevel, itemlv, itemlvl, itemlevel
  • stack, count, amount, quantity
  • hq, nq, quality (HQ > NQ - descending puts HQ first, ascending puts NQ first)
  • materia
  • pdamage
  • mdamage
  • delay
  • autoattack
  • blockrate
  • blockstrength
  • defense
  • mdefense
  • str, strength
  • dex, dexterity
  • vit, vitality
  • int, intelligence
  • mnd, mind
  • craftsmanship
  • control
  • gathering
  • perception
  • tab

Examples

  • Sort your inventory and armoury by item category (ascending), then item level (descending), then NQ/HQ status (descending - HQ first), then item ID (ascending)

    /wolua call isort inventory,armoury +category -itemlevel -quality +id
    
  • Sort your inventory and retainer by item category (ascending), then item level (ascending), then item ID (ascending), then NQ/HQ status (descending - HQ first), then stack size (ascending), and in the same command sort your armoury by item category (ascending), minimum level to equip (descending), item level (descending), materia (descending), spiritbond completion (descending), and finally item ID (ascending).

    /wolua call isort inv,retainer +category +ilv +id -hq +count; armory +category -lv -ilv -hq -materia -spiritbond +id
    

wolua.isort's People

Contributors

princessrtfm avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.