コード例 #1
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
 def __init__(self):
     game.clear_all()
     game.mobs_add(['goblin:goblin chief', 'goblin'])
     siprint(
         "Wow, this place looks like a dump... Such a primitive house.")
     sprint(
         "\nI am the village chief. I'm sorry we don't have much to offer you."
     )
     sprint(
         "\nAnyway, what's up? I assume you invited me here for a reason."
     )
     sprint(
         "\nI've heard about your incredible strength. Would you please listen to our request."
     )
     sprint("\nSpeak.")
     sprint(
         "\nAbout a month ago our Dragon guardian disappeared, and nearby monsters have started expand there territory."
     )
     sprint(
         "\nThere is a pack of 100 Direwolves that have been attacking us recently, and we are barely fending them off."
     )
     sprint(
         "\nRigur, my older brother, died to bring us this information. A Demon gifted him the name."
     )
     sprint(
         "He was the village's greatest warrior, we have survived this long because of him."
     )
     siprint(
         "\nHmmmmm... 100 huh... That's a lot. Should I help them? What about compensation?"
     )
     game.actions(self)
コード例 #2
0
            def __init__(self):
                game.clear_all()
                siprint("C'mon just go already!")
                if extra.get_random(1, 20,
                                    1):  # 1/20 chance they will notice you.
                    siprint("I sense a monster nearby! There! A slime!")
                    siprint("\nCrap! How did they notice me!")
                    siprint(
                        "\n* And before another word could be uttered by the little slime, he was swiftly smushed. *"
                    )
                    game.game_over()

                siprint(
                    "Phew, their gone now. I can finally leave now. They even left the door open for me, how nice."
                )

                # Only if you met veldora, and you haven't already 'eaten' him.
                if game.conditions('friend veldora'
                                   ) and not rimuru.check_acquired('veldora'):
                    siprint(
                        "Or... uhm... Should I go back to that pouty dragon or just move on?"
                    )
                    game.action_playable('_x_go_to_veldora', True)

                game.actions(self)
コード例 #3
0
 def __init__(self):
     game.clear_all()
     game.mobs_add(['kaval', 'gido', 'eren grimwold'])
     siprint(
         "Finally! Found the exit. Wow, that's a pretty big door. How am I going to open that?"
     )
     siprint(
         "Water attack? No, that'll probably be overkill. Wait somethings happening."
     )
     siprint(
         "Wait! They look like people! Three of them. What are they doing here?"
     )
     sprint("\nPhew, it's finally open, even the keyhole was rusted.")
     sprint(
         "\nIt is over 300 years old, and nobody is maintaining it. I doubt there's a real dragon in here."
     )
     sprint(
         "\nStill reckless of the guildmaster to send us to investigate."
     )
     siprint("\nHow can I understand them?")
     siprint(
         "<< Answer, [Magic Sense] converts sound waves to comprehensible sentences which I interpret for you. >>"
     )
     sprint(
         "\nI shouldn't show, they'll probably get scared and attack me. I should wait for them to move on."
     )
     game.actions(self)
コード例 #4
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
        def __init__(self):
            game.clear_all()
            game.mobs_add(['direwolf leader', '10*direwolf'])
            sprint("\n* Meanwhile, the direwolves are getting ready... *")
            sprint("\nTonight we shall lay waste to the goblin village.")
            sprint(
                "And take our first step towards conquering The Forest of Jura!"
            )
            sprint("They no longer have protection from that accursed dragon!")

            sprint("\nMaster! The Direwolves are here!")
            game.actions(self)
コード例 #5
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
 def __init__(self):
     game.clear_all()
     siprint(
         "\n...... Since I kinda just murdered two bandits in cold blood, we are now in jail..."
     )
     siprint("This journey sure is going well...")
     sprint("\nI thought my lord would have more self restraint.")
     sprint("\nShut it.")
     # TODO Add trial?
     sprint(
         "\n* After a swift trial, the both of you were executed shortly after for murder. *"
     )
     game.game_over()
