Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
12 lines
343 B
Plaintext
12 lines
343 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
object oGem = GetItemPossessedBy(oPC, "NK_FP_POLY");
|
|
if (oGem == OBJECT_INVALID)
|
|
{
|
|
object oPentagram = GetNearestObjectByTag("NK_FP_PENTAGRAM", OBJECT_SELF, 1);
|
|
SetLocalInt(oPC, "NK_FP_POLYME", 1);
|
|
SignalEvent(oPentagram, EventUserDefined(1001));
|
|
}
|
|
}
|