Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 420, in script call
call prologue_fixer_2
File "game/script.rpy", line 678, in script
python:
File "game/script.rpy", line 688, in <module>
("E",0,0,0),("E",1,0,0),("E",2,0,0)))
File "game/fixer.rpy", line 114, in add_components
self.add_component(tup[0],tup[1],tup[2],tup[3])
File "game/fixer.rpy", line 101, in add_component
t.add_marker((component,x,y),self.fixer_numbers[int(component.split(":")[1])])
File "game/cardgame.rpy", line 165, in add_marker
self.get_card(card).markers.append(marker)
AttributeError: '_m1_cardgame__Card' object has no attribute 'markers'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 420, in script call
call prologue_fixer_2
File "game/script.rpy", line 678, in script
python:
File "E:\renpy-6.18.3-sdk\renpy\ast.py", line 785, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\renpy-6.18.3-sdk\renpy\python.py", line 1382, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script.rpy", line 688, in <module>
("E",0,0,0),("E",1,0,0),("E",2,0,0)))
File "game/fixer.rpy", line 114, in add_components
self.add_component(tup[0],tup[1],tup[2],tup[3])
File "game/fixer.rpy", line 101, in add_component
t.add_marker((component,x,y),self.fixer_numbers[int(component.split(":")[1])])
File "game/cardgame.rpy", line 165, in add_marker
self.get_card(card).markers.append(marker)
AttributeError: '_m1_cardgame__Card' object has no attribute 'markers'
Windows-7-6.1.7601-SP1
Ren'Py 6.18.3.761
Adrift 0.3
Code: Select all
def add_marker(self, card, marker):
self.get_card(card).markers.append(marker)
renpy.redraw(self, 0)
def remove_marker(self, card, marker):
self.get_card(card).markers.remove(marker)
renpy.redraw(self, 0)