/**
* Basic inheritable for a package. The main difference between this and
* /obj/baggage is that the value of this is the sum of the values of the
* items in the package.
*
* @author ceres
*/
inherit "/obj/baggage";
int query_value() {
int value;
object ob;
value = ::query_value();
foreach(ob in all_inventory())
value += ob->query_value();
return value;
}
/** @ignore yes */
mixed query_static_auto_load() {
if ( base_name(this_object()) + ".c" == __FILE__ )
return int_query_static_auto_load();
return ([ ]);
}