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,36 @@
//::///////////////////////////////////////////////
//:: zep_demi_bone_us
//:: OnUsed event handler for a CEP demilich Pile
//:: of Bones placeable (found under the custom
//:: placeables: "Dungeons->Tombs, Grave Markers ->
//:: Pile of Bones").
//:://////////////////////////////////////////////
/*
Transfroms a Pile of Bones to a demilich.
Assumes this is executed by a resting demilich's
Pile of Bones placeable.
A different blueprint will be used for regenerating
demiliches.
*/
//:://////////////////////////////////////////////
//:: Created by: The Krit
//:: Created on: May 10, 2007
//:://////////////////////////////////////////////
#include "zep_inc_demi"
void main()
{
// Spawn the demilich.
ZEPDemilichFromBones(OBJECT_SELF, GetLocalString(OBJECT_SELF, ZEP_DEMI_LOCAL_RESREF), TRUE);
// Destroy the detector.
DestroyObject(GetLocalObject(OBJECT_SELF, ZEP_DEMI_LOCAL_SOURCE));
// Destroy the placeables.
DestroyObject(GetLocalObject(OBJECT_SELF, ZEP_DEMI_LOCAL_AMBIENT));
DestroyObject(OBJECT_SELF);
}