21 lines
634 B
Plaintext
21 lines
634 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name: farm_owner
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
This script will check if the PC in this
|
|
conversation is the current farm owner.
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Adam Walenga
|
|
//:: Created On: September 7th, 2004
|
|
//:://////////////////////////////////////////////
|
|
#include "farm_include"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPlayer = GetPCSpeaker();
|
|
|
|
return (Farm_GetOwner (GetLocalInt (OBJECT_SELF, "Farm_Number")) == "FARM_" + GetPCPlayerName (oPlayer));
|
|
}
|