17 lines
428 B
Plaintext
17 lines
428 B
Plaintext
#include "strip"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
location lLocation = GetLocation(oPC);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,
|
|
EffectVisualEffect(VFX_IMP_DEATH), oPC);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,
|
|
EffectVisualEffect(VFX_IMP_SLOW), oPC);
|
|
int oGold = GetGold(oPC);
|
|
TakeGoldFromCreature(oGold, oPC, FALSE);
|
|
InvStrip(oPC);
|
|
GearStrip(oPC);
|
|
FloatingTextStringOnCreature("Items and Gold Removed", oPC);
|
|
}
|