Data flags

From A KoL Wiki

[ Return to Game Mechanics ]

The underlying game data often involves 'flags' which indicate how a particular object should interact with general game systems. They are not currently fully spaded. The following are known.

Flag Types

  • Inclusive - an object with this flag is included in the group of objects considered by a game mechanic.
  • Exclusive - an object with this flag is excluded from the group of objects considered by a game mechanic.
  • Boolean - Can be true or false, object is considered to have the flag when value is true.
  • Enumeration - Has a defined list of acceptable values.
  • Special/Property - entered in a text field as an item in a comma separated list. Often function calls.

Items

Flag name Type Description Spading status Test
discardable Boolean inclusive Has a 'discard' link beneath the item which deletes the item. Complete. Item description notes if an item cannot be discarded.
tradable Boolean inclusive Can be sent to other players, put in a mall store, the flea market, or a clan stash. Complete. Item description notes if an item cannot be traded.
quest Boolean inclusive 'Quest items' are automatically deleted upon ascension and cannot be placed in the closet or display case. Complete. Item description notes if an item is a quest item.
daily Boolean inclusive 'Daily items' are automatically deleted upon rollover or ascension and cannot be placed in the closet or display case? Complete. Item description notes if an item is a daily item.
nopull Boolean exclusive Unpullable items cannot be pulled from Hagnk's Ancestral Mini-Storage or the Display Case during Ronin. Complete. Item description notes if an item is unpullable.
gift Boolean inclusive Gift items may only be given to other players, they may not be sold or stolen. They can be launced at monsters with a gift-a-pult. Complete. Item description notes if an item is a gift item.
pastable Boolean inclusive Can be combined with another item using meat paste. Complete. Item description notes if an item is a meat pasting component.
smithable Boolean inclusive Can be combined with another item using Meatsmithing. Complete. Item description notes if an item is a smithing component.
cookable Boolean inclusive Can be combined with another item using Cooking. Complete. (wiki category is missing fancy ingredients which have been placed in a separate category) Item description notes if an item is a cooking ingredient.
cocktailcraftable Boolean inclusive Can be combined with another item using Cocktailcrafting. Complete. (wiki category is missing fancy ingredients which have been placed in a separate category) Item description notes if an item is a cocktailcrafting ingredient.
jewelryable Boolean inclusive Can be combined with another item using Jewelrycrafting. Complete but obsolete. Item description noted if an item was a Jewelrycrafting component.
fancy Boolean inclusive An ingredient considered fancy, which requires appropriate skills, equipment, and an adventure to craft. Compete. (wiki category for all fancy items is missing and split into Category:Fancy Cocktailcrafting Ingredients and Category:Fancy Cooking Ingredients.) Item description notes if an item is a fancy ingredient.
public Boolean inclusive Can obtain item and view item description. Not recorded Attempt to view a known item description.
fedtocoldfront Boolean inclusive An old database flag to indicate a script had sent details on an item to coldfront (the wiki and historically some other tools). Unknowable, likely obsolete and previously everything public. Unknowable.
multiuseable Boolean inclusive Can use multiple copies of the same item for crafting. Probably complete, wiki category missing a few items? Shows in the multi-use list.
mrstore Boolean inclusive This item was sold in Mr. Store. Complete (Unknown if tag applies to bound items, hatched familiars have their own Mr. Store tag so seems likely) Check Mr. Store history.
freepull Boolean inclusive Items with "freepull" can be taken from Hagnk's Ancestral Mini-Storage or the Display Case without reducing the 20 pulls per day limit, or in hardcore. Complete. Item description notes if an item is a free pull.
round Boolean inclusive Obsolete flag that previously determined if an object could be placed in any of the four Hidden City altars. With the revamp of the hidden city this is now handled via choice adventures with a small list of accepted items (mostly pool balls). Obsolete Could be selected in the drop down menu for items to be inserted into an altar.
candy Boolean inclusive Items that are considered as being made of candy. Assumed complete. Devil some Candy lists all candies except deviled candy egg?
unique Boolean inclusive Unknown. Possibly vanity items given to players such as soft cap of diminishing returns, or items that are unique equipables. Unknown. Unknown.
combatusableoverride Boolean inclusive Allows an item that is not of the combat item type to be used in combat? Unknown. Item that is not a combat item shows up in the list of available items in combat.

Outfits

Flag name Type Description Spading status Test
public Boolean inclusive The outfit can be successfully equipped and its description can be viewed. Easily inferred but currently not recorded in spading data. Attempt to view the outfit description.
nopolymorph Boolean exclusive Outfit pieces do not have a zap group. Not recorded. Try to zap an outfit piece.

Familiars

