screeps-snippets icon indicating copy to clipboard operation
screeps-snippets copied to clipboard

This repository is for saving pinned snippets from the screeps slack for posterity

Results 7 screeps-snippets issues
Sort by recently updated
recently updated
newest added

Adds a prototype for each actions that calculates the amount it can perform this tick based on number of parts and boosts. (example: creep.repairAmount for the amount a creep can...

Adds a row to the right sidebar when a creep is selected, allowing you to instruct creeps to say things on-demand from the client. ![image](https://user-images.githubusercontent.com/57581179/153729192-a0d36fc9-e736-4dd6-80f1-83344db01983.png)

Transition to a class and added functionality to improve user adaptability into their code base. Several minor performance edits were made (less iterations through for loops)

https://github.com/screepers/screeps-snippets/blob/8b557a3fcb82cb734fca155b07d5a48622f9da60/src/misc/JavaScript/Memory%20Cache.js#L11 Just implemented this snippet. if you try to run `Memory = memory` you get a `Memory is not defined` error in screeps. Changing that line to `global.Memory = memory`...

I wrote the original javascript snippet and have recently ported it to typescript, improved the functionality, and made it compatible with the data structure used by some other tools and...