diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-22 16:13:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-22 16:13:26 -0300 |
commit | 62052250f34b8425dc2975b5a83d0355168ed342 (patch) | |
tree | 4806d9ceb92e74778a68135cb6c7d7fbd707156c /npc/items | |
parent | 67064a4d95afc1a44a4a351c3244cae5ebe7c668 (diff) | |
download | serverdata-62052250f34b8425dc2975b5a83d0355168ed342.tar.gz serverdata-62052250f34b8425dc2975b5a83d0355168ed342.tar.bz2 serverdata-62052250f34b8425dc2975b5a83d0355168ed342.tar.xz serverdata-62052250f34b8425dc2975b5a83d0355168ed342.zip |
Use rif2() in our books
Diffstat (limited to 'npc/items')
-rw-r--r-- | npc/items/books.txt | 26 |
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) |