I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 5782, in script call
call talk_person(person_choice) from _call_talk_person
File "game/script.rpy", line 5827, in script
menu:
File "game/script.rpy", line 6239, in <module>
"Special Role Actions." if the_person.valid_role_actions() > 0:
File "game/script.rpy", line 1657, in valid_role_actions
if act.check_requirement(self) or act.check_disabled_slug_requirement(self): #We should also check if a non-action disabled slug would be available so that the player can check what the requirement would be.
File "game/script.rpy", line 1971, in check_requirement
return self.requirement(*extra_args)
File "game/roles.rpy", line 7, in improved_serum_unlock_requirement
if mc.business.is_open_for_business():
File "game/script.rpy", line 408, in is_open_for_business
if not self.is_work_day(): #It is the weekend, people have the day off.
File "game/script.rpy", line 417, in is_work_day
if day % y == 5 or day % 7 == 6: #TODO: add support for expanding workdays
NameError: global name 'y' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 5782, in script call
call talk_person(person_choice) from _call_talk_person
File "game/script.rpy", line 5827, in script
menu:
File "C:\Users\onecoule\Downloads\Lab_Rats_2-v0.8.1-pc\Lab_Rats_2-v0.8.1-pc\renpy\ast.py", line 1531, in execute
choice = renpy.exports.menu(choices, self.set)
File "C:\Users\onecoule\Downloads\Lab_Rats_2-v0.8.1-pc\Lab_Rats_2-v0.8.1-pc\renpy\exports.py", line 874, in menu
if renpy.python.py_eval(condition) ]
File "C:\Users\onecoule\Downloads\Lab_Rats_2-v0.8.1-pc\Lab_Rats_2-v0.8.1-pc\renpy\python.py", line 1943, in py_eval
return py_eval_bytecode(code, globals, locals)
File "C:\Users\onecoule\Downloads\Lab_Rats_2-v0.8.1-pc\Lab_Rats_2-v0.8.1-pc\renpy\python.py", line 1936, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/script.rpy", line 6239, in <module>
"Special Role Actions." if the_person.valid_role_actions() > 0:
File "game/script.rpy", line 1657, in valid_role_actions
if act.check_requirement(self) or act.check_disabled_slug_requirement(self): #We should also check if a non-action disabled slug would be available so that the player can check what the requirement would be.
File "game/script.rpy", line 1971, in check_requirement
return self.requirement(*extra_args)
File "game/roles.rpy", line 7, in improved_serum_unlock_requirement
if mc.business.is_open_for_business():
File "game/script.rpy", line 408, in is_open_for_business
if not self.is_work_day(): #It is the weekend, people have the day off.
File "game/script.rpy", line 417, in is_work_day
if day % y == 5 or day % 7 == 6: #TODO: add support for expanding workdays
NameError: global name 'y' is not defined
Windows-8-6.2.9200
Ren'Py 7.0.0.196
Lab Rats 2 - Down to Business v0.8.1
Tue Aug 28 16:57:10 2018