MCPcopy Create free account

hub / github.com/bonzaiferroni/bonzAI / functions

Functions2,330 in github.com/bonzaiferroni/bonzAI

↓ 2 callersMethodanalyzeResources
(room: Room)
src/ai/TradeNetwork.ts:151
↓ 2 callersMethodattackCreeps
()
lastStableBuild/main.js:9432
↓ 2 callersMethodautoLayout
()
src/ai/operations/AutoOperation.ts:63
↓ 2 callersMethodbuildLayout
()
lastStableBuild/main.js:10035
↓ 2 callersMethodcheckEnemy
(username: string, roomName: string)
src/ai/Diplomat.ts:21
↓ 2 callersMethodcheckIfUsed
(x, y)
lastStableBuild/main.js:11446
↓ 2 callersMethodcheckIfUsed
(x: number, y: number)
src/ai/FlexGenerator.ts:149
↓ 2 callersMethodcheckOwnership
(room)
lastStableBuild/main.js:10939
↓ 2 callersMethodcheckOwnership
(room: Room)
src/ai/missions/SurveyAnalyzer.ts:216
↓ 2 callersMethoddefaultsDeep
* This method is like _.defaults except that it recursively assigns default properties. * @param object The destination object. * @p
declarations/lodash.d.ts:12686
↓ 2 callersMethoddeliver
(target: Creep|Structure, resourceType: string, options?: TravelToOptions, amount?: number)
src/ai/missions/Agent.ts:110
↓ 2 callersMethoddeserialize
* Static method which deserializes a new CostMatrix using the return value of serialize. * @param val Whatever serialize returned
declarations/screeps.d.ts:1433
↓ 2 callersMethoddifference
* Creates an array of unique array values not included in the other provided arrays using SameValueZero for * equality comparisons.
declarations/lodash.d.ts:389
↓ 2 callersMethoddisableNotify
(creep)
lastStableBuild/main.js:2985
↓ 2 callersMethodescape
* Converts the characters "&", "<", ">", '"', "'", and "`", in string to their corresponding HTML entities. * * Note: No other chara
declarations/lodash.d.ts:14455
↓ 2 callersMethodexaminePavedPath
(path)
lastStableBuild/main.js:3076
↓ 2 callersMethodfinalize
* Finalization Phase - Iterate through missions and call mission.finalizeMission(), also call operation.finalizeOperation()
lastStableBuild/main.js:2277
↓ 2 callersMethodfindBestTarget
(agent: Agent)
src/ai/missions/LairMission.ts:373
↓ 2 callersMethodfindIdlePosition
(place: {pos: RoomPosition}, acceptableRange: number)
src/ai/missions/Agent.ts:253
↓ 2 callersMethodfindOrphans
(roleName)
lastStableBuild/main.js:2896
↓ 2 callersMethodfindRoomCoordDeltas
(origin: string, otherRoom: string)
src/ai/WorldMap.ts:189
↓ 2 callersMethodfinishActions
(attackingCreep)
lastStableBuild/main.js:9299
↓ 2 callersMethodfixedPlacement
(structureType)
lastStableBuild/main.js:10046
↓ 2 callersMethodgatherInventory
()
lastStableBuild/main.js:4450
↓ 2 callersMethodgatherInventory
()
src/ai/missions/IgorMission.ts:507
↓ 2 callersMethodgenerateProcess
(targetShortage)
lastStableBuild/main.js:4475
↓ 2 callersMethodgenerateProcess
(targetShortage: Shortage)
src/ai/missions/IgorMission.ts:530
↓ 2 callersMethodgetAltBattery
(roomObject?: RoomObject)
declarations/custom.d.ts:23
↓ 2 callersMethodgetEmpties
(pullTarget?: EnergyStructure)
src/ai/missions/RefillMission.ts:164
↓ 2 callersMethodgetFleeOptions
(roomObject: RoomObject)
declarations/custom.d.ts:58
↓ 2 callersMethodhasAbundance
* Used to determine whether there is an abundance of a given resource type among all terminals. * Should only be used after init() phase *
lastStableBuild/main.js:451
↓ 2 callersMethodhasAbundance
* Used to determine whether there is an abundance of a given resource type among all terminals. * Should only be used after init() phase * @
src/ai/TradeNetwork.ts:119
↓ 2 callersMethodinit
* Occurs before operation phases
lastStableBuild/main.js:378
↓ 2 callersMethodinit
(roomName: string, safeEntrance: boolean)
src/ai/missions/RaidGuru.ts:35
↓ 2 callersMethodinit
()
src/ai/missions/InvaderGuru.ts:23
↓ 2 callersMethodinitProfile
(identifier: string, consoleReport: boolean, period: number)
src/Profiler.ts:20
↓ 2 callersMethodinitWithSpawn
()
lastStableBuild/main.js:10137
↓ 2 callersMethodinvalidateCache
* Invalidate Cache Phase - Occurs every-so-often (see constants.ts) to give you an efficient means of invalidating operation and * mission cache
lastStableBuild/main.js:2300
↓ 2 callersMethodisArray
* Checks if value is classified as an Array object. * @param value The value to check. * * @return Returns true if value is
declarations/lodash.d.ts:11037
↓ 2 callersFunctionmakeObservation
(observation)
lastStableBuild/main.js:12086
↓ 2 callersFunctionmakeObservation
(observation: Observation)
src/prototypes/initPrototypes.ts:113
↓ 2 callersMethodminersSupported
()
src/ai/missions/MiningMission.ts:411
↓ 2 callersMethodpad
* Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if * they can’t be evenly divided by
declarations/lodash.d.ts:14534
↓ 2 callersMethodpadLeft
* Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed * length. * * @
declarations/lodash.d.ts:14572
↓ 2 callersMethodpadRight
* Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed * length. * *
declarations/lodash.d.ts:14610
↓ 2 callersMethodplaceLink
(source)
lastStableBuild/main.js:10216
↓ 2 callersMethodplaceRaidFlag
(pos, name, color = COLOR_WHITE)
lastStableBuild/main.js:9012
↓ 2 callersMethodplaceRaidFlag
(pos: RoomPosition, name: string, color = COLOR_WHITE)
src/ai/operations/RaidOperation.ts:630
↓ 2 callersMethodpreparePhase
()
lastStableBuild/main.js:9468
↓ 2 callersMethodproportionUsed
()
src/Profiler.ts:63
↓ 2 callersMethodraidTalk
()
lastStableBuild/main.js:9507
↓ 2 callersMethodregister
(room)
lastStableBuild/main.js:421
↓ 2 callersMethodregisterShortage
(resourceType: string, terminal: StructureTerminal)
src/ai/TradeNetwork.ts:180
↓ 2 callersMethodregisterSurplus
(resourceType: string, terminal: StructureTerminal)
src/ai/TradeNetwork.ts:185
↓ 2 callersMethodremoveOrders
(type, resourceType)
lastStableBuild/main.js:524
↓ 2 callersMethodremoveOrders
(type: string, resourceType: string)
src/ai/MarketTrader.ts:163
↓ 2 callersMethodreserveController
(controller: StructureController)
src/ai/missions/Agent.ts:60
↓ 2 callersMethodresetPositions
(attackPos, fallbackPos)
lastStableBuild/main.js:8656
↓ 2 callersMethodretreat
(avoidObjects?: {pos: RoomPosition}[], fleeRange = 5)
src/ai/missions/Agent.ts:477
↓ 2 callersMethodroleCall
()
src/sandbox.ts:67
↓ 2 callersMethodroomCallback
* Request from the pathfinder to generate a CostMatrix for a certain missionRoom. The callback accepts one argument, roomName. * This callback wi
declarations/screeps.d.ts:1397
↓ 2 callersMethodrun
* @see _.value
declarations/lodash.d.ts:4466
↓ 2 callersMethodrun
(staticStructures, layoutType)
lastStableBuild/main.js:10259
↓ 2 callersMethodrun
(staticStructures?: {[structureType: string]: Coord[]}, layoutType?: string)
src/ai/SeedAnalysis.ts:13
↓ 2 callersMethodseekBoost
(boosts: string[], allowUnboosted: boolean)
src/ai/missions/Agent.ts:278
↓ 2 callersMethodsellExcess
(room: Room, resourceType: string, dealAmount: number)
src/ai/MarketTrader.ts:121
↓ 2 callersMethodsetPrespawn
(creep)
lastStableBuild/main.js:3165
↓ 2 callersMethodshowLayout
(show)
lastStableBuild/main.js:9976
↓ 2 callersMethodshuffle
* Creates an array of shuffled values, using a version of the Fisher-Yates shuffle. * * @param collection The collection to shuffle.
declarations/lodash.d.ts:8360
↓ 2 callersMethodspawnCartActions
(cart)
lastStableBuild/main.js:3222
↓ 2 callersMethodspawnCartActions
(cart: Agent, order: number)
src/ai/missions/RefillMission.ts:85
↓ 2 callersMethodsquadFlee
(roomObject)
lastStableBuild/main.js:9358
↓ 2 callersMethodstrangerDanger
(username: string, roomName: string)
src/ai/Diplomat.ts:33
↓ 2 callersMethodtowerRepair
()
lastStableBuild/main.js:10151
↓ 2 callersMethodtrapperActions
(trapper: Agent)
src/ai/missions/LairMission.ts:90
↓ 2 callersMethodtravelTo
(creep: Creep, destination: {pos: RoomPosition}, options: TravelToOptions = {})
src/ai/Traveler.ts:206
↓ 2 callersMethodupgradeController
(builder)
lastStableBuild/main.js:5206
↓ 2 callersMethodvalues
* Creates an array of the own enumerable property values of object. * * @param object The object to query. * @return Return
declarations/lodash.d.ts:14283
↓ 2 callersMethodwaypointSquadTravel
(healer, attacker, waypoints)
lastStableBuild/main.js:9302
↓ 2 callersMethodwithdrawEverything
(target: Creep|StructureContainer|StructureStorage|StructureTerminal)
src/ai/missions/Agent.ts:615
↓ 1 callersFunction_gulpUploadVinylsAsModules
(fileVinyls, cb, email, password, branch, logAmount)
libs/gulp-screeps-upload.js:22
↓ 1 callersMethodacceptableDistance
(resourceType: string, surplus: StructureTerminal)
src/ai/TradeNetwork.ts:229
↓ 1 callersMethodaccessCommand
(igor)
lastStableBuild/main.js:4183
↓ 1 callersMethodaccessCommand
(igor: Agent)
src/ai/missions/IgorMission.ts:225
↓ 1 callersMethodaddDefense
()
lastStableBuild/main.js:9754
↓ 1 callersMethodaddFixedStructuresToMap
()
lastStableBuild/main.js:11357
↓ 1 callersMethodaddFixedStructuresToMap
()
src/ai/FlexGenerator.ts:54
↓ 1 callersMethodaddHostileRoom
(roomName, controllerLevel)
lastStableBuild/main.js:648
↓ 1 callersMethodaddUsingExpandingRadius
()
lastStableBuild/main.js:11375
↓ 1 callersMethodaddUsingExpandingRadius
()
src/ai/FlexGenerator.ts:76
↓ 1 callersMethodaddWalls
()
lastStableBuild/main.js:11495
↓ 1 callersMethodaddWalls
()
src/ai/FlexGenerator.ts:191
↓ 1 callersMethodallyScan
(observer)
lastStableBuild/main.js:10641
↓ 1 callersMethodanalyzePlayerThreat
()
lastStableBuild/main.js:3515
↓ 1 callersMethodanalyzePlayerThreat
()
src/ai/missions/DefenseMission.ts:292
↓ 1 callersMethodanalyzeRoom
(room, data)
lastStableBuild/main.js:10894
↓ 1 callersMethodanalyzeRoom
(room: Room, data: SurveyData)
src/ai/missions/SurveyAnalyzer.ts:164
↓ 1 callersMethodarrivedAtPosition
(position: RoomPosition)
src/ai/missions/Agent.ts:951
↓ 1 callersMethodassignKeepers
()
lastStableBuild/main.js:7596
↓ 1 callersMethodassignKeepers
()
src/ai/missions/LairMission.ts:153
← previousnext →201–300 of 2,330, ranked by callers