Merged redundant hak files

Merged redundant hak files.  Moved hak scripts into module.  Updated gitignore.  Full Compile.  Added release folder & archive.
This commit is contained in:
Jaysyn904
2024-12-12 15:02:17 -05:00
parent f58f9a29b4
commit e2f4ba74d5
3227 changed files with 52239 additions and 55 deletions

View File

@@ -0,0 +1,21 @@
////////////////////////////////////////////////////////////////////////////////
// npcact_ms_coin - NPC ACTIVITIES 6.0 Monetary System - coin onactivateitem
// By Deva Bryson Winblood. 12/24/2004
////////////////////////////////////////////////////////////////////////////////
void main()
{
object oPC=GetItemActivator();
object oItem=GetItemActivated();
object oTarget=GetItemActivatedTarget();
location lLoc=GetItemActivatedTargetLocation();
vector vVec=GetPositionFromLocation(lLoc);
SetLocalObject(oPC,"oCMSItem",oItem);
SetLocalObject(oPC,"oCMSTarget",oTarget);
SetLocalObject(oPC,"oCMSTargetArea",GetArea(oPC));
SetLocalFloat(oPC,"fCMSX",vVec.x);
SetLocalFloat(oPC,"fCMSY",vVec.y);
SetLocalFloat(oPC,"fCMSZ",vVec.z);
AssignCommand(oPC,ClearAllActions(TRUE));
AssignCommand(oPC,ActionStartConversation(oPC,"npcact_money",TRUE,FALSE));
}