Skip to content

Commit

Permalink
Added level info quest for lv. 100
Browse files Browse the repository at this point in the history
  • Loading branch information
Lead0b110010100 authored and Lead0b110010100 committed Apr 20, 2020
1 parent 02966bb commit 5c6b0e8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main/gen_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class PORT:
("DB_ADDR: %s", (v_dbHostname)),
("COMMON_SQL: %s %s %d", (v_serverData, M2SD["common"], v_mysqlport)),
("LOG_SQL: %s %s %d", (v_serverData, M2SD["log"], v_mysqlport)),
("TEST_SERVER: %d", (True)),
("TEST_SERVER: %d", (False)),
# ("PK_SERVER: %d", (True)),
("ADMINPAGE_IP1: %s", (v_adminPageLocalIP)),
("ADMINPAGE_PASSWORD: %s", (v_adminPagePassword)),
Expand Down
9 changes: 9 additions & 0 deletions main/srv1/share/locale/germany/quest/level_info.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
quest level_info begin
state start begin
when levelup begin
if pc.level == 100 and not pc.is_gm() then
notice_all(string.format("[Server] %s hat das maximal Level von %d erreicht, Glückwunsch!", pc.get_name(), 100))
end
end
end
end
1 change: 1 addition & 0 deletions main/srv1/share/locale/germany/quest/quest_list
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ skill_group.lua
rainbowstone.lua
warehouse_item_destroyer.lua
soulstone.lua
level_info.lua

0 comments on commit 5c6b0e8

Please sign in to comment.