Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
34
_module/nss/wa_tileset_enter.nss
Normal file
34
_module/nss/wa_tileset_enter.nss
Normal file
@@ -0,0 +1,34 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
object creature;
|
||||
|
||||
int neutral = GetLocalInt(OBJECT_SELF, "neutral");
|
||||
|
||||
if (neutral)
|
||||
{
|
||||
creature = GetFirstObjectInArea(OBJECT_SELF);
|
||||
while (creature != OBJECT_INVALID)
|
||||
{
|
||||
if (!GetIsPC(creature))
|
||||
{
|
||||
SetIsTemporaryNeutral(creature, oPC);
|
||||
SetIsTemporaryNeutral(oPC, creature);
|
||||
}
|
||||
creature = GetNextObjectInArea(OBJECT_SELF);
|
||||
}
|
||||
}
|
||||
/*
|
||||
if (!neutral)
|
||||
creature = GetFirstObjectInArea(OBJECT_SELF);
|
||||
while (creature != OBJECT_INVALID)
|
||||
{
|
||||
if (!GetIsPC(creature))
|
||||
{
|
||||
ClearPersonalReputation(creature, oPC);
|
||||
ClearPersonalReputation(oPC, creature);
|
||||
}
|
||||
creature = GetNextObjectInArea(OBJECT_SELF);
|
||||
}
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user