「模组:创建内容包」修訂間的差異
跳至導覽
跳至搜尋
1059 Studio(對話 | 貢獻) |
1059 Studio(對話 | 貢獻) |
||
第2行: | 第2行: | ||
{{翻译}} | {{翻译}} | ||
− | + | 内容包框架 是 SMAPI 模组,可让你编写 [[ 模组: 内容包| 内容包]] 很少甚至无需代码,并实现功能。内容包是修改游戏的两种主要方法之一, 另一种是 [[ 模组:Modder Guide| 直接为 SMAPI 创建 C# 模组]] | |
− | + | 每个框架模组都定义了自己的内容包格式,注意查看其使用说明页 | |
==Active frameworks== | ==Active frameworks== |
於 2021年4月12日 (一) 17:26 的修訂
← 目錄
![]() |
不完整的翻譯 本文或部分尚未完全翻譯成中文。
歡迎您通過編輯幫助其建設。 |
內容包框架 是 SMAPI 模組,可讓你編寫 內容包 很少甚至無需代碼,並實現功能。內容包是修改遊戲的兩種主要方法之一, 另一種是 直接為 SMAPI 創建 C# 模組
每個框架模組都定義了自己的內容包格式,注意查看其使用說明頁
Active frameworks
Core frameworks
These are the most popular frameworks (with at least 100 released content packs each) used to create a wide variety of mods.
mod | functionality |
---|---|
Content Patcher | Add/edit/replace any content asset in the game (i.e. assets normally read from your game's Content 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.
See Modding:Content Patcher for a getting started guide. |
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.
See its GitHub readme for documentation. |
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. |
Producer Framework Mod | Add/change the inputs/outputs/behaviour of any machine in the game. That includes vanilla machines (e.g. casks), machines added by other mods, and adding machine logic to any big craftable. |
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.