summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-14 19:33:31 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-14 19:33:31 -0300
commitf19a7be6b0133fa1bda818613aff8c045eca7e47 (patch)
tree5aa727a4b71e2667693c26e4c24e53dae88fd45c
parentd64aee5f0f7a8328749922b5a96f0056c3fea27c (diff)
downloadserverdata-jesusalva/books.tar.gz
serverdata-jesusalva/books.tar.bz2
serverdata-jesusalva/books.tar.xz
serverdata-jesusalva/books.zip
Follow gumi advice and split 001-2-6 book in two chapters.jesusalva/books
Correct authors list as requested by gumi. Change when setq2 happens as gumi said. About deprecated syntax, I didn't understood what to do.
-rw-r--r--npc/001-1/salem.txt2
-rw-r--r--npc/001-2-6/books.txt50
2 files changed, 37 insertions, 15 deletions
diff --git a/npc/001-1/salem.txt b/npc/001-1/salem.txt
index b8b4b964..2917b540 100644
--- a/npc/001-1/salem.txt
+++ b/npc/001-1/salem.txt
@@ -152,9 +152,9 @@ L_AboutPious:
// Gives player a book about pet caring if wasn't given yet and there is space.
if (!getq2(ArtisQuests_CatchPiou))
{
- setq2 ArtisQuests_CatchPiou, 1;
inventoryplace PetcaringGuide, 1;
getitem PetcaringGuide, 1;
+ setq2 ArtisQuests_CatchPiou, 1;
speech S_LAST_NEXT,
l("This book should contain everything you need to know about pet caring."),
l("You can read it at the library too.");
diff --git a/npc/001-2-6/books.txt b/npc/001-2-6/books.txt
index 0ee164cf..778c5d6c 100644
--- a/npc/001-2-6/books.txt
+++ b/npc/001-2-6/books.txt
@@ -1,8 +1,8 @@
// Evol scripts.
// Authors:
+// Jesusalva
// Reid
// WildX
-// Jesusalva
// Description:
// Aemil books
@@ -268,19 +268,41 @@ OnInit:
001-2-6,44,47,0 script #001-2-6-Book8 NPC_NO_SPRITE,{
function read_book {
- narrator 1,
- l("World Story For Dummies, Vol III - Aemilean Era: The Mana Tree and The Mana War"),
- l("Aemilean Era. Tulimshar, Hurnscald and Nivalis held power of their surrounding lands, except for the Land Of Fire and Keshlam City."),
- l("All races were in peace until the Humans set forth to discover the Source of Magic, based on Ukar scholars studies."),
- l("Free Mana travels in many directions, and this search took several years before the expedition finally found the right direction to follow."),
- l("A large tree was found in a deep cave underneath the island of Candor. Despise the darkness of the cave and absence of leaves, the tree grew strong. It gave light off itself and its energy empowered the wizards."),
- l("The tree was entitled The Mana Tree, and the Wizard Order took control over Candor Island. They learnt to control the mana flow, and limited its use, claiming Magic to be too dangerous for public use."),
- l("This action was met with widespread opposition from all races, and a war broke. The tritans led the offensive, in attempts to keep the tree untouched and mana available for all."),
- l("Unable to win, the tritans attacked Hurnscald. While human troops moved in attempts to avoid its fall, the Kralog and Ukar joined the tritans and they took the city."),
- l("The next and final battle happened at Candor. Wizards attacks from both sides near the Mana Tree provoked a Mana Storm. A Great Quake shook the earth of Ancea and the land began to split. Geography changed, and Keshlan vanished from the map."),
- l("The Mana Tree was lost, the caves entrances destroyed, and the Wizard Order was split in two: One part was on Candor, and other at the Magic Tower."),
- l("After this war, the Raijin race was born. A race born of Magic. Humans encapsulated in a Mana storm and altered forever."),
- l("-- Continues on Volume IV --");
+ mes l("World Story For Dummies, Vol III - Aemilean Era: The Mana Tree and The Mana War");
+
+ @menu = 0; // reset for the rif
+
+ do
+ {
+ narrator S_NO_NPC_NAME,
+ l("Please select a chapter:");
+
+ mes "";
+
+ select
+ rif(@menu == 1, "► ") + l("Ch 1 — Introduction"),
+ rif(@menu == 2, "► ") + l("Ch 2 — The War");
+
+ switch(@menu)
+ {
+ case 1:
+ narrator 1,
+ l("Aemilean Era. Tulimshar, Hurnscald and Nivalis held power of their surrounding lands, except for the Land Of Fire and Keshlam City."),
+ l("All races were in peace until the Humans set forth to discover the Source of Magic, based on Ukar scholars studies."),
+ l("Free Mana travels in many directions, and this search took several years before the expedition finally found the right direction to follow."),
+ l("A large tree was found in a deep cave underneath the island of Candor. Despise the darkness of the cave and absence of leaves, the tree grew strong. It gave light off itself and its energy empowered the wizards."),
+ l("The tree was entitled The Mana Tree, and the Wizard Order took control over Candor Island. They learnt to control the mana flow, and limited its use, claiming Magic to be too dangerous for public use.");
+
+ case 2:
+ narrator 1,
+ l("This action was met with widespread opposition from all races, and a war broke. The tritans led the offensive, in attempts to keep the tree untouched and mana available for all."),
+ l("Unable to win, the tritans attacked Hurnscald. While human troops moved in attempts to avoid its fall, the Kralog and Ukar joined the tritans and they took the city."),
+ l("The next and final battle happened at Candor. Wizards attacks from both sides near the Mana Tree provoked a Mana Storm. A Great Quake shook the earth of Ancea and the land began to split. Geography changed, and Keshlan vanished from the map."),
+ l("The Mana Tree was lost, the caves entrances destroyed, and the Wizard Order was split in two: One part was on Candor, and other at the Magic Tower."),
+ l("After this war, the Raijin race was born. A race born of Magic. Humans encapsulated in a Mana storm and altered forever."),
+ l("-- Continues on Volume IV --");
+ }
+ } while (true);
}
OnShelfUse: