anyway I added more but got stuck at a syntax error that I didn't understand it's overalso when you get to skibid sigma's levle just tell him that ur a woman and ur literally ruby but irl and you love fpe and skibidis toilet
he'll marry you immediately
yanderedev / tobyfox code.....anyway I added more but got stuck at a syntax error that I didn't understand it's over
Paste ofCode
paste.ofcode.org
Anyway the chimpOut() function was gonna be a joke that you'd get frustrated that you can't play the friend sim so you'd post something really stupid in-game that ruins your reputation with everyone.
{
"message1":
{
"text":"Hello!",
"choices":{
"Who are you?":"message2a",
"Fuck off.":"message2b",
"Marry me.":"message3b"
}
},
"message2a":
{
"text":"The ruler of everything, ofcourse..."
},
"message2b":
{
"text":"How rude of you!"
},
"message2c":
{
"text":"Oh, sorry... I'm already married. To science!"
}
}
If I were you, I'd make a system that uses a custom message class, that has the text and then if it has choices those choices are defined and go to other messages. All the messages are in an array so that they can be cycled through or something like that, but when they branch off, they branch off into different arrays or different messages that reference eachother. You could use JSON or a dictionary for this, like this:
Your entire python code could then be to iterate through the json's keys, print it's text value, detect if it has choices and then ask for input, checking that the input are one of the choices, if selected, then print the other message or something like that. I could probably do a better job at it, but you should probably learn it by yourself imo.Code:{ "message1": { "text":"Hello!", "choices":{ "Who are you?":"message2a", "Fuck off.":"message2b", "Marry me.":"message3b" } }, "message2a": { "text":"The ruler of everything, ofcourse..." }, "message2b": { "text":"How rude of you!" }, "message2c": { "text":"Oh, sorry... I'm already married. To science!" } }
print("Welcome to the Soyjak.blog friendship simulator!. Pick a user to be kind to and befriend, or maybe befriend everyone just like in heckin Undertale.")
class messageHandling:
def __init__(self, text, choice):
self.text = text
self.choice = choice
choicesDict = {
"nameChoiceMsg":{
"text": "What name will you go by?"
"choices":{
name = input("")
},
"firstPostMsg":
"text": "You make an account on soyjak.blog. Excellent, you think. What will your first thread be about?"
"choices":{
1: "A formal introduction about your likes and interests.": choice1A,
2. "A rant about the brown part of a banana.": choice1B,
3. "What are your fetishes?": choice1C
},
"choiceResponses":
"choice1A":
"text": "You make a thread about your likes and interests. Wait, what are they anyway?"
Still don't remember anyone asking for your opinion.Fucking kill yourself you freak
I don't ask for permission, you can do that when you're not a brown obese retard mutantStill don't remember anyone asking for your opinion.
How retarded are you dudeWell I tried geg, I wasn't sure what the class was for or where to ask for input or how to check if the input was one of the available choices. I really appreciate the help
Show us your own code then, Teresa. Build instead of destroy or somethingHow retarded are you dude
I'm just saying you should give up, women can't codeShow us your own code then, Teresa. Build instead of destroy or something
This is actually an acronym for Not A Pooner, she recently retransitioned back to a woman and is now forced to dilate daily.He'll do it after he takes his -4395th nap or however the faggots are asked their bench
You're brownThis is actually an acronym for Not A Pooner, she recently retransitioned back to a woman and is now forced to dilate daily.
Your mom is.You're brown
NopeYour mom is.