Added PnP Dire Rat.

Added PnP Dire Rat.
This commit is contained in:
Jaysyn904
2021-07-21 17:48:43 -04:00
parent 552f1686c8
commit b01c5cc7db
10849 changed files with 171143 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
//=============================================================
// Container Thief Check
// by William Amrull (aka Tak), Sep 4, 2005
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Purpose: Makes the owner/guard(s) of a container attack
// anyone who messes with said container.
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Use: Put this script in the OnOpen event for the container
// and add a variable to the container. The variable you add
// should be called "owner" and contain the tag of the owner.
// For multiple guards the variables should be like so:
// string owner1 Tag
// string owner2 Tag
// string owner3 Tag
// etc..
// Note: There should be no owner tag variable that does not
// include a number at the end when using multiple guards.
//=============================================================
#include "tak_inc_thfchk00"
void main()
{
object oThief;
if (GetLastKiller() == OBJECT_INVALID)
return;
oThief = GetLastKiller();
tak_container_thief_check(oThief, 7);
}