summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-03-04 01:44:00 -0300
committerjesusalva <cpntb1@ymail.com>2018-03-04 01:44:00 -0300
commite884c7671703e1470c0328374a7087497126d57a (patch)
tree67139b9903e2a2a0cd560a5cae2cf93deaf3015e
parent717bd70cccc157b39c7cbf50738e9dd3d7c12990 (diff)
downloadserverdata-e884c7671703e1470c0328374a7087497126d57a.tar.gz
serverdata-e884c7671703e1470c0328374a7087497126d57a.tar.bz2
serverdata-e884c7671703e1470c0328374a7087497126d57a.tar.xz
serverdata-e884c7671703e1470c0328374a7087497126d57a.zip
Basic support to expand and shrink Aeros. We need a GM admin NPC...
-rw-r--r--npc/001-1/portal.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/npc/001-1/portal.txt b/npc/001-1/portal.txt
index 6e0070170..4708930e8 100644
--- a/npc/001-1/portal.txt
+++ b/npc/001-1/portal.txt
@@ -14,6 +14,8 @@ OnTouch:
l("No."), L_Close,
rif(getgmlevel() && !$@GM_EVENT, l("Enable Event")), L_Enable,
rif(getgmlevel() && $@GM_EVENT, l("Disable Event")), L_Disable,
+ rif(getgmlevel() && .WALL, l("Open Extension")), L_DelWall,
+ rif(getgmlevel() && !.WALL, l("Close Extension")), L_AddWall,
l("Yes."), L_Leave;
L_Leave:
@@ -28,6 +30,18 @@ L_Disable:
$@GM_EVENT=0;
close;
+L_AddWall:
+ setcells "001-1", 169, 63, 169, 76, 3, "AerosWall";
+ //setwall("001-1", 169, 63, 13, DOWN, false, "AerosWall");
+ .WALL=1;
+ close;
+
+L_DelWall:
+ delcells "AerosWall";
+ //delwall("AerosWall");
+ .WALL=0;
+ close;
+
L_Close:
close;
}