Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- User: Epix
- -- Date: 2017/3/21
- -- Time: 16:20
- local component = require('component')
- local me_controller = component.me_controller
- local db = component.database
- local gt_name = {}
- function getGTName()
- for line in io.lines('GregTech.lang') do
- k, v = string.match(line, '^ S:(.*).name=(.*)$')
- if k ~= nil and v ~= nil then
- gt_name[k .. '.name'] = v
- end
- end
- end
- function main()
- print('main')
- getGTName()
- end
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement