26 lines
770 B
Plaintext
26 lines
770 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName at_brill04
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 7/29/02 7:21:15 PM
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
// Give the speaker some gold
|
|
GiveGoldToCreature(GetPCSpeaker(), 25);
|
|
|
|
// Give the speaker some XP
|
|
GiveXPToCreature(GetPCSpeaker(), 250);
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QST_SMITHHAMMER");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
// Set the variables
|
|
SetLocalInt(GetPCSpeaker(), "nBrillQuest", 2);
|
|
|
|
}
|