summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/doomsday.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/doomsday.txt')
-rw-r--r--world/map/npc/functions/doomsday.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/world/map/npc/functions/doomsday.txt b/world/map/npc/functions/doomsday.txt
index d4b32dcb..bf78bf82 100644
--- a/world/map/npc/functions/doomsday.txt
+++ b/world/map/npc/functions/doomsday.txt
@@ -689,6 +689,7 @@ OnInit:
if (puppet("001-2", 110, 22, "Valia#_DT", 370) < 1) mapexit;
if (puppet("001-2", 117, 24, "Waric#_DT", 153) < 1) mapexit;
if (puppet("001-2", 117, 30, "Golbenez#_DT", 307) < 1) mapexit;
+ if (puppet("001-2", 110, 32, "Numa#_DT", 393) < 1) mapexit;
// Hurnscald room (Doomsday Hurns: _DH)
if (puppet("069-2", 101, 85, "Sagatha#_DH", 167) < 1) mapexit;
@@ -698,6 +699,7 @@ OnInit:
if (puppet("069-2", 112, 85, "Valia#_DH", 370) < 1) mapexit;
if (puppet("069-2", 119, 87, "Waric#_DH", 153) < 1) mapexit;
if (puppet("069-2", 119, 93, "Golbenez#_DH", 307) < 1) mapexit;
+ if (puppet("069-2", 112, 95, "Numa#_DH", 393) < 1) mapexit;
// Nivalis room (Doomsday Nivalis: _DN)
if (puppet("048-2", 113, 86, "Sagatha#_DN", 167) < 1) mapexit;
@@ -707,6 +709,7 @@ OnInit:
if (puppet("048-2", 118, 85, "Valia#_DN", 370) < 1) mapexit;
if (puppet("048-2", 117, 86, "Waric#_DN", 153) < 1) mapexit;
if (puppet("048-2", 119, 86, "Golbenez#_DN", 307) < 1) mapexit;
+ if (puppet("048-2", 118, 87, "Numa#_DN", 393) < 1) mapexit;
// Disable puppets
disablenpc "Sagatha#_DT";
@@ -716,6 +719,7 @@ OnInit:
disablenpc "Valia#_DT";
disablenpc "Waric#_DT";
disablenpc "Golbenez#_DT";
+ disablenpc "Numa#_DT";
disablenpc "Sagatha#_DH";
disablenpc "Elanore#_DH";
@@ -724,6 +728,7 @@ OnInit:
disablenpc "Valia#_DH";
disablenpc "Waric#_DH";
disablenpc "Golbenez#_DH";
+ disablenpc "Numa#_DH";
disablenpc "Sagatha#_DN";
disablenpc "Elanore#_DN";
@@ -732,6 +737,7 @@ OnInit:
disablenpc "Valia#_DN";
disablenpc "Waric#_DN";
disablenpc "Golbenez#_DN";
+ disablenpc "Numa#_DN";
end;
}
@@ -755,6 +761,7 @@ L_Main:
"[GM 40] Enable Valia", L_Valia,
"[GM 40] Enable Waric", L_Waric,
"[GM 40] Enable Golbenez", L_Golbenez,
+ "[GM 98] Enable Numa", L_Numa,
"[GM 40] Disable Sagatha", L_NoSagatha,
"[GM 40] Disable Elanore", L_NoElanore,
"[GM 40] Disable Nikolai", L_NoNikolai,
@@ -762,6 +769,7 @@ L_Main:
"[GM 40] Disable Valia", L_NoValia,
"[GM 40] Disable Waric", L_NoWaric,
"[GM 40] Disable Golbenez", L_NoGolbenez,
+ "[GM 98] Disable Numa", L_NoNuma,
"[GM 60] Cancel Next Siege", L_SkipSiege,
"[GM 80] Dismiss the council", L_Dismiss;
@@ -814,6 +822,21 @@ L_NoGolbenez:
disablenpc "Golbenez#"+@n$[1];
goto L_Main;
+L_Numa:
+ if (GM < G_SYSOP)
+ mes "Your GM level does not authorizes you to perform this operation.";
+ if (GM < G_SYSOP)
+ close;
+ enablenpc "Numa#"+@n$[1];
+ goto L_Main;
+L_NoNuma:
+ if (GM < G_SYSOP)
+ mes "Your GM level does not authorizes you to perform this operation.";
+ if (GM < G_SYSOP)
+ close;
+ disablenpc "Numa#"+@n$[1];
+ goto L_Main;
+
L_Dismiss:
if (GM < G_ADMIN)
mes "Your GM level does not authorizes you to perform this operation.";