Space Engineers

Space Engineers

Phoera's PB API Extender
 This topic has been pinned, so it's probably important
Phoera  [developer] 10 Nov, 2016 @ 12:27pm
new property list
Here will be full list of new propertyes.

common for nearly all types is sink propertyes.
there types will be marked with * to save typing:

Power sink properties:
  • CurrentInput - float - Current power input of block in MW.
  • RequiredInput - float - Current requare power input of block in MW.
  • MaxRequiredInput - float - Max possible requared power input of block in MW(actually that possible that actual input will be higher, or never reach that value)
Last edited by Phoera; 10 Nov, 2016 @ 12:34pm
< >
Showing 1-15 of 18 comments
Phoera  [developer] 10 Nov, 2016 @ 12:33pm 
* IMyProgrammableBlock:
  • Phoera.APIComboboxFix.Avaliable - bool - flag compability with lesser part of this mod.(check for existance, or use try/catch)
  • Phoera.ExtendedAPI.Avaliable - bool - flag which shows that this mod is active(check for existance, or use try/catch)
Last edited by Phoera; 10 Nov, 2016 @ 12:35pm
Phoera  [developer] 10 Nov, 2016 @ 12:36pm 
* IMyMotorAdvancedStator
* IMyPistonBase
* IMyMotorStator
* IMyMotorSuspension
  • ConnectedGrid - IMyCubeGrid - return connected grid if avaliable
Last edited by Phoera; 10 Nov, 2016 @ 1:21pm
Phoera  [developer] 10 Nov, 2016 @ 12:41pm 
* IMyAirVent
  • OxygenCurrentInput - float - Current oxygen input.
  • OxygenRequiredInput - float - Current requared oxygen input
  • OxygenMaxRequiredInput - float - Max possible requared oxygen input(idk if you can trust it)
  • OxygenCurrentOutput - float - Current oxygen output of block.
  • OxygenMaxOutput - float - Current possible oxygen output.
  • OxygenDefinedOutput - float - Theoretical max output of block.
Last edited by Phoera; 10 Nov, 2016 @ 12:50pm
Phoera  [developer] 10 Nov, 2016 @ 12:45pm 
* IMyAssembler
  • AssemblableItems - IDictionary<string, IList<KeyValuePair<string, float>>> - read-oly dictionary of recipes of current assembler.(for blocks it will show ingot requarements)
  • AssemblableBlocks- IDictionary<string, IList<KeyValuePair<string, int>>> - read-only dictionary of block components requarements.
  • AddBlueprint - KeyValuePair<string, int> - Set here value to add amount of target items to queue.(name can come from both AssemblableItems and AssemblableBlocks, also you can pass direct def-id of block)
  • Queue - List<KeyValuePair<string, int> - read-write access to assembler queue.
  • AddToQueueFromProjector - IMyProjector - set projector block here to add all components needed to build unfinished blocks of projected grid.
Last edited by Phoera; 11 Nov, 2016 @ 12:35am
Phoera  [developer] 10 Nov, 2016 @ 12:47pm 
* IMyBatteryBlock
  • CurrentOutput - float - Current output of block in MW.
  • MaxOutput - float - current possible output of block in MW.
  • DefinedOutput - float - maximal defined output of block in MW.
  • Capacity - float - capacity of block in MW.
Last edited by Phoera; 10 Nov, 2016 @ 1:00pm
Phoera  [developer] 10 Nov, 2016 @ 12:47pm 
* IMyBeacon
* IMyButtonPanel
* IMyCameraBlock
* IMyCollector
* IMyShipConnector
* IMyShipDrill
* IMyGravityGenerator
* IMyAirtightHangarDoor
* IMyInteriorLight
* IMyJumpDrive
* IMyMedicalRoom
* IMyRadioAntenna
* IMySensorBlock
* IMyShipGrinder
* IMyShipWelder
* IMyAirtightSlideDoor
* IMyConveyorSorter
* IMySoundBlock
* IMyGravityGeneratorSphere
* IMyReflectorLight
* IMyTimerBlock
Last edited by Phoera; 10 Nov, 2016 @ 1:20pm
Phoera  [developer] 10 Nov, 2016 @ 12:50pm 
* IMyOxygenFarm
  • GasCurrentOutput - float - Current oxygen output of block.
  • GasMaxOutput - float - Current possible oxygen output.
  • GasDefinedOutput - float - Theoretical max output of block.
  • ProducedGas - string - gas type produced by farm.
Phoera  [developer] 10 Nov, 2016 @ 12:53pm 
* All weapons(child interfaces too)
* IMySmallGatlingGun
* IMyLargeTurretBase
* IMySmallMissileLauncher
  • CurrentAmmoId - string - current requared ammo magazine.
  • RemainingAmmo - int - remaining ammo(most probably count one in inventory, updates after shooting)
Phoera  [developer] 10 Nov, 2016 @ 12:54pm 
* IMyGyro
  • MaxForce - float - Max force of gyro.
Phoera  [developer] 10 Nov, 2016 @ 12:56pm 
* IMyLaserAntenna
  • MaximumRange - float - Maxumum range of laser antenna.
  • RequareLineOfSight - bool - true if antena requare clear visibility to target.
Last edited by Phoera; 10 Nov, 2016 @ 12:56pm
Phoera  [developer] 10 Nov, 2016 @ 12:57pm 
* IMyOreDetector
  • MaximumRange - float - Maxumum range of detector.
Phoera  [developer] 10 Nov, 2016 @ 1:00pm 
* IMyReactor
  • CurrentOutput - float - Current output of block in MW.
  • MaxOutput - float - current possible output of block in MW.
  • DefinedOutput - float - maximal defined output of block in MW.
  • Capacity - float - remaining power from last fuel consuming.
  • ConsumptionPerSecond - float - near consumption per second.
  • FuelId - string - Fuel used by block
Phoera  [developer] 10 Nov, 2016 @ 1:02pm 
* IMyRefinery(keep in mind, arc furnace also this type)
  • RefinableItems - IList<string> - read-only list of items whoch current refinery block can refine.
  • RefineSpeed - float - refine speed modifier.
  • MaterialEfficiency - float - refine material effiency modifier.
Phoera  [developer] 10 Nov, 2016 @ 1:07pm 
* IMyCockpit
  • CanControlShip - bool - false for passenger seats.
  • GravitySource - KeyValuePair<Vector3D, float> - Return center and max gravity of planet from current gravity well.
  • OxygenCurrentInput - float - Current oxygen input.
  • OxygenRequiredInput - float - Current requared oxygen input
  • OxygenMaxRequiredInput - float - Max possible requared oxygen input(idk if you can trust it)
  • OxygenCapacity - float - internal block oxygen reserve.
  • IsPressurized - bool - does block requare room/environment oxygen or not(true if not)
Phoera  [developer] 10 Nov, 2016 @ 1:09pm 
* IMyRemoteControl
  • CanControlShip - bool - ... idk if that possible, but who knows.
  • GravitySource - KeyValuePair<Vector3D, float> - Return center and max gravity of planet from current gravity well.
  • AutopilotType - int -
    . any value less then zero is Patrol mode.
    . value equal to zero is Circle mode.
    . any value greater to zero is One-Way mode.
  • DirectionType - int - 0-based index of value in corresponding combobox.
  • Camera - IMyCameraBlock - get assigned camera(null if none)
< >
Showing 1-15 of 18 comments
Per page: 1530 50