Skip to content

Instantly share code, notes, and snippets.

@DamianDominoDavis
Last active December 29, 2022 20:50
Show Gist options
  • Save DamianDominoDavis/0fe1a2e7befce69d96ef96516501e673 to your computer and use it in GitHub Desktop.
Save DamianDominoDavis/0fe1a2e7befce69d96ef96516501e673 to your computer and use it in GitHub Desktop.
// identify tradeable, unused skillbooks in inventory for which you already know the skill
ashq foreach it in $items[] if (it.available_amount()>0 && it.string_modifier('Skill').to_skill() != $skill[none] && it.tradeable && it.string_modifier('Skill').to_skill().have_skill()) print(`{it.available_amount()} {it}; `)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment