diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-26 19:31:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-26 19:31:30 -0300 |
commit | cd1a604bc8c501811b568b04a5bf531407e629f5 (patch) | |
tree | 3c5905f346ec38077c1cc873b0a5cb34041e74a9 /npc/functions/daily.txt | |
parent | 03ab3408392dbc43ea75111f5312f345c4538605 (diff) | |
download | serverdata-cd1a604bc8c501811b568b04a5bf531407e629f5.tar.gz serverdata-cd1a604bc8c501811b568b04a5bf531407e629f5.tar.bz2 serverdata-cd1a604bc8c501811b568b04a5bf531407e629f5.tar.xz serverdata-cd1a604bc8c501811b568b04a5bf531407e629f5.zip |
Refactor how PC Login events will be handled.
Malindou is now responsible for those.
Daily login fancy GUI - can be disabled with @ucp
Diffstat (limited to 'npc/functions/daily.txt')
-rw-r--r-- | npc/functions/daily.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt index 7bf8f24fa..4a8ad63b8 100644 --- a/npc/functions/daily.txt +++ b/npc/functions/daily.txt @@ -128,7 +128,18 @@ function script daily_login_bonus_handler { dispbottom "##B##2"+l("Merry Christmas!")+" "+l("You have gained a special login bonus!")+"##b##0"; } } - // We're done with daily logins + // We're almost done with daily logins, just the optional User Interface + if (!GSET_DAILYREWARD_SILENT) { + setnpcdialogtitle l("Daily Login Rewards"); + setskin "daily_"+#LOGIN_STREAK; + mes "This is a debug message. Your manaplus version is wrong."; + mes "You should not be reading this. I'll call you a cheater."; + mes "I hope you report this (if a bug). Reading source code?"; + mes "4144 will hear about this. You are NOT amazing by the way."; + select("Ok"); + setskin ""; + closeclientdialog; + } } //debugmes "[DLBH] Finished: "+#LOGIN_DAY+" ok"; |