Library
Items
Giving, taking and checking items.
- Has enough
fn/game.HasEnoughWhether somebody carries at least so many of an item. - Take all
fn/game.TakeAllTakes every one of an item somebody carries, and says how many that was. - Give to every player
fn/game.GiveToEveryPlayerPuts so many of an item into every player's bag. - Swap item
fn/game.SwapItemTakes so many of one item from somebody and, if they had them, gives so many of another.
Modding