「模组:创建内容包」修訂間的差異

出自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.