Body Builder Posted January 3, 2015 Share Posted January 3, 2015 Hi friends!I'd like to add two or three traits for one occupation but I am not sure about the exact process I expect it to be something like the following?:1) to find the file "MainCreationMethods.lua"2) to find (for example) the line:local securityguard = ProfessionFactory.addProfession("securityguard", getText("UI_prof_securityguard"), "Prof_SecurityGuard");securityguard:addFreeTrait("NightOwl");3) and to add two occupation traits:securityguard:addFreeTrait("Axeman");securityguard:addFreeTrait("Marksman");4) Final result is:local securityguard = ProfessionFactory.addProfession("securityguard", getText("UI_prof_securityguard"), "Prof_SecurityGuard");securityguard:addFreeTrait("NightOwl");securityguard:addFreeTrait("Axeman");securityguard:addFreeTrait("Marksman"); Thanks in advance for any help Link to comment Share on other sites More sharing options...
AnonPrime Posted January 3, 2015 Share Posted January 3, 2015 This looks to be correct, though it would only work for local games and will prevent you from joining multiplayer. Body Builder 1 Link to comment Share on other sites More sharing options...
Body Builder Posted January 3, 2015 Author Share Posted January 3, 2015 This looks to be correct, though it would only work for local games and will prevent you from joining multiplayer.Thank you for the Answer, AnonPrime Link to comment 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