|
|
| (11 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| ← [[Modding:Index|Index]] | | ← [[Modding:Items|Items]] |
|
| |
|
| This page explains how the game stores and parses Craftables data. This is an advanced guide for mod developers. | | This page explains how the game stores and parses 'big craftable'-type item data. For items in general, see [[Modding:Items]]. |
|
| |
|
| ==Raw data== | | ==Overview== |
| Big craftables data is stored in <tt>Content\Data\BigCraftablesInformation.xnb</tt>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}} for reference: | | Big craftables are items which can be placed in the world and are two tiles tall (instead of one like [[Modding:Objects|objects]]). Unlike objects, they can't be eaten or sold to most shops. |
|
| |
|
| {{collapse|Data|content=<syntaxhighlight lang="json">
| | They have [[Modding:Items#Item types|item type]] <code>(BC)</code> (or <code>ItemRegistry.type_bigCraftable</code> in C# code), their data in <samp>Data/BigCraftables</samp>, their in-game sprites in <samp>TileSheets/Craftables</samp> by default, and their code in <samp>StardewValley.Object</samp> (based on the <code>bigCraftable</code> field). |
| {
| |
| "0": "House Plant/50/-300/Crafting -9/Adds some character to your home or farm./true/true/0/House Plant",
| |
| "1": "House Plant/50/-300/Crafting -9/Adds some character to your home or farm./true/true/0/House Plant",
| |
| "2": "House Plant/50/-300/Crafting -9/Adds some character to your home or farm./true/true/0/House Plant",
| |
| "3": "House Plant/50/-300/Crafting -9/Adds some character to your home or farm./true/true/0/House Plant",
| |
| "4": "House Plant/50/-300/Crafting -9/Adds some character to your home or farm./true/true/0/House Plant",
| |
| "5": "House Plant/50/-300/Crafting -9/Adds some character to your home or farm./true/true/0/House Plant",
| |
| "6": "House Plant/50/-300/Crafting -9/Adds some character to your home or farm./true/true/0/House Plant",
| |
| "7": "House Plant/50/-300/Crafting -9/Adds some character to your home or farm./true/true/0/House Plant",
| |
| "8": "Scarecrow/50/-300/Crafting -9/Prevents crows from attacking your crops. Has a limited radius (about 8 \"tiles\")./true/true/0/Scarecrow",
| |
| "9": "Lightning Rod/50/-300/Crafting -9/Collects energy from lightning storms and turns it into battery packs./true/true/0/Lightning Rod",
| |
| "10": "Bee House/50/-300/Crafting -9/Place outside and wait for delicious honey! (Except in Winter)./true/true/0/Bee House",
| |
| "12": "Keg/50/-300/Crafting -9/Place a fruit or vegetable in here. Eventually it will turn into a beverage./true/true/0/Keg",
| |
| "13": "Furnace/50/-300/Crafting -9/Turns ore and coal into metal bars./true/true/0/Furnace",
| |
| "15": "Preserves Jar/50/-300/Crafting -9/Turns vegetables into pickles and fruit into jam./true/true/0/Preserves Jar",
| |
| "16": "Cheese Press/50/-300/Crafting -9/Turns milk into cheese./true/true/0/Cheese Press",
| |
| "17": "Loom/50/-300/Crafting -9/Turns raw wool into fine cloth./true/true/0/Loom",
| |
| "19": "Oil Maker/50/-300/Crafting -9/Makes gourmet truffle oil./true/true/0/Oil Maker",
| |
| "20": "Recycling Machine/50/-300/Crafting -9/Turns fishing trash into resources./true/true/0/Recycling Machine",
| |
| "21": "Crystalarium/50/-300/Crafting -9/Insert a gem of your choice and it will grow copies./true/true/0/Crystalarium",
| |
| "22": "Table Piece L/50/-300/Crafting -9/The left side of a big table./true/true/0/Table Piece L",
| |
| "23": "Table Piece R/50/-300/Crafting -9/The right side of a big table/true/true/0/Table Piece R",
| |
| "24": "Mayonnaise Machine/50/-300/Crafting -9/Turns eggs into mayonnaise./true/true/0/Mayonnaise Machine",
| |
| "25": "Seed Maker/50/-300/Crafting -9/Place crops inside to produce a varying amount of seeds. Doesn't work with fruit tree crops./true/true/0/Seed Maker",
| |
| "26": "Wood Chair/50/-300/Crafting -9/A chair that can be oriented in 4 different ways./true/true/0/Wood Chair",
| |
| "27": "Wood Chair/50/-300/Crafting -9/A chair that can be oriented in 4 different ways./true/true/0/Wood Chair",
| |
| "28": "Skeleton Model/50/-300/Crafting -9/A model of a skeleton./true/true/0/Skeleton Model",
| |
| "29": "Obelisk/50/-300/Crafting -9/A sinister-looking portal that radiates with evil energy./false/true/0/Obelisk",
| |
| "31": "Chicken Statue/50/-300/Crafting -9/A wooden statue of a chicken./true/true/0/Chicken Statue",
| |
| "32": "Stone Cairn/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Stone Cairn",
| |
| "33": "Suit Of Armor/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Suit Of Armor",
| |
| "34": "Sign Of The Vessel/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Sign Of The Vessel",
| |
| "35": "Basic Log/125/-300/Crafting -9/A decorative piece for your farm./true/true/0/Basic Log",
| |
| "36": "Lawn Flamingo/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Lawn Flamingo",
| |
| "37": "Wood Sign/5/-300/Crafting -9/Use an item on this to change what's displayed. The item won't be consumed./true/true/0/Wood Sign",
| |
| "38": "Stone Sign/5/-300/Crafting -9/Use an item on this to change what's displayed. The item won't be consumed./true/true/0/Stone Sign",
| |
| "39": "Dark Sign/5/-300/Crafting -9/Use an item on this to change what's displayed. The item won't be consumed./true/true/0/Dark Sign",
| |
| "40": "Big Green Cane/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Big Green Cane",
| |
| "41": "Green Canes/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Green Canes",
| |
| "42": "Mixed Cane/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Mixed Cane",
| |
| "43": "Red Canes/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Red Canes",
| |
| "44": "Big Red Cane/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Big Red Cane",
| |
| "45": "Ornamental Hay Bale/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Ornamental Hay Bale",
| |
| "46": "Log Section/175/-300/Crafting -9/A decorative piece for your farm./true/true/0/Log Section",
| |
| "47": "Grave Stone/50/-300/Crafting -9/A decorative piece for your farm./true/true/0/Grave Stone",
| |
| "48": "Seasonal Decor/50/-300/Crafting -9/This decoration changes with the seasons./true/true/0/Seasonal Decor",
| |
| "52": "Stone Frog/50/-300/Crafting -9/Garden art for your farm./true/true/0/Stone Frog",
| |
| "53": "Stone Parrot/50/-300/Crafting -9/Garden art for your farm./true/true/0/Stone Parrot",
| |
| "54": "Stone Owl/50/-300/Crafting -9/Garden art for your farm./true/true/0/Stone Owl",
| |
| "55": "Stone Junimo/50/-300/Crafting -9/Garden art for your farm./true/true/0/Stone Junimo",
| |
| "56": "Slime Ball/50/-300/Crafting -9/Filled with slime./true/true/2/Slime Ball",
| |
| "62": "Garden Pot/1000/-300/Crafting -9/Grows crops from any season when indoors. Outdoors, it can only house seasonal crops./true/false/0/Garden Pot",
| |
| "64": "Bookcase/50/-300/Crafting -9/A home for books./true/false/1/Bookcase",
| |
| "65": "Fancy Table/50/-300/Crafting -9/A finely crafted round table./true/false/1/Fancy Table",
| |
| "66": "Ancient Table/50/-300/Crafting -9/It's covered in the thickest cobwebs./true/false/1/Ancient Table",
| |
| "67": "Ancient Stool/50/-300/Crafting -9/It smells like Grandma's apartment./true/false/1/Ancient Stool",
| |
| "68": "Grandfather Clock/50/-300/Crafting -9/It's so old... looks like the pendulum is rusted in place./true/false/1/Grandfather Clock",
| |
| "69": "Teddy Timer/50/-300/Crafting -9/It's a grandfather clock shaped like a teddy./true/false/1/Teddy Timer",
| |
| "70": "Dead Tree/0/-300/Crafting -9/It's been petrified for a long time, poor thing./true/false/1/Dead Tree",
| |
| "71": "Staircase/0/-300/Crafting -9/Use this to move down a level in the mines./true/false/1/Staircase",
| |
| "72": "Tall Torch/0/-300/Crafting -9/The stem is made from bamboo./true/false/1/Tall Torch",
| |
| "73": "Ritual Mask/0/-300/Crafting -9/It's way too large to wear./true/false/1/Ritual Mask",
| |
| "74": "Bonfire/0/-300/Crafting -9/The red embers glow softly./true/false/1/Bonfire",
| |
| "75": "Bongo/0/-300/Crafting -9/A decorative percussion instrument with a rich sound./true/false/1/Bongo",
| |
| "76": "Decorative Spears/0/-300/Crafting -9/Not a very safe decoration./true/false/1/Decorative Spears",
| |
| "78": "Boulder/0/-300/Crafting -9/An extremely dense piece of stone./true/false/1/Boulder",
| |
| "79": "Door/0/-300/Crafting -9/A hidden mechanism causes it to retract into the ground./true/false/1/Door",
| |
| "80": "Door/0/-300/Crafting -9/A hidden mechanism causes it to retract into the ground./true/false/1/Door",
| |
| "81": "Locked Door/0/-300/Crafting -9/A hidden mechanism causes it to retract into the ground./true/false/2/Locked Door",
| |
| "82": "Locked Door/0/-300/Crafting -9/A hidden mechanism causes it to retract into the ground./true/false/2/Locked Door",
| |
| "83": "Wicked Statue/0/-300/Crafting -9/There's something unsettling about the looks of this statue./true/false/0/Wicked Statue",
| |
| "84": "Wicked Statue/0/-300/Crafting -9/Something's not right with this statue./true/false/2/Wicked Statue",
| |
| "85": "Sloth Skeleton L/0/-300/Crafting -9/This extinct sloth roamed the lush, prehistoric forests of Stardew Valley. Its powerful jaw tore through the toughest plant fibers./true/false/0/Sloth Skeleton L",
| |
| "86": "Sloth Skeleton M/0/-300/Crafting -9/The ribs of a prehistoric sloth. /true/false/0/Sloth Skeleton M",
| |
| "87": "Sloth Skeleton R/0/-300/Crafting -9/The hind legs and tail of a prehistoric sloth./true/false/0/Sloth Skeleton R",
| |
| "88": "Standing Geode/0/-300/Crafting -9/It's a huge geode mounted on a stand. Hundreds of purple crystals shimmer within./true/false/0/Standing Geode",
| |
| "89": "Obsidian Vase/0/-300/Crafting -9/A beautifully crafted ornamental vase made from obsidian and gold./true/false/0/Obsidian Vase",
| |
| "94": "Singing Stone/0/-300/Crafting -9/It rings out with a pure tone when struck./true/false/0/Singing Stone",
| |
| "95": "Stone Owl/0/-300/Crafting -9/It's not clear where this came from, but it looks very fine./true/false/0/Stone Owl",
| |
| "96": "Strange Capsule/0/-300/Crafting -9/There's something fleshy bobbing around in the fluid.../true/false/0/Strange Capsule",
| |
| "98": "Empty Capsule/0/-300/Crafting -9/Part of the glass is shattered./true/false/0/Empty Capsule",
| |
| "99": "Feed Hopper/0/-300/Crafting -9/Provides convenient access to silo fodder./true/false/0/Feed Hopper",
| |
| "101": "Incubator/0/-300/Crafting -9/Hatches eggs into baby chickens and ducks./true/false/2/Incubator",
| |
| "104": "Heater/0/-300/Crafting -9/Keeps your animals warmer and happier during the winter./true/false/0/Heater",
| |
| "105": "Tapper/0/-300/Crafting -9/Place on a maple, oak, or pine tree and wait for the reservoir to fill with product!/true/false/0/Tapper",
| |
| "106": "Camera/0/-300/Crafting -9/An old camera mounted on a tripod./true/false/0/Camera",
| |
| "107": "Plush Bunny/0/-300/Crafting -9/It's big, it's soft, and it's cute./false/true/0/Plush Bunny",
| |
| "108": "Tub o' Flowers/0/-300/Crafting -9/Flowers planted in an oak barrel. Blooms in spring and summer./true/true/0/Tub o' Flowers",
| |
| "109": "Tub o' Flowers/0/-300/Crafting -9/Flowers planted in an oak barrel. Blooms in spring and summer./true/true/0/Tub o' Flowers",
| |
| "110": "Rarecrow/0/-300/Crafting -9/Collect them all! (1 of 8)/true/true/0/Rarecrow",
| |
| "111": "Decorative Pitcher/0/-300/Crafting -9/Hand-made out of brass./true/true/0/Decorative Pitcher",
| |
| "112": "Dried Sunflowers/0/-300/Crafting -9/A vibrant home decoration./true/true/0/Dried Sunflowers",
| |
| "113": "Rarecrow/0/-300/Crafting -9/Collect them all! (2 of 8)/true/true/0/Rarecrow",
| |
| "114": "Charcoal Kiln/0/-300/Crafting -9/Turns 10 pieces of wood into one piece of coal./true/true/0/Charcoal Kiln",
| |
| "116": "Stardew Hero Trophy/0/-300/Crafting -9/The most prestigious award a Stardew Valley resident could receive!/true/true/0/Stardew Hero Trophy",
| |
| "117": "Soda Machine/0/-300/Crafting -9/Keeps pumping out the good stuff./true/true/0/Soda Machine",
| |
| "118": "Barrel/0/-300/Crafting -9/.../true/true/0/Barrel",
| |
| "119": "Crate/0/-300/Crafting -9/.../true/true/0/Crate",
| |
| "120": "Barrel/0/-300/Crafting -9/.../true/true/0/Barrel",
| |
| "121": "Crate/0/-300/Crafting -9/.../true/true/0/Crate",
| |
| "122": "Barrel/0/-300/Crafting -9/.../true/true/0/Barrel",
| |
| "123": "Crate/0/-300/Crafting -9/.../true/true/0/Crate",
| |
| "124": "Barrel/0/-300/Crafting -9/.../true/true/0/Barrel",
| |
| "125": "Crate/0/-300/Crafting -9/.../true/true/0/Crate",
| |
| "126": "Rarecrow/0/-300/Crafting -9/Collect them all! (3 of 8)/true/true/0/Rarecrow",
| |
| "127": "Statue Of Endless Fortune/0/-300/Crafting -9/It's made of solid gold. What's it for?/true/true/0/Statue Of Endless Fortune",
| |
| "128": "Mushroom Box/0/-300/Crafting -9/Mushrooms grow every few days/true/true/2/Mushroom Box",
| |
| "130": "Chest/0/-300/Crafting -9/A place to store your items./true/true/0/Chest",
| |
| "136": "Rarecrow/0/-300/Crafting -9/Collect them all! (4 of 8)/true/true/0/Rarecrow",
| |
| "137": "Rarecrow/0/-300/Crafting -9/Collect them all! (5 of 8)/true/true/0/Rarecrow",
| |
| "138": "Rarecrow/0/-300/Crafting -9/Collect them all! (6 of 8)/true/true/0/Rarecrow",
| |
| "139": "Rarecrow/0/-300/Crafting -9/Collect them all! (7 of 8)/true/true/0/Rarecrow",
| |
| "140": "Rarecrow/0/-300/Crafting -9/Collect them all! (8 of 8)/true/true/0/Rarecrow",
| |
| "141": "Prairie King Arcade System/0/-300/Crafting -9/Play 'Journey Of The Prairie King' at home!/true/true/0/Prairie King Arcade System",
| |
| "143": "Wooden Brazier/25/-300/Crafting -9/Provides a moderate amount of light./true/true/0/Wooden Brazier",
| |
| "144": "Stone Brazier/40/-300/Crafting -9/Provides a moderate amount of light./true/true/0/Stone Brazier",
| |
| "145": "Gold Brazier/100/-300/Crafting -9/Provides a moderate amount of light./true/true/0/Gold Brazier",
| |
| "146": "Campfire/0/-300/Crafting -9/Provides a moderate amount of light./true/true/0/Campfire",
| |
| "147": "Stump Brazier/80/-300/Crafting -9/Provides a moderate amount of light./true/true/0/Stump Brazier",
| |
| "148": "Carved Brazier/200/-300/Crafting -9/Provides a moderate amount of light./true/true/0/Carved Brazier",
| |
| "149": "Skull Brazier/300/-300/Crafting -9/Provides a moderate amount of light./true/true/0/Skull Brazier",
| |
| "150": "Barrel Brazier/80/-300/Crafting -9/Provides a moderate amount of light./true/true/0/Barrel Brazier",
| |
| "151": "Marble Brazier/500/-300/Crafting -9/Provides a moderate amount of light./true/true/0/Marble Brazier",
| |
| "152": "Wood Lamp-post/50/-300/Crafting -9/Provides a good amount of light./true/true/0/true/Wood Lamp-post",
| |
| "153": "Iron Lamp-post/100/-300/Crafting -9/Provides a good amount of light./true/true/0/true/Iron Lamp-post",
| |
| "154": "Worm Bin/0/-300/Crafting -9/Produces bait on a regular basis. The worms are self-sufficient./true/true/0/Worm Bin",
| |
| "155": "??HMTGF??/0/-300/Crafting -9/??HMTGF??/true/true/0/??HMTGF??",
| |
| "156": "Slime Incubator/0/-300/Crafting -9/Hatches slimes eggs into slimes. Allows you to raise slimes outdoors./true/false/0/Slime Incubator",
| |
| "158": "Slime Egg-Press/0/-300/Crafting -9/Compresses 100 pieces of slime into a slime egg. It's a miracle of science!/true/false/0/Slime Egg-Press",
| |
| "159": "Junimo Kart Arcade System/0/-300/Crafting -9/Play 'Junimo Kart' at home!/true/true/0/Junimo Kart Arcade System",
| |
| "160": "Statue Of Perfection/0/-300/Crafting -9/It's made of pure iridium./true/true/0/Statue Of Perfection",
| |
| "161": "??Pinky Lemon??/0/-300/Crafting -9/??Pinky Lemon??/true/true/0/??Pinky Lemon??",
| |
| "162": "??Foroguemon??/0/-300/Crafting -9/??Foroguemon??/true/true/0/??Foroguemon??",
| |
| "163": "Cask/0/-300/Crafting -9/Use in the cellar to age products like wine and cheese./true/true/0/Cask",
| |
| "164": "Solid Gold Lewis/0/-300/Crafting -9/Mayor's secret project./true/true/0/Solid Gold Lewis",
| |
| "165": "Auto-Grabber/0/-300/Crafting -9/Automatically harvests from your animals each morning. Must be placed inside a coop or barn./true/true/0/Auto-Grabber",
| |
| "167": "Deluxe Scarecrow/50/-300/Crafting -9/Prevents crows from attacking your crops. Has a large radius (about 16 \"tiles\")./true/true/0/Deluxe Scarecrow",
| |
| "174": "Barrel/0/-300/Crafting -9/.../true/true/0/Barrel",
| |
| "175": "Crate/0/-300/Crafting -9/.../true/true/0/Crate",
| |
| "184": "Seasonal Plant/50/-300/Crafting -9/An ornamental plant that changes with each season. It doesn't need to be watered./true/true/0/Seasonal Plant",
| |
| "188": "Seasonal Plant/50/-300/Crafting -9/An ornamental plant that changes with each season. It doesn't need to be watered./true/true/0/Seasonal Plant",
| |
| "192": "Seasonal Plant/50/-300/Crafting -9/An ornamental plant that changes with each season. It doesn't need to be watered./true/true/0/Seasonal Plant",
| |
| "196": "Seasonal Plant/50/-300/Crafting -9/An ornamental plant that changes with each season. It doesn't need to be watered./true/true/0/Seasonal Plant",
| |
| "200": "Seasonal Plant/200/-300/Crafting -9/An ornamental plant that changes with each season. It doesn't need to be watered./true/true/0/Seasonal Plant",
| |
| "204": "Seasonal Plant/50/-300/Crafting -9/An ornamental plant that changes with each season. It doesn't need to be watered./true/true/0/Seasonal Plant",
| |
| "208": "Workbench/1000/-300/Crafting -9/When crafting here, you'll have access to materials in any adjacent chests./true/true/0/Workbench",
| |
| "209": "Mini-Jukebox/1500/-300/Crafting -9/Allows you to play your favorite tunes./true/true/0/Mini-Jukebox",
| |
| "211": "Wood Chipper/500/-300/Crafting -9/Insert a piece of hardwood to break it down into regular wood./true/true/0/Wood Chipper",
| |
| "214": "Telephone/1000/-300/Crafting -9/Can be used to check store hours and inventory./true/true/0/Telephone",
| |
| "216": "Mini-Fridge/1500/-300/Crafting -9/Allows you to store additional ingredients for cooking./true/true/0/Mini-Fridge",
| |
| "219": "Cursed P.K. Arcade System/0/-300/Crafting -9/Something's not right with this Prairie King Arcade System.../true/true/0/Cursed P.K. Arcade System",
| |
| "232": "Stone Chest/0/-300/Crafting -9/A place to store your items./true/true/0/Stone Chest",
| |
| "238": "Mini-Obelisk/0/-300/Crafting -9/Place two on the farm to warp between them./true/true/0/Mini-Obelisk",
| |
| "239": "Farm Computer/0/-300/Crafting -9/Scans the farm and displays useful information./true/true/0/Farm Computer",
| |
| "248": "Mini-Shipping Bin/0/-300/Crafting -9/Items placed in it will be included in the nightly shipment./true/true/0/Mini-Shipping Bin",
| |
| "254": "Ostrich Incubator/0/-300/Crafting -9/Hatches ostrich eggs into baby ostriches. Place in a barn./true/true/0/Ostrich Incubator",
| |
| "182": "Geode Crusher/0/-300/Crafting -9/Breaks geodes open automatically. Requires coal to operate./true/true/0/Geode Crusher",
| |
| "246": "Coffee Maker/0/-300/Crafting -9/Automatically brews a fresh cup every morning./true/true/0/Coffee Maker",
| |
| "247": "Sewing Machine/0/-300/Crafting -9/Use to tailor clothes from the convenience of your home!/true/true/0/Sewing Machine",
| |
| "231": "Solar Panel/0/-300/Crafting -9/Slowly generates batteries when left in the sun./true/true/0/Solar Panel",
| |
| "90": "Bone Mill/0/-300/Crafting -9/Turns bone items into fertilizers./true/true/0/Bone Mill",
| |
| "256": "Junimo Chest/0/-300/Crafting -9/Through the power of forest magic, every Junimo Chest links to the same stash./true/true/0/Junimo Chest",
| |
| "264": "Heavy Tapper/0/-300/Crafting -9/Place on a maple, oak, or pine tree and wait for the reservoir to fill with product! Works twice as fast as a normal tapper./true/false/0/Heavy Tapper",
| |
| "265": "Deconstructor/0/-300/Crafting -9/Destroys crafted items, but salvages their most valuable material./true/true/0/Deconstructor",
| |
| "272": "Auto-Petter/0/-300/Crafting -9/Joja Co. patented technology for coops and barns. Keeps your animals content, but can't replace the full benefit of human touch. Hand-petting can be provided to supplement./true/true/0/Auto-Petter",
| |
| "275": "Hopper/0/-300/Crafting -9/Items placed inside will automatically be loaded into the machine in front of it./true/true/0/Hopper",
| |
| "278": "Campfire/0/-300/Crafting -9/Cook on the go!/true/true/1/Campfire",
| |
| "280": "Statue Of True Perfection/0/-300/Crafting -9/It's made of pure iridium./true/true/0/Statue Of True Perfection"
| |
| }
| |
| </syntaxhighlight>}} | |
|
| |
|
| ==Format== | | ==Data format== |
| | The big craftable data in <samp>Data/BigCraftables</samp> consists of a string → model lookup, where... |
| | * The key is the unqualified [[Modding:Common data field types#Item ID|item ID]]. |
| | * The value is a model with the fields listed below. |
| | |
| | ===Basic info=== |
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
| ! Index | | ! field |
| ! Field | | ! purpose |
| ! Example Value
| |
| |- | | |- |
| |0 | | | <samp>Name</samp> |
| |Name
| | | The internal item name. |
| |''Worm Bin'' | |
| |- | | |- |
| |1 | | | <samp>DisplayName</samp><br /><samp>Description</samp> |
| |Price | | | A [[Modding:Tokenizable strings|tokenizable string]] for the item's in-game display name and description. |
| |''0'' | |
| |- | | |- |
| |2 | | | <samp>Price</samp> |
| |Edibility
| | | ''(Optional)'' The price when sold by the player. This is not the price when bought from a shop. Default 0. |
| |''-300'' | | |} |
| | |
| | ===Behavior=== |
| | {| class="wikitable" |
| |- | | |- |
| |3
| | ! field |
| |Type & Category
| | ! purpose |
| |''Crafting -9''
| |
| |- | | |- |
| |4 | | | <samp>Fragility</samp> |
| |Description
| | | ''(Optional)'' How the item can be picked up. The possible values are 0 (pick up with any tool), 1 (destroyed if hit with an axe/hoe/pickaxe, or picked up with any other tool), or 2 (can't be removed once placed). Default 0. |
| |''Produces bait on a regular basis. The worms are self-sufficient.'' | |
| |- | | |- |
| |5 | | | <samp>CanBePlacedIndoors</samp><br /><samp>CanBePlacedOutdoors</samp> |
| |Can be set outdoors
| | | ''(Optional)'' Whether the item can be placed indoors or outdoors. Default true. |
| |''true'' | |
| |- | | |- |
| |6 | | | <samp>IsLamp</samp> |
| |Can be set indoors
| | | ''(Optional)'' Whether this is a lamp and should produce light when dark. Default false. |
| |''true'' | | |} |
| | |
| | ===Appearance=== |
| | {| class="wikitable" |
| |- | | |- |
| |7
| | ! field |
| |Fragility
| | ! purpose |
| |''0''
| |
| |- | | |- |
| |8 | | | <samp>Texture</samp> |
| |isLamp
| | | ''(Optional)'' The asset name for the texture containing the item's sprite. Defaults to <samp>TileSheets/Craftables</samp>. |
| |''0'' | |
| |- | | |- |
| |9 | | | <samp>SpriteIndex</samp> |
| |Name (for language files other than English) | | | ''(Optional)'' The sprite's index within the <samp>Texture</samp>, where 0 is the top-left sprite. |
| |''Vivero de cebo''
| |
| |} | | |} |
|
| |
|
| Note that many of the Big Craftables listed are not implemented in the game. Some are completely absent from the game; others are unused as craftables, and instead appear in <tt>ObjectInformation.xnb</tt> (see [[Modding:Object data|Object data]]) or <tt>Furniture.xnb</tt> (see [[Modding:Furniture data|Furniture data]]).
| | ===Context tags=== |
| | {| class="wikitable" |
| | |- |
| | ! field |
| | ! purpose |
| | |- |
| | | <samp>ContextTags</samp> |
| | | ''(Optional)'' The custom [[Modding:Context tags|context tags]] to add for this item (in addition to the tags added automatically based on the other object data). This is formatted as a list; for example: |
| | <syntaxhighlight lang="json"> |
| | "ContextTags": [ "light_source", "torch_item" ] |
| | </syntaxhighlight> |
| | |} |
| | |
| | ===Advanced=== |
| | {| class="wikitable" |
| | |- |
| | ! field |
| | ! purpose |
| | |- |
| | | <samp>CustomFields</samp> |
| | | ''(Optional)'' The [[Modding:Common data field types#Custom fields|custom fields]] for this entry. |
| | |} |
| | |
| | ==Unobtainable items== |
| | The data asset has items that can't normally be picked up or may be unimplemented in-game. They may be completely absent from the game, or they may be unused as craftables and instead appear in [[Modding:Objects|object data]] or [[Modding:Furniture|furniture data]]. |
| | |
| | ==See also== |
| | * [[Modding:Items]] for item data in general |
|
| |
|
| [[Category:Modding]] | | [[Category:Modding]] |
| | |
| | [[ru:Модификации:Изготовляемые предметы]] |
| | [[zh:模组:大型打造品]] |