本模组允许通过 Content Patcher 修改农舍的初始家具。
配置示例
以下是 content.json 的示例。示例会在农场类型索引为 0 的农舍中放置床、壁炉、墙面装饰、桌子和椅子,并清除对应类别的原有家具:
{
"Format": "1.23.0",
"Changes": [
{
"Action": "EditData",
"Target": "aedenthorn.CustomStarterFurniture/dictionary",
"Entries": {
"aedenthorn.Bed": {
"FarmType": 0,
"Clear": true,
"Furniture": [
{
"NameOrIndex": "Strawberry Double Bed",
"X": 8,
"Y": 8
}
]
},
"aedenthorn.Fireplace": {
"FarmType": 0,
"Clear": true,
"Furniture": [
{
"NameOrIndex": "Monster Fireplace",
"X": 8,
"Y": 4
}
]
},
"aedenthorn.WallStuff": {
"FarmType": 0,
"Clear": true,
"Furniture": [
{
"NameOrIndex": "1678",
"X": 3,
"Y": 1
},
{
"NameOrIndex": "J. Cola Light",
"X": 5,
"Y": 1
}
]
},
"aedenthorn.TableAndChairs": {
"FarmType": 0,
"Clear": true,
"Furniture": [
{
"NameOrIndex": "Candy Table",
"X": 5,
"Y": 5,
"HeldObjectNameOrIndex": "Table Plant",
"HeldObjectType": "Furniture"
},
{
"NameOrIndex": "Pink Office Chair",
"X": 4,
"Y": 5,
"Rotation": 1
},
{
"NameOrIndex": "Pink Office Chair",
"X": 4,
"Y": 6,
"Rotation": 1
},
{
"NameOrIndex": "Pink Office Chair",
"X": 7,
"Y": 5,
"Rotation": 3
},
{
"NameOrIndex": "Pink Office Chair",
"X": 7,
"Y": 6,
"Rotation": 3
},
{
"NameOrIndex": "Pink Office Chair",
"X": 5,
"Y": 4,
"Rotation": 0
},
{
"NameOrIndex": "Pink Office Chair",
"X": 6,
"Y": 4,
"Rotation": 0
},
{
"NameOrIndex": "Pink Office Chair",
"X": 5,
"Y": 7,
"Rotation": 2
},
{
"NameOrIndex": "Pink Office Chair",
"X": 6,
"Y": 7,
"Rotation": 2
}
]
}
}
}
]
}
字典中的键必须唯一,但可以自行命名;每个字典条目都包含一组要添加的家具,因此上面的家具也可以全部放在同一个键下。
NameOrIndex:家具名称,或其在Data/Furniture中的索引。FarmType:角色创建界面中所选农场的从零开始计数的索引。使用-1可应用于所有农场类型。Clear:设为false可保留原版家具。HeldObjectType:可设为Object或Furniture。
安装与技术信息
需要安装 SMAPI。模组提供 Generic Mod Config Menu 界面,可在游戏内修改配置。
代码:GitHub 项目页面
作者的星露谷物语模组列表:Nexus Mods 文章
作者:aedenthorn。
来源与文件
- 原作者:aedenthorn
- 原项目:Custom Starter Furniture
- 文件:Custom Starter Furniture(ID:153789)
文件说明
Switch to object for FarmType to allow for strings
前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。
<!-- aoe-mods-source:nexusmods:stardewvalley:16729 -->
下载模块
共 1 个来源立即下载推荐来源
