summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/items/books.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/npc/items/books.txt b/npc/items/books.txt
index 825f99e64..eae6c4e99 100644
--- a/npc/items/books.txt
+++ b/npc/items/books.txt
@@ -21,12 +21,12 @@ function script FishingBook {
mes "";
select
- rif(@menu == 1, "► ") + l("Ch 1 — Fishing apparatus"),
- rif(@menu == 2, "► ") + l("Ch 2 — Baits"),
- rif(@menu == 3, "► ") + l("Ch 3 — Location"),
- rif(@menu == 4, "► ") + l("Ch 4 — Casting"),
- rif(@menu == 5, "► ") + l("Ch 5 — Reeling"),
- l("close");
+ rif2(1, true, l("Ch 1 — Fishing apparatus")),
+ rif2(2, true, l("Ch 2 — Baits")),
+ rif2(3, true, l("Ch 3 — Location")),
+ rif2(4, true, l("Ch 4 — Casting")),
+ rif2(5, true, l("Ch 5 — Reeling")),
+ l("Close");
switch(@menu)
{
@@ -177,13 +177,13 @@ OnInit:
mes "";
select
- rif( MAGIC_LVL >= 2 ,rif(@menu == 1, "► ") + l("Ch 1 — Prologue")),
- rif( MAGIC_EXP ,rif(@menu == 2, "► ") + l("Ch 2 — Mana Magic vs Common Magic")),
- rif( MAGIC_LVL >= 2 ,rif(@menu == 3, "► ") + l("Ch 3 — Subclass")),
- rif( true ,rif(@menu == 4, "► ") + l("Open Fishing Book")),
- rif( true ,rif(@menu == 5, "► ") + l("Open Petcaring Book")),
- rif( getq(NivalisQuest_BlueSageSlimes) >= 2 ,rif(@menu == 6, "► ") + l("Open Recipe Book")),
- rif( true ,rif(@menu == 7, "► ") + l("Read Rules")),
+ rif2(1, MAGIC_LVL >= 2, l("Ch 1 — Prologue")),
+ rif2(2, MAGIC_EXP, l("Ch 2 — Mana Magic vs Common Magic")),
+ rif2(3, MAGIC_LVL >= 2, l("Ch 3 — Subclass")),
+ rif2(4, true, l("Open Fishing Book")),
+ rif2(5, true, l("Open Petcaring Book")),
+ rif2(6, getq(NivalisQuest_BlueSageSlimes) >= 2, l("Open Recipe Book")),
+ rif2(7, true, l("Read Rules")),
l("Close");
switch(@menu)