“模组:创建内容包”的版本间的差异

来自Stardew Valley Wiki
跳到导航 跳到搜索
第16行: 第16行:
 
! 功能
 
! 功能
 
|-
 
|-
| {{nexus mod|1915|Content Patcher}}
+
| {{nexus mod|1915| 内容修补程序 Content Patcher}}
| Add/edit/replace any content asset in the game (i.e. assets normally read from [[Modding:Player Guide/Getting Started#Find your game folder|your game's <tt>Content</tt> folder]]). It supports data/image/map files, has functionality like partial patches and prepend/append, and supports many different conditions and tokens (e.g. to make textures seasonal, data that changes by time of day, etc). A wide variety of mods can be created using Content Patcher, from simple portrait replacements to creating entire NPCs.
+
| 添加/ 编辑/ 替换游戏中的任何内容和资源 ( 即通常从 [[Modding:Player Guide/Getting Started#Find your game folder| 游戏的 <tt>Content</tt> 文件夹]] 中读取的资源). 它支持 '''数据/ 图像/ 地图''' 文件,具有局部补丁和前置/ 追加等功能,并支持许多不同的条件和令牌(例如使纹理成为季节性的以及随时间变化的数据等)。使用 Content Patcher 可以创建各种各样的模组,从简单的肖像替换到创建整个NPC
  
See [[Modding:Content Patcher]] for a getting started guide.
+
参阅 [[ 模组:Content Patcher]] 以查看使用教程
 
|-
 
|-
| {{nexus mod|1720|Json Assets}}
+
| {{nexus mod|1720| 物品添加框架 Json Assets}}
| Create specific item types, with support for functionality specific to each item type (e.g. specifying crafting/cooking/recipes or gift tastes for new items). It currently supports creating objects, big craftables, crops, fruit trees, hats, weapons, shirts, pants, and boots. Content and images added by Json Assets can also be edited through Content Patcher.
+
| 创建特定的物品类型,并支持每种物品类型的特定功能(例如为新物品指定制作配方/ 烹饪配方/ 礼物口味)。它目前支持创建普通物品、大型工艺品、农作物、果树、帽子、武器、衬衫、裤子和靴子。Json Assets 添加的内容和图像也可以通过 Content Patcher 进行编辑
  
See {{github|spacechase0/JsonAssets#readme|its GitHub readme}} for documentation.
+
参阅 {{github|spacechase0/JsonAssets#readme|its GitHub readme}} 查看教程
 
|-
 
|-
| {{nexus mod|1820|TMXL Map Toolkit}}
+
| {{nexus mod|1820| 地图加载工具 TMXL Map Toolkit}}
| Add/edit in-game locations and maps. It includes a wide variety of specialized map functionality like crop layers, water color, tile actions, and Lua scripting.
+
| 添加/ 编辑游戏中的位置和地图。它包括各种特殊的地图功能,例如裁剪图层,水的颜色,图块动作和 Lua 脚本
  
See [https://gist.github.com/hatrat/6339a7975ae5d13802488d88a8b10a64#file-wip-passive-features-md additional TMXL documentation].
+
参阅 [https://gist.github.com/hatrat/6339a7975ae5d13802488d88a8b10a64#file-wip-passive-features-md additional TMXL documentation]
 
|-
 
|-
| {{nexus mod|4970|Producer Framework Mod}}
+
| {{nexus mod|4970| 生产者框架 Producer Framework Mod}}
| Add/change the inputs/outputs/behaviour of any machine in the game. That includes vanilla machines (e.g. [[Cask|casks]]), machines added by other mods, and adding machine logic to any big craftable.
+
| 添加/ 更改游戏中任何机器的输入/ 输出/ 行为。其中包括原版机器(例如[[Cask| 木桶]] )、其他模组添加的机器、以及向任何大型可加工物品添加机器逻辑的机器
 
|}
 
|}
  

2021年4月12日 (一) 17:40的版本

目录

Robin building.png
“我这里还有很多事情需要处理。”
— 罗宾

不完整的翻译

本文或部分尚未完全翻译成中文。 欢迎您通过编辑帮助其建设。
最后编辑1059 Studio于2021-04-12 17:40:59.

内容包框架 是 SMAPI 模组,可让你编写 内容包,只需很少甚至无需代码即可实现功能
内容包是修改游戏的两种主要方法之一,另一种是 直接为 SMAPI 创建 C# 模组

每个框架模组都定义了自己的内容包格式,注意查看其使用说明页

可用的框架

核心框架

这些是用于创建各种模组的最受欢迎的框架(每个框架至少包含100个发布的内容包)。

框架模组 功能
内容修补程序 Content Patcher 添加/编辑/替换游戏中的任何内容和资源 (即通常从 游戏的 Content文件夹中读取的资源). 它支持 数据/图像/地图 文件,具有局部补丁和前置/追加等功能,并支持许多不同的条件和令牌(例如使纹理成为季节性的以及随时间变化的数据等)。使用 Content Patcher 可以创建各种各样的模组,从简单的肖像替换到创建整个NPC

参阅 模组:Content Patcher 以查看使用教程

物品添加框架 Json Assets 创建特定的物品类型,并支持每种物品类型的特定功能(例如为新物品指定制作配方/烹饪配方/礼物口味)。它目前支持创建普通物品、大型工艺品、农作物、果树、帽子、武器、衬衫、裤子和靴子。Json Assets 添加的内容和图像也可以通过 Content Patcher 进行编辑

参阅 its GitHub readme 查看教程

地图加载工具 TMXL Map Toolkit 添加/编辑游戏中的位置和地图。它包括各种特殊的地图功能,例如裁剪图层,水的颜色,图块动作和 Lua 脚本

参阅 additional TMXL documentation

生产者框架 Producer Framework Mod 添加/更改游戏中任何机器的输入/输出/行为。其中包括原版机器(例如木桶)、其他模组添加的机器、以及向任何大型可加工物品添加机器逻辑的机器

Other frameworks

Many other frameworks provide specific functionality for content packs.

mod functionality
Content Patcher Animations Animate any texture loaded through Content Patcher, including for textures that can't normally be animated (e.g. item sprites).
Custom Crafting Stations Add customized crafting stations which opens menus with a limited selection of recipes, without those recipes cluttering up the vanilla crafting menus. The stations can be big craftables that are vanilla or added using Json Assets (JA). The stations can also be added via tiledata added to the map.
Custom Furniture Add new furniture items to the game.
Custom Music Replace or add music tracks and sound effects.
Custom Ore Nodes Add rock/mineral types that can be broken get items, either custom or from the base game.
Custom Resource Clumps Add new types of boulder-sized resource clumps you can break to get items, either custom or from the base game.
Expanded Storage Adds custom storages (chests, cabinets, etc.) that support capacity at vanilla levels and beyond.
Farm Type Manager Add farm-like spawning logic to any map in the game. That includes spawning stumps, debris, forage, meteors, monsters, ores, etc.
Mail Framework Mod Add new mail to the game with functionality like custom backgrounds, repeating mail, a wider variety of mail attachments, and support for multiple attachments. (Simple mail without the custom functionality can also be added via Content Patcher.)
Shop Tile Framework Add new shops or edit existing shop inventories with with a wide variety of conditions.
Train Station Make new locations accessible through the railroad train station, so you don't need to patch paths/warps into existing maps.

See also

  • Modding:Index for different ways to create mods, and more detailed documentation.