Skip to content

Instantly share code, notes, and snippets.

@DamianDominoDavis
Last active April 11, 2025 16:44
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
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