HoS_PRC8/_mod/_module/nss/altar_chalice.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

12 lines
401 B
Plaintext

// altar_chalice - create sacrificial chalice
void main()
{
object oPC=GetPCSpeaker();
string sID=GetLocalString(oPC,"sTeamID");
object oChest=CreateObject(OBJECT_TYPE_PLACEABLE,"sacrifice_chest",GetLocation(oPC));
SetLocalString(oChest,"sTeamID",sID);
SetLocalObject(oChest,"oPC",oPC);
AssignCommand(oPC,ClearAllActions(TRUE));
AssignCommand(oPC,ActionInteractObject(oChest));
}