[QUEST] Cufarul ucenicului Official

PoKe
Site Admin
Mesaje: 29
Membru din: Sâm Mai 30, 2020 6:33 pm

Dum Iun 21, 2020 3:53 pm

Cod: Selectaţi tot

quest cufar_uceinc begin
   	state start begin
   	when 50187.use begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
   	end
			pc.give_item2(27001, 20)
			pc.give_item2(27004, 10)
			pc.give_item2(27110, 5)
			pc.give_item2(27113, 5)
			pc.give_item2(50188, 1)
			pc.remove_item(50187, 1)
		end
		------------------------------------------------------------------------------------------
		when 50188.use with pc.get_level() >= 10 begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
   	end
			pc.give_item2(72723, 1)
			pc.give_item2(27111, 3)
			pc.give_item2(27113, 3)
			pc.give_item2(76008, 3)
			pc.give_item2(50189, 1)
			pc.remove_item(50188, 1)
		end
		------------------------------------------------------------------------------------------
		when 50189.use with pc.get_level() >= 20 begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
	end
			pc.give_item2(72727, 1)
			pc.give_item2(27111, 3)
			pc.give_item2(27113, 3)
			pc.give_item2(76006, 1)
			pc.give_item2(76024, 3)
			pc.give_item2(76025, 3)
			pc.give_item2(50190, 1)
			pc.remove_item(50189, 1)
		end
		------------------------------------------------------------------------------------------
		when 50190.use with pc.get_level() >= 30 begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
	end
			pc.give_item2(27113, 3)
			pc.give_item2(27112, 3)
			pc.give_item2(25040, 5)
			pc.give_item2(70003, 1)
			pc.give_item2(50191, 1)
			pc.remove_item(50190, 1)
		end
		------------------------------------------------------------------------------------------
		when 50191.use with pc.get_level() >= 40 begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
	end
			pc.give_item2(71101, 3)
			pc.give_item2(27112, 3)
			pc.give_item2(71153, 1)
			pc.give_item2(70003, 1)
			pc.give_item2(50192, 1)
			pc.remove_item(50191, 1)
		end
		------------------------------------------------------------------------------------------
		when 50192.use with pc.get_level() >= 50 begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
	end
			pc.give_item2(71101, 3)
			pc.give_item2(27112, 3)
			pc.give_item2(70038, 20)
			pc.give_item2(71095, 5)
			pc.give_item2(70058, 1)
			pc.give_item2(50193, 1)
			pc.remove_item(50192, 1)
		end
		------------------------------------------------------------------------------------------
		when 50193.use with pc.get_level() >= 60 begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
	end
			pc.give_item2(71032, 3)
			pc.give_item2(71101, 3)
			pc.give_item2(27112, 3)
			pc.give_item2(76000, 5)
			pc.give_item2(50194, 1)
			pc.remove_item(50193, 1)
		end
		------------------------------------------------------------------------------------------
		when 50194.use with pc.get_level() >= 70 begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
	end
			pc.give_item2(71101, 3)
			pc.give_item2(27112, 3)
			pc.give_item2(76001, 2)
			pc.give_item2(71084, 3)
			pc.give_item2(71085, 3)
			pc.give_item2(50195, 1)
			pc.remove_item(50194, 1)
		end
		------------------------------------------------------------------------------------------
		when 50195.use with pc.get_level() >= 80 begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
	end
			pc.give_item2(71101, 3)
			pc.give_item2(27112, 3)
			pc.give_item2(72728, 1)
			pc.give_item2(72728, 3)
			pc.give_item2(50196, 1)
			pc.remove_item(50195, 1)
		end
		------------------------------------------------------------------------------------------
		when 50196.use with pc.get_level() >= 90 begin
   	if pc.get_empty_inventory_count() <= 5 then
      	syschat("Your inventory is full.")
   	return
	end
			pc.give_item2(39004, 1)
			pc.give_item2(72724, 1)
			pc.give_item2(76010, 3)
			pc.give_item2(30319, 3)
			pc.give_item2(50127, 1)
			pc.remove_item(50196, 1)
		end
	end
end

Tutorial instalare quest:
1. Salvati continutul quest-ului intr-un fisier text cu extensia .quest (exp: nume.quest)
2. Va conectati la filezilla / winscp si intrati in /usr/game/share/locale/romania/quest (depinde ce tip de server aveti, poate fi diferita calea).
3. Il urcati acolo (atentie sa fie .quest) si da-ti permisiuni 777.
4. Apoi te loghezi in FreeBSD / putty si scrii in felul următor: cd /usr/game/share/locale/romania/quest apoi ./qc nume.quest
5. Intrati pe server si scrieti /reload q .
6. Acum intrati pe server si testati questul.
Scrie răspuns