RitnCoreGame
Coeur du système de jeu développé par Ritn. Core of a game system that is developed by Ritn.
Description
Présentation / Presentation
Ce mod met en place une structure de données dans la variable "global" du mod. L'idée est d'utiliser cette structure de données avec les remotes commandes pour centraliser et garantir un système unique entre tous les mods. *This mod sets up a data structure in the mod's "global" variable.* *The idea is to use this data structure with the remotes commands to centralize and guarantee a single system between all mods.*
Interfaces
Le mod ajoute des interfaces permettant l'accessibilité à la structure de données. En voici la liste : *The mod adds interfaces to access the data structure.* *Here is the list:*
![interfaces]
Exemple / Example :
function events.on_init(event)
remote.call("RitnCoreGame", "init_data", "teleporter", { id = 0, name = "", surface_name = "", force_name = "", position = {x=0, y=0}, render_id = -1, tag_number = -1, index = 0, })
remote.call("RitnCoreGame", "add_param_data", "surface", "teleporters", {})
end
[interfaces]: https://i.ibb.co/JC722KV/interfaces-core.png
Ratings & reviews
Sign in to leave a rating or comment.