Changes

Jump to navigation Jump to search
no edit summary
Line 55: Line 55:  
! index
 
! index
 
! field
 
! field
 +
! type
 
! example
 
! example
 
! explanation
 
! explanation
Line 77: Line 78:  
| <tt>itemsRequired</tt>
 
| <tt>itemsRequired</tt>
 
| ''388 350 390 150''
 
| ''388 350 390 150''
 +
| int int
 
| The items required for purchase, consisting of {{t|item ID}} {{t|amount}} pairs. The example specifies 350 Wood (item ID 338) and 150 Stone (item ID 390).
 
| The items required for purchase, consisting of {{t|item ID}} {{t|amount}} pairs. The example specifies 350 Wood (item ID 338) and 150 Stone (item ID 390).
 
|-
 
|-
 
| 1
 
| 1
 
| <tt>tilesWidth</tt>
 
| <tt>tilesWidth</tt>
 +
| int
 
| ''7''
 
| ''7''
 
| The number of tiles ''wide''(''x'') the building will be when placed on a map. This does not change the size of the image placed, but rather the "walkable" area.
 
| The number of tiles ''wide''(''x'') the building will be when placed on a map. This does not change the size of the image placed, but rather the "walkable" area.
Line 86: Line 89:  
| 2
 
| 2
 
| <tt>tilesHeight</tt>
 
| <tt>tilesHeight</tt>
 +
| int
 
| ''4''
 
| ''4''
 
| The number of tiles ''high''(''y'') the building will be when placed on a map. This does not change the size of the image placed, but rather the "walkable" area.
 
| The number of tiles ''high''(''y'') the building will be when placed on a map. This does not change the size of the image placed, but rather the "walkable" area.
Line 91: Line 95:  
| 3
 
| 3
 
| <tt>humanDoor</tt>
 
| <tt>humanDoor</tt>
 +
| int
 
| ''1''
 
| ''1''
 
| ''x'' location, in tiles, of the clickable ''human'' door.
 
| ''x'' location, in tiles, of the clickable ''human'' door.
Line 96: Line 101:  
| 4
 
| 4
 
| <tt>humanDoor</tt>
 
| <tt>humanDoor</tt>
 +
| int
 
| ''3''
 
| ''3''
 
| ''y'' location, in tiles, of the clickable ''human'' door.
 
| ''y'' location, in tiles, of the clickable ''human'' door.
Line 101: Line 107:  
| 5
 
| 5
 
| <tt>animalDoor</tt>
 
| <tt>animalDoor</tt>
 +
| int
 
| ''3''
 
| ''3''
 
| ''x'' location, in tiles, of the clickable ''animal'' door.
 
| ''x'' location, in tiles, of the clickable ''animal'' door.
Line 106: Line 113:  
| 6
 
| 6
 
| <tt>animalDoor</tt>
 
| <tt>animalDoor</tt>
 +
| int
 
| ''3''
 
| ''3''
 
| ''y'' location, in tiles, of the clickable ''animal'' door.
 
| ''y'' location, in tiles, of the clickable ''animal'' door.
Line 111: Line 119:  
| 7
 
| 7
 
| <tt>mapToWarpTo</tt>
 
| <tt>mapToWarpTo</tt>
 +
| string
 
| ''Barn''
 
| ''Barn''
 
|  
 
|  
Line 116: Line 125:  
| 8
 
| 8
 
| <tt>displayName</tt>
 
| <tt>displayName</tt>
 +
| string
 
| ''Barn''
 
| ''Barn''
 
|  
 
|  
Line 121: Line 131:  
| 9
 
| 9
 
| <tt>description</tt>
 
| <tt>description</tt>
 +
| string
 
| ''Houses 4 barn-dwelling animals.''
 
| ''Houses 4 barn-dwelling animals.''
 
| The description of the building used in locations such as the ''Carpenter's Menu''.
 
| The description of the building used in locations such as the ''Carpenter's Menu''.
Line 126: Line 137:  
| 10
 
| 10
 
| <tt>blueprintType</tt>
 
| <tt>blueprintType</tt>
 +
| string
 
| ''Buildings''
 
| ''Buildings''
 
| Type of BluePrint. The current (as of 1.2.29) types are: {{t|Buildings}} {{t|Upgrades}} {{t|Decorations}} {{t|Demolish}} {{t|Animals}} though, currently, only {{t|Buildings}} {{t|Upgrades}} and {{t|Animals}} are used in code.
 
| Type of BluePrint. The current (as of 1.2.29) types are: {{t|Buildings}} {{t|Upgrades}} {{t|Decorations}} {{t|Demolish}} {{t|Animals}} though, currently, only {{t|Buildings}} {{t|Upgrades}} and {{t|Animals}} are used in code.
Line 131: Line 143:  
| 11
 
| 11
 
| <tt>nameOfBuildingToUpgrade</tt>
 
| <tt>nameOfBuildingToUpgrade</tt>
 +
| string
 
| ''none''
 
| ''none''
| Only used for {{t|Upgrades}} BluePrint types. This allows you to choose which building you want to replace/upgrade.
+
| Only used for {{t|Upgrades}} BluePrint types. This allows you to choose which building/blueprint you want to replace/upgrade.
 
|-
 
|-
 
| 12
 
| 12
 
| <tt>sourceRectForMenuView</tt>
 
| <tt>sourceRectForMenuView</tt>
 +
| int
 
| ''96''
 
| ''96''
 
|  
 
|  
Line 141: Line 155:  
| 13
 
| 13
 
| <tt>sourceRectForMenuView</tt>
 
| <tt>sourceRectForMenuView</tt>
 +
| int
 
| ''96''
 
| ''96''
 
|  
 
|  
Line 156: Line 171:  
| 16
 
| 16
 
| <tt>namesOfOkBuildingLocations</tt>
 
| <tt>namesOfOkBuildingLocations</tt>
 +
| string
 
| ''Farm''
 
| ''Farm''
| Game Locations where this building is allowed to build. The game only uses {{t|Farm}.
+
| Game Locations where this building is allowed to build. The game only uses {{t|Farm} and as far a I can tell it's never used.
 
|-
 
|-
 
| 17
 
| 17
 
| <tt>moneyRequired</tt>
 
| <tt>moneyRequired</tt>
 +
| int
 
| ''6000''
 
| ''6000''
 
| Amount of money required to purchase from the Carpenter.
 
| Amount of money required to purchase from the Carpenter.
Line 166: Line 183:  
| 18
 
| 18
 
| <tt>magical</tt>
 
| <tt>magical</tt>
 +
| boolean
 
| ''false''
 
| ''false''
 
| Allow the building will build instantly/magically.
 
| Allow the building will build instantly/magically.
16

edits

Navigation menu