13 lines
338 B
Plaintext
13 lines
338 B
Plaintext
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);
|
|
}
|
|
|