コード例 #1
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
 def __init__(self):
     if game.last_use_skill('coercion'):
         sprint("HOWWWLLLLLLLLLL!!!!!!!!!!!!")
         siprint("Hopefully this scares them away.")
         idots(30)
         dwargon_jail_coercion()
     if game.last_use_skill('water blade'):
         if extra.get_random(
                 1, 3, 1
         ):  # 1/3 chances, can do it multiple times to try and scare them off.
             sprint(
                 "\nL-lets get out of here, they're not worth our time."
             )
             sprint("Finally, they're gone, and nobody got hurt.")
             sprint(
                 "\nMy lord you did it! They won't be troubling us anymore."
             )
             sprint(
                 "\nNot the best first impression of Dwargon, but at least nobody got hurt."
             )
             inside_dwargon()
         else:
             if extra.get_random(
                     1, 3, 1
             ):  # 1/3 chance they will charge at you to kill you.
                 sprint("\nYou think you can scare us so easily!")
                 siprint(
                     "\nCrap now their charging straight for us with a knife!"
                 )
                 sprint("\nMy lord what should we do!")
                 game.actions(self)
             else:
                 sprint(
                     '\nYou think that will scare us you puny slime!'
                 )
コード例 #2
0
 def __init__(self):
     idots(3)
     siprint("I can't seem to speak, wait.....")
     siprint("I CAN'T FEEL MY MOUTH!")
     siprint(
         "I. Can't. Feel. ANYTHING! I should check the rest of my body!"
     )
コード例 #3
0
        def __init__(self):
            rimuru.add_mimic('slime', show_msg=False)
            print("\n    < Chapter 1 >")
            idots()
            gprint(
                "<< Confirmation Complete. Constructing body that does not require blood... >>\n"
            )
            gprint(
                "<< Confirmation Complete. Acquiring Extra Skill: [Predator]... >>"
            )
            gprint("<< Acquired Extra Skill [Predator]. >>")
            gprint(
                "<< Confirmation Complete. Acquiring: Extra Skill [Sage]... >>"
            )
            gprint("<< Acquired Extra Skill [Sage]. >>")
            rimuru.upgrade_attribute('Sage', 'Great Sage')

            siprint("It's so dark? Where am I? What happened?")
            siprint("I remember now, I got stabbed! A-am I dead?")
            siprint("Was I saved? Can I move? Should I try to say something?")

            # Because I am a dick. There is a 1 in 1,000 chance that you will wake up and just instantly die! kek!
            if extra.get_random(1, 1_000, 666):
                siprint(
                    "\nWAIT! WAIT WHAT'S THAT AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH"
                )
                siprint(
                    "SOMETHING IS EATING MEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!"
                )
                print(
                    "\n\nYOU DIED BEFORE YOU COULD EVEN DO ANYTHING, WHAT BAD LUCK YOU HAVE!"
                )
                game.game_over()
コード例 #4
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
 def __init__(self):
     # Kill the bandits and you go straight to Dwargon jail, and no you can't eat the humans.
     if game.mobs_cleared():
         sprint(
             "My lord... Was that really necessary? Oh crap here comes the guards!"
         )
         idots(50)
         dwargon_jail_murder()
コード例 #5
0
 def __init__(self):
     idots(5)
     show_art('magic sense')
     rimuru.add_attribute('Magic Sense')
     rimuru.update_status('magic sense', 'Active')
     sprint("nike this?")
     sprint("I can see. I CAN SEE!")
     sprint(
         "\n Looks like you did it. You learn quickly small one. "
     )
     sprint("Yes, thank you!")
     sprint("\n Shall I formally introduce myself now? ")
     game.actions(self)
コード例 #6
0
 def __init__(self):
     print(game_art.rimuru_art.fall_in_water)
     siprint(
         "SHIT! I've finally reincarnated and I'm already going to die!"
     )
     siprint(
         "O'Great sage how painful thy death will be? Am I really going to suffocate to death?!?!"
     )
     siprint(
         "<< Answer, A slime's body does not require oxygen to survive. >>"
     )
     siprint(
         "Huh.... Feeling pain I am not... But what am I going to do now?"
     )
     idots()
     game.actions(self)
コード例 #7
0
ファイル: tensei_2.py プロジェクト: 0n1udra/TenseiPy
 def __init__(self):
     sprint("Show me your wounded")
     if rimuru.check_acquired('full potion', 9):
         siprint(
             "I could try eating them and splashing them with the potion..."
         )
         sprint("\nMy lord... What are you doing...")
         idots(5)
         sprint("Wow, those potions are really impressive.\n")
         rimuru.remove_inventory('full potion', 9)
         rimuru.update_reputation('goblins', 2)
         sprint(
             "\n* The slime ate, healed, and spat out the rest of the wounded goblins. *"
         )
         sprint("\nThere, all healed!")
         sprint(
             "\nW-w-whoa! You really are magnificent, great one! We thank you!"
         )
     else:
         siprint(
             "Looks like 9 wounded goblins..... How can I help them?"
         )
コード例 #8
0
                def __init__(self):
                    show_art('slime')
                    print(game_art.rimuru_art.died)
                    idots()
                    siprint(
                        "Dissolving and absorbing, this streamlined elastic feeling body...."
                    )
                    siprint(
                        "It looks like I have been stabbed, died and reincarnated as a slime!"
                    )
                    idots(10, 2)
                    siprint(
                        "\nIt has been a long time now since I have accepted myself a slime. I am getting use to this body."
                    )
                    siprint(
                        "No need for sleep or food. I don't feel too hot nor cold. Even after taking some damage I can heal myself..\n"
                    )
                    siprint(
                        "All I can do is fumble around in the dark and eat what I find... I'M SO BORED!"
                    )

                    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):
     idots()
     siprint("It's boring down here, I gotta find a way out.")