DieFeM Posted May 23, 2021 Share Posted May 23, 2021 (edited) You could use a list of lists in the replacer, so each index of the replacer contains a list that contains the components, the problem is the quantity of each component, you can't place the same form in a form list more than once.At that point you might need use an array of structs in order to keep it clean. Anyway it works so the less I mess around with it the better lol :laugh: Yeah, using the "long code simpler to understand" approach might be the best solution for you I guess. Edited May 23, 2021 by DieFeM Link to comment Share on other sites More sharing options...
cerebii Posted May 23, 2021 Author Share Posted May 23, 2021 You could use a list of lists in the replacer, so each index of the replacer contains a list that contains the components, the problem is the quantity of each component, you can't place the same form in a form list more than once.At that point you might need use an array of structs in order to keep it clean. Anyway it works so the less I mess around with it the better lol :laugh: Yeah, using the "long code simpler to understand" approach might be the best solution for you I guess.Not to re-use the same joke twice but... I think I'm still at this stage in my scripting career :laugh: Anyways, the mod is finished and uploaded, let me know if you're unhappy with anything, and thank you again! Link to comment Share on other sites More sharing options...
Recommended Posts