Finished PRC8 integration

Finished PRC8 integration.  Moved creature abilities to top hak.  Setup tooling.  Created release archive
This commit is contained in:
Jaysyn904
2024-03-12 21:27:23 -04:00
parent 7b9e44ebbb
commit e5b3f6ad61
958 changed files with 1491 additions and 630 deletions

View File

@@ -13,6 +13,7 @@
#include "NW_I0_GENERIC"
#include "jw_custom_spells"
#include "prc_inc_spells"
string sPlace="PLACE_"+GetTag(OBJECT_SELF);
// waypoints should be called WALK_tag1 to WALK_tag6
@@ -58,8 +59,7 @@ int isatwaypoint();
void main()
{
ExecuteScript("prc_npc_userdef", OBJECT_SELF);
int nUser = GetUserDefinedEventNumber();
@@ -107,7 +107,7 @@ void main()
object oPC=GetLastPerceived();
if (!ishome()&&getstate()==LOOKING)
{
if ((GetIsPC(oPC))&&(!GetIsDM(oPC))&&(GetRacialType(oPC)!=RACIAL_TYPE_HALFLING))
if ((GetIsPC(oPC))&&(!GetIsDM(oPC))&&(MyPRCGetRacialType(oPC)!=RACIAL_TYPE_HALFLING))
{
setstate(STEALING);
stealing (oPC);
@@ -334,7 +334,7 @@ void standardhb()
}
}
if(!GetHasEffect(EFFECT_TYPE_SLEEP))
if(!PRCGetHasEffect(EFFECT_TYPE_SLEEP))
{
if(!GetIsPostOrWalking())
{
@@ -422,7 +422,7 @@ void standardperc()
}
else if(GetIsEnemy(GetLastPerceived()))
{
if(!GetHasEffect(EFFECT_TYPE_SLEEP))
if(!PRCGetHasEffect(EFFECT_TYPE_SLEEP))
{
SetFacingPoint(GetPosition(GetLastPerceived()));
SpeakString("NW_I_WAS_ATTACKED", TALKVOLUME_SILENT_TALK);