StructureFloorCoordDict: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
placeholder - explanation of structures footprint shown for structures(fields, etc.) - relative to floor_buildings.png file
placeholder - explanation of structures footprint shown for structures(fields, etc.




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>
Footprint shown relative to floor_buildings.png, floor_base.png, or floor_base.png files <br>
See SheepFarm, CowFarm & Orchard and VegetableFarm, WheatFarm & CocoaFarm.<br>
(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 SheepField, CowField & OrchardPlot and VegetablePlot, WheatField & CocoaPlot.<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, // lighter green - see SheepFarm, CowFarm, Orchard
       "x": 29, // lighter green - see SheepField/ID=3, CowField/ID=4, OrchardPlot/ID=7
       "y": 0
       "y": 0
     },
     },
     "202": {  // mod structure ID
     "202": {  // mod structure ID
       "x": 27, // darker brown - see WheatFarm, VegetableFarm, CocoaFarm,  
       "x": 27, // darker brown - see WheatField/ID=1, VegetablePlot/ID=2, CocoaPlot,/ID=9
       "y": 0
       "y": 0
     }
     }

Revision as of 19:32, 20 December 2021

placeholder - explanation of structures footprint shown for structures(fields, etc.


Footprint shown relative to floor_buildings.png, floor_base.png, or floor_base.png files
(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 SheepField, CowField & OrchardPlot and VegetablePlot, WheatField & CocoaPlot.
Example entry in render.json
{

 "structureFloorCoordDict": {
   "201": {  // mod structure ID
     "x": 29, // lighter green - see SheepField/ID=3, CowField/ID=4, OrchardPlot/ID=7
     "y": 0
   },
   "202": {   // mod structure ID
     "x": 27, // darker brown - see WheatField/ID=1, VegetablePlot/ID=2, CocoaPlot,/ID=9
     "y": 0
   }
 },

}