Vanessa Dannenberg
2018-11-25 dc0689018d27a68ae2987194285558b3add09be2
commit | author | age
dc0689 1 local modpath = minetest.get_modpath("technic_cnc")
VD 2
3 technic_cnc = {}
4
5 if rawget(_G, "intllib") then
6     technic_cnc.getter = intllib.Getter()
7 else
8     technic_cnc.getter = function(s,a,...)if a==nil then return s end a={a,...}return s:gsub("(@?)@(%(?)(%d+)(%)?)",function(e,o,n,c)if e==""then return a[tonumber(n)]..(o==""and c or"")else return"@"..o..n..c end end) end
9 end
10
11 dofile(modpath.."/cnc.lua")
12 dofile(modpath.."/cnc_api.lua")
13 dofile(modpath.."/cnc_materials.lua")