Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

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)+".");
}
}