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 fb80ca7 128/237: Corrected


From: Kai Sterker
Subject: [adonthell-wastesedge-commits] Release_0-3-1 fb80ca7 128/237: Corrected a problem with the name.
Date: Mon, 25 Jul 2016 18:15:06 +0000 (UTC)

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

    Corrected a problem with the name.
---
 scripts/modules/intro.py |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/modules/intro.py b/scripts/modules/intro.py
index cc53115..62283cc 100644
--- a/scripts/modules/intro.py
+++ b/scripts/modules/intro.py
@@ -92,8 +92,11 @@ bubbg[1].load_raw ("gfx/cutscene/intro_guard.img")
 bubbg[2].load_raw ("gfx/cutscene/intro_player.img")
 
 # Text for the speech
+if gamedata_player () != None: myname = gamedata_player ().get_name ()
+else: myname = "Banec"
+
 bubtext = (("Halt! Stand and declare yourself, stranger!", "red", 25, 5, 350, 
1),
-           ("I am $name, come as an agent for my employer. Tell me, is this 
the trading \
+           ("I am " + myname + ", come as an agent for my employer. Tell me, 
is this the trading \
 post of Waste's Edge?", "yellow", 130, 5, 500, 2),
            ("That it is, but this is all you'll see of it.", "red", 25, 5, 
300, 1),
            ("If you turn now and make haste, you should be able to make safe 
camping \



reply via email to

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