[Package Index | Mudlib Index | Effect Index]
Written by Pinkfish
Started Fri Apr 21 13:37:44 PDT 2000
.
void add_commercial_thing(object ob)This method adds a commercial thing into the list of current commercial things.
void adjust_royalty(string person, int amount)This method adds money into the specified person's royalty float.
int do_add_royalties(string amount)Adds money into the float for the shop.
int do_black_list_add(string name)This method adds the person to the black list.
int do_black_list_add_ignore()This method adds their ignore list to the black list
int do_black_list_remove(string name)This method removes the person from the black list.
int do_collect()This method shows the current royalties you can pick up.
int do_collect_partial_royalties(string amount)This method collects royalities up to a certain amount. This is only usable by the owner of the shop.
int do_deposit(object * obs)This method deposits money into the float
int do_measure()
int do_name_property(string name)This method gives the property a name.
int do_pay_entry()This method lets the person pay for entry into the premesis.
int do_purchase()This methof calls ups the estate person to purchase stuff off.
int do_remove_sign()This method removes the sign from the property.
int do_royalties()This method shows any royalties that you might be able to collect.
int do_royalty_list()This method shows any royalties that you might be able to collect.
int do_set_sign(object * obs)This method sets the sign you wish to use for your property. The sign will be displayed outside the property for passer bys.
int do_use_expression(string str)This method sets up the expression to use when calculating the ability to use the shop.
int do_use_expression_type(string type, string str)This method sets up the expression to use when calculating the ability to use the shop.
object * find_commercial_items(string type)This function will try and track down a specific type of commercial object in the current location. It will look into 'partitioned' rooms for the item as well.
int find_next_commercial_id()This method finds a unique commercial id in the room to use as new save file.
int is_open_for(string type, string person)This method is called to try and see if the property is open for the specific type of thingy attempted.
string long(string word, int dark)This gets round the problems with setting the property name before we have a save file.
int query_commercial_property()This method returns true for any commercial property.
object * query_commercial_things()This method returns the current list of commercial things in the room.
string query_commercial_type()This method returns the commercial type of the property.
int query_float()This method returns the float of the property. The float is the owner's current royalty balance.
string query_language()This method returns the language items in the shop should use if they need to use a language.
object query_main_room()This method checks returns the main room. THis is used when the property can have multiple sub-rooms.
int query_owners_money()This method figures out how much float the owner has in the current property.
string query_parcel_post()This method tells us the current parcel post used for rejecting items.
string query_property_name()This method returns the name of the property.
int query_property_size()This method returns the size of the property. The property size ranges from 0 (no size) to 100 (big shop).
int query_royalty(string person)This method returns the amount of money in the specified person's royalty float.
string query_save_dir()This method returns the save directory for the room. This should be used as a reference point for other save stuff.
object query_sign_object()This method returns the current sign object for the property.
string query_weekly_status_string()This method returns the string that will be sent to the owners at the end of the week.
void register_use_types(string * types)This registers a set of use types so they can be seen and controlled.
void remove_commercial_thing(object thing)This method removes a commercil thing from the list of current commercial things.
void reset_weekly_status()This method resets the weekly status when the stats are mailed out. It will also reset all the commercial objects.
void set_commercial_type(string name)This method sets the commercial type of the property.
void set_language(string language)This sets the language items in the shop should be displayed in, if a language is required.
void set_parcel_post(string parcel)This method sets the parcel post to use for rejecting items.
void set_property_name(string name)This method sets the name of the property.
void set_property_size(int size)This method sets the size of the property. The property size ranges from 0 (no size) to 100 (big shop).
void set_save_dir(string dir)This method sets the save directory for the the room.
void set_sign_object(object ob)This method sets the current sign object.
string short()This gets round the problems with setting the property name before we have a save file.
void mail_weekly_status()This method will mail out the weekly status for the shop.
class float_withdrawls { string person; int amount; int withdrawl_time; }
class royalty_data { int value; int last_withdrawl; }
class weekly_status { int total_incoming; int total_outgoing; class float_withdrawls * withdrawls; }