using stairs functions
Is it possible to use the functions from the stairs mod in other mods? I tried calling the functions from my mod, but it tried to use the modname "stairs", rather than my modname, causing this error:
Is there a way around this besides copying the code into my mod? It would be nice if the functions could be used in other mods.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
/builtin/misc_register.lua:62: Name stairs:stair_desert_cobble does not follow naming conventions: "modname:" or ":" prefix required
Is there a way around this besides copying the code into my mod? It would be nice if the functions could be used in other mods.