I have defined in my script.rpy file:
define n = Character(" ", color="#ffffff")
Because I am reusing the defines I made from 2014 instead of being a cool kid and using narrator (I'm old and cranky and don't want to spend time relearning something that still works)
However, when I go in and choose to play Seduce Me 1 (which I've used action Start("sm1start") in the screens menu), I get this:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/SM1.rpy", line 44, in script
n "This is a fictional interactive narrative. Any character resemblences to real-life people are purely coincidental."
Exception: Unknown keyword arguments: what, who
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/SM1.rpy", line 44, in script
n "This is a fictional interactive narrative. Any character resemblences to real-life people are purely coincidental."
File "D:\DOCUMENTS\renpy-7.1.3-sdk\renpy\ast.py", line 708, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "D:\DOCUMENTS\renpy-7.1.3-sdk\renpy\exports.py", line 1345, in say
who(what, *args, **kwargs)
File "D:\DOCUMENTS\renpy-7.1.3-sdk\renpy\character.py", line 1142, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "D:\DOCUMENTS\renpy-7.1.3-sdk\renpy\character.py", line 842, in do_display
**display_args)
File "D:\DOCUMENTS\renpy-7.1.3-sdk\renpy\character.py", line 552, in display_say
what_text = renpy.display.screen.get_widget(what_text[0], what_text[1], what_text[2])
File "D:\DOCUMENTS\renpy-7.1.3-sdk\renpy\display\screen.py", line 1299, in get_widget
screen.update()
File "D:\DOCUMENTS\renpy-7.1.3-sdk\renpy\display\screen.py", line 625, in update
self.screen.function(**self.scope)
File "D:\DOCUMENTS\renpy-7.1.3-sdk\renpy\ast.py", line 158, in apply_arguments
return parameters.apply(args, kwargs, ignore_errors)
File "D:\DOCUMENTS\renpy-7.1.3-sdk\renpy\ast.py", line 145, in apply
raise Exception("Unknown keyword arguments: %s" % ( ", ".join(values.keys())))
Exception: Unknown keyword arguments: what, who
Windows-8-6.2.9200
Ren'Py 7.3.5.606
The Seduce Me Arc 1.0
Mon Feb 03 16:27:17 2020
Am I forced to use start.rpy? All my defined characters and images are in script.rpy (no duplicates), but to let the player choose what game to play (be it SM1, SM2, or between 13 individual episodes), I have the screens start directly at their respective labels instead (action Start("sm1start"), action Start(sm2start), etc). **The episodes and games alone still work on their own, so I can only assume I am forced to use start.rpy, which will make my job even harder.
It was working before and it's bothering me now as to why, all of a sudden, the game won't recognize my defined characters.