You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's a great idea!
In my opinion, the wiki needs a huge rework anyway. Lots of Units filters and Unit properties were added.
I suppose small code samples should be added to the wiki, but adding all filters and properties would be too much.
I will try to edit the wiki when I have spare time.
Do you know a good way to do type annotation in python code samples?
For example:
formy_structureinself.units.structure.not_ready:
print("This structure {} is still in construction: {}%".format(my_structure, round(my_structure.build_progress*100, 1)))
Here, my_structure is of type Unit which would be good to know.
PS: Screeps is an awesome game, too bad I dislike javascript :(
I think that need to use code samples in the wiki, such as here https://docs.screeps.com/api/
The text was updated successfully, but these errors were encountered: