quest mount begin
state start begin
function mount(vnum)
mounturi =
{
[71114] = {20110},
[71116] = {20111},
[71118] = {20112},
[71120] = {20113},
[71124] = {20114},
[71125] = {20115},
[71126] = {20116},
[71127] = {20117},
[71128] = {20118},
[71137] = {20120},
[71138] = {20121},
[71139] = {20122},
[71140] = {20123},
[71141] = {20124},
[71142] = {20125},
[71131] = {20221},
[71132] = {20222},
[71161] = {20224},
[71171] = {20227},
[71172] = {20226},
}
pc.mount(mounturi[vnum][1], mounturi[vnum][2])
end
when 71114.use or 71116.use or 71117.use or 71118.use or 71120.use or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use or 71131.use or 71132.use or 71161.use or 71171.use or 71172.use begin
if pc.is_polymorphed() then
syschat("Nu poti calarii in timp ce esti transformat.")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
mount.mount(item.vnum, 0)
else
pc.unmount()
end
end
end
end