summaryrefslogtreecommitdiff
path: root/npc/018-6-3/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-07 14:37:56 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-07 14:37:56 -0300
commit53f406525bab0f830f5fe72daf6a9c0cc9ad2b05 (patch)
tree59e96f895e28cd46b36e562b173fa05484f80f66 /npc/018-6-3/main.txt
parent89a5a7f51f3b66206943d6ec2eb7e5542b32f72e (diff)
downloadserverdata-53f406525bab0f830f5fe72daf6a9c0cc9ad2b05.tar.gz
serverdata-53f406525bab0f830f5fe72daf6a9c0cc9ad2b05.tar.bz2
serverdata-53f406525bab0f830f5fe72daf6a9c0cc9ad2b05.tar.xz
serverdata-53f406525bab0f830f5fe72daf6a9c0cc9ad2b05.zip
Major NPCs from 018-6-3
Diffstat (limited to 'npc/018-6-3/main.txt')
-rw-r--r--npc/018-6-3/main.txt88
1 files changed, 88 insertions, 0 deletions
diff --git a/npc/018-6-3/main.txt b/npc/018-6-3/main.txt
index 9cdbeae52..ec3d771b6 100644
--- a/npc/018-6-3/main.txt
+++ b/npc/018-6-3/main.txt
@@ -871,5 +871,93 @@ OnInstanceInit:
// Altar: 90,90
// Room: 74,83 ~ 106,97
+018-6-3,90,90,0 script Mana Stone#01863 NPC_MANA_STONE,{
+ mesn;
+ mes l("The mighty Mana Stone does not reacts against you.");
+ mes l("It's")+b(l("small, red, round and shiny."));
+ mes l("If you fell ready, perhaps you should touch it?");
+ mes "";
+ select
+ l("Touch it!"),
+ l("Take it!"),
+ l("Break it!"),
+ l("Leave it alone!");
+ mes "";
+ @difficulty_modulus=10;
+ switch (@menu) {
+ case 1:
+ mesc l("Curiously, you try to touch the Mana Stone.");
+ next;
+ case 2:
+ mesc l("Determinately, you move your hand to grab it.");
+ next;
+ case 3:
+ mesc l("Are you out of your mind?!");
+ mesc l("If you break that, you will never go to the World's Edge!");
+ next;
+ mesc l("Attempt to break the Mana Stone?"), 1;
+ if (askyesno() == ASK_NO)
+ close;
+ mes "";
+ @difficulty_modulus+=10;
+ break;
+ default:
+ close;
+ }
+ mes "";
+ mes ".:: " + l("The Mana Stone") + " ::.";
+ mesq l("Do you think yourself worthy of my power?");
+ next;
+ // Both choices are valid, actually.
+ askyesno();
+ mes ".:: " + l("The Mana Stone") + " ::.";
+ if (@menu == ASK_YES)
+ mesq l("Then prove yourself!");
+ else
+ mesq l("But that's no excuse for cowardice!");
+ next;
+ mes ".:: " + l("The Mana Stone") + " ::.";
+ mesq l("Foolish mortal, who doesn't knows what you are doing!");
+ next;
+ setnpcdisplay instance_npcname("Mana Stone#01863"), NPC_LIGHTBRINGER;
+ mes ".:: " + l("The Mana Stone") + " ::.";
+ mesq l("I shall decide here and now, if you are worth of living in this world!");
+ next;
+ mes ".:: " + l("The Mana Stone") + " ::.";
+ mesq l("I am the Judge, and I shall make Judgment upon you!");
+ mesc l("WARNING: ")+l("If you die or logout here, the quest will be reset!"), 1;
+ next;
+ //doevent
+ //disablenpc
+ Exception("Could not begin the Boss Fight!", RB_SPEECH|RB_ISFATAL);
+ close;
+
+// Mana Stone is the initial NPC, not hidden
+OnInit:
+ disablenpc .name$;
+ end;
+}
+
+018-6-3,90,90,0 script ???#01863 NPC_NO_SPRITE,{
+ mesc l("You see a red apple here. It is ")+b(l("small, red, round and shiny."));
+ next;
+ mesc l("Take it?");
+ if (askyesno() == ASK_YES) {
+ inventoryplace MagicApple, 1;
+ getitem MagicApple, 1;
+ //setq
+ mes "";
+ mesc l("You take the @@. It seems to be the stolen item.", getitemlink(MagicApple));
+ disablenpc instance_npcname(.name$);
+ }
+ close;
+// NPC must remain hidden.
+OnInit:
+ disablenpc .name$;
+ end;
+OnInstanceInit:
+ disablenpc instance_npcname(.name$);
+ end;
+}