23 lines
354 B
Plaintext
23 lines
354 B
Plaintext
|
#include "x0_i0_partywide"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object oTarget;
|
||
|
|
||
|
// Get the PC who is in this conversation.
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
SetLocalString(oPC, "hnchqst", "1");
|
||
|
|
||
|
// Give 5 experience (to party) to the PC.
|
||
|
GiveXPToAll(oPC, 5);
|
||
|
|
||
|
oTarget = GetObjectByTag("kosdoor");
|
||
|
SetLocked(oTarget, FALSE);
|
||
|
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
||
|
|
||
|
}
|
||
|
|