Dragolantis Posted November 6, 2023 Share Posted November 6, 2023 (edited) Heyo! I have been working on a mod for a while now, and my speech files for describing my things have broken. I've been using a system like this: return{ GLOBAL.STRINGS.NAMES.CUSTOMNAME = "Name of custom item", -- followed by GLOBAL.STRINGS.CHARACTERS.GENERIC.DESCRIBE.CUSTOMNAME = "Quote for wilson describing this item", -- and it continues for the other characters down this list. } With this sort of code, I ended up getting this error: It had worked for a good while, but because I had been put the project on a long pause now this is the only thing that doesn't work anymore. I didn't think this of all things would be broken by the From Beyond updates but then again its programming. Can someone help me to figure out what is wrong with it? Edited November 6, 2023 by Dragolantis More consise and accurate information Link to comment Share on other sites More sharing options...
ea092gb2b09 Posted November 7, 2023 Share Posted November 7, 2023 I'm immediately wondering two things: 1. Why is your speech file in the prefabs folder? 2. What are the first 3 lines in your speech.lua file? Link to comment Share on other sites More sharing options...
Dragolantis Posted December 13, 2023 Author Share Posted December 13, 2023 On 11/6/2023 at 10:36 PM, ea092gb2b09 said: I'm immediately wondering two things: 1. Why is your speech file in the prefabs folder? 2. What are the first 3 lines in your speech.lua file? 1. Because I don't want it all chilling in my modmain and for a while it worked in prefabs. 2. return{ -- Item Name GLOBAL.STRINGS.NAMES.ITEMNAME = "Item Name", Follwing this is the lines for each characters description of the item name, then this format repeats for my handful of other mobs/items. Yes, the return{ bracket is closed at the end. 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