Modding
Discord Wishlist on Steam

Library›Lists

Biggest

fn/game.Biggest

The biggest number of a list and where it is (the first is 0); -1 for an empty list.

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

Pins

  • inlista list

    The list.

  • outbiggesta number

    Biggest.

  • outindexa whole number

    Index.

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 bodyDoneitemindexbest>at<ORBranchconditiontruefalsebest =valuevalueat =valuevaluebestatReturnallbiggestindex
Biggest

Built from