コード例 #6
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
 def __init__(self):
     game.clear_all()
     gprint("< Chapter 2 >\n")
     game.mobs_add(['10* goblin'])
     siprint("Where am I going?")
     siprint(
         "\n* While practicing pronunciation with [Ultrasound Waves]. A pack of [Dire Wolves] shows up *"
     )
     sprint("\nYou strong one.")
     siprint(
         "\nWho's that? Wait... They look like goblins! Should I be nice?"
     )
     game.actions(self)
コード例 #7
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
 def __init__(self):
     game.clear_all()
     sprint("\nWe made it inside!")
コード例 #8
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
        def __init__(self):
            game.clear_all()
            siprint("\n...First time here and we're already in jail...")
            siprint(
                "I didn't think just screaming would cause so much damage to the environment and the nearby people."
            )
            siprint("I guess my mimicry evolved with $Ranga$'s evolution.")
            sprint(
                "\nYou guys sit tight while we wait to decide what to do with---."
            )
            sprint(
                "\nCAPTAIN COME QUICK! There was a beast in the Mines! It was delt with, however."
            )
            sprint(
                "We need to get all the healing potions to help the injured.")

            class _make_potions:
                def __init__(self):
                    if rimuru.check_acquired('full potion', 50):
                        sprint("\nHey, you said you need healing potions?")
                        sprint("\nShut it, this is important!")
                        sprint(
                            "\nCalm down, I want to help. Here's a barrel of healing potions for ya."
                        )
                        sprint(
                            "\nHmmmm... How can we trust someone behind bars..."
                        )
                        sprint(
                            "\nIt sounds like you don't have much of a choice, that is if you want to help your friends..."
                        )
                        sprint("\nFine. Stay here!")
                        rimuru.remove_inventory('full potion', 50)
                        game.conditions('helped dwarves', True)
                        dots(10)
                        sprint(
                            "We're back, and your potions was somethin else!")
                        sprint(
                            "Some of my friends wanted to come by and say thanks to their savior."
                        )
                        sprint(
                            "\nYEAH! If it wasn't for your medicine I would definitely be dead by now!"
                        )
                        sprint(
                            "\nThank you! It was even able to regrow my entire arm!"
                        )
                        sprint("\nMmmmmmmhmmmmmmmm")
                        sprint(
                            "\nThanks again slime, my friends and I are indebted to you, if there's anything you need, let me know!"
                        )
                        sprint(
                            "Also, we got some good news for you! You guys are free to go."
                        )
                    else:
                        siprint(
                            "I should make sure I give them enough to help everyone, who knows how many were injured."
                        )

            class _do_nothing:
                def __init__(self):
                    sprint("\n.....")

            class hfunc_the_trial:
                def __init__(self):
                    sprint('')

            game.actions(self)
