added things
added a crafting tool merchant, added a training hall (not quite working yet) fixed crafting issues, exchanged the small cave area
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
first time.
|
||||
*/
|
||||
//:://////////////////////////////////////////////////
|
||||
#include "prc_inc_spells"
|
||||
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
@@ -15,8 +15,6 @@ void main()
|
||||
// * if not runnning normal or better Ai then exit for performance reasons
|
||||
// * if not runnning normal or better Ai then exit for performance reasons
|
||||
if (GetAILevel() == AI_LEVEL_VERY_LOW) return;
|
||||
|
||||
ExecuteScript("prc_npc_percep", OBJECT_SELF);
|
||||
|
||||
object oPercep = GetLastPerceived();
|
||||
int bSeen = GetLastPerceptionSeen();
|
||||
@@ -74,7 +72,7 @@ void main()
|
||||
{ // SpawnScriptDebugger();
|
||||
//MyPrintString("GetIsEnemy: TRUE");
|
||||
// We spotted an enemy and we're not already fighting
|
||||
if(!PRCGetHasEffect(EFFECT_TYPE_SLEEP)) {
|
||||
if(!GetHasEffect(EFFECT_TYPE_SLEEP)) {
|
||||
if(GetBehaviorState(NW_FLAG_BEHAVIOR_SPECIAL))
|
||||
{
|
||||
//MyPrintString("DetermineSpecialBehavior");
|
||||
@@ -163,7 +161,6 @@ void main()
|
||||
////////////////////////
|
||||
// Werewolf Addon
|
||||
location lTransform = GetLocation(OBJECT_SELF);
|
||||
object oSelf = OBJECT_SELF;
|
||||
object oTarget = GetFirstObjectInShape(SHAPE_SPHERE,10.0,lTransform,FALSE,OBJECT_TYPE_CREATURE);
|
||||
string sNPCTag = GetTag(oTarget);
|
||||
string sMyTag = GetTag(OBJECT_SELF);
|
||||
@@ -207,4 +204,3 @@ void main()
|
||||
//Get next object.
|
||||
oTarget = GetNextObjectInShape(SHAPE_SPHERE,10.0,lTransform,FALSE,OBJECT_TYPE_CREATURE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user