.тιαgσ 624 Posted June 26, 2014 O que está quest faz é entregam lá os itens e ele remove-os. Se não funcionar, não se aflijam podem sempre criar tópico ou chatear o jok3erhd quest eliminar_itens begin state start begin when 20041.take begin say_title("Escravo come itens:") say("") say("Tens a certeza que me queres dar isso? É muito generoso") say("da sua parte! Acho que vou conseguir comprar uma garrafinha") say("depois de vender isto rsrs.") say_item_vnum(item.get_vnum()) say_reward("Tens a certeza que queres ver-te livre disto?") say_reward("O item é irrecuperável") say("") local s = select("Sim","Não") if s == 1 then syschat("O seguinte item foi removido: "..item.get_name(item.get_vnum())) item.remove() end end endend Créditos : EU 2 K3nkσz and friend reacted to this Share this post Link to post Share on other sites
Epsilon 114 Posted June 26, 2014 Aqui vai um "desafio" ti: Quest para NPC que faça isto: Apagar todos os itens do inventario menos os que estão equipados :P Share this post Link to post Share on other sites
.тιαgσ 624 Posted June 26, 2014 Aqui vai um "desafio" ti: Quest para NPC que faça isto: Apagar todos os itens do inventario menos os que estão equipados :P Isso é mais dificil xD, não sei se consigo Share this post Link to post Share on other sites
friend 254 Posted June 26, 2014 Aqui vai um "desafio" ti: Quest para NPC que faça isto: Apagar todos os itens do inventario menos os que estão equipados :P Esse desafio é avançado demais ai para o rapazinho.. Devias desafiar alguém mais capaz.. Share this post Link to post Share on other sites
.тιαgσ 624 Posted June 26, 2014 Esse desafio é avançado demais ai para o rapazinho..Devias desafiar alguém mais capaz.. Esse alguem es tu? Share this post Link to post Share on other sites
Epsilon 114 Posted June 26, 2014 Esse alguem es tu? Menos porrada e mais trabalho xDDD Share this post Link to post Share on other sites
Karbust 1,143 Posted June 27, 2014 isso penso que seja impossível, o comando ipurge (ou ip) apaga tudo do inventario incluindo os itens equipados Share this post Link to post Share on other sites
'PACI 2,317 Posted June 27, 2014 for i = 0, 89 do item.select_cell(i) if item.vnum ~= 0 then item.remove() endend Algo semelhante a isto, ou isto mesmo, serve. Share this post Link to post Share on other sites
.тιαgσ 624 Posted June 27, 2014 for i = 0, 89 do item.select_cell(i) if item.vnum ~= 0 then item.remove() endend Algo semelhante a isto, ou isto mesmo, serve. xD, mas ainda não sei fazer isso kkk Share this post Link to post Share on other sites
Nuka 107 Posted July 19, 2014 Gostei :) 3 figueiredox69, figueiredox199 and eunaodigo reacted to this Share this post Link to post Share on other sites
DeathOfKill 2 Posted June 28, 2020 Alguém tem quest.que ao derrotar um boss.o item principal do boss.vai direto pro inventario de quem matou? Share this post Link to post Share on other sites
TugaZinho 7 Posted June 29, 2020 Em 28/06/2020 at 22:55, DeathOfKill disse: Alguém tem quest.que ao derrotar um boss.o item principal do boss.vai direto pro inventario de quem matou? Boa tarde, Tens que estar atento ao teu quest_functions para ver o que podes ou não fazer. A quest que estás a pedir é bem básica, como podes ver: when nome_da_quest begin state start begin when id_mob.kill with pc.is_pc() begin pc.give_item2("vnum_item", quantidade) end end end Qualquer coisa, podes mandar mensagem ;) 1 DeathOfKill reacted to this Share this post Link to post Share on other sites
DeathOfKill 2 Posted July 19, 2020 Obrigado maniii estarei testando <3 Em 29/06/2020 em 21:55, TugaZinho disse: Boa tarde, Tens que estar atento ao teu quest_functions para ver o que podes ou não fazer. A quest que estás a pedir é bem básica, como podes ver: when nome_da_quest begin state start begin when id_mob.kill with pc.is_pc() begin pc.give_item2("vnum_item", quantidade) end end end Muito obrigado.estarei testando.<3 EDIT: when Drop_Boss begin state start begin when 2493.kill with pc.is_pc() begin pc.give_item2("54700", 1) end end end seria assim o certo? pois não to conseguindo! Share this post Link to post Share on other sites
Karbust 1,143 Posted July 19, 2020 6 horas atrás, DeathOfKill disse: when Drop_Boss begin state start begin when 2493.kill with pc.is_pc() begin pc.give_item2("54700", 1) end end end seria assim o certo? pois não to conseguindo! Claro que não, essa função pc.is_pc() não existe... 1 DeathOfKill reacted to this Share this post Link to post Share on other sites
DeathOfKill 2 Posted July 19, 2020 Karbust,tu sabe como faz essa quest funcionar? matar um boss e o drop principal do boss ir direto pro inventario de quem matou? Share this post Link to post Share on other sites