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,44 @@
quest game_option begin
state start begin
when login begin
local val=0
local msg = gameforge.game_option._100_say .. " "
if pc.getqf("block_exchange") == 1 then
msg = msg..gameforge.game_option._110_say
val = val + 1
end
if pc.getqf("block_guild_invite") == 1 then
val = val + 4
msg = msg .. gameforge.game_option._120_say .. " "
end
if pc.getqf("block_messenger_invite") == 1 then
msg = msg .. gameforge.game_option._130_say .. " "
val = val + 16
end
if pc.getqf("block_party_invite") == 1 then
msg = msg .. gameforge.game_option._140_say .. " "
val = val + 2
end
if pc.getqf("block_party_request") == 1 then
msg = msg .. gameforge.game_option._150_say .. " "
val = val + 32
end
if pc.getqf("block_whisper") == 1 then
msg = msg .. gameforge.game_option._160_say .. " "
val = val + 8
end
if val != 0 then
syschat(msg)
end
pc.send_block_mode(val)
end
end
end