Area Changes and other fixes
added areas and ccoh, fixed some areas to work with crafting fixed some on death issues added server entry/ooc
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
//This script may be cut-and-pasted directly into your
|
||||
//OnClientEnter script (module-level event)
|
||||
//You may also cut-and-paste lines 10-14 into any script
|
||||
//which uses 'oPC' to identify the player character
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject(); //Get the PC entering the module
|
||||
|
||||
//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