StructureFloorCoordDict: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:




Footprint shown relative to floor_buildings.png file (currently using tiles in the x=29 to 31 and y=0 to 4. Game may calculate offsets from coords based on adjacent plot/field condition).<br>
Footprint shown relative to floor_buildings.png file (currently using tiles in the x=29 to 31 and y=0 to 4 range. Game may calculate offsets from coords based on adjacent plot/field condition).<br>
See Sheep & Cow Farms, Orchard and CocoaFarm, Wheat and Cocoa Farms.<br>
See SheepFarm, CowFarm & Orchard and VegetableFarm, WheatFarm & CocoaFarm.<br>
Example entry in render.json<br>
Example entry in render.json<br>
{
{
   "structureFloorCoordDict": {
   "structureFloorCoordDict": {
     "201": {  // mod structure ID
     "201": {  // mod structure ID
       "x": 29,
       "x": 29, // lighter green - see SheepFarm, CowFarm, Orchard
       "y": 0
       "y": 0
     },
     },
     "202": {  // mod structure ID
     "202": {  // mod structure ID
       "x": 27,
       "x": 27, // darker brown - see WheatFarm, VegetableFarm, CocoaFarm,  
       "y": 0
       "y": 0
     }
     }

Revision as of 18:42, 3 September 2021

placeholder - explanation of structures footprint shown for structures(fields, etc.) - relative to floor_buildings.png file


Footprint shown relative to floor_buildings.png file (currently using tiles in the x=29 to 31 and y=0 to 4 range. Game may calculate offsets from coords based on adjacent plot/field condition).
See SheepFarm, CowFarm & Orchard and VegetableFarm, WheatFarm & CocoaFarm.
Example entry in render.json
{

 "structureFloorCoordDict": {
   "201": {  // mod structure ID
     "x": 29, // lighter green - see SheepFarm, CowFarm, Orchard
     "y": 0
   },
   "202": {   // mod structure ID
     "x": 27, // darker brown - see WheatFarm, VegetableFarm, CocoaFarm, 
     "y": 0
   }
 },

}