craft_type()

From KoLMafia
Jump to: navigation, search

Function Syntax

string craft_type(item check_me )

This function returns a string identifying how an item is crafted and any other requirements for creating it.

Code Sample

Determines if an item can be untinkered. A meatpasteable item that cannot be untinkered has a craft_type of "Meatpasting (not untinkerable)".

boolean is_untinkerable(item it) {
   return craft_type( it ) == "Meatpasting";
}

See Also

More Information

Valid return values for this function (as of Nov 3, 2014) are:

  • [cannot be created]
  • Art Class
  • Beer Garden
  • Chemistry Class
  • Coin Master purchase
  • Cooking
  • Cooking (Advanced Saucecrafting)
  • Cooking (fancy)
  • Cooking (fancy) (Advanced Saucecrafting)
  • Cooking (fancy) (Deep Saucery)
  • Cooking (fancy) (Pastamastery)
  • Cooking (fancy) (Tempuramancy)
  • Cooking (fancy) (The Way of Sauce)
  • Cooking (fancy) (Transcendental Noodlecraft)
  • Crackpot Mystic
  • Grandma Sea Monkee
  • Jarlsberg's Kitchen
  • Jarlsberg's Kitchen (Bake)
  • Jarlsberg's Kitchen (Blend)
  • Jarlsberg's Kitchen (Boil)
  • Jarlsberg's Kitchen (Chop)
  • Jarlsberg's Kitchen (Curdle)
  • Jarlsberg's Kitchen (Freeze)
  • Jarlsberg's Kitchen (Fry)
  • Jarlsberg's Kitchen (Grill)
  • Jarlsberg's Kitchen (Slice)
  • Jewelry-making pliers
  • Jewelry-making pliers (Really Expensive Jewelrycrafting)
  • Malus of Forethought
  • Meatpasting
  • Meatpasting (not untinkerable)
  • Meatsmithing
  • Meatsmithing (depleted Grimacite hammer)
  • Meatsmithing (females only)
  • Meatsmithing (males only)
  • Meatsmithing (not Innabox) (Armorcraftiness)
  • Meatsmithing (not Innabox) (females only) (Armorcraftiness)
  • Meatsmithing (not Innabox) (males only) (Armorcraftiness)
  • Meatsmithing (not Innabox) (Super-Advanced Meatsmithing)
  • Mixing
  • Mixing (Advanced Cocktailcrafting)
  • Mixing (fancy)
  • Mixing (fancy) (Advanced Cocktailcrafting)
  • Mixing (fancy) (Salacious Cocktailcrafting)
  • Mixing (fancy) (Superhuman Cocktailcrafting)
  • Mixing (St. Sneaky Pete's Day only)
  • multi-use
  • multi-use (Torso Awaregness)
  • multi-use (Torso Awaregness) (Unavailable in Beecore)
  • multi-use (Unavailable in Beecore)
  • Nash Crosby's Still
  • Phineas
  • Rodoric, the Staffcrafter
  • rolling pin/unrolling pin
  • Rumpelstiltskin's Workshop
  • Shop Class
  • single-use
  • single-use (tenderizing hammer) (Super-Advanced Meatsmithing)
  • single-use (Unavailable in Beecore)
  • star chart
  • star chart (Torso Awaregness)
  • sugar sheet
  • sugar sheet (Torso Awaregness)
  • Summon Clip Art
  • Supertinkering
  • Uncle Crimbo's Futuristic Trailer (Crimboku 2012)
  • Uncle Crimbo's Mobile Home (Crimbo 2007)
  • Uncle Crimbo's Mobile Home (Crimboween 2006)
  • Winter Garden
  • Wok of Ages
  • Worse Homes and Gardens
  • Xiblaxian 5D printer