36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name(ASG_RULE) Open Store
|
|
//:: FileName
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
This is a important script for it handles all of the stores
|
|
functions. You must get the full name of the Vender (the
|
|
person you are talking to) and the name of the shop he opens.
|
|
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Donny Wilbanks
|
|
//:: Created On: 06/30/02
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Yes, there is ALLOT of extra crap on this open store script, it was
|
|
part a failed Store Option Script that I tried to write. Just leave it
|
|
in it's been deactivated for the most part
|
|
*/
|
|
void main()
|
|
{
|
|
|
|
// MOD_SHOP_AUCTIONIDSHOP
|
|
string sNPCname = GetName(OBJECT_SELF);
|
|
// DBug code - speak NPC's name on screen.
|
|
object oPC = GetPCSpeaker();
|
|
object oStore = GetObjectByTag("MOD_SHOP_AUCTIONIDSHOP");
|
|
|
|
OpenStore(oStore, GetPCSpeaker());
|
|
// the store ghost collects extra money - spill over from sold items.
|
|
|
|
//
|
|
}
|
|
|