diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-28 22:51:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-28 22:51:49 -0300 |
commit | f5889550ad52267acba5bd251b7f95b684a60cec (patch) | |
tree | df62059eb6e8b3caba08f15114f59a2765a0d704 /npc/functions/clientversion.txt | |
parent | bd5fa6439b47da623a0536817e85f6e77cdb6605 (diff) | |
download | serverdata-f5889550ad52267acba5bd251b7f95b684a60cec.tar.gz serverdata-f5889550ad52267acba5bd251b7f95b684a60cec.tar.bz2 serverdata-f5889550ad52267acba5bd251b7f95b684a60cec.tar.xz serverdata-f5889550ad52267acba5bd251b7f95b684a60cec.zip |
Initial assignment for academic titulation.
Sources were primarily wiki and Transifex.
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r-- | npc/functions/clientversion.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 01ffc1ee3..cde5a89a5 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -999,6 +999,45 @@ function script clientupdater { callfunc("ReturnTown"); } } + // Assign the initial academic titles + if (strcharinfo(0) == "Jesus Saves") + ACADEMIC_RANK=ACADEMIC_GM; + else if (strcharinfo(0) == "Saulc GM") + ACADEMIC_RANK=ACADEMIC_GM; + else if (strcharinfo(0) == "LawnCable") + ACADEMIC_RANK=ACADEMIC_BACHELOR; + else if (strcharinfo(0) == "Kolchak") + ACADEMIC_RANK=ACADEMIC_TECHNIC; + else if (strcharinfo(0) == "dangerDuck") + ACADEMIC_RANK=ACADEMIC_TECHNIC; + else if (strcharinfo(0) == "Livio") + ACADEMIC_RANK=ACADEMIC_TECHNIC; + else if (strcharinfo(0) == "Arthur") + ACADEMIC_RANK=ACADEMIC_STUDENT; + else if (strcharinfo(0) == "Mathias Cronqvist") + ACADEMIC_RANK=ACADEMIC_STUDENT; + else if (strcharinfo(0) == "manatauro") + ACADEMIC_RANK=ACADEMIC_STUDENT; + else if (strcharinfo(0) == "GoNzO") + ACADEMIC_RANK=ACADEMIC_STUDENT; + else if (strcharinfo(0) == "YuckFou") + ACADEMIC_RANK=ACADEMIC_STUDENT; + else if (strcharinfo(0) == "Xanthem") + ACADEMIC_RANK=ACADEMIC_STUDENT; + + if (ACADEMIC_RANK != ACADEMIC_LAYMAN) { + // Select a benefactor + .@benefactor$=rand_sponsor(); + // Inform yourself + dispbottom l("You received the %s title from %s.", + academicrank(), .@benefactor$); + // Inform everyone + kamibroadcast(sprintf("%s has been granted the title of %s. Thank %s!", + strcharinfo(0), academicrank(), .@benefactor$)); + // Log in a special log file as well + logmes(sprintf("%s has been granted the title of %s.", + strcharinfo(0), academicrank())); + } } // :// End of Regular Update System |