RitnCoreGame

by Ritn

Coeur du système de jeu développé par Ritn. Core of a game system that is developed by Ritn.

Internal
6 days ago
1.1
1.74K
Owner:
Ritn
Source:
https://github.com/RitnDev/RitnCoreGame
Homepage:
N/A
License:
MIT
Created:
1 year, 1 month ago
Latest Version:
0.4.0 (6 days ago)
Factorio version:
1.1
Downloaded by:
1.74K users

Présentation / Presentation

Ce mod met en place une structure de données dans la variable "global" du mod.
This mod sets up a data structure in the mod's "global" variable.


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:

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