Lankhmar_PRC8/_module/nss/at_arty1.nss

20 lines
348 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
void main()
{
// Get the creature who triggered this event.
object oPC = GetPCSpeaker();
// Set the variables
SetLocalInt(GetPCSpeaker(), "arty1", 1);
// Give "artygrteky1" to the PC.
CreateItemOnObject("artygrteky1", oPC);
// Give 5 XP (to party) to the PC.
GiveXPToAll(oPC, 5);
}