[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /std/shops/book_shop.c</h2>
This is a specialisation of the craft shop inheritable.  It adds in the
ability to read specified pages from books.<p>Written by Pinkfish<p>Started Thu Sep 10 23:51:01 PDT 1998
<h2>Inherits</h2>
This class inherits the following classes <a href="std.shops.craft_shop.c.shtml">/std/shops/craft_shop.c</a><h2>Includes</h2>
This class includes the following files /include/shops/craft_shop.h<h2>Method index</h2>
<dl><ul>
<li><a href="#browse_pages">browse_pages</a>(object *)<br/>
This is like a normal browse, but it allows us to look at specific pages
in the book.
<li><a href="#choose_which_page">choose_which_page</a>(function, int, string, object *)<br/>
This method gets the player to choose a page to allow to browse
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="browse_pages">
browse_pages</a><pre>
int browse_pages(object * obs)
</pre></br>
This is like a normal browse, but it allows us to look at specific pages
in the book.
<br/><ul>
<li><b>Parameters:</b>
<br/>number - the page number to browse
<br/>obs - the objects whose pages to browse
<li><b>Returns:</b>
<br/>0 on failure, 1 on success

</dl>


<h2>Protected Functions</h2>
These are functions that only objects inheriting the class can access.<p>
<ul><a name="choose_which_page">
choose_which_page</a><pre>
int choose_which_page(function end_func,
                      int value,
                      string name,
                      object * sellables)
</pre></br>
This method gets the player to choose a page to allow to browse
<br/><ul>
<li><b>Parameters:</b>
<br/>end_func - the function to evaluate when finished
<br/>value - the value of the sellables
<br/>name - the name to sell the object for
<br/>sellables - the objects to sell

</dl>


[an error occurred while processing this directive]

