Explorar el Código

- first version of the location system
- finally the end of the intro - but it still needs polishing

Your Name hace 6 años
padre
commit
fa1ca79d66
Se han modificado 1 ficheros con 73 adiciones y 20 borrados
  1. 73 20
      A_story_of_might_and_DEAMONtools/game/script.rpy

+ 73 - 20
A_story_of_might_and_DEAMONtools/game/script.rpy

@@ -48,9 +48,16 @@ init python:
             self.equipslot = equipslot
             self.effectlist = effectlist
 
-    class mapUnlockClass:
+    class locationClass:
+        def __init__(self, name, known):
+            self.name = name
+            self.known = known
+
+    class mapClass:
         def __init__(self):
-            self.downtownRedlight = None
+            self.downtownRedlight = locationClass("downtownRedlight", None)
+            self.hostel = locationClass("hostel", true)
+            self.trainstation = locationClass("trainstation", true)
 
     class skillClass:
         def __init__(self):
@@ -73,6 +80,7 @@ init python:
             self.Sluttiness = 0
             self.Seduction = 0
             self.skills = skillClass()
+            self.location = None
 
         def getMaxHP(self):
             return self.curHP
@@ -105,6 +113,7 @@ init python:
             self.exp = 0
             self.might = 0
             self.money = 0
+            self.heat = 0 # how much suspicion is going around that there is an unknown daemon in the district
 
     def wrapCharacter(char):
         return Character(char.name, color=char.color)
@@ -146,7 +155,7 @@ init:
 
     python:
         timeObj = timeClass()
-        mapUnlock = mapUnlockClass()
+        map = mapClass()
         playerInventory = {} # dummy
         playerInventory["Pants"] = itemClass("Your lucky pants, plus they are your only pants", "lowerBody", None)
         player = playerCharacterClass('[playerName]', '#CC66DD', 100, 100, playerInventory)
@@ -543,11 +552,11 @@ label intro:
 
     $ timeObj.passTime(45)
 
-    $ mapUnlock.downtownRedlight = true
+    $ map.downtownRedlight.known = true
 
     menu:
 
-        "Go to the Streetwalkers behind the downtown trainstation." if (mapUnlock.downtownRedlight != None):
+        "Go to the Streetwalkers behind the downtown trainstation." if (map.downtownRedlight.known != None):
             "You leave the youth hostel and head back towards the central train station."
 
     scene downtown_redlight
@@ -605,39 +614,83 @@ label intro:
     Katrina "Deamons break down their barrier during the turning too be able to access and gather the might which transforms them - but to break down this barrier another deamon is needed. Therefor only deamons can turn humans."
     Katrina "But succubi are also barren - at least thats what I believed to be true until you came in and told me your story."
     Narrator "You don't answer so after a short break Katrina continues:"
-    Katrina "Might improves and shapes your sense - your very nature of beeing a deamon. It can grand various perks - not only can it heal wounds and cure deseases - luckily also STDs"
-    Narrator "She makes a short break and seems to think about something lying in the past and then continues"
+    Katrina "Might improves and shapes your sensation - your very nature of beeing a deamon. It can grand various perks - not only can it heal wounds and cure deseases - luckily also STDs ..."
+    Narrator "She makes a short break and seems to think about something lying in the past. Then continues:"
     Katrina "Some can even stop their aging process or force people to do their bidding. Ohh an of course sex there are lots and lots of ways to use might before, during and also after sex."
     Narrator "She grins and winks at you."
     Narrator "..."
-    Narrator "You look at her - thats a lot to take in. And that last one - was that? - did she just hit on you?"
+    Narrator "You look at her - thats a lot to take in. And that last one - was that - did she just hit on you?"
     Player "Uhh Marjorie told me that you could get me work and that you shuld say that you turned me ..."
     Katrina "So you wouldn't appear out of nowhere? This is a bad idea, Stella forbade us to turn more humans."
     Player "Stella?"
     Katrina "The local succubus-queen. She controlls the downtown redlight district."
-    Katrina "Usually she is quite fair, but in this case she was adamant, there is not enough might for all of us. With internet porn on the rise and all that..."
+    Katrina "Usually she is quite fair, but in this case she was adamant, there is not enough might for all of us. With internet porn on the rise ..."
     Narrator "She keeps to herself a few seconds and after some thinking says:"
     Katrina "The only thing I can think of is that we call you a travelling succubus and hope that noone asks too many questions. Every travelling brethren has the right to stay in a district for two weeks."
     Katrina "That buys us time. Afterwards we need to find a new solution."
