Modding
Discord Wishlist on Steam

Library›People

Is of a side

fn/game.IsOfSide

Whether a person belongs to a side: bandits, soldiers, villagers, the player's.

Is of a sidewhosideBandityes
Does
A value: worked out when a node wired to it asks
Runs
On every machine
Listed under
Library › People
In a file
fn/game.IsOfSide

Pins

  • inwhoa character

    The person.

  • insidea choice

    Bandit, Soldier, Civilian, Player or Neutral.

    Starts as Bandit

  • outyesyes or no

    Yes.

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

StartallwhosideSideDamagablevalue=Returnyes
Is of a side

Built from