quest obiect_pe_negustor begin state start begin when 9001.chat."Ce obiect vrei" begin say_title("Negustorul") say("Lasă obiectul pe mine.") say("Dacă îl ai echipat, dă-l jos înainte.") end when 9001.take with item.get_vnum() == 30010 begin if pc.count_item(30010) < 1 then say("Nu îl ai în inventar.") return end pc.remove_item(30010, 1) say_title("Negustorul") say("L-am primit.") pc.change_gold(15000) say_reward("Ai primit 15.000 yang.") set_state(gata) end end state gata begin end end