1
0
forked from metin2/server

Restructured gamefiles, locale data loading refactoring, docker build fixes

This commit is contained in:
2024-05-25 20:00:26 +03:00
parent 27108d629a
commit 48ee253534
1046 changed files with 84 additions and 12989 deletions

View File

@ -0,0 +1,22 @@
quest shop_reminder begin
state start begin
function valid_account_id(frequency)
return math.mod(pc.get_account_id(), frequency) == 0
end
when 30316.use begin
frequency = game.get_event_flag("shop_frequency")
if game.get_event_flag("shop_reminder") == 1 then
say("hallo")
local c = select(gameforge.locale.guild.yes, gameforge.locale.guild.no)
if 1 == c then
game.open_web_mall()
else
return
end
end -- endif shop_reminder flag
end -- endif login
end -- endbegin state start
end -- endbegin quest