Arkasia2 Posted March 6, 2015 Report Share Posted March 6, 2015 Hola, bueno queria pedirles si alguien me puede hacer un npc de canjes, por ejemplo si quieres tener una espada del lvl 30, te pida medicina desconocida. Link to comment Share on other sites More sharing options...
Dilong Posted November 3, 2015 Report Share Posted November 3, 2015 El post es viejo,pero me dio por hacer la quest <.< quest cajeitem beginstate start beginwhen 20094.chat."Canjear item" beginsay_title("npc:")say("puedo darte un arma[ENTER]a cambio de ciertos items")say("que arma quieres")local item = select("arma1","arma2","arma3","Cerrar")if item == 4 thenreturnelseif item == 1 thensay("necesitaras un talis+")wait()if pc.count_item(30079)==0 thensay("no tienes el item")elsepc.remove_item(30079,1)pc.give_item2(19,1)returnendelseif item == 2 thensay("necesitaras un Coletero Blanco+")wait()if pc.count_item(30073)==0 thensay("no tienes el item")elsepc.remove_item(30073,1)pc.give_item2(29,1)returnendelseif item == 3 thensay("necesitaras un Shiriken+")wait()if pc.count_item(30075)==0 thensay("no tienes el item")elsepc.remove_item(30075,1)pc.give_item2(39,1)endendendendend The picos 1 Link to comment Share on other sites More sharing options...
Recommended Posts