-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drizzle rlv #76
base: master
Are you sure you want to change the base?
Drizzle rlv #76
Conversation
The beginning of RLV restrictions in DrizzleScript. More changes are likely needed to merge this code.
So far so good...
-Add tape change menu to preferences -Personally, I'd search all prims to see if Tape was part of the name, rather than searching exact name, since a diaper could potentially have more than three tapes (IRL most adult diapers have 4 or 6), but this can be changed later. -Add a carers only option, part of RLV support -Add Plastic Pants texture selection. No longer do we have to choose only from tints!
-Add additional restrictions to main functions. -The timer code has been moved out of the main script. Looks like it was sent to potty... which makes sense. -Ditto for all other related potty code.
-Most of the potty timer functions have been moved here, making it independent from menu. -Added a prediction timer, now making it possible to try and just hold it instead of going potty. -todo: Streamline the menu selection so it goes back to main menu when done
-A few extra potty settings were added here.
todo: Clean up English
todo: Clean up English
-todo: Clean up English
Something I should have realized earlier, but am just now commenting on, is that we have communication going to the potty scripts via SendSettings, which in the memory core separation build doesn't make sense. It will never reach the intended scripts. Instead we're going to need to expand the Linked Messages system a bit. It might also be better in the long run to just expand sending information along these lines, tagging data by use of the number, sending the data in a more unified format, and so on. It would be nice if we could get the number of scripts down while we're at it. I'm all for modularity in the scripts by making it possible to replace the sections that we don't otherwise need when swapping it out for another diaper. However, the way we have it right now, potty is not just displaying potty messages but also controlling their timing and prediction, so it may make sense to break those up into two scripts, if it can't be merged back into main. |
I put out some funktion from main to the potty script because the limitet memory in main. The potty menu, where the wearer can select potty holt etc. is also in the potty script. This give me the chance to hold all aktions in one script. Unfortunately all aktions from other peope are still in main caust of the menu handling |
Once I set aside some time to activate LSL Preprocessor, I can begin rewriting some of the menus to use constant lists instead of variable lists. The resulting code will look messier, but the preprocessed code will look similar to how it does now, with the added benefit of reclaiming quite a lot of KB memory. Hopefully it will be enough where we will not need so many different scripts controlling the options, stored texture lists, stored notecards, and the like. |
Bring Susy's RLV work and maintenance into the main branch, adding RLV functions, the ability to try and hold it (and use a potty instead of going in the diaper), Tapes and Plastic pants texture changing from within preferences, and a few other things I may have not noticed thus far. There's a bit of code restructuring in there as well, making it less universal, which I'll try to straighten out as I reread sections.
We are really pushing the memory limits of all scripts. I need to enable the LSL Preprocessor and start defining static menus, which will save tons of memory. This will likely be done within this branch.