cmooref17 / Lethal-Company-TooManyEmotes

https://thunderstore.io/c/lethal-company/p/FlipMods/TooManyEmotes/
MIT License
15 stars 7 forks source link

Config option to enable permenant saving of emotes? #46

Open StupidRepo opened 8 months ago

StupidRepo commented 8 months ago

As a person who deletes my game save when I get to 1 day left and have not got enough for quota, I would love for emotes to save forever when I buy them.

Could we get a config option for this please? Thanks in advance.

cmooref17 commented 8 months ago

And you're not wanting to have all emotes unlocked by default correct? You still want to unlock them? I can look into this. Before I can actually add this in, I'd have to figure out how this will work for other players in a session, or just allow them to reset their emotes as usual if their config setting is not set to persistent, but if you have it set to persistent, and you join a host without this setting, should you have your emotes synced with them, and temporarily disable this config? Or continue with your unlocked emotes even though everyone else starts fresh?

There's a lot to consider, and would require some extra code to allow keeping your own emotes, but it's possible. Hopefully I can think of a good way to implement this!

StupidRepo commented 8 months ago

Yeah, I still want to unlock them. This seems like a case of storing purchased emotes in, like, a JSON file or something for the host. Not sure about the other stuff. Anyway, thanks for the response, and I look forward to new updates.

ukki-pc commented 7 months ago

Is it possible to keep all emotes after getting fired, but while not using unlock all setting?

Rimplestilt commented 6 months ago

This is exactly the feature i would love to have! Where you would start with them locked and need to unlock them with friends. But you could have this progress over multiple playthroughs

kronflux commented 6 months ago

I would like to +1 this request, unfortunately PersistentPurchases doesn't support the emotes from TooManyEmotes, but I would like the option to have them saved after purchase even once fired, but not unlock all by default.

cmooref17 commented 6 months ago

Would you guys want them to reset upon loading the save? Or unless a save is deleted, emotes will never be removed?

Or did anyone want an option to have them unlocked globally, no matter which game you're in, and if that lobby is running persistent emotes mode or something like that?

ukki-pc commented 6 months ago

I can't speak for everyone else, but a save-specific emote unlocking system is what I was looking for here. In practice, unlocked emotes are only deleted when the host deletes the save.

kronflux commented 6 months ago

Although I don't see changes on this repository, I believe this has been resolved already.. But just to finalize, yes, I agree. Save-specific persistence of emotes, ie: if you buy it, it stays unlocked regardless of getting fired, just like how PersistentPurchases works with ship objects. Anytime you load this save, it loads the emotes that were unlocked previously.

A new save will have no emotes unlocked, and will need to be unlocked to be available.

Rimplestilt commented 6 months ago

Yep, that is exactly what I was envisioning. Being able to carry over unlocks even when being fired.

Then if someone wants to reset their progress they could just turn the setting off again, or delete a file or something.

Rimplestilt commented 6 months ago

ooh completed now? Thank you so much, very much looking forward to playing this!!!

cmooref17 commented 6 months ago

It was only just added, and might need some tweaks. I would appreciate any thoughts or changes you think it might need. Thanks!

bbugs17 commented 5 months ago

Thank you for adding this! Is there any plan to make it possible to have the emotes you have purchased persist through multiple saves? My friends and I have a core group of people who play this game, But we can't always use the exact same save over and over. This mod added a really awesome sense of progression to the game that we felt it needed and has caused us so many laughs. If this is a possible change, it would make this mod truly amazing.

cmooref17 commented 5 months ago

I did add the config option for this, but I commented it out because I realized there was a few things that I'd have to address for this to work without issues. I forgot what the reason was, but I'll look into adding this in sometime when I'm not busy. Maybe this weekend.

bbugs17 commented 5 months ago

Awesome, you rock. Seriously. Thanks for this. I know it's something small but the laughter I was having with this mod was something I really needed!!