Modding
Discord Wishlist on Steam

Library›Story

Give a reward

fn/game.GiveReward

Gives somebody so many of an item and shows them a note saying so.

Give a rewardallwhoitemBreadSliceamount1textA reward
Does
An action: done when the run reaches it
Runs
On every machine
Listed under
Library › Story
In a file
fn/game.GiveReward

Pins

  • inwhoa character

    The person.

  • initeman item data

    Which item.

    Starts as item/BreadSlice

  • inamounta whole number

    How many.

    Starts as 1

  • intexttext

    The words.

    Starts as A reward

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

StartallwhoitemamounttextGive itemwhoitemamountokShow note to playerstextlinestyleSlipplayerReturnall
Give a reward

Built from