summaryrefslogblamecommitdiff
path: root/npc/015-2/contrabandist.txt
blob: 7d332d620e3c5839f8061c6e870cbbb5a75ed17b (plain) (tree)
1
2
3
4
5
6
7





                                  
                                                       




                      


                   




                   
                   




                                       



                           














                                        
// TMW-2 Script
// Author:
//    Jesusalva
// Description:
//    Contraband of foreing goods.

015-2,166,250,0	script	#Contraband	NPC_NO_SPRITE,{

// Store not available
if (!.active)
    end;

//buyingstore(2);
searchstores(2, 1);
//openshop;
close;

OnInit:
    .active=0;
    .sex = G_OTHER;
    .distance = 12;

    if (true || debug) {
        setnpcdisplay .name$, NPC_KOGA;
        .active=1;
    }

    .Good1=
    tradertype(NST_MARKET);

    end;

OnMinute21:
OnMinute46:
    setnpcdisplay .name$, NPC_KOGA;
    .active=1;
    end;

OnMinute23:
OnMinute48:
    setnpcdisplay .name$, NPC_NO_SPRITE;
    .active=0;
    end;

}