forked from metin2/server
27 lines
646 B
Plaintext
27 lines
646 B
Plaintext
quest pricing_lv40 begin
|
|
state start begin
|
|
when login or levelup with pc.get_level() >= 40 begin -- Quest for level 40
|
|
if pc_has_even_account_id() then
|
|
set_state("mailorder")
|
|
else
|
|
set_state(__COMPLETE__)
|
|
end
|
|
end
|
|
end
|
|
|
|
state mailorder begin
|
|
when login or enter begin
|
|
send_letter(gameforge.pricing_lv40._10_send_letter)
|
|
end
|
|
when button or info begin
|
|
say_title(gameforge.pricing_lv40._20_say_title)
|
|
say(gameforge.pricing_lv40._30_say)
|
|
wait()
|
|
say(gameforge.pricing_lv40._40_say)
|
|
say_reward(gameforge.pricing_lv40._50_say_reward)
|
|
set_state(__COMPLETE__)
|
|
end
|
|
end
|
|
state __COMPLETE__ begin
|
|
end
|
|
end |