Lankhmar_PRC8/_module/nss/victory_fafms.nss

35 lines
693 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "NW_I0_PLOT"
#include "x0_i0_partywide"
void main()
{
object oTarget;
object oPC = GetPCSpeaker();
// Give 1k gold, xp (to party) to the PC.
GiveGoldToAll(oPC, 1000);
GiveXPToAll(oPC, 1000);
oTarget = GetObjectByTag("Fafhrd");
AssignCommand(oTarget, ActionPlayAnimation(ANIMATION_FIREFORGET_VICTORY1));
oTarget = GetObjectByTag("GrayMouser");
AssignCommand(oTarget, ActionPlayAnimation(ANIMATION_FIREFORGET_VICTORY1));
PlayOldTheme();
oTarget = GetObjectByTag("fortrstocit");
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
oTarget = GetObjectByTag("cittofortrs");
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
}