From 3d724b934dd7fcef3c5f4149b78875eb45784f9b Mon Sep 17 00:00:00 2001 From: Jaysyn904 <68194417+Jaysyn904@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:58:42 -0500 Subject: [PATCH] Update vat_givedmfi.nss Added PC messages for Language tokens. --- _module/nss/vat_givedmfi.nss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/_module/nss/vat_givedmfi.nss b/_module/nss/vat_givedmfi.nss index 0c511d8..6973170 100644 --- a/_module/nss/vat_givedmfi.nss +++ b/_module/nss/vat_givedmfi.nss @@ -42,6 +42,7 @@ void main() || (GetLevelByClass(CLASS_TYPE_TENEBROUS_APOSTATE, oPC) != 0)) { GiveDMFI(oPC, "hlslang_11"); + SendMessageToPC(oPC, "Abyssal language given."); } //:: Celestial @@ -60,6 +61,7 @@ void main() || (GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC) != 0)) { GiveDMFI(oPC, "hlslang_10"); + SendMessageToPC(oPC, "Celestial language given."); } //::Infernal @@ -77,6 +79,7 @@ void main() || (GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC) != 0)) { GiveDMFI(oPC, "hlslang_12"); + SendMessageToPC(oPC, "Infernal language given."); } //:: Animal @@ -84,6 +87,7 @@ void main() (GetLevelByClass(CLASS_TYPE_MONK, oPC) > 16) || (GetLevelByClass(CLASS_TYPE_FOCHLUCAN_LYRIST, oPC) != 0)) { GiveDMFI(oPC, "hlslang_8"); + SendMessageToPC(oPC, "Animal language given."); } //:: Draconic @@ -94,30 +98,35 @@ void main() (GetLevelByClass(CLASS_TYPE_VASSAL, oPC)!=0) || (GetLevelByClass(CLASS_TYPE_SWIFT_WING, oPC)!=0) || (GetLevelByClass(CLASS_TYPE_TALON_OF_TIAMAT, oPC)!=0)) { GiveDMFI(oPC, "hlslang_7"); + SendMessageToPC(oPC, "Draconic language given."); } //:: Drow if (GetRacialType(oPC) == RACIAL_TYPE_DROW_MALE || GetRacialType(oPC) == RACIAL_TYPE_DROW_FEMALE || GetRacialType(oPC) == RACIAL_TYPE_HALFDROW) { GiveDMFI(oPC, "hlslang_13"); + SendMessageToPC(oPC, "Drow language given."); } //:: Dwarven if (MyPRCGetRacialType(oPC) == RACIAL_TYPE_DWARF) { GiveDMFI(oPC, "hlslang_4"); + SendMessageToPC(oPC, "Dwarven language given."); } //:: Elven if ((MyPRCGetRacialType(oPC) == RACIAL_TYPE_ELF) || (MyPRCGetRacialType(oPC) == RACIAL_TYPE_HALFELF)) { GiveDMFI(oPC, "hlslang_1"); + SendMessageToPC(oPC, "Elven language given."); } //:: Gnome if (MyPRCGetRacialType(oPC) == RACIAL_TYPE_GNOME) { GiveDMFI(oPC, "hlslang_2"); + SendMessageToPC(oPC, "Gnomish language given."); } //:: Goblin @@ -126,12 +135,14 @@ void main() (GetRacialType(oPC) == RACIAL_TYPE_SUNSCORCH_HOBGOBLIN)) { GiveDMFI(oPC, "hlslang_6"); + SendMessageToPC(oPC, "Goblin language given."); } //:: Halfling if (MyPRCGetRacialType(oPC) == RACIAL_TYPE_HALFLING) { GiveDMFI(oPC, "hlslang_3"); + SendMessageToPC(oPC, "Halfling language given."); } //:: Orc @@ -139,6 +150,7 @@ void main() GetRacialType(oPC) == RACIAL_TYPE_GRAYORC || GetRacialType(oPC) == RACIAL_TYPE_ORC) { GiveDMFI(oPC, "hlslang_5"); + SendMessageToPC(oPC, "Orc language given."); } //:: Thieves' Cant @@ -149,5 +161,6 @@ void main() (GetLevelByClass(CLASS_TYPE_SHADOWDANCER, oPC)!=0)) { GiveDMFI(oPC, "hlslang_9"); + SendMessageToPC(oPC, "Thieves' language given."); } } \ No newline at end of file