Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deniszholob/factorio-cheat-sheet
/ functions
Functions
199 in github.com/deniszholob/factorio-cheat-sheet
⨍
Functions
199
◇
Types & classes
273
↓ 25 callers
Function
newNavData
(title: string, sheetIcon: FactorioIcons)
src/app/shared/nav-data/nav-data.model.ts:10
↓ 20 callers
Method
transform
* Takes in format like 00:01:00 and transforms into 1m 0s * @param value string like 00:01:00
src/app/pipes/time.pipe.ts:12
↓ 14 callers
Method
getLocalCheatSheetData
(rawData: RawData<T>)
src/app/services/data.service.ts:39
↓ 10 callers
Method
push
()
src/app/shared/ad-sense/ad-sense.component.ts:48
↓ 9 callers
Method
getFactorioIcon
( iconId?: FactorioIcons | 'AssemblingMachineCombined', text?: string | number, name?: string )
src/app/services/data.service.ts:52
↓ 8 callers
Function
createSREMatrix
(m: number, n?: number)
src/app/cheat-sheets/game-base/nuclear-power/sre-matrix/matrix-generator.ts:4
↓ 7 callers
Function
getPlanetTime
( planet: Planets, dayTimeRatios: PlanetTime = DAY_TIME_RATIOS )
src/app/data/planets.data.ts:78
↓ 6 callers
Function
sumMatrix
(matrix: NumberOrArray = 0)
src/app/cheat-sheets/game-base/nuclear-power/sre-matrix/matrix-generator.ts:40
↓ 5 callers
Method
calcCargoChestFill
(chests: number, stackSize: number)
src/app/cheat-sheets/game-base/cargo-wagon-transfer/cargo-wagon-transfer.component.ts:123
↓ 4 callers
Method
calcScienceNumberOfLabs
()
src/app/cheat-sheets/game-base/science/science.component.ts:126
↓ 4 callers
Method
calcTransferTime
(stackSize: number, itemsPerCycle: number)
src/app/cheat-sheets/game-base/cargo-wagon-transfer/cargo-wagon-transfer.component.ts:92
↓ 3 callers
Function
calculateMinimalMachines
( data: SciencePackData[] )
src/app/cheat-sheets/game-base/science/science.data.ts:292
↓ 3 callers
Method
updateMatrixData
()
src/app/cheat-sheets/game-base/nuclear-power/sre-diagram/sre-diagram.component.ts:44
↓ 2 callers
Method
calcNuke
* Calculates and returns nuclear build ratio for given number of reactors * @param reactors Number of reactors to calculate ratio for.
src/app/cheat-sheets/game-base/nuclear-power/nuclear-power.component.ts:109
↓ 2 callers
Method
closeNav
()
src/app/layout/nav/nav.component.ts:74
↓ 2 callers
Method
copyMessageExec
* Puts the msg parameter into the copy clipboard * Note: Limitation using inside http requests (and more) * @param msg Message string to copy to
src/app/services/clipboard.service.ts:16
↓ 2 callers
Method
doKeepOpen
()
src/app/layout/nav/nav.component.ts:60
↓ 2 callers
Function
effectiveSolarPower
(d: CalcData)
src/app/cheat-sheets/game-base/power-solar/solar-calc/solar-calc.util.ts:40
↓ 2 callers
Method
filter
()
src/app/cheat-sheets/game-base/train-colors/train-colors.component.ts:47
↓ 2 callers
Method
getAccumulatorsFromSolar
(solarCount: number)
src/app/cheat-sheets/game-base/power-solar/calculator-solar/calculator-solar.component.ts:74
↓ 2 callers
Method
getCheatSheet
Returns CheatSheet Object with icon and title
src/app/services/data.service.ts:79
↓ 2 callers
Method
getCollapseToggle
Returns message Observable
src/app/services/sheet-collapse-toggle.service.ts:15
↓ 2 callers
Function
getIdFromTitle
(title: string)
src/app/shared/cheat-sheet-template/cheat-sheet-template.component.ts:109
↓ 2 callers
Method
getNukeRatios
Populates the Nuke ratios array to display
src/app/cheat-sheets/game-base/nuclear-power/nuclear-power.component.ts:85
↓ 2 callers
Method
getPlanetRatio
(planetId: Planets)
src/app/cheat-sheets/game-base/power-solar/power-solar.component.ts:103
↓ 2 callers
Method
getPowerFromSolar
(solarPanels: number)
src/app/cheat-sheets/game-base/power-solar/calculator-solar/calculator-solar.component.ts:80
↓ 2 callers
Function
getRatePerFactory
(data: SciencePackData)
src/app/cheat-sheets/game-base/science/science.data.ts:226
↓ 2 callers
Method
onCalcFromSolar
()
src/app/cheat-sheets/game-base/power-solar/calculator-solar/calculator-solar.component.ts:47
↓ 2 callers
Method
updateId
Convert string to lowercase dashed sting
src/app/shared/cheat-sheet-template/cheat-sheet-template.component.ts:104
↓ 2 callers
Method
updateTable
()
src/app/cheat-sheets/game-base/mining/mining.component.ts:140
↓ 1 callers
Method
calcData
()
src/app/cheat-sheets/game-base/cargo-wagon-transfer/cargo-wagon-transfer.component.ts:69
↓ 1 callers
Function
calcFurnaceCount
(beltThroughput: number, energyConsumptionKw: number)
src/app/cheat-sheets/game-base/material-processing/material-processing.component.ts:59
↓ 1 callers
Method
calcLoadingTimes
()
src/app/cheat-sheets/game-base/fluid-wagon-transfer/fluid-wagon-transfer.component.ts:49
↓ 1 callers
Method
calcMachinesToFillBelt
()
src/app/cheat-sheets/game-base/modules-and-beacons/modules-and-beacons.component.ts:49
↓ 1 callers
Method
calcProductivityPercent
()
src/app/cheat-sheets/game-base/mining/mining.component.ts:156
↓ 1 callers
Function
calculateBalancedFactories
( data: SciencePackData[] )
src/app/cheat-sheets/game-base/science/science.data.ts:236
↓ 1 callers
Method
calculateReactors
()
src/app/cheat-sheets/game-base/nuclear-power/sre-diagram/sre-diagram.component.ts:55
↓ 1 callers
Method
calculateSRE
()
src/app/cheat-sheets/game-base/nuclear-power/sre-diagram/sre-diagram.component.ts:51
↓ 1 callers
Method
calculateSREFormula
()
src/app/cheat-sheets/game-base/nuclear-power/sre-diagram/sre-diagram.component.ts:59
↓ 1 callers
Method
changeInputStep
If user toggles b/w all and even entries
src/app/cheat-sheets/game-base/nuclear-power/nuclear-power.component.ts:80
↓ 1 callers
Method
checkServiceWorkerForUpdates
https://angular.io/api/service-worker/SwUpdate
src/app/app.component.ts:38
↓ 1 callers
Method
collapse
Collapse the sheet by setting isCollapsed Flag true
src/app/shared/cheat-sheet/cheat-sheet.model.ts:30
↓ 1 callers
Method
collapse
Collapse the sheet by setting isCollapsed Flag true
src/app/shared/cheat-sheet-template/cheat-sheet-template.component.ts:94
↓ 1 callers
Method
collapseAll
()
src/app/services/sheet-collapse-toggle.service.ts:19
↓ 1 callers
Method
copyMessageNavigator
* Future way of using clipboard, overcomes old limitations * Note: Only works on latest Chrome versions as of Jan 2019 * @param msg Message stri
src/app/services/clipboard.service.ts:35
↓ 1 callers
Method
defaultCollapsed
Collapsed By default on Mobile, expanded on Desktop
src/app/shared/cheat-sheet/cheat-sheet.model.ts:20
↓ 1 callers
Method
defaultCollapsed
Collapsed By default on Mobile, expanded on Desktop
src/app/shared/cheat-sheet-template/cheat-sheet-template.component.ts:84
↓ 1 callers
Function
downloadFile
* Downloads a file from a given URL to a local destination. * @param fileUrl - The URL of the file to download. * @param outputLocationPath - The lo
scripts/download-icons-enum.ts:32
↓ 1 callers
Function
effectiveSolarFactor
(t: PlanetTime)
src/app/cheat-sheets/game-base/power-solar/solar-calc/solar-calc.util.ts:32
↓ 1 callers
Method
expand
Expand the sheet by setting isCollapsed Flag false
src/app/shared/cheat-sheet/cheat-sheet.model.ts:35
↓ 1 callers
Method
expand
Expand the sheet by setting isCollapsed Flag false
src/app/shared/cheat-sheet-template/cheat-sheet-template.component.ts:99
↓ 1 callers
Method
expandAll
()
src/app/services/sheet-collapse-toggle.service.ts:23
↓ 1 callers
Method
expandId
(id: string)
src/app/services/sheet-collapse-toggle.service.ts:27
↓ 1 callers
Function
extractMatrixValues
(matrix: ValueOrArray<number>)
src/app/cheat-sheets/game-base/nuclear-power/sre-diagram/sre-formula.ts:14
↓ 1 callers
Function
gcd
(a: number, b: number)
src/app/cheat-sheets/game-base/science/science.data.ts:288
↓ 1 callers
Function
getMatrixValueSum
(matrix: ValueOrArray<number>)
src/app/cheat-sheets/game-base/nuclear-power/sre-diagram/sre-formula.ts:5
↓ 1 callers
Method
getSolarFromAccumulators
(accumulatorCount: number)
src/app/cheat-sheets/game-base/power-solar/calculator-solar/calculator-solar.component.ts:77
↓ 1 callers
Method
getSolarFromPower
(power: number)
src/app/cheat-sheets/game-base/power-solar/calculator-solar/calculator-solar.component.ts:83
↓ 1 callers
Method
getViewportWidth
()
src/app/layout/nav/nav.component.ts:64
↓ 1 callers
Function
main
()
scripts/download-icons-enum.ts:9
↓ 1 callers
Function
mergeValueCounts
(valCounts: ValueCount[])
src/app/cheat-sheets/game-base/nuclear-power/sre-diagram/sre-formula.ts:26
↓ 1 callers
Function
navMatchFilter
(router: Router)
src/app/layout/util.ts:8
↓ 1 callers
Method
onCalcRocketRate
Calculates the rocket launch rate (in minutes) to keep up with other science
src/app/cheat-sheets/game-base/science/science.component.ts:117
↓ 1 callers
Method
onResize
()
src/app/layout/nav/nav.component.ts:56
↓ 1 callers
Method
processBlueprint
* Get Blueprint string from the url * Populate the tooltip array with default string
src/app/shared/blueprint-clipboard/blueprint-clipboard.component.ts:46
↓ 1 callers
Method
resetTooltip
* Resets the tooltip message to the default and close after a timeout * @param tooltip NgbTooltip object to operate on
src/app/shared/blueprint-clipboard/blueprint-clipboard.component.ts:65
↓ 1 callers
Function
solarAccumulatorRatioCalc
(d: CalcData)
src/app/cheat-sheets/game-base/power-solar/solar-calc/solar-calc.util.ts:21
↓ 1 callers
Method
subToUpdateApp
Service worker auto refresh the page if new version available
src/app/app.component.ts:31
↓ 1 callers
Method
toTitleCase
(str: string)
src/app/services/data.service.ts:46
↓ 1 callers
Method
updateTable
()
src/app/cheat-sheets/game-base/inserter-throughput/inserter-throughput.component.ts:52
↓ 1 callers
Method
updateTable
()
src/app/cheat-sheets/game-base/vehicle-fuel-bonus/vehicle-fuel-bonus.component.ts:48
Function
Template
( args: ComponentWithCustomControls )
src/app/layout/intro/intro.component.stories.ts:24
Function
Template
( args: ComponentWithCustomControls )
src/app/layout/footer/footer.component.stories.ts:24
Function
Template
( args: ComponentWithCustomControls )
src/app/layout/main/main.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/layout/nav/nav.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/layout/overview/overview.component.stories.ts:24
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-mods/game-mods.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-mods/contribute/contribute.component.stories.ts:24
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-mods/popular-mods/popular-mods.component.stories.ts:24
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/game-base.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/balancers/balancers.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/inserter-throughput/inserter-throughput.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/train-colors/train-colors.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/inserter-capacity-bonus/inserter-capacity-bonus.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/material-processing/material-processing.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/mining/mining.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/combat/combat.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/links/links.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/oil-refining/oil-refining.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/cargo-wagon-transfer/cargo-wagon-transfer.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/nuclear-power/nuclear-power.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/productivity-module-payoffs/productivity-module-payoffs.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/vehicle-fuel-bonus/vehicle-fuel-bonus.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/modules-and-beacons/modules-and-beacons.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/belts/belts.component.stories.ts:24
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/science/science.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/tips/tips.component.stories.ts:25
Function
Template
( args: ComponentWithCustomControls )
src/app/cheat-sheets/game-base/fluid-wagon-transfer/fluid-wagon-transfer.component.stories.ts:25
Method
adjustSort
* Adjusts the sorting arrows for the target column * @param key column data variable name
src/app/cheat-sheets/game-base/productivity-module-payoffs/productivity-module-payoffs.component.ts:101
Function
buildSREFormula
( matrix: NumberOrArray, formula: string = '' )
src/app/cheat-sheets/game-base/nuclear-power/sre-matrix/matrix-generator.ts:50
next →
1–100 of 199, ranked by callers