Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
#include "nw_i0_tool"
//#include "fky_chat_inc"
void DecrementTalentIndex(int iIndex, object oPC);
// Main code block
void main()
{
object oPC = GetEnteringObject();
string sCDKey = GetPCPublicCDKey(oPC);
// Speech_OnClientEnter(oPC);
int nPerm, nPerm2;
// if (USING_NWNX_DB)
// {
// nPerm = GetPersistentInt(GetModule(), "FKY_CHT_BANSHOUT" + sCDKey);
// nPerm2 = GetPersistentInt(GetModule(), "FKY_CHT_BANPLAYER" + sCDKey);;
// if (ENABLE_LANGUAGES) DoLanguageSetupNWNX(oPC);
// }
// else //using Bioware db
// {
// nPerm = GetCampaignInt("FKY_CHT", "FKY_CHT_BANSHOUT" + sCDKey);
// nPerm2 = GetCampaignInt("FKY_CHT", "FKY_CHT_BANPLAYER" + sCDKey);
// if (ENABLE_LANGUAGES) DoLanguageSetupBio(oPC);
// }
// if (nPerm) SetLocalInt(oPC, "FKY_CHT_BANSHOUT", TRUE);
// if (nPerm2 || GetLocalInt(oPC, "FKY_CHT_BANPLAYER")) DoBoot(oPC);//Boot them if Valid Object
// DelayCommand (40.0, SendMessageToPC(oPC, "Underworld was built by Guile, welcome to the Underworld, hope you have lots of fun while your here, enjoy...."));
// News or update message sent to PC's on login. Please change as needed.
DelayCommand (60.0, SendMessageToPC(oPC, "Please be sure to read the server rules posted close to where you enter Underworld and the books you are given, often, as they are frequently updated."));
{
object oPC = GetEnteringObject();
//below removes the Letoscript string so the changes won't be applied again on the next logout
string Script = GetLocalString(oPC, "LetoScript");
if( Script != "" )
{
SetLocalString(oPC, "LetoScript", "");
}
}
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "death")!= OBJECT_INVALID)
{
effect eEffect;
object oTarget;
object oPC = GetEnteringObject();
oTarget = oPC;
eEffect = EffectDeath();
eEffect = SupernaturalEffect(eEffect);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);
}
}