Major update

Created top hak for crafting dialog.  Moved Bioware creature abilities to top hak.  Fixed DMFI wand handouts.  Added DMFI language handouts.  Added CCOH 6.  Disabled PC corpse system.  Modified new player startup system.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-09-17 13:24:57 -04:00
parent 5d27edafba
commit 903f023230
626 changed files with 57291 additions and 9788 deletions

View File

@@ -34,7 +34,7 @@ void main()
|| (GetLevelByClass(CLASS_TYPE_TENEBROUS_APOSTATE, oPC) != 0))
{
GiveDMFI(oPC, "hlslang_11");
SendMessageToPC(oPC, "Abyssal language given.");
SendMessageToPC(oPC, "Abyssal language acquired.");
}
//:: Celestial
@@ -53,7 +53,7 @@ void main()
|| (GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC) != 0))
{
GiveDMFI(oPC, "hlslang_10");
SendMessageToPC(oPC, "Celestial language given.");
SendMessageToPC(oPC, "Celestial language acquired.");
}
//::Infernal
@@ -71,7 +71,7 @@ void main()
|| (GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC) != 0))
{
GiveDMFI(oPC, "hlslang_12");
SendMessageToPC(oPC, "Infernal language given.");
SendMessageToPC(oPC, "Infernal language acquired.");
}
//:: Animal
@@ -79,7 +79,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.");
SendMessageToPC(oPC, "Animal language acquired.");
}
//:: Draconic
@@ -90,35 +90,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.");
SendMessageToPC(oPC, "Draconic language acquired.");
}
//:: 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.");
SendMessageToPC(oPC, "Drow language acquired.");
}
//:: Dwarven
if (MyPRCGetRacialType(oPC) == RACIAL_TYPE_DWARF)
{
GiveDMFI(oPC, "hlslang_4");
SendMessageToPC(oPC, "Dwarven language given.");
SendMessageToPC(oPC, "Dwarven language acquired.");
}
//:: Elven
if ((MyPRCGetRacialType(oPC) == RACIAL_TYPE_ELF) || (MyPRCGetRacialType(oPC) == RACIAL_TYPE_HALFELF))
{
GiveDMFI(oPC, "hlslang_1");
SendMessageToPC(oPC, "Elven language given.");
SendMessageToPC(oPC, "Elven language acquired.");
}
//:: Gnome
if (MyPRCGetRacialType(oPC) == RACIAL_TYPE_GNOME)
{
GiveDMFI(oPC, "hlslang_2");
SendMessageToPC(oPC, "Gnomish language given.");
SendMessageToPC(oPC, "Gnomish language acquired.");
}
//:: Goblin
@@ -127,14 +127,14 @@ void main()
(GetRacialType(oPC) == RACIAL_TYPE_SUNSCORCH_HOBGOBLIN))
{
GiveDMFI(oPC, "hlslang_6");
SendMessageToPC(oPC, "Goblin language given.");
SendMessageToPC(oPC, "Goblin language acquired.");
}
//:: Halfling
if (MyPRCGetRacialType(oPC) == RACIAL_TYPE_HALFLING)
{
GiveDMFI(oPC, "hlslang_3");
SendMessageToPC(oPC, "Halfling language given.");
SendMessageToPC(oPC, "Halfling language acquired.");
}
//:: Orc
@@ -142,7 +142,7 @@ void main()
GetRacialType(oPC) == RACIAL_TYPE_GRAYORC || GetRacialType(oPC) == RACIAL_TYPE_ORC)
{
GiveDMFI(oPC, "hlslang_5");
SendMessageToPC(oPC, "Orc language given.");
SendMessageToPC(oPC, "Orc language acquired.");
}
//:: Thieves' Cant
@@ -153,13 +153,32 @@ void main()
(GetLevelByClass(CLASS_TYPE_SHADOWDANCER, oPC)!=0))
{
GiveDMFI(oPC, "hlslang_9");
SendMessageToPC(oPC, "Thieves' language given.");
SendMessageToPC(oPC, "Thieves' Cant language acquired.");
}
//:: New player setup
if(GetIsPC(oPC)&& GetIsObjectValid(oPC))
{
SirElrics_SimplePlayerSetUp(oPC);
}
//:: Give DMFI Wands if player doesn't have them
if ( GetItemPossessedBy(oPC, "dmfi_dicebag") == OBJECT_INVALID )
{
DelayCommand(1.0, FloatingTextStringOnCreature("DMFI Dicebag acquired.", oPC));
GiveDMFI(oPC, "dmfi_dicebag");
}
if ( GetItemPossessedBy(oPC, "dmfi_emote") == OBJECT_INVALID )
{
DelayCommand(1.0, FloatingTextStringOnCreature("DMFI Emote Wand acquired.", oPC));
GiveDMFI(oPC, "dmfi_emote");
}
if ( GetItemPossessedBy(oPC, "dmfi_naming") == OBJECT_INVALID )
{
DelayCommand(1.0, FloatingTextStringOnCreature("DMFI Naming acquired.", oPC));
GiveDMFI(oPC, "dmfi_naming");
}
//Test to see if PC has a skill book.. if not, then create one.
if (GetItemPossessedBy(oPC,"NoDrop_SkillLogBook")==OBJECT_INVALID)
{