Major update

Created top hak for crafting dialog.  Moved Bioware creature abilities to top hak.  Fixed DMFI wand handouts.  Added DMFI language handouts.  Added CCOH 6.  Disabled PC corpse system.  Modified new player startup system.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-09-17 13:24:57 -04:00
parent 5d27edafba
commit 903f023230
626 changed files with 57291 additions and 9788 deletions

View File

@@ -0,0 +1,50 @@
#include "mk_inc_debug"
#include "mk_inc_2da_disp"
#include "mk_inc_tlk"
#include "mk_inc_iprp"
#include "mk_inc_cheats"
#include "mk_inc_states"
const string s2DAfile = "itempropdef";
const string sColumnStrRef = "Name";
void main()
{
object oPC = OBJECT_SELF;
int bCheck=TRUE;
int bShowCurrentOnly = GetLocalInt(oPC, "MK_CHEATS_ITEMPROPS_SHOWCURRENTONLY");
if (bShowCurrentOnly)
{
int nRow = GetLocalInt(OBJECT_SELF, MK_2DA_DISP_CALLBACK_ROW);
object oItem = MK_CHEATS_GetCurrentItem();
int nIProp = MK_CHEATS_GetCurrentItemPropertyID();
int nSubType = MK_CHEATS_GetCurrentItemPropertySubType();
int nCostTableValue = MK_CHEATS_GetCurrentItemPropertyCostTableValue();
int nState = MK_GenericDialog_GetState();
itemproperty iProp;
switch (nState)
{
case MK_STATE_CHEATS_ITEMPROPS_PROPERTY:
iProp = MK_IPRP_GetItemProperty(oItem, nRow);
break;
case MK_STATE_CHEATS_ITEMPROPS_SUBTYPE:
iProp = MK_IPRP_GetItemProperty(oItem, nIProp, nRow);
break;
case MK_STATE_CHEATS_ITEMPROPS_COSTTABLE:
iProp = MK_IPRP_GetItemProperty(oItem, nIProp, nSubType, nRow);
break;
case MK_STATE_CHEATS_ITEMPROPS_PARAM1:
iProp = MK_IPRP_GetItemProperty(oItem, nIProp, nSubType, nCostTableValue, nRow);
break;
}
bCheck = GetIsItemPropertyValid(iProp);
}
SetLocalInt(OBJECT_SELF, MK_2DA_DISP_CALLBACK_CHECK, bCheck);
}