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,33 @@
quest guild_war_join begin
state start begin
when letter with ( pc.get_map_index() != 71 and pc.get_map_index() != 104 and pc.get_map_index() != 72 and pc.get_map_index() != 73 and pc.get_map_index() != 208) and pc.get_map_index() <= 200 begin
local e = guild.get_any_war()
if e != 0 and pc.get_war_map() == 0 then
setskin(NOWINDOW)
makequestbutton(gameforge.locale.guild.war_join_request)
end
end
when button with ( pc.get_map_index() != 71 and pc.get_map_index() != 104 and pc.get_map_index() != 72 and pc.get_map_index() != 73 and pc.get_map_index() != 208) and pc.get_map_index() <= 200 begin
local e = guild.get_any_war()
if e == 0 then
say(gameforge.locale.guild.war_over)
else
say(string.format(gameforge.guild_war_join._10_say, guild.name(e)))
local s = select(gameforge.locale.guild.yes, gameforge.locale.guild.no)
if s == 1 then
guild.war_enter(e)
else
setskin(NOWINDOW)
makequestbutton(gameforge.locale.guild.war_join_request)
end
end
end
end
end