Your Character: Difference between revisions
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
== | {{TOCright}} | ||
==Viewable Info== | |||
{{flink|string|my_name|desc=Returns your character's name in lowercase.}} | {{flink|string|my_name|desc=Returns your character's name in lowercase.}} | ||
{{flink|string|my_id|desc=Returns your character ID.}} | {{flink|string|my_id|desc=Returns your character ID.}} | ||
{{flink|class|my_class|desc=Returns your class. (''Sample'': [[Code_Samples#Sample_1:_Seltzer|Seltzer]])}} | {{flink|class|my_class|desc=Returns your class. (''Sample'': [[Code_Samples#Sample_1:_Seltzer|Seltzer]])}} | ||
{{flink|int|my_level|desc=Returns your level. (''Sample'': [[Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]])}} | {{flink|int|my_level|desc=Returns your level. (''Sample'': [[Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]])}} | ||
{{flink|int|my_adventures|desc=Returns the number of adventures you have remaining. (''Sample'': [[Code_Samples#Sample_4:_Hedging|Hedging]]) | {{flink|int|my_adventures|desc=Returns the number of adventures you have remaining. (''Sample'': [[Code_Samples#Sample_4:_Hedging|Hedging]])}} | ||
}} | |||
{{flink|int|my_turncount|desc=Returns the number of adventures used this ascension.}} | {{flink|int|my_turncount|desc=Returns the number of adventures used this ascension.}} | ||
{{flink|stat|my_primestat|desc=Returns the main stat of your current class. (''Sample'': [[Code_Samples#Sample_1:_Seltzer|Seltzer]])}} | {{flink|stat|my_primestat|desc=Returns the main stat of your current class. (''Sample'': [[Code_Samples#Sample_1:_Seltzer|Seltzer]])}} | ||
{{flink|int|my_hp|desc=Returns your current HP.}} | {{flink|int|my_hp|desc=Returns your current HP.}} | ||
{{flink|int|my_mp|desc=Returns your current MP.}} | {{flink|int|my_mp|desc=Returns your current MP.}} | ||
Line 30: | Line 14: | ||
{{flink|int|my_basestat|stat|desc=Returns your base value in the given stat (or substat).}} | {{flink|int|my_basestat|stat|desc=Returns your base value in the given stat (or substat).}} | ||
{{flink|int|my_buffedstat|stat|desc=Returns your buffed value in the given stat (or substat).}} | {{flink|int|my_buffedstat|stat|desc=Returns your buffed value in the given stat (or substat).}} | ||
==Hidden Info== | |||
{{flink|stat|current_hit_stat|desc=Returns the stat currently used to calculate to-hit percentage.}} | {{flink|stat|current_hit_stat|desc=Returns the stat currently used to calculate to-hit percentage.}} | ||
{{flink|int|buffed_hit_stat|desc=Returns the buffed value of your currently used to-hit stat.}} | {{flink|int|buffed_hit_stat|desc=Returns the buffed value of your currently used to-hit stat.}} | ||
Line 47: | Line 26: | ||
{{flink|float|item_drop_modifier|desc=Returns the percentage adjustment to item drops after combat.}} | {{flink|float|item_drop_modifier|desc=Returns the percentage adjustment to item drops after combat.}} | ||
{{flink|int|monster_level_adjustment|desc=Returns the total +ML you have active, including your sign-specific device.}} | {{flink|int|monster_level_adjustment|desc=Returns the total +ML you have active, including your sign-specific device.}} | ||
{{flink|stat|stat_bonus_today}} | |||
==Location Availability | {{flink|stat|stat_bonus_tomorrow|desc=These two functions report on what stat has a stat-day bonus or $stat[none] if it isn't a stat day.}} | ||
{{flink|int|current_mcd|desc=Returns the current setting of your sign-specific +ML device.}} | |||
==Sign & Path== | |||
{{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_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_muscle_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== | |||
{{flink|int|my_fullness|desc=Returns how full you are.}} | |||
{{flink|int|fullness_limit|desc=Returns your maximum fullness.}} | |||
{{flink|int|my_inebriety|desc=Returns your current drunkenness.}} | |||
{{flink|int|inebriety_limit|desc=Returns your maximum safe drunk (before overdrinking).}} | |||
{{flink|int|my_spleen_use|desc=Returns your current spleen use.}} | |||
{{flink|int|spleen_limit|desc=Returns your spleen limit.}} | |||
=Location Availability= | |||
{{flink|boolean|black_market_available|desc=Returns the availability of the Black Market.}} | {{flink|boolean|black_market_available|desc=Returns the availability of the Black Market.}} | ||
{{flink|boolean|guild_store_available|desc=Returns the availability of your guild store.}} | {{flink|boolean|guild_store_available|desc=Returns the availability of your guild store.}} | ||
{{flink|boolean|hippy_store_available|desc=Returns the availability of the Hippy Store.}} | {{flink|boolean|hippy_store_available|desc=Returns the availability of the Hippy Store.}} | ||
{{flink|boolean|white_citadel_available|desc=Returns the availability of White Citadel.}} | {{flink|boolean|white_citadel_available|desc=Returns the availability of White Citadel.}} |
Revision as of 11:18, 6 March 2010
Viewable Info
string my_name()
string my_id()
class my_class()
int my_level()
int my_adventures()
int my_turncount()
stat my_primestat()
int my_hp()
int my_mp()
int my_maxhp()
int my_maxmp()
Hidden Info
stat current_hit_stat()
float damage_absorption_percent()
float elemental_resistance( element )
float combat_rate_modifier()
float initiative_modifier()
float experience_bonus()
float meat_drop_modifier()
float item_drop_modifier()
int monster_level_adjustment()
stat stat_bonus_today()
int current_mcd()
Sign & Path
boolean can_eat()
boolean can_drink()
boolean can_interact()
boolean in_hardcore()
boolean in_moxie_sign()
boolean in_muscle_sign()
boolean in_mysticality_sign()
boolean in_bad_moon()
Consumption
int my_fullness()
int fullness_limit()
int my_inebriety()
int my_spleen_use()
int spleen_limit()
Location Availability
boolean black_market_available()
boolean guild_store_available()
boolean hippy_store_available()
boolean white_citadel_available()