14 lines
385 B
Plaintext
14 lines
385 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
object oDatabase = GetItemPossessedBy(oPC,"Database");
|
|
SetLocalInt(oDatabase, "PLAYERGOTTAIL", 100);
|
|
|
|
// Destroy an object (not fully effective until this script ends).
|
|
DestroyObject(GetObjectByTag("Black_Dragon_Tail"));
|
|
|
|
// Give 6000 gold to the PC.
|
|
GiveGoldToCreature(oPC, 6000);
|
|
GiveXPToCreature(oPC, 6000);
|
|
}
|