Changes

m
Text replacement - "tt>" to "samp>"
Line 6: Line 6:     
==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.5}} for reference:
+
Blueprint data is stored in <samp>Content\Data\Blueprints.xnb</samp>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}} for reference:
   −
{{collapse|Data|content=<source lang="json">
+
{{collapse|Data|content=<syntaxhighlight 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 44: Line 44:  
   "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>}}
+
</syntaxhighlight>}}
    
==Format==
 
==Format==
Line 50: Line 50:     
<ul>
 
<ul>
<li>Animal buildings (denoted by the first field being <tt>animal</tt>), like this entry:
+
<li>Animal buildings (denoted by the first field being <samp>animal</samp>), like this entry:
   −
<source lang="json">
+
<syntaxhighlight lang="json">
 
   "Chicken": "animal/500/64/64/Chicken/Lays delicious eggs. Comes in two colors./null/Farm"
 
   "Chicken": "animal/500/64/64/Chicken/Lays delicious eggs. Comes in two colors./null/Farm"
</source>
+
</syntaxhighlight>
    
The fields for animal buildings are...
 
The fields for animal buildings are...
Line 67: Line 67:  
|-
 
|-
 
| 0
 
| 0
| <tt>null</tt>
+
| <samp>null</samp>
 
| string
 
| string
 
| ''animal''
 
| ''animal''
Line 73: Line 73:  
|-
 
|-
 
| 1
 
| 1
| <tt>moneyRequired</tt>
+
| <samp>moneyRequired</samp>
 
| int
 
| int
 
| ''500''
 
| ''500''
Line 79: Line 79:  
|-
 
|-
 
| 2
 
| 2
| <tt>sourceRectForMenuView</tt>
+
| <samp>sourceRectForMenuView</samp>
 
| int
 
| int
 
| ''64''
 
| ''64''
Line 85: Line 85:  
|-
 
|-
 
| 3
 
| 3
| <tt>sourceRectForMenuView</tt>
+
| <samp>sourceRectForMenuView</samp>
 
| int
 
| int
 
| ''64''
 
| ''64''
Line 91: Line 91:  
|-
 
|-
 
| 4
 
| 4
| <tt>displayName</tt>
+
| <samp>displayName</samp>
 
| string
 
| string
 
| ''Chicken''
 
| ''Chicken''
Line 97: Line 97:  
|-
 
|-
 
| 5
 
| 5
| <tt>description</tt>
+
| <samp>description</samp>
 
| string
 
| string
 
| ''Lays delicious eggs. Comes in two colors.''
 
| ''Lays delicious eggs. Comes in two colors.''
Line 103: Line 103:  
|-
 
|-
 
| 6
 
| 6
| <tt></tt>
+
| <samp></samp>
 
|
 
|
 
| ''null''
 
| ''null''
Line 109: Line 109:  
|-
 
|-
 
| 7
 
| 7
| <tt></tt>
+
| <samp></samp>
 
|  
 
|  
 
| ''Farm''
 
| ''Farm''
Line 117: Line 117:  
<li>Any other entry, like this one:
 
<li>Any other entry, like this one:
   −
<source lang="json">
+
<syntaxhighlight lang="json">
 
   "Barn": "388 350 390 150/7/4/1/3/3/3/Barn/Barn/Houses 4 barn-dwelling animals./Buildings/none/96/96/4/null/Farm/6000/false"
 
   "Barn": "388 350 390 150/7/4/1/3/3/3/Barn/Barn/Houses 4 barn-dwelling animals./Buildings/none/96/96/4/null/Farm/6000/false"
</source>
+
</syntaxhighlight>
    
{| class="wikitable"
 
{| class="wikitable"
Line 130: Line 130:  
|-
 
|-
 
| 0
 
| 0
| <tt>itemsRequired</tt>
+
| <samp>itemsRequired</samp>
 
| int int
 
| int int
 
| ''388 350 390 150''
 
| ''388 350 390 150''
Line 136: Line 136:  
|-
 
|-
 
| 1
 
| 1
| <tt>tilesWidth</tt>
+
| <samp>tilesWidth</samp>
 
| int
 
| int
 
| ''7''
 
| ''7''
Line 142: Line 142:  
|-
 
|-
 
| 2
 
| 2
| <tt>tilesHeight</tt>
+
| <samp>tilesHeight</samp>
 
| int
 
| int
 
| ''4''
 
| ''4''
Line 148: Line 148:  
|-
 
|-
 
| 3
 
| 3
| <tt>humanDoor</tt>
+
| <samp>humanDoor</samp>
 
| int
 
| int
 
| ''1''
 
| ''1''
Line 154: Line 154:  
|-
 
|-
 
| 4
 
| 4
| <tt>humanDoor</tt>
+
| <samp>humanDoor</samp>
 
| int
 
| int
 
| ''3''
 
| ''3''
Line 160: Line 160:  
|-
 
|-
 
| 5
 
| 5
| <tt>animalDoor</tt>
+
| <samp>animalDoor</samp>
 
| int
 
| int
 
| ''3''
 
| ''3''
Line 166: Line 166:  
|-
 
|-
 
| 6
 
| 6
| <tt>animalDoor</tt>
+
| <samp>animalDoor</samp>
 
| int
 
| int
 
| ''3''
 
| ''3''
Line 172: Line 172:  
|-
 
|-
 
| 7
 
| 7
| <tt>mapToWarpTo</tt>
+
| <samp>mapToWarpTo</samp>
 
| string
 
| string
 
| ''Barn''
 
| ''Barn''
Line 178: Line 178:  
|-
 
|-
 
| 8
 
| 8
| <tt>displayName</tt>
+
| <samp>displayName</samp>
 
| string
 
| string
 
| ''Barn''
 
| ''Barn''
Line 184: Line 184:  
|-
 
|-
 
| 9
 
| 9
| <tt>description</tt>
+
| <samp>description</samp>
 
| string
 
| string
 
| ''Houses 4 barn-dwelling animals.''
 
| ''Houses 4 barn-dwelling animals.''
Line 190: Line 190:  
|-
 
|-
 
| 10
 
| 10
| <tt>blueprintType</tt>
+
| <samp>blueprintType</samp>
 
| string
 
| string
 
| ''Buildings''
 
| ''Buildings''
Line 196: Line 196:  
|-
 
|-
 
| 11
 
| 11
| <tt>nameOfBuildingToUpgrade</tt>
+
| <samp>nameOfBuildingToUpgrade</samp>
 
| string
 
| string
 
| ''none''
 
| ''none''
Line 202: Line 202:  
|-
 
|-
 
| 12
 
| 12
| <tt>sourceRectForMenuView</tt>
+
| <samp>sourceRectForMenuView</samp>
 
| int
 
| int
 
| ''96''
 
| ''96''
Line 208: Line 208:  
|-
 
|-
 
| 13
 
| 13
| <tt>sourceRectForMenuView</tt>
+
| <samp>sourceRectForMenuView</samp>
 
| int
 
| int
 
| ''96''
 
| ''96''
Line 214: Line 214:  
|-
 
|-
 
| 14
 
| 14
| <tt>maxOccupants</tt>
+
| <samp>maxOccupants</samp>
 
| int
 
| int
 
| ''4''
 
| ''4''
Line 220: Line 220:  
|-
 
|-
 
| 15
 
| 15
| <tt>actionBehavior</tt>
+
| <samp>actionBehavior</samp>
 
| string
 
| string
 
| ''null''
 
| ''null''
Line 226: Line 226:  
|-
 
|-
 
| 16
 
| 16
| <tt>namesOfOkBuildingLocations</tt>
+
| <samp>namesOfOkBuildingLocations</samp>
 
| string
 
| string
 
| ''Farm''
 
| ''Farm''
Line 232: Line 232:  
|-
 
|-
 
| 17
 
| 17
| <tt>moneyRequired</tt>
+
| <samp>moneyRequired</samp>
 
| int
 
| int
 
| ''6000''
 
| ''6000''
Line 238: Line 238:  
|-
 
|-
 
| 18
 
| 18
| <tt>magical</tt>
+
| <samp>magical</samp>
 
| boolean
 
| boolean
 
| ''false''
 
| ''false''
Line 246: Line 246:     
[[Category:Modding]]
 
[[Category:Modding]]
 +
 +
[[ru:Модификации:Чертежи]]
106,241

edits