Flag name Type Description Spading status Test
public Boolean inclusive Can grow hatchling and view familiar description. Easily inferred but currently not recorded in spading data. Attempt to view familiar description
mrstore Boolean inclusive Comma Chameleon cannot produce familiar equipment for familiars marked with the mrstore flag. Not recorded Infer from Mr. Store history. Check comma does not produce it's equipment.
petrock Boolean inclusive Is a pet rock. Can wear pet rock disguises? Complete Check it can wear a pet rock disguise.
allowedinhat Boolean inclusive Can use Crown of Thrones or Buddy Bjorn. Complete Attempt to place it inside Crown of Thrones or Buddy Bjorn.
stats Boolean filter property inclusive Appears in the stats category of familiars (gives stats somehow). Not recorded Check familiar appears in category
meat Boolean filter property inclusive Appears in the meat category of familiars (Increases meat drops). Not recorded Check familiar appears in category
itemdrops Boolean filter property inclusive Appears in the item drops category of familiars (Increases item drop %). Not recorded Check familiar appears in category
attack Boolean filter property inclusive Appears in the attack category of familiars (Deals damage in combat). Not recorded Check familiar appears in category
defense Boolean filter property inclusive Appears in the defense category of familiars (Has a defensive ability). Not recorded Check familiar appears in category
hp_restore Boolean filter property inclusive Appears in the HP restore category of familiars (gives HP somehow). Not recorded Check familiar appears in category
mp_restore Boolean filter property inclusive Appears in the MP restore category of familiars (gives MP somehow). Not recorded Check familiar appears in category
items Boolean filter property inclusive Appears in the items category of familiars (drops items). Not recorded Check familiar appears in category
underwater Boolean filter property inclusive Appears in the underwater category of familiars (can be used underwater). Not recorded Check familiar appears in category
other Boolean filter property inclusive Appears in the other category of familiars (?). Not recorded Check familiar appears in category

Monsters

Flag name Type Description Spading status Test
boss Boolean inclusive Monster is considered a boss, this flag prevents copying, wandering, insta-kills. It may have additional effects such as setting once-per-ascension flags? There may be some edge-cases where monsters simply have all the flags to appear like a boss. No stat variance and no scaling?
executeonwin Special inclusive executes a script on combat win. One of many specials checked to determine if a monster is eligible for wishing. Not recorded Check for post-combat messages on a copy of the monster outside its location. Infer from game state changes.
itemblock Special inclusive Cannot use items against this monster, has a message for blocking them. unrecorded Try to use a item and check for failure and a message.
overridepic Special inclusive Image set in code? Not spaded Dataspider does not alter monster image and monster is not a boss.
noputty (nocopy) Special exclusive Monsters with this flag are not eligible for any copying mechanic. Fully spaded (wiki category incomplete). Use any copier and check for a failure.
nowish Derived from executeonwin and other specials Not a flag within the game data, however it is used in spading to denote which monsters that are copyable cannot be wished for. In almost all cases this is due to one of a number of post-combat flags that cause scripts to run at the end of combat and update variables/quests. Assumed fully spaded (it has been some time since the discovery of another zone with post-combat scripts). Wish for a monster known to be copyable using the format I wish I was fighting a $monstername.
nobanish Special exclusive Cannot be banished Is this a real flag? the monsters marked are all from nobanish zones create a wanderer of the monster then attempt to banish it.
instakillimmune Special inclusive Cannot be insta-killed Monster list likely incomplete. Use an insta-kill and check for failure.
scale Special inclusive Scales relative to your mainstat? Complete. May need differentiation from other scaling types. Fight a monster and determine it scales simply to your mainstat?
skillblock Special inclusive Cannot use skills against this monster, has a message for blocking them. unrecorded Try to use a skill and check for failure and a message.
unkillable Special inclusive Cannot be defeated by any means. unrecorded Try to use Slaughter and check for failure.
  • adventurecost?

Monster drops

Flag name Type Description Spading status Test
ns13conditional ?? A new type of conditional developed for the NS13 revamp, sometimes evaluated differently from the older type of condtional. Not recorded
pickpocket Boolean inclusive Often called nopickpocket. Determines whether an item can be stolen. (Independent of drop conditions? However older monsters usually had pickpocket=false set when they had a drop condition). Near complete, may be a small number of unflagged drops. Use a steal mechanic repeatedly until statistically certain all drops have been observed?

Adventures

Flag name Type Description Spading status Test
free Boolean inclusive No adventure cost. (Usually location and path introductions) Not recorded in spading data. Encounter an adventure and check if it cost an adventure.
supressadventureagain Boolean inclusive No adventure again link at bottom of adventure, only presented with the return option? Not recorded in spading data. Encounter an adventure check what options are given.

Choices

Flag name Type Description Spading status Test
madlib Boolean inclusive The description is run through madlib()? Not recorded in spading data.
nochoiceexit Boolean inclusive Can be exited without selecting a choice. Not recorded in spading data. Attempt to return to the main map from a choice.

Places

Flag name Type Description Spading status Test
public Boolean inclusive The place can be accessed by viewing it in the UI, normally by clicking from the main map. Easily inferred but currently not marked in spading data (wiki uses retired template for non-public places) Attempt to visit a place, typically infer from game announcements.

Locations