-    Narrator "She pauses again."
-    Katrina "About work - do you have any skills or experiences?"
+    Narrator "She pauses again. Then shruggs and continues:"
+    Katrina "Let's talk about 'work' - do you have any skills or experiences?"
+    Narrator "She says with a grin probably exhilarated by her words paraphrasing a job interview."
     Player "I finished highschool."
-    Narrator "You exclaim with pride in your voice. Katrina sighs"
+    Narrator "You exclaim with pride in your voice. Katrina sighs:"
     Katrina "That won't do us much good. If you truly are a succubus - and a strong one at that - then you'll be overwhelmed by hunger tomorrow evening and Joe won't let you use his gloryhole again."
-    Katrina "He might seem like an asshole, but he cares for Marjorie - he won't go es far for you and that wouldn't be a lasting solution anyhow."
-    Katrina "Can you dance? Are you experienced in bed? You sounded a bit unexperienced if I may say so."
+    Katrina "He might seem like an asshole, but he cares for Marjorie - he won't go through the same length for you and that wouldn't be a lasting solution anyhow."
+    Katrina "Can you dance? Are you experienced in bed? You sounded a bit ... uncertain when you told me about yesterday ..."
     Narrator "Your face turns red."
     Player "Uhh - well I kissed a few boys and even gave one a blowjob in the back of his car after prom."
-    Katrina "I take that as a no. What about stripping?"
+    Katrina "So - that means no. What about stripping?"
     Narrator "You shake your head while looking down shily. She must think you are a complete moron."
-    Player "Maybe the hunger won't be that bad? And even if - can't i just hit up one guy and be settled?"
+    Player "Maybe the hunger won't be that bad? And even if - can't i just hit up one sorry guy and be settled?"
     Katrina "No that won't work - humans generate not much might - they can store some - sure - but it takes weeks to refill their depleted 'well'."
-    Katrina "And you can't just run around and offer free blowjobs, that would enrage the others, we are not animals. Think of it more like a trade union with mobster bosses."
-    Player "And who are those elders Marjorie spoke about?"
-    Katrina "The elders? Really old and powerful deamons - unlike Stella, she is a relatively newly risen local queen. Marjorie was no subject of hers, but this is her district and we both have to abide by her rules."
-
+    Katrina "And you can't just run around and offer free blowjobs, that would enrage the other succubi, we are not animals. Think of it more like a trade union with mobster bosses."
+    Player "Are those the elders Marjorie spoke about?"
+    Katrina "The elders? Yes, they are really old and powerful deamons - unlike Stella, she is a relatively newly risen local queen. Marjorie was no subject of hers, but this is her district and we both would be smart to abide her rules."
+    Katrina "We can't have anyone poking around in your backstory, and you still need to learn a lot from me, so you'll have to hide here - in plain sight. Since you won'T pass as a proper succubus - "
+    Katrina "I think the best idea is, not to tell anyone that you are infact a succubus. Just act like a normal human and sate your hunger in the shadows."
+    Narrator "Katrina winks at you with a knowing smile."
+    Katrina "We should refrain to see each other from now on, unless it's urgent and so you would have to figure out more on your own -"
+    Katrina "But as long as you don't touch any deamon and keep a low profile this should be the safest solution. Deamons are territorial, so move your 'activities' around and dont stick to one spot for to long."
+    Player "Ok ... if you think so ... how would we meet again? In case of an emergency?"
+    Katrina "I will regularly text you about the suspicion level and try to answer your questions. And if the need should arise, then we would have to set up a meeting via text messanges. Ok ..."
+    Narrator "Katrina stands up and looks at you."
+    Narrator "You get up as well and hug her, which makes her smile."
+    Katrina "Good luck out there."
+    Narrator "And with that you leave the brothel and are on your own."
+
+    $ player.location = map.downtownRedlight.name
     $ timeObj.passTime(60)
 
+label dailyRoutine: #pun intended
+
+    menu:
+        "Do you want to stay here or go somewhere else?"
+
+        "Stay here.":
+            $ renpy.jump(player.location)
+
+        "Leave and go somewhere else.":
+            jump mapScreen
+
+    jump dailyRoutine
+
+label downtownRedlight:
+
+    scene downtown_redlight
+
+    menu:
+        "You are at the redlight district downtown. What do you want to do?"
+
+        "Look around":
+            jump downtownRedlight
+
+        "Leave for now.":
+            jump dailyRoutine
+
+label mapScreen:
+
+    # handling...
+    # set new location
+    $ renpy.jump(player.location)
 
 label gameover: