Jump to content

Appentrice Chest


Recommended Posts

  • Active+ Member

Hi,

I've made a quest for the apprentice quest and I thought I'd leave it here because from what I've seen there are some pretty ugly quests.

I'm attaching a model for a chest. Continue with what you want.

This is the hidden content, please

quest apprentice_chest begin
   	state start begin
        when 50187.use with pc.get_level() >= 1 begin
            if pc.get_empty_inventory_count() <= 9 then
                syschat("Your inventory is too full to open the chest.")
                return
            end
            if pc.getqf("apprentice_chest_lv1") == 1 then
                syschat("You have already opened a chest on this account.")
                return
            end
            local items = {{50188, 1}, {71027, 5}, {71028, 5}, {71029, 5}, {71030, 5}, {71044, 5}, {71045, 5}, {27102, 200}, {27105, 200} }
            for _, item in ipairs(items) do
                pc.give_item2(item[1], item[2])
            end
            pc.remove_item(50187, 1)
            pc.setqf("apprentice_chest_lv1", 1)
    	end
	end
end

 

  • Metin2 Dev 19
  • Good 5
  • Love 5
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.