Flag name Type Description Spading status Test
public Boolean inclusive The location can be adventured in by players if they meet the conditions. Easily inferred but currently not marked in spading data (wiki uses retired template for non-public locations) Attempt to visit a location when its known conditions are met, typically infer from game announcements.
diminishdrops Special inclusive Passed an integer variable. % decrease in chance per zone drop. Affects item drops within the zone, speculated to be a flat item drop penalty increased every time an item drops in the zone. See Sloppy Seconds Diner. Not recorded. Inferred from game state knowledge.
executeonload Special inclusive Executes a script when location is entered. Not recorded. Inferred from game state knowledge.
forcenoncombat Special inclusive Takes an integer value. Forces a non-combat to occur after the given number of turns. See Sonar (every 5). Mostly complete? Inferred from game state knowledge.
nobanish Special exclusive Cannot banish monsters in the zone. See charter zones. Not recorded. Try to banish a monster in the zone.
nononcombatforce Special exclusive Prevents the use of non-combat forcers. Not recorded. Adventure in a zone with a forcer active (can only test zones with non-combats but flag unlikely to be used on zones without).
nowanderingmonsters Special exclusive Wandering monsters cannot appear in the location (does not interact with mechanics that place monsters into the adventure queue). Blocks Dart Perks. May also block Eldritch Attunement, Hallowiener Dog adventures, and Turtle Taming adventures. It is unknown if this is one flag or more. There may be a second flag blocking non-native non-combat adventures. Zone list likely incomplete.
nomonsterfreqmods Special exclusive Blocks Adventure Queue modifiers sniffs, Habitat, Extrovermectin™, or banishes. Also blocks June cleaver dreams. Also has the effects of nowanderingmonsters. Zone list likely incomplete, Crimbo 2024 and 2023 to be checked.
zoneexecuteonwin Special inclusive Executes a script when a combat is won in the location. Not recorded. Inferred from game state knowledge.
  • Which flag affects miniature crystal ball eligibility?
  • Why does The Inner Wolf Gym only block Batter Up! and not other banishes? Does it block batter up? Seems to block wanderers and any non-native NC including cleaver.
  • What flags is Secret Tropical Island Volcano Lair it blocks banish and sniff.
  • Is there a nosniff flag?
  • It seems likely there are two flags for blocking non-native NC, one that doesnt block cleaver and one that does.
  • What about Easter Island? and other crimbo zones. Hallowiener is accessible but banish and sniff can't be used, sometimes Crimbo items for queue manip are available.

Effects

Flag name Type Description Spading status Test
public Boolean inclusive The effect can be acquired and its description viewed. Easily inferred but currently not marked in spading data (wiki uses retired template for non-public effects) Attempt to view a known effect description id.
quality Enumeration inclusive Used when determining what effects you can acquire from a source. good, bad, mixed bag possible values. Bad effects are typically blocked from random sources of effects. Mostly complete but not always up to date. Attempt to acquire an effect from a source with known restrictions. Often inferred from the effect modifiers.
nohookah Property exclusive Used to exclude powerful effects from random sources of effects. Mostly complete but not always up to date. Attempt to acquire an effect from a source with known restrictions.
noremove Property exclusive Used to prevent effects from being removed, typically timers such as Everything Looks Red. ? Attempt to remove with an effect remover.
noextend Property exclusive Used to exclude powerful effects from mechanics that can extend effect turns. ? Attempt to use an effect extended when only the test effects are eligible.

Skills

Flag name Type Description Spading status Test
public Boolean inclusive The skill can be acquired and its description viewed. Easily inferred but currently not marked in spading data (wiki uses retired template for non-public skills) Attempt to view a skill description.
forcealldrops Special inclusive skill use causes all items to drop. A yellow ray. Not recorded Use against a monster and check for a special message indicating its items have dropped followed by the items that can be forced.
permable Special inclusive Skill can be permanent learned in Jermery's Permery Complete Check characters permanent skill list when they are available to use. View the list of available skills in Jermery's Permery.

Shops

Flag name Type Description Spading status Test
allowbuymax Boolean inclusive Enables multi-buy? Easily inferred but currently not recorded in spading data. View the shop.
hideunmakeable Boolean inclusive When a condition on a shop row is not satisfied replace the row with question marks? See The Dedigitizer. Easily inferred but currently not recorded in spading data. Attempt to view a shop without satisfying all the conditions for purchase (usually lacking required items for purchase).

Recipes

Flag name Type Description Spading status Test
public Boolean inclusive The recipe can be crafted or learned. Easily inferred but currently not marked in spading data (wiki uses retired template for non-public recipes) Attempt to craft a known recipe.
recipecookingonly Boolean inclusive Can only be crafted when the recipe is already known? See Category:Crafting Plans. May be missing recipes from newer IotMs. Attempt to craft a recipe without having learnt it.

Notes

  • Mafia uses a psuedo-flag nowander for monsters that do not increment the wanderer timer (proto-pack ghosts). This is a badly named proxy for a property of encounter ordering. Needs spading to see if the changes to proto-ghost encounter ordering have removed this behaviour.