adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[adonthell-wastesedge-commits] Release_0-3-1 eccdffa 095/237: FIXED inst


From: Kai Sterker
Subject: [adonthell-wastesedge-commits] Release_0-3-1 eccdffa 095/237: FIXED installation of follow_character.py
Date: Mon, 25 Jul 2016 18:14:59 +0000 (UTC)

tag: Release_0-3-1
commit eccdffa1d22fb031f8221647799d5f1df5ba4ae8
Author: adondev <adondev>
Commit: adondev <adondev>

    FIXED installation of follow_character.py
---
 scripts/dialogues/frostbloom_start.py |   17 +++++++++++++++--
 scripts/schedules/Makefile.am         |    2 +-
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/scripts/dialogues/frostbloom_start.py 
b/scripts/dialogues/frostbloom_start.py
index 50d0d27..c235b1e 100755
--- a/scripts/dialogues/frostbloom_start.py
+++ b/scripts/dialogues/frostbloom_start.py
@@ -1,6 +1,6 @@
 class frostbloom_start:
     loop = []
-    strings = ["Hm?  What do you want?", "I am a servant of Lady Imoen 
Silverhair, and I'd like to ask ...", "I know who you are, and I do not care 
what you wish to ask.  Now go away.  The Yeti of my soul must have silence.", 
"You again?  I thought I told you to leave me alone.", "But lady, I must ask 
you about the theft...", "The theft?  You mean your theft of my precious time, 
when I could be receiving inspiration?  I've lost enought of that already, 
thank you.  Now be gone, silly serv [...]
+    strings = ["Hm?  What do you want?", "I am a servant of Lady Imoen 
Silverhair, and I'd like to ask ...", "I know who you are, and I do not care 
what you wish to ask.  Now go away.  The Yeti of my soul must have silence.", 
"You again?  I thought I told you to leave me alone.", "But lady, I must ask 
you about the theft...", "The theft?  You mean your theft of my precious time, 
when I could be receiving inspiration?  I've lost enought of that already, 
thank you.  Now be gone, silly serv [...]
 
     def set_name (self, new_name):
         pass
@@ -12,7 +12,7 @@ class frostbloom_start:
         pass
 
     def __init__(self):
-        self.dialogue = [self.start, self.answer1, self.answer4, self.answer6, 
self.answer8, self.answer9, self.answer12, self.answer14, self.answer16, 
self.answer18, self.answer19, self.answer21, self.answer23, self.answer24, 
self.answer26, self.answer27, self.answer32, self.answer33, self.answer34, 
self.answer37, self.answer38, self.answer41, None]
+        self.dialogue = [self.start, self.answer1, self.answer4, self.answer6, 
self.answer8, self.answer9, self.answer12, self.answer14, self.answer16, 
self.answer18, self.answer19, self.answer21, self.answer23, self.answer24, 
self.answer26, self.answer27, self.answer32, self.answer33, self.answer34, 
self.answer37, self.answer38, self.answer41, self.answer88, None]
 
     def clear (self):
         del self.dialogue
@@ -36,6 +36,8 @@ class frostbloom_start:
             self.cont.append (14)
             self.player.append (27)
             self.cont.append (15)
+            self.player.append (44)
+            self.cont.append (22)
             self.player.append (-1)
         if the_npc.get_val ("flattered") == 2:
 
@@ -147,6 +149,8 @@ class frostbloom_start:
         self.cont.append (14)
         self.player.append (27)
         self.cont.append (15)
+        self.player.append (44)
+        self.cont.append (22)
         self.player.append (-1)
 
     def answer18 (self):
@@ -225,6 +229,15 @@ class frostbloom_start:
         self.cont.append (-1)
         self.player.append (-1)
 
+    def answer88 (self):
+        self.set_npc (the_npc.get_name())
+        self.color = the_npc.get_color()
+        self.npc.append (28)
+        self.cont.append (-1)
+        the_npc.set_val ("flattered" , 1)
+
+        self.player.append (-1)
+
     def answer27 (self):
         self.set_npc (the_npc.get_name())
         self.color = the_npc.get_color()
diff --git a/scripts/schedules/Makefile.am b/scripts/schedules/Makefile.am
index 267ef06..5c21b8d 100755
--- a/scripts/schedules/Makefile.am
+++ b/scripts/schedules/Makefile.am
@@ -2,6 +2,6 @@ pkgdatadir = $(gamedatadir)/scripts/schedules
 
 pkgdata_DATA = center_player.py keyboard_control.py orloth.py \
     sarin.py frostbloom.py silverhair.py oliver.py erek.py talan.py \
-    alek.py jelom.py janesta.py
+    alek.py jelom.py janesta.py center_character.py
 
 EXTRA_DIST = $(pkgdata_DATA)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]