summaryrefslogblamecommitdiff
path: root/npc/functions/shops.txt
blob: 79890e815427b0a259aee192b579bfb50628528c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












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

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