This is my script;
Code: Select all
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"
image bg campus = "campus.jpg"
image nemad = "neru mad.png"
image nesigh = "neru sigh.png"
image nepoint = "neru point.png"
# Declare characters used by this game.
define al = Character('Big Al', color="#e00000")
define mei = Character('Meiko', color="#ef4949")
define kai = Character('Kaito', color="#3434ff")
define rin = Character('Rin', color="#ffdd20")
define len = Character('Len', color="#ffdd20")
define ne = Character('Neru', color="#ffb820")
define li = Character('Lily', color="#f2f438")
define mi = Character ('Miku', color="#59e7c7")
define lu = Character('Luka', color="#ff90f1")
define gak = Character('Gakupo', color="#ae3bd9")
define gu = Character('Gumi', color="#84d231")
define de = Character('Dell', color="#807d7d")
define ha = Character('Haku', color="#b5b1b1")
define defo = Character('Defoko', color="#b14cff")
define te = Character('Teto', color="#ec7381")
define oli = Character('Oliver', color="#ffd325")
define no = Character('???', color="#ffffff")
init:
# The variable we store the entered name of the character in.
$ povname = ""
# And this is a DynamicCharacter that has the same stored in
# povname.
$ pov = DynamicCharacter("povname", color="#ffffff")
##flags
# The game starts here.
label start:
scene bg campus
with fade
$ povname = renpy.input("Hello, my name is...")
"I have to take a math test in my final assessment, and it loosk really difficult!"
"There is this school that says they can help me prepare for my mathematics and make it fun."
"You'd think this would be expensive, but it's free. I'm definitely not complaining!"
"It's a boarding school, too, so I am going to have to live on campus which will be weird for me."
"Anyway, so far my day has not been good due to one particular incident."
"You see, on my way to the principal's office, I end up bumping into this girl by mistake!"
with hpunch
with vpunch
pov "O-Oh, sorry miss, I didn't mean to! You alright?"
show nemad
no "Are you kidding? Watch where you're going next time!"
pov "I said sorry..."
no "Yeah? Then please be more careful next time, you could have broken one of my hips!"
"That sounds a bit over-exaggerated, but OK..."
pov "Hey, um, since we so happened to run into each other---"
no "You're not trying to hit on me, are you?"
pov "N-No!! You see, I'm a new student here and I need help finding the principal's office!"
hide nemad
show nesigh
"The girl sighs in frustration, but was curteous enough to answer my question at least."
hide nesigh
show nepoint
"She pointed in the direction I needed to go and said..."
no "Down that way, make a left through the entrance, and its the second door to your right through the hallway."
hide nepoint
show nesigh
no "Got all that information?"
pov "Yeah, thanks!"
no "Pfft, whatever..."
"Rude, much?"
return
And this is the traceback;
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00start.rpy", line 99, in script call
File "renpy/common/00gltest.rpy", line 340, in script
File "renpy/common/00gltest.rpy", line 340, in python
File "renpy/common/00gltest.rpy", line 266, in python
File "renpy/common/00gltest.rpy", line 305, in python
File "renpy/common/00gltest.rpy", line 224, in python
TypeError: unhashable type: 'RevertableList'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\execution.py", line 288, in run
node.execute()
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\ast.py", line 718, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\python.py", line 1297, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00gltest.rpy", line 340, in <module>
$ __gl_test()
File "renpy/common/00gltest.rpy", line 266, in _m1_00gltest__gl_test
_gl_performance_test()
File "renpy/common/00gltest.rpy", line 305, in _gl_performance_test
result = ui.interact(suppress_overlay=True, suppress_underlay=True)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\ui.py", line 237, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\display\core.py", line 1853, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\display\core.py", line 2165, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\display\core.py", line 1420, in draw_screen
renpy.config.screen_height,
File "render.pyx", line 365, in renpy.display.render.render_screen (gen\renpy.display.render.c:4567)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\display\layout.py", line 521, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\display\transition.py", line 362, in render
top = render(self.new_widget, width, height, st, at)
File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\display\layout.py", line 521, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\display\layout.py", line 521, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "renpy/common/00gltest.rpy", line 224, in render
if len(self.times) >= self.frames:
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\character.py", line 786, in __call__
what = what_pattern.replace("[what]", sub(what, translate=translate))
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\substitutions.py", line 210, in substitute
s = renpy.translation.translate_string(s)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\translation.py", line 359, in translate_string
return stl.translate(s)
File "C:\Users\Kokoro Hane\Desktop\renpy-6.15.4-sdk\renpy\translation.py", line 303, in translate
new = self.translations.get(old, None)
TypeError: unhashable type: 'RevertableList'
Windows-Vista-6.0.6002-SP2
Ren'Py 6.15.4.320
A Ren'Py Game 0.0