Changes

standardise format a bit, update raw data
Line 5: Line 5:  
This page explains how the game uses blueprints to construct buildings. This is an advanced guide for mod developers.
 
This page explains how the game uses blueprints to construct buildings. This is an advanced guide for mod developers.
   −
==Data==
+
==Raw data==
===Raw data===
+
Blueprint data is stored in <tt>Content\Data\Blueprints.xnb</tt>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.3.36}} for reference:
Blueprint data is stored in <tt>Content\Data\Blueprints.xnb</tt>, which can be [[Modding:Editing XNB files#unpacking|unpacked into a text file]]. Here's the raw data as of {{version|1.3.33}} for reference:
     −
{{collapse|Code|content=<source lang="json">
+
{{collapse|Data|content=<source lang="json">
 
{
 
{
 
   "Silo": "390 100 330 10 334 5/3/3/-1/-1/-2/-1/null/Silo/Allows you to cut and store grass for feed./Buildings/none/48/128/-1/null/Farm/100/false",
 
   "Silo": "390 100 330 10 334 5/3/3/-1/-1/-2/-1/null/Silo/Allows you to cut and store grass for feed./Buildings/none/48/128/-1/null/Farm/100/false",
Line 41: Line 40:  
   "Pig": "animal/2000/64/96/Pig/These are specially trained to find truffles./null/Farm"
 
   "Pig": "animal/2000/64/96/Pig/These are specially trained to find truffles./null/Farm"
 
}
 
}
</source>
+
</source>}}
}}
     −
===Format===
+
==Format==
 
The file contains data fields delimited by <code>/</code>, with two formats:
 
The file contains data fields delimited by <code>/</code>, with two formats:
  
translators
8,404

edits