Modding
Discord Wishlist on Steam

Library›Lists

Sum

fn/game.Sum

All the numbers of a list added up.

Sumalllistsum
Does
An action: done when the run reaches it
Runs
On every machine
Listed under
Library › Lists
In a file
fn/game.Sum

Pins

  • inlista list

    The list.

  • outsuma number

    Sum.

How it is made

Its body, as the bench opens it read-only. Copy into my mod on the bench makes a copy to change. The library's file is lists.graph.json.

StartalllistFor eachlistLoop bodyDoneitemindextotal +=valuevaluetotalReturnallsum
Sum

Built from