29 lines
906 B
Plaintext
29 lines
906 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name (b2) Auction Tel Item
|
|
//:: FileName
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Donny Wilbanks
|
|
//:: Created On: 01/18/03
|
|
//:://////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
object oAuctioneer = GetNearestObjectByTag("DMrGAuctioneer");
|
|
if(GetIsObjectValid(oAuctioneer))
|
|
{
|
|
object oCChest = GetNearestObjectByTag("ASG_CCHEST");
|
|
object oItem = GetFirstItemInInventory(oCChest);
|
|
object oOwner = GetLocalObject(oItem,"B2_AuctionOwner");
|
|
if (GetIsObjectValid(oOwner)==FALSE)
|
|
{
|
|
SetLocalObject(oItem,"B2_AuctionOwner",oAuctioneer);
|
|
}
|
|
ActionSpeakString("The current item is "+GetName(oOwner)+"'s prised "+GetName(oItem)+".");
|
|
}
|
|
}
|