summaryrefslogblamecommitdiff
path: root/npc/functions/shops.txt
blob: 928393f980311021cb0d05ca0834f81cfbc93477 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                         

                                          

           
// Evol functions.
// Authors:
//    4144
// Description:
//    Shops utility functions
// Variables:
//    none

function	script	restoreshopitem	{
    if (shopcount(getarg(0)) < getarg(1))
        sellitem getarg(0), -1, getarg(1);
    return;
}