RickyBelanger Posted May 9, 2016 Share Posted May 9, 2016 I'm adding a new sentient item into the game for my mod character, Trying to add strings for when dropped, picked up, in container, etc have proven difficult without modding strings.lua... anyone out there willing to give some tips? Thanks Link to comment https://forums.kleientertainment.com/forums/topic/67163-alternative-to-adding-content-to-stringslua/ Share on other sites More sharing options...
Blueberrys Posted May 9, 2016 Share Posted May 9, 2016 If I remember correctly, there's a global variable (Probably GLOBAL.Strings) which you can modify dynamically. You can use N-Tools to look through variables in-game. Link to comment https://forums.kleientertainment.com/forums/topic/67163-alternative-to-adding-content-to-stringslua/#findComment-769302 Share on other sites More sharing options...
Mobbstar Posted May 10, 2016 Share Posted May 10, 2016 The "STRINGS" table is a global variable. From modmain and files loaded from modmain, you can access it using "GLOBAL.STRINGS". e.g. To rename pine trees, use: GLOBAL.STRINGS.NAMES.EVERGREEN = "Neverclean" Link to comment https://forums.kleientertainment.com/forums/topic/67163-alternative-to-adding-content-to-stringslua/#findComment-769691 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