更改

跳到导航 跳到搜索
文本替换 - 替换“tt>”为“samp>”
第4行: 第4行:     
==原始数据==
 
==原始数据==
 储存地址为<tt>Content\Data\BigCraftablesInformation.<语言>-<国家>.xnb</tt>,如中文版为<code>Content\Data\BigCraftablesInformation.zh-CN.xnb</code>,通过[[模组:编辑 XNB 文件#解包游戏文件|解包]]来编辑。下面是1.5版本下的数据:
+
 储存地址为<samp>Content\Data\BigCraftablesInformation.<语言>-<国家>.xnb</samp>,如中文版为<samp>Content\Data\BigCraftablesInformation.zh-CN.xnb</samp>,通过[[模组:编辑 XNB 文件#解包游戏文件|解包]]来编辑。下面是1.5版本下的数据:
    
{{collapse|content=<syntaxhighlight lang="json">
 
{{collapse|content=<syntaxhighlight lang="json">
第179行: 第179行:     
==格式==
 
==格式==
{| class="wikitable"
+
{|class="wikitable"
 
|-
 
|-
 
! 索引
 
! 索引
! 字段 (类型)
+
! 字段 ''(类型)''
 
! 示例
 
! 示例
 
|-
 
|-
 
|0
 
|0
|Name (string)
+
|Name ''(string)''
|''Worm Bin''
+
| Worm Bin
 
|-
 
|-
 
|1
 
|1
|Price (int)
+
|Price ''(int)''
|''0''
+
| 0
 
|-
 
|-
 
|2
 
|2
|Edibility (int)
+
|Edibility ''(int)''
|''-300''
+
| -300
 
|-
 
|-
 
|3
 
|3
|Type (string) &amp; Category (int)
+
|Type ''(string)'' &amp; Category ''(int)''
|''Crafting -9''
+
| Crafting -9
 
|-
 
|-
 
|4
 
|4
|Description (string)
+
|Description ''(string)''
|'' 稳定地提供诱饵。这些虫可以依靠自身维持生存。''
+
| 稳定地提供诱饵。这些虫可以依靠自身维持生存。
 
|-
 
|-
 
|5
 
|5
|Can be set outdoors (bool)
+
|Can be set outdoors ''(bool)''
|''true''
+
| true
 
|-
 
|-
 
|6
 
|6
|Can be set indoors (bool)
+
|Can be set indoors ''(bool)''
|''true''
+
| true
 
|-
 
|-
 
|7
 
|7
|Fragility (int)
+
|Fragility ''(int)''
|''0''
+
| 0
 
|-
 
|-
 
|8
 
|8
|isLamp (bool)
+
|isLamp ''(bool)''
|"false" (如果该项没有值,一律为false)
+
| false (如果该项没有值,一律为false)
 
|-
 
|-
 
|9
 
|9
|DisplayName (string)
+
|DisplayName ''(string)''
|'' 虫饵盒''
+
| 虫饵盒
 
|}
 
|}
   第229行: 第229行:  
 表里列出来的不一定准确。比如:
 
 表里列出来的不一定准确。比如:
 
* 有些完全成了废稿或者根本没被当成大件。
 
* 有些完全成了废稿或者根本没被当成大件。
* 有些被放入了别的类别。散落在<tt>ObjectInformation.xnb</tt> (见[[模组:物品数据|物品数据]]) 或<tt>Furniture.xnb</tt> (见[[模组:家具数据|家具数据]])中。
+
* 有些被放入了别的类别。散落在<samp>ObjectInformation.xnb</samp> (见[[模组:物品数据|物品数据]]) 或<samp>Furniture.xnb</samp> (见[[模组:家具数据|家具数据]])中。
    
[[Category:模组]]
 
[[Category:模组]]
    
[[en:Modding:Big craftables data]]
 
[[en:Modding:Big craftables data]]
界面管理员、patroller、结构式讨论监督员管理员、translators
106,639

个编辑

导航菜单