Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bonzaiferroni/bonzAI
/ functions
Functions
2,330 in github.com/bonzaiferroni/bonzAI
⨍
Functions
2,330
◇
Types & classes
438
↓ 2 callers
Method
analyzeResources
(room: Room)
src/ai/TradeNetwork.ts:151
↓ 2 callers
Method
attackCreeps
()
lastStableBuild/main.js:9432
↓ 2 callers
Method
autoLayout
()
src/ai/operations/AutoOperation.ts:63
↓ 2 callers
Method
buildLayout
()
lastStableBuild/main.js:10035
↓ 2 callers
Method
checkEnemy
(username: string, roomName: string)
src/ai/Diplomat.ts:21
↓ 2 callers
Method
checkIfUsed
(x, y)
lastStableBuild/main.js:11446
↓ 2 callers
Method
checkIfUsed
(x: number, y: number)
src/ai/FlexGenerator.ts:149
↓ 2 callers
Method
checkOwnership
(room)
lastStableBuild/main.js:10939
↓ 2 callers
Method
checkOwnership
(room: Room)
src/ai/missions/SurveyAnalyzer.ts:216
↓ 2 callers
Method
defaultsDeep
* This method is like _.defaults except that it recursively assigns default properties. * @param object The destination object. * @p
declarations/lodash.d.ts:12686
↓ 2 callers
Method
deliver
(target: Creep|Structure, resourceType: string, options?: TravelToOptions, amount?: number)
src/ai/missions/Agent.ts:110
↓ 2 callers
Method
deserialize
* Static method which deserializes a new CostMatrix using the return value of serialize. * @param val Whatever serialize returned
declarations/screeps.d.ts:1433
↓ 2 callers
Method
difference
* 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 callers
Method
disableNotify
(creep)
lastStableBuild/main.js:2985
↓ 2 callers
Method
escape
* Converts the characters "&", "<", ">", '"', "'", and "`", in string to their corresponding HTML entities. * * Note: No other chara
declarations/lodash.d.ts:14455
↓ 2 callers
Method
examinePavedPath
(path)
lastStableBuild/main.js:3076
↓ 2 callers
Method
finalize
* Finalization Phase - Iterate through missions and call mission.finalizeMission(), also call operation.finalizeOperation()
lastStableBuild/main.js:2277
↓ 2 callers
Method
findBestTarget
(agent: Agent)
src/ai/missions/LairMission.ts:373
↓ 2 callers
Method
findIdlePosition
(place: {pos: RoomPosition}, acceptableRange: number)
src/ai/missions/Agent.ts:253
↓ 2 callers
Method
findOrphans
(roleName)
lastStableBuild/main.js:2896
↓ 2 callers
Method
findRoomCoordDeltas
(origin: string, otherRoom: string)
src/ai/WorldMap.ts:189
↓ 2 callers
Method
finishActions
(attackingCreep)
lastStableBuild/main.js:9299
↓ 2 callers
Method
fixedPlacement
(structureType)
lastStableBuild/main.js:10046
↓ 2 callers
Method
gatherInventory
()
lastStableBuild/main.js:4450
↓ 2 callers
Method
gatherInventory
()
src/ai/missions/IgorMission.ts:507
↓ 2 callers
Method
generateProcess
(targetShortage)
lastStableBuild/main.js:4475
↓ 2 callers
Method
generateProcess
(targetShortage: Shortage)
src/ai/missions/IgorMission.ts:530
↓ 2 callers
Method
getAltBattery
(roomObject?: RoomObject)
declarations/custom.d.ts:23
↓ 2 callers
Method
getEmpties
(pullTarget?: EnergyStructure)
src/ai/missions/RefillMission.ts:164
↓ 2 callers
Method
getFleeOptions
(roomObject: RoomObject)
declarations/custom.d.ts:58
↓ 2 callers
Method
hasAbundance
* 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 callers
Method
hasAbundance
* 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 callers
Method
init
* Occurs before operation phases
lastStableBuild/main.js:378
↓ 2 callers
Method
init
(roomName: string, safeEntrance: boolean)
src/ai/missions/RaidGuru.ts:35
↓ 2 callers
Method
init
()
src/ai/missions/InvaderGuru.ts:23
↓ 2 callers
Method
initProfile
(identifier: string, consoleReport: boolean, period: number)
src/Profiler.ts:20
↓ 2 callers
Method
initWithSpawn
()
lastStableBuild/main.js:10137
↓ 2 callers
Method
invalidateCache
* 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 callers
Method
isArray
* 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 callers
Function
makeObservation
(observation)
lastStableBuild/main.js:12086
↓ 2 callers
Function
makeObservation
(observation: Observation)
src/prototypes/initPrototypes.ts:113
↓ 2 callers
Method
minersSupported
()
src/ai/missions/MiningMission.ts:411
↓ 2 callers
Method
pad
* 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 callers
Method
padLeft
* 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 callers
Method
padRight
* 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 callers
Method
placeLink
(source)
lastStableBuild/main.js:10216
↓ 2 callers
Method
placeRaidFlag
(pos, name, color = COLOR_WHITE)
lastStableBuild/main.js:9012
↓ 2 callers
Method
placeRaidFlag
(pos: RoomPosition, name: string, color = COLOR_WHITE)
src/ai/operations/RaidOperation.ts:630
↓ 2 callers
Method
preparePhase
()
lastStableBuild/main.js:9468
↓ 2 callers
Method
proportionUsed
()
src/Profiler.ts:63
↓ 2 callers
Method
raidTalk
()
lastStableBuild/main.js:9507
↓ 2 callers
Method
register
(room)
lastStableBuild/main.js:421
↓ 2 callers
Method
registerShortage
(resourceType: string, terminal: StructureTerminal)
src/ai/TradeNetwork.ts:180
↓ 2 callers
Method
registerSurplus
(resourceType: string, terminal: StructureTerminal)
src/ai/TradeNetwork.ts:185
↓ 2 callers
Method
removeOrders
(type, resourceType)
lastStableBuild/main.js:524
↓ 2 callers
Method
removeOrders
(type: string, resourceType: string)
src/ai/MarketTrader.ts:163
↓ 2 callers
Method
reserveController
(controller: StructureController)
src/ai/missions/Agent.ts:60
↓ 2 callers
Method
resetPositions
(attackPos, fallbackPos)
lastStableBuild/main.js:8656
↓ 2 callers
Method
retreat
(avoidObjects?: {pos: RoomPosition}[], fleeRange = 5)
src/ai/missions/Agent.ts:477
↓ 2 callers
Method
roleCall
()
src/sandbox.ts:67
↓ 2 callers
Method
roomCallback
* 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 callers
Method
run
* @see _.value
declarations/lodash.d.ts:4466
↓ 2 callers
Method
run
(staticStructures, layoutType)
lastStableBuild/main.js:10259
↓ 2 callers
Method
run
(staticStructures?: {[structureType: string]: Coord[]}, layoutType?: string)
src/ai/SeedAnalysis.ts:13
↓ 2 callers
Method
seekBoost
(boosts: string[], allowUnboosted: boolean)
src/ai/missions/Agent.ts:278
↓ 2 callers
Method
sellExcess
(room: Room, resourceType: string, dealAmount: number)
src/ai/MarketTrader.ts:121
↓ 2 callers
Method
setPrespawn
(creep)
lastStableBuild/main.js:3165
↓ 2 callers
Method
showLayout
(show)
lastStableBuild/main.js:9976
↓ 2 callers
Method
shuffle
* 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 callers
Method
spawnCartActions
(cart)
lastStableBuild/main.js:3222
↓ 2 callers
Method
spawnCartActions
(cart: Agent, order: number)
src/ai/missions/RefillMission.ts:85
↓ 2 callers
Method
squadFlee
(roomObject)
lastStableBuild/main.js:9358
↓ 2 callers
Method
strangerDanger
(username: string, roomName: string)
src/ai/Diplomat.ts:33
↓ 2 callers
Method
towerRepair
()
lastStableBuild/main.js:10151
↓ 2 callers
Method
trapperActions
(trapper: Agent)
src/ai/missions/LairMission.ts:90
↓ 2 callers
Method
travelTo
(creep: Creep, destination: {pos: RoomPosition}, options: TravelToOptions = {})
src/ai/Traveler.ts:206
↓ 2 callers
Method
upgradeController
(builder)
lastStableBuild/main.js:5206
↓ 2 callers
Method
values
* 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 callers
Method
waypointSquadTravel
(healer, attacker, waypoints)
lastStableBuild/main.js:9302
↓ 2 callers
Method
withdrawEverything
(target: Creep|StructureContainer|StructureStorage|StructureTerminal)
src/ai/missions/Agent.ts:615
↓ 1 callers
Function
_gulpUploadVinylsAsModules
(fileVinyls, cb, email, password, branch, logAmount)
libs/gulp-screeps-upload.js:22
↓ 1 callers
Method
acceptableDistance
(resourceType: string, surplus: StructureTerminal)
src/ai/TradeNetwork.ts:229
↓ 1 callers
Method
accessCommand
(igor)
lastStableBuild/main.js:4183
↓ 1 callers
Method
accessCommand
(igor: Agent)
src/ai/missions/IgorMission.ts:225
↓ 1 callers
Method
addDefense
()
lastStableBuild/main.js:9754
↓ 1 callers
Method
addFixedStructuresToMap
()
lastStableBuild/main.js:11357
↓ 1 callers
Method
addFixedStructuresToMap
()
src/ai/FlexGenerator.ts:54
↓ 1 callers
Method
addHostileRoom
(roomName, controllerLevel)
lastStableBuild/main.js:648
↓ 1 callers
Method
addUsingExpandingRadius
()
lastStableBuild/main.js:11375
↓ 1 callers
Method
addUsingExpandingRadius
()
src/ai/FlexGenerator.ts:76
↓ 1 callers
Method
addWalls
()
lastStableBuild/main.js:11495
↓ 1 callers
Method
addWalls
()
src/ai/FlexGenerator.ts:191
↓ 1 callers
Method
allyScan
(observer)
lastStableBuild/main.js:10641
↓ 1 callers
Method
analyzePlayerThreat
()
lastStableBuild/main.js:3515
↓ 1 callers
Method
analyzePlayerThreat
()
src/ai/missions/DefenseMission.ts:292
↓ 1 callers
Method
analyzeRoom
(room, data)
lastStableBuild/main.js:10894
↓ 1 callers
Method
analyzeRoom
(room: Room, data: SurveyData)
src/ai/missions/SurveyAnalyzer.ts:164
↓ 1 callers
Method
arrivedAtPosition
(position: RoomPosition)
src/ai/missions/Agent.ts:951
↓ 1 callers
Method
assignKeepers
()
lastStableBuild/main.js:7596
↓ 1 callers
Method
assignKeepers
()
src/ai/missions/LairMission.ts:153
← previous
next →
201–300 of 2,330, ranked by callers