Page 1 of 1

Reading books with numbers in the title

Posted: Sun Apr 26, 2015 12:27 am
by Liri
I noticed this quite awhile ago, but when trying to read a book that has a number in the title (for example, a book - "Chanties of the Sea, Volume two" by Kelvan), you are never able to read the chapter that shares the number, (look two will return just looking at the book). I have seen this with a number of the amazing in game books. :)

Re: Reading books with numbers in the title

Posted: Fri May 01, 2015 9:57 pm
by Tamryn
Confirmed:

Code: Select all

     (35179) a book - "Chanties of the Sea, Volume two" by Kelvan (perfect)
> look one
Stormwind's Bride

Sea Rose, Starlight, Sunset over the Oceans...
...
> look two
Chanties of the Sea, Volume two
by Kelvan Umberdawn

Chapter ONE up to Chapter EIGHT
Type "look (chapter number)" to read the book. e.g., look ONE.
Perhaps the easiest solution is to just rename the items, per other volumes of this work:

Code: Select all

> ofind chanties
[35151] (  2) A book - "Chanties of the Sea, Volume one" by Kelvan
[35179] (  3) A book - "Chanties of the Sea, Volume two" by Kelvan
[35189] (  2) A book - "Chanties of the Sea, Volume three" by Kevlan
[35232] (  1) A book - "Chanties of the Sea Volume IV." by Kelvan
[35233] (  1) A book - "Chanties of the Sea, Volume V" by Kelvan

Re: Reading books with numbers in the title

Posted: Sat May 02, 2015 2:41 am
by Raona
This happens with
A book - "Chanties of the Sea, Volume two" by Kelvan
but not with
A book - "Chanties of the Sea, Volume three" by Kevlan

This is because the keywords are unique for the latter (though they don't match the long name):
Index object description keywords: 'book kelvan Chanties Sea Chanties of the Sea, Volume two one two three four five six seven eight'
versus
Index object description keywords: 'book Kelvan Chanties Sea Volume third one two three four five'
Two possible solutions for the general case:
  • Use numerals for the chapters (1, 2, 3) rather than words
  • Avoid using chapter number names (one, two, three) in book titles
I like the former, and wrote my (one, now defunct) book to accept either format for chapter identification:
Index object description keywords: 'book waterdeep city watch training manual raona corbin 1 one introduction intro 2 two before 3 three 4 four 5 five 6 six 7 seven commencing 8 eight 9 nine 10 ten 11 eleven 12 twelve 13 thirteen 14 fourteen 15 fifteen 16 sixteen 17 seventeen 18 eighteen 19 nineteen 20 twenty 21 twenty-one twentyone 22 twenty-two twentytwo 23 twenty-three twentythree 24 twenty-four twentyfour 25 twenty-five twentyfive'
So, in short, modifying book objects with this problem is the only real fix; I think the code is doing the best it can under the circumstances.