|
|
| (12 intermediate revisions by 4 users not shown) |
| Line 1: |
Line 1: |
| ← [[Modding:Index|Index]] | | ← [[Modding:Items|Items]] |
|
| |
|
| This page explains how the game stores and parses Furniture data. This is an advanced guide for mod developers. | | This page explains how the game stores and parses furniture-type item data. For items in general, see [[Modding:Items]]. |
|
| |
|
| ==Raw data== | | ==Overview== |
| Furniture is stored in <tt>Content\Data\Furniture.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: | | Furniture are decorative items which can be placed in the world. In some cases, players can sit on them or place items on them. |
|
| |
|
| {{collapse|Data|content=<syntaxhighlight lang="json">
| | They have [[Modding:Items#Item types|item type]] <code>(F)</code> (or <code>ItemRegistry.type_furniture</code> in C# code), their data in <samp>Data/Furniture</samp>, their sprites in <samp>TileSheets/furniture</samp> by default, their vanilla translations in <samp>Strings/Furniture</samp>, and their code in <samp>StardewValley.Objects.Furniture</samp>. |
| {
| | |
| "0": "Oak Chair/chair/-1/-1/4/350",
| | ==Data format== |
| "3": "Walnut Chair/chair/-1/-1/4/350",
| | The furniture data in <samp>Data/Furniture</samp> consists of an string → string lookup, where... |
| "6": "Birch Chair/chair/-1/-1/4/350",
| | * The key is the [[Modding:Common data field types#Item ID|unqualified item ID]]. |
| "9": "Mahogany Chair/chair/-1/-1/4/1000",
| | * The value is a slash-delimited strings with the fields listed below. |
| "12": "Red Diner Chair/chair/-1/-1/4/750",
| |
| "15": "Blue Diner Chair/chair/-1/-1/4/750",
| |
| "18": "Country Chair/chair/-1/-1/4/750",
| |
| "21": "Breakfast Chair/chair/-1/-1/4/750",
| |
| "24": "Pink Office Chair/chair/-1/-1/4/500",
| |
| "27": "Purple Office Chair/chair/-1/-1/4/500",
| |
| "30": "Green Office Stool/chair/-1/-1/1/350",
| |
| "31": "Orange Office Stool/chair/-1/-1/1/350",
| |
| "64": "Dark Throne/chair/-1/-1/4/2000",
| |
| "67": "Dining Chair/chair/-1/-1/4/1200",
| |
| "70": "Dining Chair/chair/-1/-1/4/1200",
| |
| "73": "Green Plush Seat/chair/-1/-1/4/750",
| |
| "76": "Pink Plush Seat/chair/-1/-1/4/750",
| |
| "79": "Winter Chair/chair/-1/-1/4/750",
| |
| "82": "Groovy Chair/chair/-1/-1/4/750",
| |
| "85": "Cute Chair/chair/-1/-1/4/1200",
| |
| "88": "Stump Seat/chair/-1/-1/4/2000",
| |
| "91": "Metal Chair/chair/-1/-1/4/800",
| |
| "94": "Green Stool/chair/-1/-1/1/350",
| |
| "95": "Blue Stool/chair/-1/-1/1/350",
| |
| "128": "King Chair/chair/-1/-1/4/3000",
| |
| "131": "Crystal Chair/chair/-1/-1/4/3000",
| |
| "192": "Oak Bench/bench/-1/-1/4/750",
| |
| "197": "Walnut Bench/bench/-1/-1/4/750",
| |
| "202": "Birch Bench/bench/-1/-1/4/750",
| |
| "207": "Mahogany Bench/bench/-1/-1/4/2000",
| |
| "212": "Modern Bench/bench/-1/-1/4/2000",
| |
| "288": "Blue Armchair/armchair/-1/-1/4/1000",
| |
| "294": "Red Armchair/armchair/-1/-1/4/1000",
| |
| "300": "Green Armchair/armchair/-1/-1/4/1000",
| |
| "306": "Yellow Armchair/armchair/-1/-1/4/1000",
| |
| "312": "Brown Armchair/armchair/-1/-1/4/1000",
| |
| "416": "Blue Couch/couch/-1/-1/4/1750",
| |
| "424": "Red Couch/couch/-1/-1/4/1750",
| |
| "432": "Green Couch/couch/-1/-1/4/1750",
| |
| "440": "Yellow Couch/couch/-1/-1/4/1750",
| |
| "512": "Brown Couch/couch/-1/-1/4/1750",
| |
| "520": "Dark Couch/couch/-1/-1/4/2500",
| |
| "528": "Wizard Couch/couch/-1/-1/4/4000",
| |
| "536": "Woodsy Couch/couch/-1/-1/4/3000",
| |
| "704": "Oak Dresser/dresser/-1/-1/4/5000",
| |
| "709": "Walnut Dresser/dresser/-1/-1/4/5000",
| |
| "714": "Birch Dresser/dresser/-1/-1/4/5000",
| |
| "719": "Mahogany Dresser/dresser/-1/-1/4/7500",
| |
| "724": "Coffee Table/table/2 2/2 1/2/1250",
| |
| "727": "Stone Slab/table/2 2/2 1/2/1000",
| |
| "800": "Winter Dining Table/long table/-1/-1/2/3500",
| |
| "807": "Festive Dining Table/long table/-1/-1/2/3500",
| |
| "814": "Mahogany Dining Table/long table/-1/-1/2/3000",
| |
| "821": "Modern Dining Table/long table/-1/-1/2/2700",
| |
| "1120": "Oak Table/table/-1/-1/1/750",
| |
| "1122": "Walnut Table/table/-1/-1/1/750",
| |
| "1124": "Birch Table/table/-1/-1/1/750",
| |
| "1126": "Mahogany Table/table/-1/-1/1/1500",
| |
| "1128": "Sun Table/table/-1/-1/1/2500",
| |
| "1130": "Moon Table/table/-1/-1/1/2500",
| |
| "1132": "Modern Table/table/-1/-1/1/1250",
| |
| "1134": "Pub Table/table/-1/-1/1/800",
| |
| "1136": "Luxury Table/table/-1/-1/1/2000",
| |
| "1138": "Diviner Table/table/-1/-1/1/2250",
| |
| "1140": "Neolithic Table/table/-1/-1/1/1800",
| |
| "1142": "Puzzle Table/table/-1/-1/1/1500",
| |
| "1144": "Winter Table/table/-1/-1/1/1250",
| |
| "1146": "Candy Table/table/-1/-1/1/1000",
| |
| "1148": "Luau Table/table/-1/-1/1/1000",
| |
| "1150": "Dark Table/table/-1/-1/1/2000",
| |
| "1216": "Oak Tea-Table/table/2 2/-1/1/750",
| |
| "1218": "Walnut Tea-Table/table/2 2/-1/1/750",
| |
| "1220": "Birch Tea-Table/table/2 2/-1/1/750",
| |
| "1222": "Mahogany Tea-Table/table/2 2/-1/1/1500",
| |
| "1224": "Modern Tea-Table/table/2 2/-1/1/1000",
| |
| "1226": "Furniture Catalogue/table/2 2/-1/1/200000",
| |
| "1280": "China Cabinet/other/3 3/3 1/1/6000",
| |
| "1283": "Artist Bookcase/bookcase/-1/-1/1/1200",
| |
| "1285": "Luxury Bookcase/bookcase/-1/-1/1/2000",
| |
| "1287": "Modern Bookcase/bookcase/-1/-1/1/1600",
| |
| "1289": "Dark Bookcase/bookcase/-1/-1/1/2000",
| |
| "1291": "Ceramic Pillar/decor/1 3/1 1/1/250",
| |
| "1292": "Gold Pillar/decor/1 3/1 1/1/450",
| |
| "1293": "Industrial Pipe/decor/1 3/1 1/1/300",
| |
| "1294": "Indoor Palm/decor/1 3/1 1/1/600",
| |
| "1295": "Totem Pole/decor/1 3/1 1/1/750",
| |
| "1296": "Manicured Pine/decor/1 3/1 1/1/500",
| |
| "1297": "Topiary Tree/decor/1 3/1 1/1/500",
| |
| "1298": "Standing Geode/decor/1 2/1 1/1/500",
| |
| "1299": "Obsidian Vase/decor/1 2/1 1/1/500",
| |
| "1300": "Singing Stone/decor/1 2/1 1/1/500",
| |
| "1301": "Sloth Skeleton L/decor/1 2/1 1/1/500",
| |
| "1302": "Sloth Skeleton M/decor/1 2/1 1/1/500",
| |
| "1303": "Sloth Skeleton R/decor/1 2/1 1/1/500",
| |
| "1304": "Skeleton/decor/1 2/1 1/1/500",
| |
| "1305": "Chicken Statue/decor/1 2/1 1/1/500",
| |
| "1306": "Leah's Sculpture/decor/1 2/1 1/1/500",
| |
| "1307": "Dried Sunflowers/decor/1 2/1 1/1/500",
| |
| "1308": "Catalogue/decor/1 2/1 1/1/30000",
| |
| "1309": "Sam's Boombox/decor/1 2/1 1/1/500",
| |
| "1362": "Small Plant/decor/1 1/1 1/1/250",
| |
| "1363": "Table Plant/decor/1 1/1 1/1/250",
| |
| "1364": "Decorative Bowl/decor/1 1/1 1/1/250",
| |
| "1365": "Futan Bear/decor/1 1/1 1/1/1500",
| |
| "1366": "Globe/decor/1 1/1 1/1/750",
| |
| "1367": "Model Ship/decor/1 1/1 1/1/750",
| |
| "1368": "Small Crystal/decor/1 1/1 1/1/750",
| |
| "1369": "Decorative Lantern/decor/1 1/1 1/1/500",
| |
| "1376": "House Plant/decor/1 2/1 1/1/250",
| |
| "1377": "House Plant/decor/1 2/1 1/1/250",
| |
| "1378": "House Plant/decor/1 2/1 1/1/250",
| |
| "1379": "House Plant/decor/1 2/1 1/1/250",
| |
| "1380": "House Plant/decor/1 2/1 1/1/250",
| |
| "1381": "House Plant/decor/1 2/1 1/1/250",
| |
| "1382": "House Plant/decor/1 2/1 1/1/250",
| |
| "1383": "House Plant/decor/1 2/1 1/1/250",
| |
| "1384": "House Plant/decor/1 2/1 1/1/250",
| |
| "1385": "House Plant/decor/1 2/1 1/1/250",
| |
| "1386": "House Plant/decor/1 2/1 1/1/250",
| |
| "1387": "House Plant/decor/1 2/1 1/1/250",
| |
| "1388": "House Plant/decor/1 2/1 1/1/250",
| |
| "1389": "House Plant/decor/1 2/1 1/1/250",
| |
| "1390": "House Plant/decor/1 2/1 1/1/250",
| |
| "1391": "Oak End Table/table/1 2/1 1/2/500",
| |
| "1393": "Walnut End Table/table/1 2/1 1/2/500",
| |
| "1395": "Birch End Table/table/1 2/1 1/2/500",
| |
| "1397": "Mahogany End Table/table/1 2/1 1/2/1000",
| |
| "1399": "Modern End Table/table/1 2/1 1/1/800",
| |
| "1400": "Grandmother End Table/table/1 2/1 1/1/1000",
| |
| "1401": "Winter End Table/table/1 2/1 1/1/800",
| |
| "1402": "Calendar/painting/1 2/1 2/1/2000",
| |
| "1440": "Tree of the Winter Star/decor/3 5/3 2/1/5000",
| |
| "1443": "Country Lamp/lamp/-1/-1/1/500",
| |
| "1445": "Box Lamp/lamp/-1/-1/1/750",
| |
| "1447": "Modern Lamp/lamp/-1/-1/1/750",
| |
| "1449": "Classic Lamp/lamp/-1/-1/1/1000",
| |
| "1451": "Red Rug/rug/-1/-1/2/1000",
| |
| "1456": "Patchwork Rug/rug/-1/-1/2/800",
| |
| "1461": "Dark Rug/rug/-1/-1/2/2000",
| |
| "1466": "Budget TV/decor/2 3/2 2/1/750",
| |
| "1468": "Plasma TV/decor/3 3/3 1/1/4500",
| |
| "1539": "'The Muzzamaroo'/painting/-1/-1/1/1000",
| |
| "1541": "'A Night On Eco-Hill'/painting/-1/-1/1/1000",
| |
| "1543": "'Pathways'/painting/-1/-1/1/750",
| |
| "1545": "'Burnt Offering'/painting/-1/-1/1/1000",
| |
| "1547": "'Queen of the Gem Sea'/painting/3 2/3 2/1/1200",
| |
| "1550": "'Vanilla Villa'/painting/-1/-1/1/500",
| |
| "1552": "'Primal Motion'/painting/-1/-1/1/1500",
| |
| "1554": "'Jade Hills'/painting/3 2/3 2/1/1750",
| |
| "1557": "'Sun #44'/painting/-1/-1/1/800",
| |
| "1559": "Wallflower Pal/painting/-1/-1/1/500",
| |
| "1561": "'Spires'/painting/-1/-1/1/800",
| |
| "1563": "'Highway 89'/painting/-1/-1/1/800",
| |
| "1565": "Calico Falls/painting/-1/-1/1/750",
| |
| "1567": "Needlepoint Flower/painting/1 2/1 2/1/500",
| |
| "1600": "Skull Poster/painting/1 2/1 2/1/500",
| |
| "1601": "'Sun #45'/painting/1 2/1 2/1/350",
| |
| "1602": "'Little Tree'/painting/1 2/1 2/1/350",
| |
| "1603": "'Blueberries'/painting/1 2/1 2/1/250",
| |
| "1604": "'Blue City'/painting/1 2/1 2/1/250",
| |
| "1605": "Little Photos/painting/1 2/1 2/1/250",
| |
| "1606": "'Dancing Grass'/painting/1 2/1 2/1/400",
| |
| "1607": "'VGA Paradise'/painting/2 2/2 2/1/1200",
| |
| "1609": "J. Cola Light/painting/3 2/3 2/1/1000",
| |
| "1612": "'Kitemaster '95'/painting/-1/-1/1/600",
| |
| "1614": "Basic Window/window/-1/-1/1/300",
| |
| "1616": "Small Window/window/-1/-1/1/300",
| |
| "1618": "Red Cottage Rug/rug/-1/-1/2/750",
| |
| "1623": "Green Cottage Rug/rug/-1/-1/2/750",
| |
| "1628": "Monster Rug/rug/2 2/2 2/1/1250",
| |
| "1630": "Boarded Window/painting/1 2/1 2/1/400",
| |
| "1664": "Mystic Rug/rug/-1/-1/2/1250",
| |
| "1669": "Lg. Futan Bear/decor/2 2/2 1/1/4000",
| |
| "1733": "Junimo Plush/decor/2 2/2 1/1/4000",
| |
| "1671": "Bear Statue/decor/2 4/2 1/1/4000",
| |
| "1673": "Porthole/window/-1/-1/1/700",
| |
| "1675": "Anchor/painting/1 2/1 2/1/750",
| |
| "1676": "World Map/painting/-1/-1/1/500",
| |
| "1678": "Ornate Window/window/-1/-1/1/900",
| |
| "1680": "Floor TV/decor/2 2/2 1/1/700",
| |
| "1682": "Carved Window/window/-1/-1/1/900",
| |
| "1737": "Nautical Rug/rug/-1/-1/2/1250",
| |
| "1742": "Burlap Rug/rug/2 2/2 2/1/350",
| |
| "1744": "Tree Column/decor/1 3/1 1/1/1000",
| |
| "1745": "L. Light String/painting/2 1/2 1/1/400",
| |
| "1747": "S. Pine/decor/1 2/1 1/1/500",
| |
| "1748": "Bonsai Tree/decor/1 2/1 1/1/800",
| |
| "1749": "Metal Window/window/-1/-1/1/800",
| |
| "1751": "Candle Lamp/lamp/-1/-1/1/1000",
| |
| "1753": "Miner's Crest/painting/2 2/2 2/1/1000",
| |
| "1755": "Bamboo Mat/rug/2 1/2 1/2/250",
| |
| "1758": "Ornate Lamp/lamp/-1/-1/1/1050",
| |
| "1777": "Woodcut Rug/rug/2 2/2 2/1/800",
| |
| "1811": "Hanging Shield/painting/1 1/1 1/1/500",
| |
| "1812": "Monster Danglers/painting/2 1/2 1/1/1000",
| |
| "1814": "Ceiling Flags/painting/1 1/1 1/1/50",
| |
| "1838": "'Red Eagle'/painting/-1/-1/1/1000",
| |
| "1840": "'Portrait Of A Mermaid'/painting/-1/-1/1/1000",
| |
| "1842": "'Solar Kingdom'/painting/-1/-1/1/1000",
| |
| "1844": "'Clouds'/painting/-1/-1/1/1000",
| |
| "1846": "'1000 Years From Now'/painting/-1/-1/1/1000",
| |
| "1848": "'Three Trees'/painting/-1/-1/1/1000",
| |
| "1850": "'The Serpent'/painting/-1/-1/1/1000",
| |
| "1852": "'Tropical Fish #173'/painting/-1/-1/1/1000",
| |
| "1854": "'Land Of Clay'/painting/-1/-1/1/1000",
| |
| "1792": "Brick Fireplace/fireplace/-1/-1/1/1000",
| |
| "1794": "Stone Fireplace/fireplace/-1/-1/1/1500",
| |
| "1796": "Iridium Fireplace/fireplace/-1/-1/1/15000",
| |
| "1798": "Stove Fireplace/fireplace/-1/-1/1/3000",
| |
| "1800": "Monster Fireplace/fireplace/-1/-1/1/25000",
| |
| "1802": "My First Painting/painting/-1/-1/1/500",
| |
| "1866": "Elegant Fireplace/fireplace/-1/-1/1/4000",
| |
| "1900": "Pirate Flag/painting/-1/-1/1/4000",
| |
| "1902": "Pirate Rug/rug/-1/-1/2/4000",
| |
| "1964": "Bone Rug/rug/-1/-1/2/1000",
| |
| "1971": "Butterfly Hutch/decor/2 3/2 1/1/50000/2",
| |
| "1907": "Strawberry Decal/painting/-1/-1/1/2500",
| |
| "1909": "Fruit Salad Rug/rug/-1/-1/2/4000",
| |
| "1914": "Night Sky Decal #1/painting/1 2/1 2/1/750",
| |
| "1978": "Snowy Rug/rug/-1/-1/2/1000",
| |
| "1915": "Night Sky Decal #2/painting/1 2/1 2/1/750",
| |
| "1916": "Night Sky Decal #3/painting/1 2/1 2/1/750",
| |
| "1952": "'The Brave Little Sapling'/painting/1 2/1 2/1/400",
| |
| "1953": "'Mysterium'/painting/1 2/1 2/1/400",
| |
| "1954": "'Journey Of The Prairie King: The Motion Picture'/painting/1 2/1 2/1/400",
| |
| "1955": "'Wumbus'/painting/1 2/1 2/1/400",
| |
| "1956": "'The Zuzu City Express'/painting/1 2/1 2/1/400",
| |
| "1957": "'The Miracle At Coldstar Ranch'/painting/1 2/1 2/1/400",
| |
| "1958": "'Natural Wonders: Exploring Our Vibrant World'/painting/1 2/1 2/1/400",
| |
| "1959": "'It Howls In The Rain'/painting/1 2/1 2/1/400",
| |
| "1960": "Indoor Hanging Basket/painting/1 2/1 2/1/400",
| |
| "1961": "Winter Tree Decal/painting/1 2/1 2/1/400",
| |
| "1760": "Small Junimo Plush/decor/1 1/1 1/1/1500",
| |
| "1761": "Small Junimo Plush/decor/1 1/1 1/1/1500",
| |
| "1762": "Small Junimo Plush/decor/1 1/1 1/1/1500",
| |
| "1763": "Small Junimo Plush/decor/1 1/1 1/1/1500",
| |
| "1764": "Futan Rabbit/decor/1 1/1 1/1/1500",
| |
| "1371": "Wumbus Statue/decor/2 3/2 1/1/500",
| |
| "1373": "Bobo Statue/decor/2 3/2 1/1/500",
| |
| "1375": "Purple Serpent Statue/decor/1 3/1 1/1/500",
| |
| "1471": "Green Serpent Statue/decor/1 3/1 1/1/500",
| |
| "985": "Long Palm/decor/1 4/1 1/1/500",
| |
| "984": "Long Cactus/decor/1 3/1 1/1/500",
| |
| "986": "Exotic Tree/decor/3 5/3 1/1/500",
| |
| "989": "Deluxe Tree/decor/3 5/3 1/1/500",
| |
| "1917": "Wall Pumpkin/painting/1 2/1 2/1/750",
| |
| "1918": "Small Wall Pumpkin/painting/1 2/1 2/1/750",
| |
| "2048": "Bed/bed/2 4/2 3/1/5000",
| |
| "2052": "Double Bed/bed double/3 4/3 3/1/5000",
| |
| "2058": "Starry Double Bed/bed double/3 4/3 3/1/5000",
| |
| "2064": "Strawberry Double Bed/bed double/3 4/3 3/1/5000",
| |
| "2070": "Pirate Double Bed/bed double/3 4/3 3/1/5000",
| |
| "2076": "Child Bed/bed child/2 4/2 3/1/5000",
| |
| "2176": "Tropical Bed/bed/2 4/2 3/1/5000",
| |
| "2180": "Tropical Double Bed/bed double/3 4/3 3/1/5000",
| |
| "2186": "Deluxe Red Double Bed/bed double/3 4/3 3/1/6000",
| |
| "2192": "Modern Double Bed/bed double/3 4/3 3/1/6000",
| |
| "2304": "Large Fish Tank/fishtank/4 3/4 1/1/5000",
| |
| "2312": "Deluxe Fish Tank/fishtank/5 3/5 1/1/10000",
| |
| "2322": "Small Fish Tank/fishtank/2 3/2 1/1/1000",
| |
| "1228": "Oceanic Rug/rug/-1/-1/1/1250",
| |
| "2326": "Tropical TV/decor/3 3/3 1/1/4500",
| |
| "2329": "'Volcano' Photo/painting/-1/-1/1/500",
| |
| "2331": "Jungle Torch/torch/-1/-1/1/500",
| |
| "2393": "Palm Wall Ornament/painting/1 1/1 1/2/500",
| |
| "134": "Tropical Chair/chair/-1/-1/4/3000",
| |
| "2400": "Aquatic Sanctuary/fishtank/7 3/7 1/1/10000",
| |
| "2414": "Modern Fish Tank/fishtank/2 3/2 1/1/10000",
| |
| "2496": "Wild Double Bed/bed double/3 4/3 3/1/6000",
| |
| "2502": "Fisher Double Bed/bed double/3 4/3 3/1/6000",
| |
| "2508": "Birch Double Bed/bed double/3 4/3 3/1/6000",
| |
| "2514": "Exotic Double Bed/bed double/3 4/3 3/1/6000",
| |
| "2418": "Lifesaver/painting/1 2/1 2/1/1000",
| |
| "2419": "Foliage Print/painting/2 2/2 2/1/10000",
| |
| "2421": "'Boat'/painting/2 2/2 2/1/10000",
| |
| "2423": "'Vista'/painting/2 2/2 2/1/10000",
| |
| "2425": "Wall Basket/painting/2 2/2 2/1/10000",
| |
| "2427": "Decorative Trash Can/decor/1 2/1 1/1/500",
| |
| "2396": "Iridium Krobus/decor/1 3/1 1/1/5000",
| |
| "2332": "Gourmand Statue/decor/2 2/2 1/1/500",
| |
| "2334": "Pyramid Decal/painting/2 2/2 2/1/10000",
| |
| "2397": "Plain Torch/torch/-1/-1/1/500",
| |
| "2398": "Stump Torch/torch/-1/-1/1/500",
| |
| "1973": "Wall Flower/painting/1 3/1 3/1/500",
| |
| "1974": "S. Wall Flower/painting/1 3/1 3/1/500",
| |
| "1975": "Clouds Banner/painting/1 3/1 3/1/500",
| |
| "1684": "Colorful Set/painting/1 2/1 2/1/500",
| |
| "2624": "Pastel Banner/painting/1 3/1 3/1/500",
| |
| "2625": "Winter Banner/painting/1 3/1 3/1/500",
| |
| "2626": "Moonlight Jellies Banner/painting/1 3/1 3/1/500",
| |
| "2627": "Jungle Decal/painting/1 3/1 3/1/500",
| |
| "2628": "Jungle Decal/painting/1 3/1 3/1/500",
| |
| "2629": "Jungle Decal/painting/1 3/1 3/1/500",
| |
| "2630": "Jungle Decal/painting/1 3/1 3/1/500",
| |
| "2631": "Starport Decal/painting/1 3/1 3/1/500",
| |
| "2632": "Decorative Pitchfork/painting/1 3/1 3/1/500",
| |
| "2633": "Wood Panel/painting/1 3/1 3/1/500",
| |
| "2634": "Decorative Axe/painting/1 3/1 3/1/500",
| |
| "2635": "Log Panel/painting/1 3/1 3/1/500",
| |
| "2636": "Log Panel/painting/1 3/1 3/1/500",
| |
| "1817": "Ceiling Leaves/painting/1 1/1 1/1/50",
| |
| "1818": "Ceiling Leaves/painting/1 1/1 1/1/50",
| |
| "1819": "Ceiling Leaves/painting/1 1/1 1/1/50",
| |
| "1820": "Ceiling Leaves/painting/1 1/1 1/1/50",
| |
| "1821": "Ceiling Leaves/painting/1 1/1 1/1/50",
| |
| "1687": "Cloud Decal/painting/2 2/2 2/1/500",
| |
| "1692": "Cloud Decal/painting/2 2/2 2/1/500",
| |
| "2637": "Floor Divider R/rug/1 2/1 1/1/50",
| |
| "2638": "Floor Divider L/rug/1 2/1 1/1/50",
| |
| "2639": "Floor Divider R/rug/1 2/1 1/1/50",
| |
| "2640": "Floor Divider L/rug/1 2/1 1/1/50",
| |
| "2641": "Floor Divider R/rug/1 2/1 1/1/50",
| |
| "2642": "Floor Divider L/rug/1 2/1 1/1/50",
| |
| "2643": "Floor Divider R/rug/1 2/1 1/1/50",
| |
| "2644": "Floor Divider L/rug/1 2/1 1/1/50",
| |
| "2645": "Floor Divider R/rug/1 2/1 1/1/50",
| |
| "2646": "Floor Divider L/rug/1 2/1 1/1/50",
| |
| "2647": "Floor Divider R/rug/1 2/1 1/1/50",
| |
| "2648": "Floor Divider L/rug/1 2/1 1/1/50",
| |
| "2649": "Floor Divider R/rug/1 2/1 1/1/50",
| |
| "2650": "Floor Divider L/rug/1 2/1 1/1/50",
| |
| "2651": "Floor Divider R/rug/1 2/1 1/1/50",
| |
| "2652": "Floor Divider L/rug/1 2/1 1/1/50",
| |
| "2488": "Light Green Rug/rug/3 2/3 2/2/10000",
| |
| "2584": "'Jade Hills Extended'/painting/4 2/4 2/1/6750",
| |
| "2720": "Large Brown Couch/couch/4 2/4 1/4/5750",
| |
| "2784": "Large Green Rug/rug/4 3/4 3/1/10000",
| |
| "2790": "Icy Rug/rug/4 3/4 3/1/10000",
| |
| "2794": "Old World Rug/rug/4 3/4 3/1/10000",
| |
| "2798": "Large Red Rug/rug/4 3/4 3/1/10000",
| |
| "2730": "'Frozen Dreams'/painting/2 2/2 2/1/6750",
| |
| "2653": "Icy Banner/painting/1 3/1 3/1/500",
| |
| "2654": "Wall Palm/painting/1 3/1 3/1/500",
| |
| "2655": "Wall Cactus/painting/1 3/1 3/1/500",
| |
| "2802": "Large Cottage Rug/rug/4 3/4 3/1/10000",
| |
| "2732": "'Physics 101'/painting/2 2/2 2/1/6750",
| |
| "2734": "Wall Sconce/sconce/-1/-1/1/500",
| |
| "2736": "Wall Sconce/sconce/-1/-1/1/500",
| |
| "2738": "Wall Sconce/sconce/-1/-1/1/1000",
| |
| "2740": "Wall Sconce/sconce/-1/-1/1/500",
| |
| "2748": "Wall Sconce/sconce/-1/-1/1/500",
| |
| "2812": "Wall Sconce/sconce/-1/-1/1/500",
| |
| "2750": "Wall Sconce/sconce/-1/-1/1/500",
| |
| "2742": "Blossom Rug/rug/6 4/6 4/1/10000",
| |
| "2870": "Funky Rug/rug/5 4/5 4/1/10000",
| |
| "2875": "Modern Rug/rug/5 4/5 4/1/10000",
| |
| "2814": "Squirrel Figurine/decor/1 1/1 1/1/500"
| |
| }
| |
| }
| |
| </syntaxhighlight>}}
| |
|
| |
|
| ==Format==
| |
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
| ! Index | | ! index |
| ! Field | | ! field |
| ! Example Value | | ! effect |
| | |- |
| | | 0 |
| | | name |
| | | The internal item name. |
| | |- |
| | | 1 |
| | | type |
| | | The furniture type. See [[#Furniture types|table of possible values]]. |
| | |- |
| | | 2 |
| | | tilesheet size |
| | | The furniture sprite size on the tilesheet, measured in tiles. This can be <samp>{{t|width}} {{t|height}}</samp> (e.g. <samp>1 2</samp>), or <samp>-1</samp> to use the default size for the type. |
| | |- |
| | | 3 |
| | | bounding box size |
| | | The size of the hitbox when the furniture is placed in-game, measured in tiles. The bounding box will be anchored to the bottom-left corner and extend upwards and rightwards. This can be <samp>{{t|width}} {{t|height}}</samp> (e.g. <samp>1 2</samp>), or <samp>-1</samp> to use the default size for the type. |
| | |- |
| | | 4 |
| | | rotations |
| | | The number of rotations possible (1, 2, or 4). |
| |- | | |- |
| |0 | | | 5 |
| |Name | | | price |
| |''S. Pine'' | | | The price when purchased from a shop. |
| |- | | |- |
| |1 | | | 6 |
| |Type | | | placement restriction |
| |''decor'' | | | Where the furniture can be placed. |
| | |
| | Possible values: |
| | {| class="wikitable sortable" |
| |- | | |- |
| |2
| | ! value |
| |source rectangle (width × height)
| | ! effect |
| |''1 2''
| |
| |- | | |- |
| |3 | | | -1 |
| |Bounding Box (width × height) | | | default (uses furniture type) |
| |''1 1''
| |
| |- | | |- |
| |4 | | | 0 |
| |Rotations | | | indoors-only |
| |''1''
| |
| |- | | |- |
| |5 | | | 1 |
| |Price | | | outdoors-only |
| |''500''
| |
| |- | | |- |
| |6 | | | 2 |
| |Name (in language files other than English) | | | indoors or outdoors |
| |''Minipino'' | | |} |
| | |- |
| | | 7 |
| | | display name |
| | | The translated furniture name, which allows [[Modding:Tokenizable strings|tokenizable strings]]. |
| | |- |
| | | 8 |
| | | sprite index |
| | | The sprite index within the spritesheet texture to draw. |
| | |- |
| | | 9 |
| | | texture |
| | | ''(Optional)'' The asset name of the texture to draw. Defaults to <samp>TileSheets/furniture</samp>. |
| | |- |
| | | 10 |
| | | off limits for random sale |
| | | ''(Optional)'' Whether to prevent this furniture from appearing in randomly generated shop stocks and the furniture catalogue. Default false. |
| | |- |
| | | 11 |
| | | context tags |
| | | ''(Optional)'' A space-delimited list of [[Modding:Context tags|context tags]] which apply to this furniture. Default none. |
| |} | | |} |
|
| |
|
| Values of "-1" in the <tt>Source Rectangle</tt> and <tt>Bounding Box</tt> fields correspond to the default values for the furniture type, calculated in <tt>Furniture.cs::getDefaultSourceRectForType()</tt> and <tt>Furniture.cs::getDefaultBoundingBoxForType()</tt>. These functions use numbers that correspond to furniture type, also defined in <tt>Furniture.cs</tt>:
| | ==Furniture types== |
| *chair = 0
| | The 'type' field can be set to one of these values. (The '1.7' column shows the equivalent values in the [[Modding:Migrate to Stardew Valley 1.7|upcoming Stardew Valley 1.7]].) |
| *bench = 1
| | |
| *couch = 2
| | {| class="wikitable" |
| *armchair = 3
| | |- |
| *dresser = 4
| | ! type (current) |
| *long table = 5
| | ! type (1.7) |
| *painting = 6
| | ! effect |
| *lamp = 7
| | |- |
| *decor = 8
| | !colspan="3"| chairs |
| *other = 9
| | |- |
| *bookcase = 10
| | | <samp>armchair</samp> |
| *table = 11
| | | <samp>Armchair</samp> |
| *rug = 12
| | | An armchair which lets one player sit on it. |
| *window = 13
| | |- |
| *fireplace = 14
| | | <samp>bench</samp> |
| *torch = 16
| | | <samp>Bench</samp> |
| *sconce = 17 | | | A bench which lets two players sit on it if it's wide enough. |
| | |- |
| | | <samp>chair</samp> |
| | | <samp>Chair</samp> |
| | | A chair which lets one player sit on it. |
| | |- |
| | | <samp>couch</samp> |
| | | <samp>Couch</samp> |
| | | A couch which lets an arbitrary number of players sit on it depending on its tile width. |
| | |- |
| | !colspan="3"| tables |
| | |- |
| | | <samp>long table</samp> |
| | | <samp>LongTable</samp> |
| | | A long table which allows placing an item on it. |
| | |- |
| | | <samp>table</samp> |
| | | <samp>Table</samp> |
| | | A table which allows placing an item on it. |
| | |- |
| | !colspan="3"| lighting |
| | |- |
| | | <samp>fireplace</samp> |
| | | <samp>Fireplace</samp> |
| | | A fireplace which can be lit. |
| | |- |
| | | <samp>lamp</samp> |
| | | <samp>Lamp</samp> |
| | | A lamp which can be lit. |
| | |- |
| | | <samp>sconce</samp> |
| | | <samp>Sconce</samp> |
| | | A sconce light which can be lit. |
| | |- |
| | | <samp>torch</samp> |
| | | <samp>Torch</samp> |
| | | A torch which can be lit. |
| | |- |
| | | <samp>window</samp> |
| | | <samp>Window</samp> |
| | | A window which can be placed on a wall and lets through light from outside. |
| | |- |
| | !colspan="3"| other interactions |
| | |- |
| | | <samp>bed</samp><br /><samp>bed child</samp><br /><samp>bed double</samp> |
| | | <samp>Bed</samp> |
| | | A bed which players can sleep in. |
| | |- |
| | | <samp>dresser</samp> |
| | | <samp>Dresser</samp> |
| | | A dresser which allows storing clothes within it. |
| | |- |
| | | <samp>fishtank</samp> |
| | | <samp>FishTank</samp> |
| | | A fish tank which can display fish placed inside it. |
| | |- |
| | | |
| | | <samp>Television</samp> |
| | | {{upcoming|1.7|A television which can be turned on to access TV channels.}} |
| | |- |
| | !colspan="3"| decorative |
| | |- |
| | | <samp>bookcase</samp> |
| | | <samp>Bookcase</samp> |
| | | A decorative bookcase which has no special behavior. |
| | |- |
| | | <samp>decor</samp> |
| | | <samp>Decor</samp> |
| | | A general decor item which has no special behavior. |
| | |- |
| | | <samp>painting</samp> |
| | | <samp>Painting</samp> |
| | | A painting which can be hung on a wall. |
| | |- |
| | | <samp>randomized_plant</samp> |
| | | <samp>RandomizedPlant</samp> |
| | | A plant whose appearance is dynamic by randomizing each of its three vertical tiles (usually a pot, stem, and head). |
| | |- |
| | | <samp>rug</samp> |
| | | <samp>Rug</samp> |
| | | A rug which can be placed on the ground and under furniture, and which lets players and NPCs walk over it. |
| | |- |
| | | <samp>other</samp> |
| | | <samp>Other</samp> |
| | | A miscellaneous furniture which has no special behavior. |
| | |} |
| | |
| | ==See also== |
| | * [[Modding:Items]] for item data in general |
|
| |
|
| [[Category:Modding]] | | [[Category:Modding]] |
| | |
| | [[ru:Модификации:Мебель]] |
| | [[zh:模组:家具]] |