Problem: While skilling up my jeweler/tailor, I am creating a lot of "Pristine" items that do not sell on broker (and for very little to the vendor). So, I'd rather just sacrifice all of those items.
Solution: This snippet simply goes through my inventory and sacrifices any item that is "handcrafted" and has "pristine" as the first word in its name. You will have to have the sacrifice/altar window OPENED for this to work.
Notes: Clearly this is not something you'd run lightly. You'd want to manually check your inventory and make sure you don't have anything lying around in your inventory that's "handcrafted" and pristine, and that you might want to keep. Items equipped will not be touched.
However, that being said ...this rocks compared with all the damn mouse shit to sacrifice 20 trash agate rings
Solution: This snippet simply goes through my inventory and sacrifices any item that is "handcrafted" and has "pristine" as the first word in its name. You will have to have the sacrifice/altar window OPENED for this to work.
Notes: Clearly this is not something you'd run lightly. You'd want to manually check your inventory and make sure you don't have anything lying around in your inventory that's "handcrafted" and pristine, and that you might want to keep. Items equipped will not be touched.
However, that being said ...this rocks compared with all the damn mouse shit to sacrifice 20 trash agate rings
Code:
function main()
{
variable int i = 1
Me:CreateCustomInventoryArray[nonbankonly]
do
{
if (${Me.CustomInventory[${i}].InContainer})
{
if (${Me.CustomInventory[${i}].Tier.Equal[HANDCRAFTED]} && ${Me.CustomInventory[${i}].Name.Left[8].Equal[Pristine]})
{
Me.CustomInventory[${i}]:Sacrifice
wait 5
}
}
}
while ${i:Inc}<=${Me.CustomInventoryArraySize}
}