[Package Index | Mudlib Index | Effect Index]
Class Index
Method index
- adjust_stats(string, string, int)
- choose_save_name()
- clean_up()
This method cleans out the _data mapping to delete out of date
records.
- do_handle_shoplift(object, object)
- do_save()
- handle_shoplift(object, object)
- handle_theft(object, object, object, object, object *)
- query_shoplift_data(object, object)
Get the difficulty modifier for this player in this shop based on
how much they've stolen over what time period.
- query_stats(string)
- recalc(class shoplift_info)
This recalcs the total score.
- record_shoplift(object, object, object *)
Record a shoplift event for this player in this shop.
- theft_allow(object, object, object)
Public Functions
These are functions that everyone can access.
-
adjust_stats
void adjust_stats(string user,
string location,
int amount)
-
choose_save_name
string choose_save_name()
-
clean_up
void clean_up()
This method cleans out the _data mapping to delete out of date
records.
-
do_handle_shoplift
void do_handle_shoplift(object thief,
object victim)
-
do_save
void do_save()
-
handle_shoplift
void handle_shoplift(object thief,
object victim)
-
handle_theft
void handle_theft(object place,
object command_ob,
object thief,
object victim,
object * stolen)
-
query_shoplift_data
int query_shoplift_data(object thief,
object victim)
Get the difficulty modifier for this player in this shop based on
how much they've stolen over what time period.
- Parameters:
thief - the thief
victim - the shop
- Returns:
the difficulty modifier
-
query_stats
void query_stats(string thief)
-
recalc
class shoplift_info recalc(class shoplift_info info)
This recalcs the total score.
-
record_shoplift
void record_shoplift(object thief,
object victim,
object * stolen)
Record a shoplift event for this player in this shop.
- Parameters:
thief - the thief
victim - the victim (ie. the shop)
the - list of stolen objects
-
theft_allow
int theft_allow(object thief,
object victim,
object things)
Classes
These are nice data types for dealing with... Data!