quest lingouri begin
state start begin
when 8502.use begin
if not pc.can_warp() then
syschat("Aseapta secunde pentru a putea deschide lingoul.")
elseif pc.countitem(item.vnum) == 0 then
syschat("Nu ai nici-un lingou inventar.")
else
pc.remove_item(8502,1)
pc.changegold(250000000)
end
end
when 8503.use begin
if not pc.can_warp() then
syschat("Aseapta secunde pentru a putea deschide lingoul.")
elseif pc.countitem(item.vnum) == 0 then
syschat("Nu ai nici-un lingou inventar.")
else
pc.remove_item(8503,1)
pc.changegold(500000000)
end
end
when 8500.use begin
if not pc.can_warp() then
syschat("Aseapta secunde pentru a putea deschide lingoul.")
elseif pc.countitem(item.vnum) == 0 then
syschat("Nu ai nici-un lingou inventar.")
else
pc.remove_item(8500,1)
pc.changegold(50000000)
end
end
when 8504.use begin
if not pc.can_warp() then
syschat("Aseapta secunde pentru a putea deschide lingoul.")
elseif pc.countitem(item.vnum) == 0 then
syschat("Nu ai nici-un lingou inventar.")
else
pc.remove_item(8504,1)
pc.changegold(1000000000)
end
end
when 80003.use begin
if not pc.can_warp() then
syschat("Aseapta secunde pentru a putea deschide lingoul.")
elseif pc.countitem(item.vnum) == 0 then
syschat("Nu ai nici-un lingou inventar.")
else
pc.remove_item(80003,1)
pc.changegold(50000000000)
end
end
when 80004.use begin
if not pc.can_warp() then
syschat("Aseapta secunde pentru a putea deschide lingoul.")
elseif pc.countitem(item.vnum) == 0 then
syschat("Nu ai nici-un lingou inventar.")
else
pc.remove_item(80004,1)
pc.changegold(100000000000)
end
end
when 80005.use begin
if not pc.can_warp() then
syschat("Aseapta secunde pentru a putea deschide lingoul.")
elseif pc.countitem(item.vnum) == 0 then
syschat("Nu ai nici-un lingou inventar.")
else
pc.remove_item(80005,1)
pc.changegold(250000000000)
end
end
when 80006.use begin
if not pc.can_warp() then
syschat("Aseapta secunde pentru a putea deschide lingoul.")
elseif pc.countitem(item.vnum) == 0 then
syschat("Nu ai nici-un lingou inventar.")
else
pc.remove_item(80006,1)
pc.changegold(500000000000)
end
end
when 80007.use begin
if not pc.can_warp() then
syschat("Aseapta secunde pentru a putea deschide lingoul.")
elseif pc.countitem(item.vnum) == 0 then
syschat("Nu ai nici-un lingou inventar.")
else
pc.remove_item(80007,1)
pc.changegold(1000000000000)
end
end
end
end
Tutorial instalare quest:1. Salvaţi conţinutul quest-ului într-un fişier text numit de exemplu nume_quest.quest .
2. Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
3. Îl puneţi acolo (să fie .quest) şi da-ţi permisiuni 777.
4. Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest apoi ./qc nume_quest.quest
5. Intraţi pe server şi scrieţi /reload q .
6. Testaţi quest-ul .






