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


                  
               


                             
                                      


                                         
                                                 

           
// Evol functions.
// Author:
//    4144
//    Jesusalva
// Description:
//    Shops utility functions
// Variables:
//    Item ID, Item Price, Item Amount

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