コード例 #9
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
        def __init__(self):
            game.clear_all()
            siprint("Quite a wild retinue I've built up for myself.")
            siprint(
                "I should probably lay down some rules for everyone to follow."
            )
            if game.conditions('killed village chief'):
                sprint("You, goblin, what are your names?")
            else:
                sprint("By the way chief, what your name?")
            sprint(
                "\nMonsters usually don't have names. Not having names do not get in the way of communicating anyways."
            )
            sprint(
                "\nOk, I see. Still, it would be convenient if I have a way to call you if I need to."
            )
            sprint("I suppose, I'll just have to give you guys names!")
            sprint("WHAAAAT!!!??? A-are you certain?")
            sprint(
                "\nWhat's the big deal anyways? Everyone get in a line, so I can give you names."
            )
            dots(5)
            if not game.conditions('killed village chief'):
                show_art('village chief')
                siprint(
                    "What should I name the village chief? He had son named Rigurd, who died protecting this village..."
                )
                rimuru.add_subordinate('goblin', 'Rigurd', level=4)
                sprint("I am honored great one!")
                sprint("\nAlright, next...")
            show_art('rigur')
            siprint(
                "Now... The chief's younger son, the younger brother of the lost Rigurd..."
            )
            rimuru.add_subordinate('goblin', 'Rigur', level=4)
            sprint("Thank you master!")
            show_art('gobta')
            sprint("\nSo, who's next? You seem like a chipper goblin...")
            rimuru.add_subordinate('goblin', 'Gobta', level=4)

            # TODO allow more naming, or add some other functionality to change names....
            siprint(
                "There are so many to name, and I'm running out of ideas...")

            if game.conditions('tamed direwolves'):
                siprint(
                    "Alright, the goblins are done. Now for the Direwolves.")
                sprint("You're the son of the Direwolf boss right?")
                show_art('ranga')
                rimuru.add_subordinate('tempest star wolf', 'Ranga')
                game.multi_attr_adder(['gobta', 'rigurd', 'rigur'],
                                      ['thought communication'])

            siprint(
                "Wait w-what's happening... My [Magic Sense] stopped working!")
            siprint("Why am I so sleepy now? What's happening Great Sage?")
            siprint(
                "<< Answer, going into 'Sleep Mode' due to low magicule levels. >>"
            )
            siprint(
                "I was only giving them names, I didn't know it would use up that much."
            )
            siprint("<< Notice, estimated time for recovery is three days. >>")

            idots(10, 3)

            siprint("\nSo it's been three days already.")
            sprint("\nLord $Rimuru$ you're awake!")
            sprint("\n$Rigurd$ is that you?")
            sprint(
                "\nOf coursed my lord! Now please follow me, the feast is nearly ready."
            )
            siprint(
                "Wow, it looks like almost everyone has changed in some way.")

            if game.conditions('tamed direwolves'):
                sprint(
                    "\nAllow me to express my deepest joy at your recovery my lord!"
                )
                sprint("\nIt's $Ranga$! Even he's different. He's so big!")

            sprint("* After the party to celebrate your awakening. *")
            sprint(
                "\nAlright everyone, gather around! I'm going to set some ground rules."
            )
            sprint(
                "One, No infighting. Two, No discriminating other species. Three, No Attacking Humans."
            )
            #TODO Give player the option to set different rules which will effect story later on
            sprint(
                "That's it. Oh and also, $Rigurd$ I hereby place in the position of Goblin Lord!"
            )
            sprint("\nMy lord! I will not let you down!")
            siprint(
                "\nI just gave him that title so I have less responsibilities..."
            )

            if game.conditions('tamed direwolves'):
                siprint(
                    "I also had the direwolves pair up with some goblins so they can start working together more productively."
                )
                siprint(
                    "I have a feeling having these direwolves on our side, it'll be benefit us in the combat and transportation department."
                )

            siprint(
                "\nAfter looking at the state of the village I decided to take some goblins and go to a nearby Dwarven kingdom."
            )
            siprint(
                "Since these goblins can't build or craft for shit, hearing about Dwarves gave me a great idea."
            )

            if game.conditions('tamed direwolves'):
                siprint(
                    "Since it was hard talking while riding Direwolves so fast, we used our new skill [Thought Communication]."
                )

            siprint(
                "$Gobta$ told me about how this Gelmud guy gave Rigur his name. I also learned there are Demon Lords in this world."
            )
            siprint(
                "Also, apparently there's more than just Dwarves in this kingdom, there's also humans and elves!"
            )
            siprint(
                "\n$Gobta$ also explained how Dwargon is a bastion of free trade, and there's a rule of no fighting in there borders."
            )
            siprint(
                "So us monsters should be ok going in. $Gobta$ did seem to have some hesitations though, but it shouldn't be a big problem."
            )
            welcome_to_dwargon()
コード例 #10
0
 def __init__(self):
     game.clear_all()
     siprint("Let's leave this cave already!")
     game.continue_to(ch2_goblin_encounter)