Jump to navigation Jump to search
A smart vendor is a subtype of vendor which does not vend infinite objects - it has a coded limit to how many objects it can vend at a time. This has the advantage of providing items, but not slowing down a world due to excessive items.
In C1, this is often defined by TOTL, but in C3/DS, it is defined by RNGE and a DOIF statement with ESEE.
In November 2013, Malkin released a Making a Smart Vendor tutorial on Creatures Caves.