SmallJoker
2020-09-16 c06a56daff0ffef1dad3a69eb16f5411585ccb01
commit | author | age
c06a56 1 # technic API
S 2
3 This is an initial version of the API that can be used by mods.
4
5
6  * `technic.register_tier(tier, description)`
7     * Registers a network type (tier)
8     * `tier`: string, short name (ex. `LV`)
9     * `description`: string, long name (ex. `Low Voltage`)
10  * `technic.register_machine(tier, nodename, machine_type)`
11     * Registers a machine bound to the network tier
12     * `tier`: see `register_tier`
13     * `nodename`: string, node name
14     * `machine_type`: string, following options are possible:
15         * `"RE"`: Receiver
16         * `"PR"`: Producer
17         * `"BA"`: Battery, energy storage
18