<html><head><title>File lantern.c </title></head><body bgcolor="#ffffff" TEXT="#000030" LINK="#4a529c" VLINK="#b57339">[ <a href="index.html">Package Index</a></code> | <a href="index_std.html">Mudlib Index</a></code> | <a href="index_eff.html">Effect Index</a></code> ]<br><h2>File /obj/lantern.c</h2> This method returns the maximum amount of fuel for the object. <hr><h2>Inherits</h2> This class inherits the following classes <a href="std.object.c.html">/std/object.c</a><hr><h2>Includes</h2> This class includes the following files <a href="include.fuel_handler.h.html">/include/fuel_handler.h</a><hr><h2>Method index</h2> <dl><dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#consume_fuel"><b>consume_fuel</b></a>()<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#do_dowse"><b>do_dowse</b></a>()<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#do_extinguish"><b>do_extinguish</b></a>()<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#do_light"><b>do_light</b></a>()<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#init_dynamic_arg"><b>init_dynamic_arg</b></a>(mapping)<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#out_of_fuel"><b>out_of_fuel</b></a>()<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#pretty_plural"><b>pretty_plural</b></a>(object)<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#query_dynamic_auto_load"><b>query_dynamic_auto_load</b></a>()<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#query_fuel_left"><b>query_fuel_left</b></a>()<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#query_max_fuel"><b>query_max_fuel</b></a>()<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#set_fuel_left"><b>set_fuel_left</b></a>(int)<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#short"><b>short</b></a>(int)<dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#stats"><b>stats</b></a>()</dl><hr><h2>Public Functions</h2> These are functions that everyone can access.<p><dl> .<dt><a name="consume_fuel"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>consume_fuel</b></a><pre> void consume_fuel() </pre> <dt><a name="do_dowse"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>do_dowse</b></a><pre> int do_dowse() </pre> <dt><a name="do_extinguish"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>do_extinguish</b></a><pre> int do_extinguish() </pre> <dt><a name="do_light"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>do_light</b></a><pre> int do_light() </pre> <dt><a name="init_dynamic_arg"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>init_dynamic_arg</b></a><pre> void init_dynamic_arg(mapping arg) </pre> <dt><a name="out_of_fuel"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>out_of_fuel</b></a><pre> void out_of_fuel() </pre> <dt><a name="pretty_plural"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>pretty_plural</b></a><pre> string pretty_plural(object thing) </pre> <dt><a name="query_dynamic_auto_load"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>query_dynamic_auto_load</b></a><pre> mapping query_dynamic_auto_load() </pre> <dt><a name="query_fuel_left"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>query_fuel_left</b></a><pre> int query_fuel_left() </pre> <dt><a name="query_max_fuel"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>query_max_fuel</b></a><pre> int query_max_fuel() </pre> <dt><a name="set_fuel_left"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>set_fuel_left</b></a><pre> void set_fuel_left(int i) </pre> <dt><a name="short"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>short</b></a><pre> string short(int i) </pre> <dt><a name="stats"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>stats</b></a><pre> mixed * stats() </pre> </dl> <hr> <center><font size="-1"><a href="http://discworld.imaginary.com/login.html">Discworld MUD</a>'s distribution world wide web pages.<br>brought to you by<br><strong>Cut Me Own Throat Dibbler's <a href="http://discworld.imaginary.com/sausages.html">Sensational Sausages</a>; buy one while they are hot.</strong><br>File last modified: Tue, 14 Oct 2003 17:25:49 GMT<br> <hr>Lost? Try Discworld's <a href="http://discworld.imaginary.com/">home page</a>.</center></body></html>