[Package Index | Mudlib Index | Effect Index]
See also:
/global/player.c
Written by Pinkfish
Started Tue Jun 25 11:27:05 PDT 2002
.
varargs int add_skill_level(string skill, int lvl, mixed exp)Mask this and don't let the skill's be upped if we are mangleing the skills.
int advancement_restriction()
void disable_damage_log()This method disables logging of PT fake damage.
void disable_death_log()This method disables logging of PT fake deaths.
int disable_personal_pt_protection()This method resets the protect flag so that adjust_hp and do_death are not masked, i.e. the player can be hurt in the normal(*) way. (*) Having "normal" ways to hurt people is quite sick... But it's fnu!
int disable_pt_protection()This method sets the PT as no longer being under room protection. Room protection does not expire and lasts until it is switched off. It also over-rides personal protection.
void enable_damage_log()This method enables logging of PT fake damage.
void enable_death_log()This method enables logging of PT fake deaths.
int enable_personal_pt_protection()This method sets the protect flag so that adjust_hp and do_death are masked.
int enable_pt_protection()This method sets the PT as being under room protection. Room protection does not expire and lasts until it is switched off. It also over-rides personal protection.
varargs int pt_adjust_hp(int hp, object attacker, object weapong, string attack)This method adjusts the fake hitpoints.
object pt_do_death()This method replaces the normal do_death() when testing. It gives players a message about how it would have hurt if it had been for real.
int pt_query_hp()This method returns the number of fake hitpoints.
void pt_set_hp(int hp)This method sets the fake hitpoints.
int query_contractable()
int query_in_pt_arena()
int query_log_damage()This method returns the status of the LOG_DAMAGE flag, i.e. whether PT fake damage is logged or not.
int query_log_death()This method returns the status of the LOG_DEATH flag, i.e. whether PT fake deaths are logged or not.
int query_playtester()This method tells us if the object is a playtester or not.
int query_pt_area(object ob)
int query_pt_exec()This method returns if the player is a pt exec or not.
string query_pt_log_file()This method returns the log file for logging of PT fake deaths and damage. The default is /d/playtesters/log/pain.
int query_pt_protection()This method returns the status of the protect flag. 2 means that they have their room protection enabled, 1 means that they have their personal protection enabled, 0 means that they are not.
int query_real_skill_level(string skill)This returns the real unadulterated level of the pt.
int query_senior_playtester(string player)This method returns if the player is a pt senior or not.
int query_skill(string skill)The playtester override for the query_skill function to allow various skill levels to be set.
int query_skill_mangle()This method returns the current skill mangle setting.
mapping query_skills_being_mangled()This method returns the current set of skills being mangled.
void remove_skill_mangle_level(string skill)This method removes a skill mangle level.
void set_pt_log_file(string str)This method sets the log file for logging of PT fake deaths and damage. The default is /d/playtesters/log/pain.
void set_skill_mangle(int flag)This sets the mangle skills flag.
int set_skill_mangle_level(string skill, int lvl)This sets the mangle level for the specific skill.
class playtester_data { int protect; int hp; string log_file; int log_death; int log_damage; int turn_off; int protection_counter; int room_protection; int skill_mangle; mapping skills; }