16 lines
314 B
Plaintext
16 lines
314 B
Plaintext
|
#include "s_sharstar"
|
||
|
void main()
|
||
|
{
|
||
|
object MoonEye = GetFirstItemInInventory(OBJECT_SELF);
|
||
|
if (GetTag(MoonEye) == "SHA_EYEOFMOON")
|
||
|
{
|
||
|
if(isActivated() == TRUE)
|
||
|
{
|
||
|
DestroyStar();
|
||
|
CreateItemOnObject("sha_stalisman");
|
||
|
DestroyObject(OBJECT_SELF);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|