[Package Index | Mudlib Index | Effect Index]

File /std/living/stats.c

This function is called by restore_object() if old variable names are found in a savefile. This allows us to handle the lost values smoothly.

Includes

This class includes the following files /include/move_failures.h, /include/config.h, /include/living.h and /include/skills.h

Method index

Public Functions

These are functions that everyone can access.

adjust_bonus_con
int adjust_bonus_con(int number)
adjust_bonus_dex
int adjust_bonus_dex(int number)
adjust_bonus_int
int adjust_bonus_int(int number)
adjust_bonus_str
int adjust_bonus_str(int number)
adjust_bonus_wis
int adjust_bonus_wis(int number)
adjust_con
int adjust_con(int number)
adjust_dex
int adjust_dex(int number)
adjust_int
int adjust_int(int number)
adjust_str
int adjust_str(int number)
adjust_tmp_con
int adjust_tmp_con(int number)
adjust_tmp_dex
int adjust_tmp_dex(int number)
adjust_tmp_int
int adjust_tmp_int(int number)
adjust_tmp_str
int adjust_tmp_str(int number)
adjust_tmp_wis
int adjust_tmp_wis(int number)
adjust_wis
int adjust_wis(int number)
calc_inc_rates
void calc_inc_rates()
check
int check(int number)
check_stats_zero
void check_stats_zero()
heart_beat
void heart_beat()
hp_base
int hp_base()
hp_gradient
int hp_gradient()
query_base_weight
int query_base_weight()
query_bonus_con
int query_bonus_con()
query_bonus_dex
int query_bonus_dex()
query_bonus_int
int query_bonus_int()
query_bonus_str
int query_bonus_str()
query_bonus_wis
int query_bonus_wis()
query_con
int query_con()
query_dex
int query_dex()
query_height
int query_height()
query_inc_rates
int * query_inc_rates()
query_int
int query_int()
query_no_check
int query_no_check()
query_real_con
int query_real_con()
query_real_dex
int query_real_dex()
query_real_int
int query_real_int()
query_real_str
int query_real_str()
query_real_wis
int query_real_wis()
query_str
int query_str()
query_tmp_con
int query_tmp_con()
query_tmp_dex
int query_tmp_dex()
query_tmp_int
int query_tmp_int()
query_tmp_str
int query_tmp_str()
query_tmp_wis
int query_tmp_wis()
query_weight
int query_weight( int)
query_wis
int query_wis()
reset_all
void reset_all()
reset_all2
void reset_all2()
reset_carry_cap
void reset_carry_cap()
reset_gp
void reset_gp()
reset_hp
void reset_hp()
scaled_weight
int scaled_weight()
set_base_weight
void set_base_weight(int number)
set_con
int set_con(int number)
set_dex
int set_dex(int number)
set_height
void set_height(int number)
set_int
int set_int(int number)
set_no_check
void set_no_check(int i)
set_str
int set_str(int number)
set_wis
int set_wis(int number)
stats_to_zap
string stats_to_zap()
update_tmps
void update_tmps()
zap_stat
void zap_stat(string word)

Protected Functions

These are functions that only objects inheriting the class can access.

restore_lost_variable
void restore_lost_variable(mixed val,
                           string name)
silent_adjust_con
int silent_adjust_con(int number)
silent_adjust_dex
int silent_adjust_dex(int number)
silent_adjust_int
int silent_adjust_int(int number)
silent_adjust_str
int silent_adjust_str(int number)
silent_adjust_tmp_con
int silent_adjust_tmp_con(int number)
silent_adjust_tmp_dex
int silent_adjust_tmp_dex(int number)
silent_adjust_tmp_int
int silent_adjust_tmp_int(int number)
silent_adjust_tmp_str
int silent_adjust_tmp_str(int number)
silent_adjust_tmp_wis
int silent_adjust_tmp_wis(int number)
silent_adjust_wis
int silent_adjust_wis(int number)
silent_set_con
int silent_set_con(int number)
silent_set_dex
int silent_set_dex(int number)
silent_set_int
int silent_set_int(int number)
silent_set_str
int silent_set_str(int number)
silent_set_wis
int silent_set_wis(int number)