bnutters Posted June 29, 2021 Share Posted June 29, 2021 Hello. I'm making a mod that adds a lot of new stuff into the game, and I wanted to know if there was a way to have another .lua file that is specifically for the examinations and/or recipe descriptions for the items & structures so it's less crowded in my modmain.lua for other matters. Thanks! Link to comment https://forums.kleientertainment.com/forums/topic/131347-a-lua-specifically-for-player-examinations/ Share on other sites More sharing options...
Monti18 Posted June 29, 2021 Share Posted June 29, 2021 You can put your stuff in another lua file and use modimport("yourfile.lua"). 1 1 Link to comment https://forums.kleientertainment.com/forums/topic/131347-a-lua-specifically-for-player-examinations/#findComment-1474636 Share on other sites More sharing options...
bnutters Posted June 30, 2021 Author Share Posted June 30, 2021 7 hours ago, Monti18 said: You can put your stuff in another lua file and use modimport("yourfile.lua"). Thanks! After putting all of the examination quotes in there and puttingĀ modimport("examinationmanager.lua) in my modmain.lua , it works perfectly! 1 Link to comment https://forums.kleientertainment.com/forums/topic/131347-a-lua-specifically-for-player-examinations/#findComment-1474737 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now