|
|
[Package Index | Mudlib Index | Effect Index]
File /std/shops/inherit/commercial.c
This is the file that is the basic inheritable for commercial
properties. The only different between commercial properties and
player housing properties is that commerical ones can deal with
signs and commercial furniture.Written by Pinkfish Started Fri Apr 21 13:37:44 PDT 2000
Inherits
This class inherits the following classes /std/shops/inherit/person_expressions.c, /std/room/player_housing.c and /std/shops/inherit/expression_util.cIncludes
This class includes the following files /include/player.h, /include/mail.h, /include/player_handler.h, /include/shops/bank.h, /include/money.h, /include/expressions.h, /include/move_failures.h and /include/playtesters.hClass Index
Method index
- add_commercial_thing(object)
This method adds a commercial thing into the list of current
commercial things.
- adjust_royalty(string, int)
This method adds money into the specified person's royalty
float.
- do_add_royalties(string)
Adds money into the float for the shop.
- do_black_list_add(string)
This method adds the person to the black list.
- do_black_list_add_ignore()
This method adds their ignore list to the black list
- do_black_list_remove(string)
This method removes the person from the black list.
- do_collect()
This method shows the current royalties you can pick up.
- do_collect_partial_royalties(string)
This method collects royalities up to a certain amount.
- do_deposit(object *)
This method deposits money into the float
- do_measure()
- do_name_property(string)
This method gives the property a name.
- do_pay_entry()
This method lets the person pay for entry into the premesis.
- do_purchase()
This methof calls ups the estate person to purchase stuff off.
- do_remove_sign()
This method removes the sign from the property.
- do_royalties()
This method shows any royalties that you might be able to collect.
- do_royalty_list()
This method shows any royalties that you might be able to collect.
- do_set_sign(object *)
This method sets the sign you wish to use for your property.
- do_use_expression(string)
This method sets up the expression to use when calculating the
ability to use the shop.
- do_use_expression_type(string, string)
This method sets up the expression to use when calculating the
ability to use the shop.
- find_commercial_items(string)
This function will try and track down a specific type of commercial
object in the current location.
- find_next_commercial_id()
This method finds a unique commercial id in the room to use as new
save file.
- is_open_for(string, string)
This method is called to try and see if the property is open for
the specific type of thingy attempted.
- long(string, int)
This gets round the problems with setting the property name before
we have a save file.
- mail_weekly_status()
This method will mail out the weekly status for the shop.
- query_commercial_property()
This method returns true for any commercial property.
- query_commercial_things()
This method returns the current list of commercial things in
the room.
- query_commercial_type()
This method returns the commercial type of the property.
- query_float()
This method returns the float of the property.
- query_language()
This method returns the language items in the shop should use if they
need to use a language.
- query_main_room()
This method checks returns the main room.
- query_owners_money()
This method figures out how much float the owner has in the current
property.
- query_parcel_post()
This method tells us the current parcel post used for rejecting items.
- query_property_name()
This method returns the name of the property.
- query_property_size()
This method returns the size of the property.
- query_royalty(string)
This method returns the amount of money in the specified person's
royalty float.
- query_save_dir()
This method returns the save directory for the room.
- query_sign_object()
This method returns the current sign object for the property.
- query_weekly_status_string()
This method returns the string that will be sent to the owners at the
end of the week.
- register_use_types(string *)
This registers a set of use types so they can be seen and controlled.
- remove_commercial_thing(object)
This method removes a commercil thing from the list of current
commercial things.
- reset_weekly_status()
This method resets the weekly status when the stats are mailed out.
- set_commercial_type(string)
This method sets the commercial type of the property.
- set_language(string)
This sets the language items in the shop should be displayed in,
if a language is required.
- set_parcel_post(string)
This method sets the parcel post to use for rejecting items.
- set_property_name(string)
This method sets the name of the property.
- set_property_size(int)
This method sets the size of the property.
- set_save_dir(string)
This method sets the save directory for the the room.
- set_sign_object(object)
This method sets the current sign object.
- short()
This gets round the problems with setting the property name before
we have a save file.
Public Functions
These are functions that everyone can access.
.
void add_commercial_thing(object ob)
This method adds a commercial thing into the list of current
commercial things.
- Parameters:
thing - the thing to add
void adjust_royalty(string person,
int amount)
This method adds money into the specified person's royalty
float.
|