I would pay money for more script space.
Alternatively, if anyone wants to help me optimize my game, I would love to chat.
I would pay money for more script space.
Alternatively, if anyone wants to help me optimize my game, I would love to chat.
what do you mean by more script space?
total element count?
yes. If I add a few more rules to my game I get a “Script is too large.” error.
okay; there are a few methods that you can use
I can’t paste links but you can go to the workshop codes wiki and type in element count calculation to understand how element count works
i don’t know what your code is about but using subroutines to do repetitive tasks such as resetting stats would help
For Loops can also help reduce code size if you are repeating the same action a bunch of times; for example creating hud text for multiple items; you could use evaluate once to generate each item instead
I am interested in looking into optimization techniques for Workshop when I have more free time. Currently I’m doing an accelerated school program so most of my time is spent on assignments. But I finish in the summer so I’m hoping that I can manage with the space I have until then.
I’ve just been carelessly adding new features and balance updates since the literal announcement of Workshop. So it’s been years of just add-add-add, with no planning phase or organization.
Someone saw this thread earlier and is looking into some ideas already which is a huge help.