Initial module commit
Initial module commit.
This commit is contained in:
12
_module/nss/destroyselfnofx.nss
Normal file
12
_module/nss/destroyselfnofx.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
void main()
|
||||
{
|
||||
// Set destroyable.
|
||||
SetIsDestroyable(TRUE, FALSE, FALSE);
|
||||
// Remove plot/immoral/lootable flags JUST in case.
|
||||
SetPlotFlag(OBJECT_SELF, FALSE);
|
||||
SetImmortal(OBJECT_SELF, FALSE);
|
||||
SetLootable(OBJECT_SELF, FALSE);
|
||||
// <span class="highlight">Destroy</span> ourselves
|
||||
DestroyObject(OBJECT_SELF);
|
||||
}
|
||||
|
Reference in New Issue
Block a user