// Evol scripts. // Authors: // 4144 // Reid // Description: // A box with clothes for new players. // Variable: // ShipQuests_Arpan // Values: // 1 Talked to Arpan and needs to get clothes. // 2 Has the clothes. 000-2-1.gat,51,37,0 script Chest 317;2,{ set @q, getq(ShipQuests_Arpan); if (@q == 0) goto l_Talk; if (getnpcdir ("") == 4) goto l_Give; setnpcdir 2; initnpctimer; startnpctimer; close; l_Give: if (@q > 1) goto l_Quit; set @item, 1300; set @count, 2; callfunc "InventoryPlace", @item, @count; setq ShipQuests_Arpan, 2; getitem "CreasedShirt", 1; getitem "CreasedShorts", 1; npctalk3 "You take the clothes from the chest."; goto l_Quit; OnTimer220: stopnpctimer; if (getnpcdir ("") == 2) setnpcdir 4; if (getnpcdir ("") == 6) setnpcdir 0; end; l_Talk: npctalk3 "You should talk to Magic Arpan first."; close; l_Quit: setnpcdir 6; initnpctimer; startnpctimer; close; }