Initial Commit

Initial Commit.
This commit is contained in:
Jaysyn904
2025-09-14 15:40:46 -04:00
parent 7083b33d71
commit 1eefc84201
19230 changed files with 11539227 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
//::///////////////////////////////////////////////
//:: Name corpse_unacquire
//:: FileName
//::
//:://////////////////////////////////////////////
/*
Responds to the onunacquire event of the module.
Detect when a corpse is placed on the ground.
*/
//:://////////////////////////////////////////////
//:: Created By: Alexandre Brunel
//:: Created On: 21/04/2003
//:://////////////////////////////////////////////
#include "corpse_lib"
void main()
{
object item = GetModuleItemLost();
if( (GetTag(item) == CorpsePickableCorpseTag)
&&!GetIsObjectValid(GetItemPossessor(item)) )
{
if(GetIsObjectValid(MoveCorpseTo(GetLocation(GetModuleItemLostBy()),GetPickableCorpse(item))))
{
DestroyObject(item);
}
}
else
{
//Put other unAcquire events here.
}
}