Jump to content

Necesito esta quest


Teklis
 Share

Recommended Posts

  • 4 weeks later...

Esta seria una opcion:

 

quest npc_change_item begin
state start begin
  when 20016.take with item.vnum == 11299 begin
   say_title("Herrero:")
   say("Me has traido " .. item_name(11299))
   say("Te la cambio por " .. item_name(11971))
   say("Para hacer el cambio necesitaras lo siguiente:")
   say("- 3 Perlas Rojas")
   say("- 2 Perlas Azules")
   say("- 1 Perla Blanca")
   say("")
   say_reward("Quieres hacer el cambio?")
   local decision = select("Si", "No")
   if decision == 1 and pc.count_item(27994) >= 3 and pc.count_item(27993) >= 2 and pc.count_item(27992) >= 1 then
    item.remove()
    pc.remove_item(27994)
    pc.remove_item(27993)
    pc.remove_item(27992)
    pc.give_item2(11971)
   end
  end
end
end
Link to comment
Share on other sites

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...