Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Field Researcher
Original Poster
#1 Old 22nd Jan 2017 at 11:57 AM
Default Can anyone help me with a Lua script?
I am working on a custom orchard tree, but I am having a problem with the accessory harvested fruit. Its catalog name is not taken from its CTSS description. I have found a STR# called Lua Scripts in the orchardtree globals and at line 2 there is an entry: Produce_SetCatalogName which I am pretty certain is what I need to change. Does anyone know how to import/make private/edit a Lua script? I can't log into the SimPE tutorials pages at ambertation, so can't look there.

Alternatively, if someone knows how to set the catalog name back to the CTSS description that would be almost as good. I don't really care about my pears being "mouthwatering"

Thanks for your help.
Advertisement
Field Researcher
#2 Old 22nd Jan 2017 at 4:28 PM
There is a tutorial here at MTS about LUA and the Lua Primitive (0x7E): http://chii.modthesims.info/getfile.php?file=312463
Field Researcher
Original Poster
#3 Old 23rd Jan 2017 at 1:16 PM
Quote: Originally posted by clsve
There is a tutorial here at MTS about LUA and the Lua Primitive (0x7E): http://chii.modthesims.info/getfile.php?file=312463


Thanks, I got that. It looks too complicated for just a name, so I will try a work round.
Back to top