Adds and Changes

Added missing crafting maps, removed unnecessary maps, changed a few miscellaneous things.
This commit is contained in:
2024-09-14 13:52:39 -04:00
parent 339f0f8b96
commit 7f75e229f9
2041 changed files with 184144 additions and 506679 deletions

View File

@@ -1,21 +0,0 @@
///////////////////////////////////////////////////////////////////////////////
// mk_cb_iprp_ftchk
///////////////////////////////////////////////////////////////////////////////
// callback itemproperty feat check
///////////////////////////////////////////////////////////////////////////////
#include "mk_inc_2da_disp"
#include "mk_inc_iprp"
void main()
{
object oPC = OBJECT_SELF;
int nRow = GetLocalInt(OBJECT_SELF, MK_2DA_DISP_CALLBACK_ROW);
int nFeatIndex = MK_Get2DAInt("iprp_feats", "FeatIndex", nRow);
object oItem = GetItemInSlot(INVENTORY_SLOT_CARMOUR, oPC);
int bCheck = !GetHasFeat(nFeatIndex, oPC) || MK_IPRP_GetItemHasFeat(oItem, nRow);
SetLocalInt(OBJECT_SELF, MK_2DA_DISP_CALLBACK_CHECK, bCheck);
}