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,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