Areas and Fixes
Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
This commit is contained in:
38
_module/nss/on_client_enter.nss
Normal file
38
_module/nss/on_client_enter.nss
Normal file
@@ -0,0 +1,38 @@
|
||||
// Goes in the OnClientEnter event - Example for v1.3
|
||||
#include "se_new_player"
|
||||
void main()
|
||||
{
|
||||
object oMod = GetModule();
|
||||
|
||||
ExecuteScript("_cb_client_enter", oMod);
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
//:: Add PRC8 journal entries
|
||||
AddJournalQuestEntry("JRNL_XPCHART", 1, oPC, FALSE, FALSE, FALSE);
|
||||
AddJournalQuestEntry("JRNL_LA_BUYOFF", 1, oPC, FALSE, FALSE, FALSE);
|
||||
|
||||
if(GetIsPC(oPC)&& GetIsObjectValid(oPC))
|
||||
{
|
||||
SirElrics_SimplePlayerSetUp(oPC);
|
||||
}
|
||||
//Test to see if PC has a skill book.. if not, then create one.
|
||||
if (GetItemPossessedBy(oPC,"NoDrop_SkillLogBook")==OBJECT_INVALID)
|
||||
{
|
||||
CreateItemOnObject("skilllogbook",oPC,1);
|
||||
}
|
||||
//Delete persistent hooks which need to be 'gone' to begin with
|
||||
//**this added due to HoTU effects on servervault characters
|
||||
DeleteLocalInt(oPC,"iSkillGain");
|
||||
DeleteLocalInt(oPC,"iPCUsedMap");
|
||||
DeleteLocalInt(oPC,"iAmFollowingMap");
|
||||
DeleteLocalInt(oPC,"iAmDiggingMap");
|
||||
DeleteLocalInt(oPC,"iAmFishing");
|
||||
DeleteLocalInt(oPC,"iCancelFishing");
|
||||
DeleteLocalInt(oPC,"iAmInField");
|
||||
DeleteLocalInt(oPC,"iAmInWaterField");
|
||||
DeleteLocalInt(oPC,"iAmInCommodityArea");
|
||||
DeleteLocalString(oPC,"sKillMe");
|
||||
DeleteLocalInt(oPC,"iAmDigging");
|
||||
DeleteLocalLocation(oPC,"lIWasHere");
|
||||
}
|
Reference in New Issue
Block a user