Factory Building Stats
API Endpoint: getFactory
Factory Stats
ADVISORY: Due to performance, all factory calls use a caching system. Therefore, you will not always get the most up-to-date info on your factory. Please consult the Configuration page to set caching delays.
getAssembler only retrieves Assemblers
getBlender only retrieves Blenders
getConstructor only retrieves Constructors
getParticle only retrieves Particle Accelerators
etc…
JSON/JSON Group: | Info: | Data Type: | Input/Output: |
---|---|---|---|
Name |
Name of Factory Building |
String |
Output |
ClassName |
UE Class Name |
String |
Output |
location/x |
X Location of Building |
Float |
Output |
location/y |
Y Location of Building |
Float |
Output |
location/z |
Z Location of Building |
Float |
Output |
location/Rotation |
Compass Heading of Building |
Float |
Output |
Recipe |
Item to be Produced |
String |
Output |
production/Name |
Item Output |
String Array |
Output |
production/ClassName |
UE Class Name |
String Array |
Output |
production/Amount |
Number of items stored in Building for item |
Integar Array |
Output |
production/CurrentProd |
Current Production |
Float Array |
Output |
production/MaxProd |
Max Production |
Float Array |
Output |
production/ProdPercent |
Efficentcy Percentage |
Float Array |
Output |
ingredients/Name |
Item Output |
String Array |
Output |
ingredients/ClassName |
UE Class Name |
String Array |
Output |
ingredients/Amount |
Number of items stored in Building for item |
Integar Array |
Output |
ingredients/CurrentConsumed |
Current Consumption |
Float Array |
Output |
ingredients/MaxConsumed |
Max Consumption |
Float Array |
Output |
ingredients/ConsPercent |
Efficentcy Percentage |
Float Array |
Output |
ManuSpeed |
Configured Speed |
Float |
Output |
IsConfigured |
Is a recipe configured? |
Boolean |
Output |
IsProducing |
Is the building producing now? |
Boolean |
Output |
IsPaused |
Is paused? |
Boolean |
Output |
CircuitID |
Circuit ID of the Building |
Integar |
Output |
features/properties/name |
Type of name being marked (Player, Train Track(WIP), Notable Building, etc) |
String |
Output |
features/properties/type |
Type of item being marked (Player, Train Track(WIP), Notable Building, etc) |
String |
Output |
features/geometry/name |
GeoJSON name of map marking (Point, Line, Circle, etc) |
String |
Output |
features/geometry/coordinates |
X,Y,Z for map marking |
[Float, Float, Float] |
Output |
features/geometry/type |
GeoJSON type of map marking (Point, Line, Circle, etc) |
String |
Output |
Example:
[
{
"Name": "Constructor",
"ClassName": "Build_ConstructorMk1_C",
"location":
{
"x": -101321.6640625,
"y": -130824.890625,
"z": -1410.1580810546875,
"rotation": 100
},
"Recipe": "Actual Snow",
"RecipeClassName": "",
"production": [
{
"Name": "Actual Snow",
"ClassName": "Desc_Snow_C",
"Amount": 0,
"CurrentProd": 0,
"MaxProd": 10,
"ProdPercent": 0
}
],
"ingredients": [
{
"Name": "FICSMAS Gift",
"ClassName": "Desc_Gift_C",
"Amount": 0,
"CurrentConsumed": 0,
"MaxConsumed": 25,
"ConsPercent": 0
}
],
"ManuSpeed": 1,
"IsConfigured": true,
"IsProducing": false,
"IsPaused": false,
"CircuitID": 44,
"features":
{
"properties":
{
"name": "Constructor",
"type": ""
},
"geometry":
{
"coordinates":
{
"X": -101321.6640625,
"Y": -130824.890625,
"Z": -1410.1580810546875
},
"type": "Point"
}
}
}
]