Created Mekanism API Notes (markdown)
parent
2666db4b27
commit
9ce260cd49
120
Mekanism-API-Notes.md
Normal file
120
Mekanism-API-Notes.md
Normal file
@ -0,0 +1,120 @@
|
||||
Mekanism Computer Integration: https://docs.google.com/spreadsheets/d/1sheh1BIeP_vSto881H6UtgXvxdbyJEfILM_uUW_UD7Q/
|
||||
|
||||
## API Functions for Machines in Use
|
||||
|
||||
### Reactor Logic Port
|
||||
|
||||
activation
|
||||
high temperature
|
||||
excess waste
|
||||
damage critical (100%+)
|
||||
insufficient fuel
|
||||
|
||||
mekanism logic:
|
||||
|
||||
activate = isPowered() == 1
|
||||
high temp = getTemperature() >= 1200
|
||||
excess waste = getWasteNeeded() == 0
|
||||
damaged = getDamagePercent() >= 100
|
||||
depleted = getFuelFilledPercentage() == 0
|
||||
|
||||
### Fission Reactor (fissionReactor)
|
||||
|
||||
getHeatCapacity
|
||||
getFuelAssemblies
|
||||
getFuelSurfaceArea
|
||||
getFuelCapacity
|
||||
getWasteCapacity
|
||||
getCoolantCapacity
|
||||
getHeatedCoolantCapacity
|
||||
|
||||
getStatus
|
||||
getHeatingRate
|
||||
getTemperature
|
||||
getDamagePercent
|
||||
getBoilEfficiency
|
||||
getEnvironmentalLoss
|
||||
|
||||
getFuel
|
||||
getFuelNeeded
|
||||
getFuelFilledPercentage
|
||||
|
||||
getWaste
|
||||
getWasteNeeded
|
||||
getWasteFilledPercentage
|
||||
|
||||
getCoolant = ['name': mekanism:sodium, 'amount': 45000000]
|
||||
getCoolantNeeded
|
||||
getCoolantFilledPercentage
|
||||
|
||||
getHeatedCoolant
|
||||
getHeatedCoolantNeeded
|
||||
getHeatedCoolantFilledPercentage
|
||||
|
||||
getBurnRate
|
||||
getActualBurnRate
|
||||
getMaxBurnRate
|
||||
|
||||
scram
|
||||
setBurnRate
|
||||
activate
|
||||
|
||||
## Boiler
|
||||
|
||||
getSuperheaters
|
||||
getBoilCapacity
|
||||
getSteamCapacity
|
||||
getWaterCapacity
|
||||
getHeatedCoolantCapacity
|
||||
getCooledCoolantCapacity
|
||||
|
||||
getTemperature
|
||||
getEnvironmentalLoss
|
||||
|
||||
getBoilRate
|
||||
getMaxBoilRate
|
||||
|
||||
getSteamNeeded
|
||||
getSteam
|
||||
getSteamFilledPercentage
|
||||
|
||||
getWater
|
||||
getWaterNeeded
|
||||
getWaterFilledPercentage
|
||||
|
||||
getHeatedCoolant
|
||||
getHeatedCoolantNeeded
|
||||
getHeatedCoolantFilledPercentage
|
||||
|
||||
getCooledCoolant
|
||||
getCooledCoolantNeeded
|
||||
getCooledCoolantFilledPercentage
|
||||
|
||||
## Turbine
|
||||
|
||||
getCoils
|
||||
getBlades
|
||||
getVents
|
||||
getDispersers
|
||||
getCondensers
|
||||
getDumpingMode
|
||||
getSteamCapacity
|
||||
|
||||
getProductionRate
|
||||
getMaxProduction
|
||||
getLastSteamInputRate
|
||||
|
||||
getFlowRate
|
||||
getMaxFlowRate
|
||||
getMaxWaterOutput
|
||||
|
||||
getSteam
|
||||
getSteamNeeded
|
||||
getSteamFilledPercentage
|
||||
|
||||
## Induction Matrix (generic mekanismMachine)
|
||||
|
||||
getTotalEnergyFilledPercentage
|
||||
getTotalEnergy
|
||||
getTotalMaxEnergy
|
||||
getTotalEnergyNeeded
|
||||
Loading…
x
Reference in New Issue
Block a user