Added ACP v4.1

Added ACP v4.1. Full compile.  Updated module name.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-09-08 18:23:43 -04:00
parent d8c9dd6e90
commit 4dba880acb
2690 changed files with 1034142 additions and 27131 deletions

View File

@@ -0,0 +1,13 @@
void main()
{
int nType;
object oItem = GetItemInSlot(INVENTORY_SLOT_ARROWS,GetPCSpeaker());
nType = GetBaseItemType(oItem);
int nSlot = INVENTORY_SLOT_ARROWS;
SetLocalInt(GetPCSpeaker(), "CRAFT_SLOT", nSlot);
SetLocalInt(GetPCSpeaker(), "CRAFT_TYPE", nType);
string s = GetResRef(oItem);
SetLocalString(GetPCSpeaker(), "RESREF", s);
SetLocalInt(oItem, "CRAFTING", 1);
}