1
0
forked from metin2/server

Refactored directory structure, added game files from TMP

This commit is contained in:
2023-12-04 21:54:28 +02:00
parent c35f861d97
commit ff3388e795
7726 changed files with 564910 additions and 17 deletions

View File

@ -0,0 +1,31 @@
quest horse_ride begin
state start begin
when 20349.chat.gameforge.horse_ride._10_npcChat with pc.level>=10 and not pc.is_mount() begin
if get_global_time() - pc.getqf("Reitzeit") < 3600 then
say(gameforge.horse_ride._15_say)
else
local msg =
say_title(gameforge.horse_exchange_ticket._20_sayTitle)
say(gameforge.horse_ride._20_say)
local horse_ticket_vnum = 50083
say(msg)
local s= select(gameforge.locale.quiz_5_3_choice, gameforge.horse_ride._30_select)
if s==1 then
if pc.countitem(horse_ticket_vnum)>0 then
if true == horse.is_summon() then
horse.unsummon()
end
pc.removeitem(horse_ticket_vnum, 1)
pc.mount(20030, 600)
pc.setqf("Reitzeit", get_global_time())
else
say(gameforge.horse_ride._40_say)
end
end
end
end
end
end