Skip to content
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

Randomized responses. Mommy has all sorts of differents things to tell you~ #3

Merged
merged 2 commits into from Dec 22, 2022
Merged

Conversation

VixieTSQ
Copy link
Contributor

@VixieTSQ VixieTSQ commented Dec 20, 2022

I said I would spend days of my life on this. Day 1.

This PR adds line delimited files included into the binary at compile time with negative, and positive responses for mommy. For example, mommy will choose one line from the positive-responses.txt file if you've been a good girl for her, then replace the affectionate term placeholder (currently AFFECTIONATE_TERM) with your chosen affectionate term, then finally print it out.

There is some questions that should probably be answered sometime:

One is what guidelines should surround writing these responses? How NSFW are you allowed to get? Perhaps it should be an option for the user? May you hard code gender neutral affectionate terms such as "sweetie"? Must all responses end with a ~ ❤️? etc.

Another is about the use of placeholders. Do you have a better idea than just replacing every instance of AFFECTIONATE_TERM?

Another about newlines. You obviously can't have a response with a newline inside if the file is newline separated. Perhaps this is a good or acceptable limitation?

@Gankra
Copy link
Owner

Gankra commented Dec 20, 2022

line-separated files are a bit contrived in 2022 -- why not just make it a proper json file with an array of strings?

@VixieTSQ
Copy link
Contributor Author

line-separated files are a bit contrived in 2022 -- why not just make it a proper json file with an array of strings?

I liked the simplicity, but JSON it is! See my latest commit.

@nekodjin
Copy link

Or, better yet, a TOML file - though JSON is fine too :p

@Gankra Gankra merged commit 8867d04 into Gankra:main Dec 22, 2022
@Gankra
Copy link
Owner

Gankra commented Dec 22, 2022

0.1.1 published, thanks! https://twitter.com/Gankra_/status/1605787689902432256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants