MCPcopy Create free account

hub / github.com/bonzaiferroni/bonzAI / functions

Functions2,330 in github.com/bonzaiferroni/bonzAI

↓ 7 callersMethodgetActiveBodyparts
(type: string)
src/ai/missions/Agent.ts:53
↓ 7 callersMethodgetName
()
lastStableBuild/main.js:2551
↓ 7 callersMethodgetRemoteSpawnGroup
(distanceLimit = 4, levelRequirement = 1)
lastStableBuild/main.js:2330
↓ 7 callersMethodjoin
* @see _.join
declarations/lodash.d.ts:253
↓ 7 callersMethodrangedHeal
(target: Creep|Agent)
src/ai/missions/Agent.ts:71
↓ 6 callersMethodaddStructuresToMatrix
(room: Room, matrix: CostMatrix, roadCost: number)
src/ai/Traveler.ts:386
↓ 6 callersMethodavoidSK
(destination: Flag)
src/ai/missions/Agent.ts:342
↓ 6 callersMethodclaimController
(controller: StructureController)
src/ai/missions/Agent.ts:50
↓ 6 callersMethodfindOperationWaypoints
()
lastStableBuild/main.js:2376
↓ 6 callersMethodfindRoute
(origin: string, destination: string, options: TravelToOptions = {})
src/ai/Traveler.ts:72
↓ 6 callersMethodfindTravelPath
(origin, destination, options)
lastStableBuild/main.js:935
↓ 6 callersMethodgetFlagSet
(identifier, max = 10)
lastStableBuild/main.js:2822
↓ 6 callersMethodgetStructureMatrix
(room: Room, freshMatrix?: boolean)
src/ai/Traveler.ts:373
↓ 6 callersMethodgetUpgraderPositions
()
declarations/custom.d.ts:151
↓ 6 callersMethodhasValidPath
(origin, destination)
lastStableBuild/main.js:9571
↓ 6 callersMethodnormalizeStore
(target: Creep|StructureContainer|StructureStorage|StructureTerminal)
src/ai/missions/Agent.ts:600
↓ 6 callersMethodpavePath
(start, finish, rangeAllowance, ignoreLimit = false)
lastStableBuild/main.js:2991
↓ 6 callersMethodpaverActions
(paver)
lastStableBuild/main.js:3103
↓ 6 callersMethodspawnPaver
()
lastStableBuild/main.js:3159
↓ 6 callersMethodstandardClearActions
(attackingCreep)
lastStableBuild/main.js:9271
↓ 5 callersMethodclone
* Copy this CostMatrix into a new CostMatrix with the same data.
declarations/screeps.d.ts:1424
↓ 5 callersMethodfindDistanceToSpawn
(destination)
lastStableBuild/main.js:2964
↓ 5 callersMethodfindRoadToRepair
()
lastStableBuild/main.js:3142
↓ 5 callersMethodget
* Gets the cached value for `key`. * @param key The key of the value to get. * @return Returns the cached value.
declarations/lodash.d.ts:113
↓ 5 callersMethodgetStorage
(pos)
lastStableBuild/main.js:2848
↓ 5 callersMethodslice
* Creates a slice of array from start up to, but not including, end. * * @param array The array to slice. * @param start Th
declarations/lodash.d.ts:2045
↓ 5 callersMethodspawn
(build, name, memory, reservation)
lastStableBuild/main.js:1143
↓ 5 callersMethodwithdrawIfFull
* Only withdraw from a store-holder if there is enough resource to transfer (or if holder is full), cpu-efficiency effort * @param target *
src/ai/missions/Agent.ts:584
↓ 4 callersMethodanalyzeTransport
(distance, load, maxSpawnEnergy)
lastStableBuild/main.js:2732
↓ 4 callersMethoddrop
* Creates a slice of array with n elements dropped from the beginning. * * @param array The array to query. * @param n The
declarations/lodash.d.ts:432
↓ 4 callersMethodfinalize
()
src/Profiler.ts:31
↓ 4 callersMethodfindAllowedRooms
(origin, destination, options = {})
lastStableBuild/main.js:823
↓ 4 callersMethodfindNearestEmpty
(cart: Agent, pullTarget?: EnergyStructure)
src/ai/missions/RefillMission.ts:138
↓ 4 callersMethodfindPartnerships
(creeps, role)
lastStableBuild/main.js:2937
↓ 4 callersMethodfindPavedPath
(start, finish, rangeAllowance)
lastStableBuild/main.js:3014
↓ 4 callersMethodhealCreeps
()
lastStableBuild/main.js:9371
↓ 4 callersFunctionhealedAmount
(healer: Agent, shortRange: boolean)
src/ai/missions/RaidMission.ts:319
↓ 4 callersMethodinclude
* @see _.includes
declarations/lodash.d.ts:6691
↓ 4 callersMethodinit
* Occurs before operation phases
src/ai/Empire.ts:36
↓ 4 callersMethodinitPosition
(pos: RoomPosition)
src/ai/Traveler.ts:382
↓ 4 callersMethodisEmpty
* Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or * jQuery-like collection with a le
declarations/lodash.d.ts:11138
↓ 4 callersMethodloadFromSource
(source)
lastStableBuild/main.js:2748
↓ 4 callersMethodpop
()
declarations/lodash.d.ts:233
↓ 4 callersMethodqueueSquad
(name, type, boostlLevel)
lastStableBuild/main.js:8742
↓ 4 callersMethodqueueSquad
(name: string, type: string, boostlLevel?: number)
src/ai/operations/RaidOperation.ts:339
↓ 4 callersMethodrecalculateLayout
(layoutType)
lastStableBuild/main.js:10085
↓ 4 callersMethodrepairLayout
(structure)
lastStableBuild/main.js:10186
↓ 4 callersMethodserializePath
(startPos: RoomPosition, path: RoomPosition[], display = true)
src/ai/Traveler.ts:429
↓ 4 callersMethodsetSpawnGroup
(spawnGroup)
lastStableBuild/main.js:2565
↓ 4 callersMethodspawn
(build: string[], name: string, memory?: any, reservation?: SpawnReservation)
src/ai/SpawnGroup.ts:37
↓ 4 callersMethodspawnFromClosest
(pos: RoomPosition, body: string[], name: string)
src/ai/Empire.ts:105
↓ 4 callersMethodtoArray
* Converts value to an array. * * @param value The value to convert. * @return Returns the converted array.
declarations/lodash.d.ts:11638
↓ 4 callersMethodtoString
* Produces the result of coercing the unwrapped value to a string. * * @return Returns the coerced string value.
declarations/lodash.d.ts:4484
↓ 3 callersMethodactions
* Occurs after operation phases
src/ai/Empire.ts:50
↓ 3 callersMethodaddAllyRoom
(roomName)
lastStableBuild/main.js:639
↓ 3 callersMethodaddCreepsToMatrix
(room: Room, matrix: CostMatrix)
src/ai/Traveler.ts:424
↓ 3 callersMethodaddStructurePosition
(pos, structureType, overwrite = false)
lastStableBuild/main.js:11449
↓ 3 callersMethodaddStructurePosition
(pos: RoomPosition, structureType: string, overwrite = false)
src/ai/FlexGenerator.ts:153
↓ 3 callersMethodanalyzeResources
(room, swap = false)
lastStableBuild/main.js:725
↓ 3 callersMethodcalculateBodyCost
(body)
lastStableBuild/main.js:1203
↓ 3 callersMethodcalculateBodyCost
(body: string[])
src/ai/SpawnGroup.ts:101
↓ 3 callersMethodcanTrade
(room: Room)
src/ai/TradeNetwork.ts:259
↓ 3 callersMethodfindBuilderPotency
()
src/ai/missions/BuilderMission.ts:313
↓ 3 callersMethodfindClosest
(origin: {pos: RoomPosition}, destinations: T[], options: FindClosestOptions = {
src/ai/RoomHelper.ts:11
↓ 3 callersMethodfindHurtCreep
(defender)
lastStableBuild/main.js:7237
↓ 3 callersMethodfindLowestEmpty
(cart, pullTarget)
lastStableBuild/main.js:3399
↓ 3 callersMethodfindLowestEmpty
(cart: Agent, pullTarget?: StructureTower)
src/ai/missions/DefenseMission.ts:140
↓ 3 callersMethodfindMinerStorage
()
src/ai/missions/MiningMission.ts:307
↓ 3 callersMethodfindNearestEmpty
(cart, pullTarget)
lastStableBuild/main.js:3262
↓ 3 callersMethodfirst
* Gets the first element of array. * * @alias _.head * * @param array The array to query. * @return Retur
declarations/lodash.d.ts:1166
↓ 3 callersMethodgetCreepMatrix
(room: Room)
src/ai/Traveler.ts:415
↓ 3 callersMethodgroupBy
* Creates an object composed of keys generated from the results of running each element of collection through * iteratee. The corresponding v
declarations/lodash.d.ts:6452
↓ 3 callersMethodisFull
(margin = 0)
src/ai/missions/Agent.ts:91
↓ 3 callersMethodisFullHealth
(agent: Agent, margin = 0)
src/ai/missions/ZombieMission.ts:192
↓ 3 callersMethodmaxUnits
(body, proportion)
lastStableBuild/main.js:1219
↓ 3 callersMethodmaxUnits
(body: string[], proportion?: number)
src/ai/SpawnGroup.ts:120
↓ 3 callersMethodorderCount
(type, resourceType, adjustPrice)
lastStableBuild/main.js:532
↓ 3 callersMethodorderCount
(type: string, resourceType: string, adjustPrice?: number)
src/ai/MarketTrader.ts:172
↓ 3 callersMethodrememberBattery
* Find the nearest energy source with greater than 50 energy, cache with creep memory; * @returns {Creep | StructureContainer}
src/ai/missions/Agent.ts:697
↓ 3 callersMethodretrieve
(target: Creep|Structure, resourceType: string, options?: TravelToOptions, amount?: number)
src/ai/missions/Agent.ts:100
↓ 3 callersMethodsellExcess
(room, resourceType, dealAmount)
lastStableBuild/main.js:488
↓ 3 callersMethodserialize
* Returns a compact representation of this CostMatrix which can be stored via JSON.stringify.
declarations/screeps.d.ts:1428
↓ 3 callersMethodsetDefaultBoostLevel
(level)
lastStableBuild/main.js:8772
↓ 3 callersMethodsetDefaultBoostLevel
(level: number)
src/ai/operations/RaidOperation.ts:371
↓ 3 callersMethodsetDefaultType
(squadType)
lastStableBuild/main.js:8765
↓ 3 callersMethodsetDefaultType
(squadType: string)
src/ai/operations/RaidOperation.ts:364
↓ 3 callersMethodsetMaxSquads
(max)
lastStableBuild/main.js:8737
↓ 3 callersMethodsetMaxSquads
(max: number)
src/ai/operations/RaidOperation.ts:333
↓ 3 callersMethodsplice
(start: number)
declarations/lodash.d.ts:237
↓ 3 callersMethodsplit
* Splits string by separator. * * Note: This method is based on String#split. * * @param separator The separator p
declarations/lodash.d.ts:14734
↓ 3 callersMethodstealNearby
(stealSource: string)
src/ai/missions/Agent.ts:167
↓ 2 callersMethod_observeRoom
(roomName: string)
declarations/custom.d.ts:160
↓ 2 callersMethod_repair
(target: Structure | Spawn)
declarations/custom.d.ts:177
↓ 2 callersMethod_send
(resourceType: string, amount: number, roomName: string, description?: string)
declarations/custom.d.ts:171
↓ 2 callersMethodactions
* Occurs after operation phases
lastStableBuild/main.js:387
↓ 2 callersMethodaddNuke
(activeNuke)
lastStableBuild/main.js:803
↓ 2 callersMethodaddNuke
(activeNuke: {tick: number; roomName: string})
src/ai/WorldMap.ts:70
↓ 2 callersMethodaddRemaining
(xDelta, yDelta, save = true)
lastStableBuild/main.js:11404
↓ 2 callersMethodaddRemaining
(xDelta: number, yDelta: number, save = true)
src/ai/FlexGenerator.ts:105
↓ 2 callersMethodallowedCount
(structureType, level)
lastStableBuild/main.js:10119
← previousnext →101–200 of 2,330, ranked by callers