diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
commit | cf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch) | |
tree | f9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/001-3-1/gates.txt | |
parent | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff) | |
download | serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2 serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip |
Override
Diffstat (limited to 'npc/001-3-1/gates.txt')
-rw-r--r-- | npc/001-3-1/gates.txt | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/npc/001-3-1/gates.txt b/npc/001-3-1/gates.txt deleted file mode 100644 index f3c1a038..00000000 --- a/npc/001-3-1/gates.txt +++ /dev/null @@ -1,66 +0,0 @@ -// Evol scripts. -// Author: -// Micksha, Jesusalva -// Description: -// The Sewer Gates, and Wheels. - -// Brotherhood hideout, the door opens by itself if player -// can now talk to Sopiahalla. -001-3-1,30,19,0 script #001-3-1_30_19 NPC_HIDDEN,0,0,{ - end; - -OnTouch: - .@q=getq(General_Brotherhood); - updateSpotlight(true); - if (.@q) - warp "001-3-2", 30, 116; - end; -} - -// The gate itself -001-3-1,30,20,0 script #Gate3 NPC_SEWER_GATE,2,2,{ - .@q=getq(General_Brotherhood); - if (.@q) - mes l("This gate opens on its own for you... Should we go inside?"); - else - mes l("This gate is closed."); - close; - -OnTouch: - .@q=getq(General_Brotherhood); - updateSpotlight(true); - // Opening - if (!.busy && .@q) { - .dir=2; - .busy=true; - initnpctimer; - } - end; - -// Open -OnTimer2200: - .dir=4; - end; - -// Closing -OnTimer8000: - .dir=6; - end; - -// Closed -OnTimer10400: - .dir=0; - end; - -// Don't reopen immediately, wait a tiny bit -OnTimer11000: - .busy=false; - stopnpctimer; - -// Initial configuration -OnInit: - .busy=false; - .distance = 2; - end; -} - |