Your Character: Difference between revisions
imported>Bale is_familiar_equipment_locked, lock_familiar_equipment |
|||
(11 intermediate revisions by 4 users not shown) | |||
Line 16: | Line 16: | ||
{{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).}} | ||
{{flink|boolean|hippy_stone_broken|desc=Reports if your Hippy Stone is currently broken.}} | |||
{{flink|int|pvp_attacks_left|desc=Returns number of PvP attacks remaining.}} | |||
{{flink|int|total_free_rests|desc=Returns the total number of free rests available to your character.}} | |||
{{flink|int [item]|get_campground|desc=Returns a map of your campground items as integers, keyed by item names.}} | |||
{{flink|item|get_dwelling|desc=Returns the item corresponding with your dwelling (the item used to get the dwelling).}} | |||
{{flink|thrall|my_thrall|desc=Returns your current pasta thrall.}} | |||
==Resources== | |||
{{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 21: | Line 29: | ||
{{flink|int|my_maxmp|desc=Returns your current maximum MP.}} | {{flink|int|my_maxmp|desc=Returns your current maximum MP.}} | ||
{{flink|int|my_soulsauce|desc=Returns your current Soulsauce.}} | {{flink|int|my_soulsauce|desc=Returns your current Soulsauce.}} | ||
{{flink|int|my_audience|desc=Returns your current Audience.}} | |||
{{flink|int|my_thunder|desc=Returns your current Thunder.}} | {{flink|int|my_thunder|desc=Returns your current Thunder.}} | ||
{{flink|int|my_rain|desc=Returns your current Rain.}} | {{flink|int|my_rain|desc=Returns your current Rain.}} | ||
{{flink|int|my_lightning|desc=Returns your current Lightning.}} | {{flink|int|my_lightning|desc=Returns your current Lightning.}} | ||
==Familiars and Substitutes== | ==Familiars and Substitutes== | ||
Line 56: | Line 62: | ||
{{flink|int|current_mcd|desc=Returns the current setting of your sign-specific +ML device.}} | {{flink|int|current_mcd|desc=Returns the current setting of your sign-specific +ML device.}} | ||
{{flink|int|weight_adjustment|desc=Returns the cumulative total of all familiar weight adjustments from all sources.}} | {{flink|int|weight_adjustment|desc=Returns the cumulative total of all familiar weight adjustments from all sources.}} | ||
{{flink|boolean|get_ignore_zone_warnings|desc=Returns the value of the KoL option to disable "This area might be too tough for you" warnings.}} | |||
{{flink|string [location] [int]|get_florist_plants|desc=Returns the a map of all plants currently planted in every location.}} | |||
==Sign & Path== | ==Sign & Path== | ||
Line 67: | Line 75: | ||
{{flink|boolean|in_mysticality_sign}} | {{flink|boolean|in_mysticality_sign}} | ||
{{flink|boolean|in_bad_moon|desc=These four functions report on the stat gains granted by your character's ascension moon sign.}} | {{flink|boolean|in_bad_moon|desc=These four functions report on the stat gains granted by your character's ascension moon sign.}} | ||
{{flink| | {{flink|path|my_path|desc=The ascension path your character chose.}} | ||
{{flink|int|my_path_id|desc=The number of the ascension path your character chose.}} | |||
{{flink|string|my_sign|desc=The moon sign your character ascended under.}} | {{flink|string|my_sign|desc=The moon sign your character ascended under.}} | ||
Line 82: | Line 91: | ||
{{flink|boolean|canadia_available|desc=Returns the availability of Little Canadia.}} | {{flink|boolean|canadia_available|desc=Returns the availability of Little Canadia.}} | ||
{{flink|boolean|dispensary_available|desc=Returns the availability of the Knob Dispensary.}} | {{flink|boolean|dispensary_available|desc=Returns the availability of the Knob Dispensary.}} | ||
{{flink|boolean|florist_available|desc=Returns the availability of The Florist Friar's Cottage.}} | |||
{{flink|boolean|gnomads_available|desc=Returns the availability of the Gnomish Gnomad Camp.}} | {{flink|boolean|gnomads_available|desc=Returns the availability of the Gnomish Gnomad Camp.}} | ||
{{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.}} | ||
Line 90: | Line 100: | ||
==Misc.== | ==Misc.== | ||
{{Flink|string|eudora|desc=Returns your current Eudora correspondent.}} | |||
{{Flink|boolean|galaktik_cures_discounted|desc=Returns whether Doc's offers you a discount for quest completion.}} | {{Flink|boolean|galaktik_cures_discounted|desc=Returns whether Doc's offers you a discount for quest completion.}} | ||
{{Flink|int|is_unrestricted|desc=Checks whether a given game resource is available.}} | |||
{{Flink|int|moon_light|desc=Returns the total lit moon segments.}} | {{Flink|int|moon_light|desc=Returns the total lit moon segments.}} | ||
{{Flink|int|moon_phase|desc=Returns the phase (0-15) of the main moons.}} | {{Flink|int|moon_phase|desc=Returns the phase (0-15) of the main moons.}} | ||
[[Category:Scripting]] | [[Category:Scripting]] |
Latest revision as of 19:39, 2 October 2022
Viewable Info
string my_name()
string my_id()
int get_clan_id()
string get_clan_name()
int my_ascensions()
class my_class()
int my_level()
int my_adventures()
int turns_played()
int my_turncount()
int my_daycount()
stat my_primestat()
boolean hippy_stone_broken()
int [item] get_campground()
item get_dwelling()
thrall my_thrall()
Resources
int my_hp()
int my_mp()
int my_maxhp()
int my_maxmp()
int my_soulsauce()
int my_audience()
int my_thunder()
int my_rain()
int my_lightning()
Familiars and Substitutes
familiar my_familiar()
int familiar_weight( familiar )
boolean is_familiar_equipment_locked()
void lock_familiar_equipment( boolean )
int minstrel_level()
boolean minstrel_quest()
string my_companion()
Hidden Info
string my_hash()
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()
boolean get_ignore_zone_warnings()
string [location] [int] get_florist_plants()
Sign & Path
boolean can_eat()
boolean can_drink()
boolean can_interact()
boolean in_hardcore()
item daily_special()
boolean in_moxie_sign()
boolean in_muscle_sign()
boolean in_mysticality_sign()
boolean in_bad_moon()
path my_path()
int my_path_id()
string my_sign()
Consumption
int my_fullness()
int fullness_limit()
int my_inebriety()
int my_spleen_use()
int spleen_limit()
Location Availability
boolean black_market_available()
boolean canadia_available()
boolean dispensary_available()
boolean florist_available()
boolean gnomads_available()
boolean guild_store_available()
boolean hidden_temple_unlocked()
boolean hippy_store_available()
boolean knoll_available()
boolean white_citadel_available()
Misc.
string eudora()
boolean galaktik_cures_discounted()
int moon_light()
int moon_phase()