diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-17 04:20:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-17 04:20:20 -0300 |
commit | 65c634722e6a551388a63193b0c9a28d35ff845f (patch) | |
tree | 3c36ea2a2284e875b2f9bcf95c28b2e5a3f2be6c /npc | |
parent | 1d24be501f3f3d733344826262964255f7c6c380 (diff) | |
download | serverdata-65c634722e6a551388a63193b0c9a28d35ff845f.tar.gz serverdata-65c634722e6a551388a63193b0c9a28d35ff845f.tar.bz2 serverdata-65c634722e6a551388a63193b0c9a28d35ff845f.tar.xz serverdata-65c634722e6a551388a63193b0c9a28d35ff845f.zip |
Stop using compound names on events
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-1/events.txt | 2 | ||||
-rw-r--r-- | npc/014-5/events.txt | 6 | ||||
-rw-r--r-- | npc/017-1/boringnpc.txt | 2 | ||||
-rw-r--r-- | npc/commands/event.txt | 6 | ||||
-rw-r--r-- | npc/functions/event.txt | 6 | ||||
-rw-r--r-- | npc/functions/news.txt | 4 | ||||
-rw-r--r-- | npc/functions/soul_menhir.txt | 4 |
7 files changed, 15 insertions, 15 deletions
diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt index 1b46253ce..61e5d8c3d 100644 --- a/npc/003-1/events.txt +++ b/npc/003-1/events.txt @@ -196,7 +196,7 @@ OnInit: .sex = G_OTHER; .distance = 5; - if ($EVENT$ != "St. Patrick") + if ($EVENT$ != "Patrick") disablenpc(.name$); end; } diff --git a/npc/014-5/events.txt b/npc/014-5/events.txt index 062c662d1..c6d6b678b 100644 --- a/npc/014-5/events.txt +++ b/npc/014-5/events.txt @@ -41,7 +41,7 @@ } } - if ($EVENT$ != "St. Patrick" && !$@GM_OVERRIDE) { + if ($EVENT$ != "Patrick" && !$@GM_OVERRIDE) { channelmes("#world", "ERROR, ST. PATRICK GOLD POT: NOEVENT ERROR"); disablenpc .name$; atcommand("@kick "+strcharinfo(0)); @@ -182,13 +182,13 @@ OnInit: .sex = G_OTHER; .distance = 4; - if ($EVENT$ != "St. Patrick") { + if ($EVENT$ != "Patrick") { disablenpc(.name$); end; } OnClock0000: OnForcedMove: - if ($EVENT$ == "St. Patrick") { + if ($EVENT$ == "Patrick") { setarray .@vx, 134, 162, 108, 105, 67, 191, 168, 170, 191, 188, 160, 145, 196, 120; setarray .@vy, 36, 61, 45, 96, 76, 74, 72, 111, 113, 129, 125, 119, 143, 104; .@r=rand(0,getarraysize(.@vx)-1); diff --git a/npc/017-1/boringnpc.txt b/npc/017-1/boringnpc.txt index 7bc57ec79..2ffcf2917 100644 --- a/npc/017-1/boringnpc.txt +++ b/npc/017-1/boringnpc.txt @@ -12,7 +12,7 @@ next; mesn; mesq l("Hwaaaah... Man, I'm bored. Will you be getting @@?", getitemlink(GreenDye)); - if ($EVENT$ == "St. Patrick") { + if ($EVENT$ == "Patrick") { mesc l("It's St. Patrick Day, so be warned everyone wants a green dye... So, I raise the prices."); .@price*=2; } diff --git a/npc/commands/event.txt b/npc/commands/event.txt index abbe5f34c..0b18dcbd0 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -328,7 +328,7 @@ function script GlobalEventMenu { set $EVENT$, "Valentine"; $@VALENTINE_LOVELETTER = htnew(); $@VALENTINE_GIFTSTACKS = htnew(); logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND; break; case 3: - $EVENT$="St. Patrick"; + $EVENT$="Patrick"; $@PATRICK_DAYMAX=31; enablenpc "sPatrick"; enablenpc "Patrick Saulc"; @@ -338,7 +338,7 @@ function script GlobalEventMenu { break; case 4: sEaster(); break; case 5: - set $EVENT$, "Worker Day"; + set $EVENT$, "Worker"; logmes "Enabled WORKERS DAY event.", LOGMES_ATCOMMAND; /* addmonsterdrop(Snake, Pearl, 10); @@ -525,7 +525,7 @@ OnEffect: message strcharinfo(0), l("You are now at the Magical Forest."); end; } - if ($EVENT$ == "Worker Day") { + if ($EVENT$ == "Worker") { warp "001-5", 22, 79; message strcharinfo(0), l("You are now at the Contributor's Cave."); end; diff --git a/npc/functions/event.txt b/npc/functions/event.txt index 0203cf641..87f913de0 100644 --- a/npc/functions/event.txt +++ b/npc/functions/event.txt @@ -39,7 +39,7 @@ OnClock2100: // act with 100% chances (determinism). // As it is being spawn 4 times at a day (like TMW-BR events), because it is // flatly and outright IMPOSSIBLE to add a permanent spawn, that is not required. - if ($EVENT$ == "St. Patrick" && .@d <= $@PATRICK_DAYMAX) { + if ($EVENT$ == "Patrick" && .@d <= $@PATRICK_DAYMAX) { for (.@i=0; .@i < getarraysize(.maps$); .@i++) { .@m$=.maps$[.@i]; .@x=getmapinfo(MAPINFO_SIZE_X, .@m$)-20; @@ -400,7 +400,7 @@ OnClock0000: // Begin the event else if (.@d == .patrick_stday) { kamibroadcast("St. Patrick Day begun!"); - $EVENT$="St. Patrick"; + $EVENT$="Patrick"; $@PATRICK_DAYMAX=.patrick_endday; enablenpc "sPatrick"; enablenpc "Patrick Saulc"; @@ -455,7 +455,7 @@ OnClock0000: // Begin the event else if (.@d == .worker_stday && .@m == .worker_stmon) { kamibroadcast("Worker Day begun!"); - $EVENT$="Worker Day"; + $EVENT$="Worker"; } // End the event the day after else if (.@d == .worker_endday+1 && .@m == .worker_endmon) { diff --git a/npc/functions/news.txt b/npc/functions/news.txt index 6593e9fd0..aedc04167 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -400,7 +400,7 @@ function script EventHelp { mes l("Who will collect the most?!"); mesc l("Location: Enchanted Forest, access by Soul Menhir."), 3; ///////////////////////////////////////////////////////////////////////// - } else if ($EVENT$ == "St. Patrick") { + } else if ($EVENT$ == "Patrick") { mesc ".:: " + l("St. Patrick Day") + " ::.", 2; mes ""; mes l("A golden pot in woodlands shall reward those who wear green."); @@ -412,7 +412,7 @@ function script EventHelp { mes l("Feeling lucky?"); mesc l("Location: North Woodlands, south of Nivalis."), 3; ///////////////////////////////////////////////////////////////////////// - } else if ($EVENT$ == "Worker Day") { + } else if ($EVENT$ == "Worker") { mesc ".:: " + l("Worker Day") + " ::.", 2; mes ""; mes l("The International Worker Day is a traditional celebration,"); diff --git a/npc/functions/soul_menhir.txt b/npc/functions/soul_menhir.txt index 299d6067c..732322ba1 100644 --- a/npc/functions/soul_menhir.txt +++ b/npc/functions/soul_menhir.txt @@ -11,7 +11,7 @@ function script SoulMenhir { rif($@GM_EVENT, l("Send soul to the Mana Plane for GM events")), L_Aeros, rif($EVENT$ == "Valentine", l("[Valentine Day] Send soul to the Valentine Highlands!")), L_Valentine, rif($EVENT$ == "Easter", l("[Easter] Send soul to the Mana Forest!")), L_Easter, - rif($EVENT$ == "Worker Day", l("[Worker Day] Send soul to the Contributor Cave!")), L_Worker, + rif($EVENT$ == "Worker", l("[Worker Day] Send soul to the Contributor Cave!")), L_Worker, rif($EVENT$ == "Christmas", l("[Christmas] Send soul to the Christmas Workshop!")), L_Xmas, // TODO: In future there'll be an event map l("Leave it alone."), L_Return; @@ -82,7 +82,7 @@ L_Easter: close; L_Worker: - if ($EVENT$ != "Worker Day") goto L_DontPanic; + if ($EVENT$ != "Worker") goto L_DontPanic; warp "001-5", 22, 79; message strcharinfo(0), l("You are now at the Mana Plane of Existence, at the Contributor's Cave."); close; |