Function initialize

  • The initialize function should be called in your main loop before using any other screeps-clockwork functions. Depending on available CPU, it may not load the WASM module completely in the first tick, but it will pick back up where it left off if the script times out.

    Parameters

    • verbose: boolean = false

      If true, will log the state of the WASM module as it loads.

    Returns void