12 lines
401 B
Plaintext
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));
|
|
}
|