Shargast_PRC8/_module/Chapter 1/nss/mm_givepalsig.nss

25 lines
667 B
Plaintext
Raw Normal View History

2024-08-03 14:13:18 -04:00
//::///////////////////////////////////////////////
//:: FileName mm_givepalsig
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 27.05.2007 16:24:48
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 500);
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 500);
// Give the speaker the items
CreateItemOnObject("sig_pal", GetPCSpeaker(), 1);
object oTarget;
oTarget = GetObjectByTag("door_pal");
AssignCommand(oTarget, ActionOpenDoor(oTarget));
}