generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
15
_module/nss/purge_items3.nss
Normal file
15
_module/nss/purge_items3.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#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);
|
||||
FloatingTextStringOnCreature("Items and Gold Removed", oPC);
|
||||
}
|
||||
Reference in New Issue
Block a user