PRC8 update

PRC8 update.  Full compile.
This commit is contained in:
Jaysyn904
2024-12-26 22:19:38 -05:00
parent 29665a77ee
commit cee5d95097
23 changed files with 11 additions and 9 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -17,6 +17,7 @@
#include "util_inc" #include "util_inc"
#include "util_names_inc" #include "util_names_inc"
#include "nwnx_time" #include "nwnx_time"
#include "prc_inc_skin"
//:: void main (){} //:: void main (){}
@@ -294,7 +295,8 @@ void RemoveBlackScreen(object oPC)
void chr_ZombieWalk(object oPC, int nDuration) void chr_ZombieWalk(object oPC, int nDuration)
{ {
object oPCSkin = GetItemInSlot (INVENTORY_SLOT_CARMOUR, oPC); //object oPCSkin = GetItemInSlot (INVENTORY_SLOT_CARMOUR, oPC);
object oPCSkin = GetPCSkin(oPC);
// We only relate this message once, it's just so they know what is going on. // We only relate this message once, it's just so they know what is going on.
if (!GetLocalInt (oPC, CHR_NEARDEATH_VAR_MESSAGE)) if (!GetLocalInt (oPC, CHR_NEARDEATH_VAR_MESSAGE))
{ {

View File

@@ -272,17 +272,17 @@ void DestroyAllItems()
if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_BULLETS))) if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_BULLETS)))
DestroyObject(oItem); DestroyObject(oItem);
if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CARMOUR))) if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CARMOUR)))
DestroyObject(oItem); //DestroyObject(oItem);
if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CHEST))) if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CHEST)))
DestroyObject(oItem); DestroyObject(oItem);
if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CLOAK))) if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CLOAK)))
DestroyObject(oItem); DestroyObject(oItem);
if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CWEAPON_B))) if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CWEAPON_B)))
DestroyObject(oItem); //DestroyObject(oItem);
if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CWEAPON_L))) if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CWEAPON_L)))
DestroyObject(oItem); //DestroyObject(oItem);
if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CWEAPON_R))) if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_CWEAPON_R)))
DestroyObject(oItem); //DestroyObject(oItem);
if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_HEAD))) if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_HEAD)))
DestroyObject(oItem); DestroyObject(oItem);
if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_LEFTHAND))) if(GetIsObjectValid(oItem=GetItemInSlot(INVENTORY_SLOT_LEFTHAND)))
@@ -543,12 +543,12 @@ void TakeStuff(int Level, object oTarget, object oUser)
DestroyObject(GetItemInSlot(INVENTORY_SLOT_BOLTS,oTarget)); DestroyObject(GetItemInSlot(INVENTORY_SLOT_BOLTS,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_BOOTS,oTarget)); DestroyObject(GetItemInSlot(INVENTORY_SLOT_BOOTS,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_BULLETS,oTarget)); DestroyObject(GetItemInSlot(INVENTORY_SLOT_BULLETS,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_CARMOUR,oTarget)); //DestroyObject(GetItemInSlot(INVENTORY_SLOT_CARMOUR,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_CHEST,oTarget)); DestroyObject(GetItemInSlot(INVENTORY_SLOT_CHEST,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_CLOAK,oTarget)); DestroyObject(GetItemInSlot(INVENTORY_SLOT_CLOAK,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_CWEAPON_B,oTarget)); //DestroyObject(GetItemInSlot(INVENTORY_SLOT_CWEAPON_B,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L,oTarget)); //DestroyObject(GetItemInSlot(INVENTORY_SLOT_CWEAPON_L,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_CWEAPON_R,oTarget)); //DestroyObject(GetItemInSlot(INVENTORY_SLOT_CWEAPON_R,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_HEAD,oTarget)); DestroyObject(GetItemInSlot(INVENTORY_SLOT_HEAD,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_LEFTHAND,oTarget)); DestroyObject(GetItemInSlot(INVENTORY_SLOT_LEFTHAND,oTarget));
DestroyObject(GetItemInSlot(INVENTORY_SLOT_LEFTRING,oTarget)); DestroyObject(GetItemInSlot(INVENTORY_SLOT_LEFTRING,oTarget));