Theres also a bug when you try to upgrade any of the spare cabins you get a
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/locations.rpy", line 561, in script
call screen office()
File "renpy/common/000statements.rpy", line 560, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/locations.rpy", line 563, in execute
screen office():
File "game/locations.rpy", line 563, in execute
screen office():
File "game/locations.rpy", line 696, in execute
if screen_current==2:
File "game/locations.rpy", line 876, in execute
if option==1:
File "game/locations.rpy", line 877, in execute
frame background "#080808cc" pos 25,125 xysize 350,425:
File "game/locations.rpy", line 878, in execute
vbox xsize 315 xpos 5:
File "game/locations.rpy", line 886, in execute
if jen_char.spare_building>0:
File "game/locations.rpy", line 894, in execute
if player.money>=100 and location_spare_building_1.upgrade>0 and location_spare_building_1.upgrade<=camp_level and len(projects)<=3 and get_project_type(projects,10)==0:
File "game/locations.rpy", line 895, in execute
textbutton "Upgrade" xalign .95 action [SetVariable(SetVariable("option2",location_spare_building_1),"project_addition",101),Return(),Jump("add_project")]
File "game/locations.rpy", line 895, in keywords
textbutton "Upgrade" xalign .95 action [SetVariable(SetVariable("option2",location_spare_building_1),"project_addition",101),Return(),Jump("add_project")]
File "game/locations.rpy", line 895, in <module>
textbutton "Upgrade" xalign .95 action [SetVariable(SetVariable("option2",location_spare_building_1),"project_addition",101),Return(),Jump("add_project")]
TypeError: SetVariable() takes exactly 2 arguments (3 given)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/locations.rpy", line 561, in script
call screen office()
File "renpy/ast.py", line 1969, in execute
self.call("execute")
File "renpy/ast.py", line 1957, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "renpy/statements.py", line 278, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 560, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "renpy/exports.py", line 2974, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3007, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
File "renpy/display/core.py", line 3418, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/core.py", line 566, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 566, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 566, in visit_all
d.visit_all(callback, seen)
File "renpy/display/screen.py", line 432, in visit_all
callback(self)
File "renpy/display/core.py", line 3418, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/screen.py", line 443, in per_interact
self.update()
File "renpy/display/screen.py", line 631, in update
self.screen.function(**self.scope)
File "game/locations.rpy", line 563, in execute
screen office():
File "game/locations.rpy", line 563, in execute
screen office():
File "game/locations.rpy", line 696, in execute
if screen_current==2:
File "game/locations.rpy", line 876, in execute
if option==1:
File "game/locations.rpy", line 877, in execute
frame background "#080808cc" pos 25,125 xysize 350,425:
File "game/locations.rpy", line 878, in execute
vbox xsize 315 xpos 5:
File "game/locations.rpy", line 886, in execute
if jen_char.spare_building>0:
File "game/locations.rpy", line 894, in execute
if player.money>=100 and location_spare_building_1.upgrade>0 and location_spare_building_1.upgrade<=camp_level and len(projects)<=3 and get_project_type(projects,10)==0:
File "game/locations.rpy", line 895, in execute
textbutton "Upgrade" xalign .95 action [SetVariable(SetVariable("option2",location_spare_building_1),"project_addition",101),Return(),Jump("add_project")]
File "game/locations.rpy", line 895, in keywords
textbutton "Upgrade" xalign .95 action [SetVariable(SetVariable("option2",location_spare_building_1),"project_addition",101),Return(),Jump("add_project")]
File "game/locations.rpy", line 895, in <module>
textbutton "Upgrade" xalign .95 action [SetVariable(SetVariable("option2",location_spare_building_1),"project_addition",101),Return(),Jump("add_project")]
TypeError: SetVariable() takes exactly 2 arguments (3 given)
Windows-7-6.1.7601-SP1
Ren'Py 7.4.2.1292
Harem Camp 0.6.1
Tue Apr 6 07:09:46 2021