Recipe Universal ID Library


A library for that provides unique integer IDs for recipes.

3 years ago
0.14 - 0.18
12
Owner:
justarandomgeek
Source:
https://github.com/justarandomgeek/fa...
Homepage:
N/A
License:
MIT
Created:
7 years ago
Latest Version:
0.18.1 (3 years ago)
Factorio version:
0.14 - 0.18
Downloaded by:
12 users

Recipe ID library

This library provides a remote interface for mapping recipes to unique integer IDs, for use in circuit networks. Compatible with all mods (unless proven otherwise - if you find one, plese let me know!), and IDs are consistent across varying modsets.

The entire map may be retreived by remote.call('recipeid','get_recipemap'), and provides indexes by both recipe name and id.
Individual lookup may be performed by remote.call('recipeid','map_recipe','recipename') or remote.call('recipeid','map_recipe',42).