Difference between revisions of "Your Character"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
m (→‎Hidden Info: OCD alphabetizing (boredom))
imported>Heeheehee
m (→‎Sign & Path: OCD alphabetizing (boredom))
Line 37: Line 37:
  
 
==Sign & Path==
 
==Sign & Path==
 +
{{flink|boolean|in_bad_moon|desc=These four functions report on whether your character is ascended under the appropriate sign.}}
 
{{flink|boolean|can_eat|desc=Reports on whether your characters path allows food consumption.}}
 
{{flink|boolean|can_eat|desc=Reports on whether your characters path allows food consumption.}}
 
{{flink|boolean|can_drink|desc=Reports on whether your characters path allows booze consumption}}
 
{{flink|boolean|can_drink|desc=Reports on whether your characters path allows booze consumption}}
 +
{{flink|boolean|in_hardcore|desc=Reports on whether your character is under Hardcore restrictions.}}
 
{{flink|boolean|can_interact|desc=Reports on whether your character can access the mall, gift packages, etc.}}
 
{{flink|boolean|can_interact|desc=Reports on whether your character can access the mall, gift packages, etc.}}
{{flink|boolean|in_hardcore|desc=Reports on whether your character is under Hardcore restrictions.}}
 
 
{{flink|boolean|in_moxie_sign}}
 
{{flink|boolean|in_moxie_sign}}
 
{{flink|boolean|in_muscle_sign}}
 
{{flink|boolean|in_muscle_sign}}
 
{{flink|boolean|in_mysticality_sign}}
 
{{flink|boolean|in_mysticality_sign}}
{{flink|boolean|in_bad_moon|desc=These four functions report on whether your character is ascended under the appropriate sign.}}
+
 
 
==Consumption==
 
==Consumption==
 
{{flink|int|my_fullness|desc=Returns how full you are.}}
 
{{flink|int|my_fullness|desc=Returns how full you are.}}

Revision as of 04:10, 22 March 2010

Viewable Info

int familiar_weight( familiar )

Returns the base weight of the specified familiar.

int my_adventures()

Returns the number of adventures you have remaining. (Sample: Hedging)

int my_ascensions()

Returns the number of times your character has ascended.

int my_basestat( stat )

Returns your base value in the given stat (or substat).

int my_buffedstat( stat )

Returns your buffed value in the given stat (or substat).

class my_class()

Returns your class. (Sample: Seltzer)

familiar my_familiar()

Returns your current familiar.

int my_hp()

Returns your current HP.

string my_id()

Returns your character ID.

int my_level()

Returns your level. (Sample: Battlefield Gather)

int my_maxhp()

Returns your current maximum HP.

int my_maxmp()

Returns your current maximum MP.

int my_mp()

Returns your current MP.

string my_name()

Returns your character's name in lowercase.

stat my_primestat()

Returns the main stat of your current class. (Sample: Seltzer)

int my_turncount()

Returns the number of adventures used this ascension.


Hidden Info

int buffed_hit_stat()

Returns the buffed value of your currently used to-hit stat.

float combat_rate_modifier()

Returns the percentage adjustment to your combat rate.

stat current_hit_stat()

Returns the stat currently used to calculate to-hit percentage.

int current_mcd()

Returns the current setting of your sign-specific +ML device.

float damage_absorption_percent()

Returns the percentage of damage mitigated by your DA.

int damage_reduction()

Returns the amount of damage reduction your character currently has.

float elemental_resistance( element )

Returns the percentage of damage reduction to the given element based on your current resistance to that element.

float experience_bonus()

Returns the amount of bonus experience your receive after combat.

float initiative_modifier()

Returns the percentage adjustment to your chance of gaining initiative.

float item_drop_modifier()

Returns the percentage adjustment to item drops after combat.

float meat_drop_modifier()

Returns the percentage adjustment to meat drops after combat.

int monster_level_adjustment()

Returns the total +ML you have active, including your sign-specific device.

string my_hash()

Returns the password hash for your current session.

int raw_damage_absorption()

Returns your current DA total.

stat stat_bonus_today()

stat stat_bonus_tomorrow()

These two functions report on what stat has a stat-day bonus or $stat[none] if it isn't a stat day.

int weight_adjustment()

Returns the cumulative total of all familiar weight adjustments from all sources.


Sign & Path

boolean in_bad_moon()

These four functions report on whether your character is ascended under the appropriate sign.

boolean can_eat()

Reports on whether your characters path allows food consumption.

boolean can_drink()

Reports on whether your characters path allows booze consumption

boolean in_hardcore()

Reports on whether your character is under Hardcore restrictions.

boolean can_interact()

Reports on whether your character can access the mall, gift packages, etc.

boolean in_moxie_sign()

boolean in_muscle_sign()

boolean in_mysticality_sign()


Consumption

int my_fullness()

Returns how full you are.

int fullness_limit()

Returns your maximum fullness.

int my_inebriety()

Returns your current drunkenness.

int inebriety_limit()

Returns your maximum safe drunk (before overdrinking).

int my_spleen_use()

Returns your current spleen use.

int spleen_limit()

Returns your spleen limit.

Location Availability

boolean black_market_available()

Returns the availability of the Black Market.

boolean guild_store_available()

Returns the availability of your guild store.

boolean hippy_store_available()

Returns the availability of the Hippy Store.

boolean white_citadel_available()

Returns the availability of White Citadel.