From ae4a5ccdf97238c889046b7ae26fc60c67b1174c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 6 Jul 2018 22:15:24 -0300 Subject: Move Aeros Extension control to Event Master --- npc/001-1/eventmaster.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'npc/001-1/eventmaster.txt') diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt index 647443887..31ef2002e 100644 --- a/npc/001-1/eventmaster.txt +++ b/npc/001-1/eventmaster.txt @@ -74,6 +74,8 @@ L_Menu: "Spawn",L_Spawn, rif(countitem(StrangeCoin) >= 10, "Drop stuff! (10x Coins)"),L_Drop, "Reconfigure spawn/warp points",L_Conf, + rif(is_gm() && .WALL, l("Open Extension")), L_DelWall, + rif(is_gm() && !.WALL, l("Close Extension")), L_AddWall, "Adjust coins drop rate",L_Rate; L_Unauthorized: @@ -822,6 +824,18 @@ L_EventHandler: } 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_Conf: mes ""; mesn; -- cgit v1.2.3-60-g2f50