[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 /obj/fired_weapon.c</h2>
Set the ammo type here, your ammo has to ID() to this or it can not be added.<h2>Inherits</h2>
This class inherits the following classes <a href="obj.baggage.c.shtml">/obj/baggage.c</a><h2>Includes</h2>
This class includes the following files <a href="include.tasks.h.shtml">/include/tasks.h</a>, <a href="include.cmr.h.shtml">/include/cmr.h</a>, <a href="include.playtesters.h.shtml">/include/playtesters.h</a>, <a href="include.player.h.shtml">/include/player.h</a> and <a href="include.move_failures.h.shtml">/include/move_failures.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#calc_damage">calc_damage</a>()<li><a href="#do_fire">do_fire</a>(object *)<li><a href="#fake_fire">fake_fire</a>(object, int)<br/>
This function fakes firing the weapon at the target and
is called by inhume.
<li><a href="#fetch_ammo">fetch_ammo</a>()<li><a href="#fire">fire</a>(object)<li><a href="#long">long</a>(string, int)<li><a href="#query_ammo">query_ammo</a>()<li><a href="#query_fullness_desc">query_fullness_desc</a>()<li><a href="#query_weapon">query_weapon</a>()<li><a href="#set_ammo_type">set_ammo_type</a>(string)<li><a href="#set_capacity">set_capacity</a>(int)<br/>
Set the capacity of this weapon.
<li><a href="#set_difficulty">set_difficulty</a>(int)<br/>
Set the base difficulty of using this weapon.
<li><a href="#test_add">test_add</a>(object, int)<li><a href="#weapon_stats">weapon_stats</a>()</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="calc_damage">
calc_damage</a><pre>
int calc_damage()
</pre>
<ul><a name="do_fire">
do_fire</a><pre>
int do_fire(object * targets)
</pre>
<ul><a name="fake_fire">
fake_fire</a><pre>
int fake_fire(object target,
              int success)
</pre></br>
This function fakes firing the weapon at the target and
is called by inhume.


<ul><a name="fetch_ammo">
fetch_ammo</a><pre>
object fetch_ammo()
</pre>
<ul><a name="fire">
fire</a><pre>
void fire(object target)
</pre>
<ul><a name="long">
long</a><pre>
string long(string str,
            int dark)
</pre>
<ul><a name="query_ammo">
query_ammo</a><pre>
object query_ammo()
</pre>
<ul><a name="query_fullness_desc">
query_fullness_desc</a><pre>
string query_fullness_desc()
</pre>
<ul><a name="query_weapon">
query_weapon</a><pre>
int query_weapon()
</pre>
<ul><a name="set_ammo_type">
set_ammo_type</a><pre>
void set_ammo_type(string _ammo)
</pre>
<ul><a name="set_capacity">
set_capacity</a><pre>
void set_capacity(int cap)
</pre></br>
Set the capacity of this weapon.

<ul><a name="set_difficulty">
set_difficulty</a><pre>
void set_difficulty(int dif)
</pre></br>
Set the base difficulty of using this weapon.

<ul><a name="test_add">
test_add</a><pre>
int test_add(object ob,
             int flag)
</pre>
<ul><a name="weapon_stats">
weapon_stats</a><pre>
mixed weapon_stats()
</pre>

[an error occurred while processing this directive]

