The game module.
local Game = require('__stdlib__/stdlib/game')
get_player(mixed) | Return a valid player object from event, index, string, or userdata |
get_force(mixed) | Return a valid force object from event, string, or userdata |
print_all(msg[, condition]) | Messages all players currently connected to the game. |
get_or_set_data(sub_table[, index], key[, set][, value]) | Gets or sets data in the global variable. |
Return a valid player object from event, index, string, or userdata
Parameters: Returns:
Return a valid force object from event, string, or userdata
Parameters: Returns:
Messages all players currently connected to the game.
Parameters:Offline players are not counted as having received the message. If no players exist msg is stored in the
global._print_queue
table.
Gets or sets data in the global variable.
Parameters: