Feature Mood Manager to support multiple moods

Darzil

Developer
I understand it is possible to combine moods via the CLI somehow, but it struck me today that it'd be handy to have the mood manager (perhaps optionally) split into two sections, and that the actual mood used becomes a superset of the two. Would probably need to be a full tab for this.

So you could, say, have one for different paths, or aftercore, or softcore, and one for class specific moods. That way you could choose "non combat" and "turtle tamer" if you were a turtle tamer wanting to do non-combat stuff, rather than either having to have huge numbers of moods, or editing a mood for class specific stuff each time you change class. I currently do one or the other of these.

Thoughts?
 

Fluxxdog

Active member
'extends' doesn't work?
Code:
cli_execute("mood "+my_class()+" extends happyhappy,joyjoy");
This enables the mood named after your class (always lowercase and strips spaces) and add the moods defined as happyhappy and joy joy. You can stack the extends. Regardless, you're going to have numerous moods anyway. The only way around that is to have a bBS or aAS that runs the specific stuff. But if you do that, why use moods?
 
Last edited by a moderator:

lostcalpolydude

Developer
Staff member
'extends' doesn't work?
Code:
cli_execute("mood "+my_class()+" extends happyhappy,joyjoy");
This enables the mood named after your class (always lowercase and strips spaces) and add the moods defined as happyhappy and joy joy. You can stack the extends. Regardless, you're going to have numerous moods anyway. The only way around that is to have a bBS or aAS that runs the specific stuff. But if you do that, why use moods?

You can't do that from the GUI though, and I think that was the point of this thread.
 

Fluxxdog

Active member
Ah, I think the title just held the main attraction. So add a button that adds "extends" when creating the mood name and shows the other moods when you do so you can cherry pick?
 

slyz

Developer
For reference, here is a post that explains how to combine moods (with CLI commands):

Composable Moods

In that thread, someone asked if it was possible to have a GUI for doing it, and I immediately thought it would make a nice relay script at the time. However, I don't think ASH has access to enough information about moods.

Extending the mood management capabilities of ASH could be a way to encourage an ASH scripter to provide such a GUI for the community without taking much dev time.

It could even make a nice scripting contest!
 

Bale

Minion
In that thread, someone asked if it was possible to have a GUI for doing it, and I immediately thought it would make a nice relay script at the time. However, I don't think ASH has access to enough information about moods.

I've got a mood compositor built into ChIT. To get a list of all mood we have get get_moods(). Unfortunately there is no function that will return the name of the current mood so I scrape it from the charpane. That was enough. If you'd add a function to return the name of the current mood you could build one in a relay script also.
 
Top