Factorio Forums
www.factorio.com
https://forums.factorio.com/
Get mod name in data phase
https://forums.factorio.com/viewtopic.php?t=84719
Page
1
of
1
Get mod name in data phase
Posted:
Fri May 08, 2020 6:43 pm
by
moon69
In data.lua, I can scrape the current mod name from debug.getinfo(1).source, but is there a more elegant way?