Modding
Discord Wishlist on Steam

Library›Gear

Arm all

fn/game.ArmAll

Puts a weapon in the hand of everybody in a list.

Arm allallpeopleweaponFalchion
Does
An action: done when the run reaches it
Runs
On every machine
Listed under
Library › Gear
In a file
fn/game.ArmAll

Pins

  • inpeoplea list

    A list of people.

  • inweapona game object

    The catalog weapon, "thing/Falchion".

    Starts as thing/Falchion

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 gear.graph.json.

StartallpeopleweaponFor eachlistLoop bodyDoneitemindexGive weaponwhoweapongivenReturnall
Arm all

Built from