Functions for working with the state of the game world.
local World = ELONA.require("core.World")
deferred_event_id () | Gets the ID of the next deferred event that will run. |
add_deferred_event (event_id[, param1][, param2]) | Adds a deferred event. |
belongs_to_guild (guild_name) | Returns true if the player is part of the provided guild. |
join_guild (guild_name) | Sets the player's guild affiliation and resets guild quotas. |
ranking_title (ranking_id) | Returns the player's title for the given ranking. |
modify_ranking (ranking_id, amount, min) | Modifies the player's rank in a given ranking. |
random_title (The) | Generates a random title. |
data | [R] Data for the current game save. |
Gets the ID of the next deferred event that will run.
Returns:
Adds a deferred event.
Parameters:
Returns true if the player is part of the provided guild.
Parameters:
Sets the player's guild affiliation and resets guild quotas.
Parameters:
Returns the player's title for the given ranking.
Parameters:
Modifies the player's rank in a given ranking.
Parameters:
Generates a random title.
Parameters: