I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 8747, in script call
$ picked_option.call_action()
File "game/script.rpy", line 9187, in script
call screen serum_trade_ui(mc.inventory,mc.business.inventory)
File "renpy/common/000statements.rpy", line 519, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 19, in execute
screen serum_trade_ui(inventory_1,inventory_2,name_1="Player",name_2="Business"): #Lets you trade serums back and forth between two different inventories. Inventory 1 is assumed to be the players.
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 19, in execute
screen serum_trade_ui(inventory_1,inventory_2,name_1="Player",name_2="Business"): #Lets you trade serums back and forth between two different inventories. Inventory 1 is assumed to be the players.
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 22, in execute
frame:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 28, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 37, in execute
frame:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 41, in execute
viewport:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 45, in execute
hbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 47, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 50, in execute
for serum in set(inventory_1.get_serum_type_list()) | set(inventory_2.get_serum_type_list()): #Gets a unique entry for each serum design that shows up in either list. Doesn't duplicate if it's in both.
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 53, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 61, in execute
hbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 72, in execute
textbutton "<" action [Function(inventory_1.change_serum,serum, serum_transfer_amount),Function(inventory_2.change_serum,serum, -serum_transfer_amount)] sensitive (inventory_2.get_serum_count(serum) > serum_transfer_amount - 1) style "textbutton_no_padding_highlight" text_style "serum_text_style"
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 72, in keywords
textbutton "<" action [Function(inventory_1.change_serum,serum, serum_transfer_amount),Function(inventory_2.change_serum,serum, -serum_transfer_amount)] sensitive (inventory_2.get_serum_count(serum) > serum_transfer_amount - 1) style "textbutton_no_padding_highlight" text_style "serum_text_style"
TypeError: bad operand type for unary -: 'unicode'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 8747, in script call
$ picked_option.call_action()
File "game/script.rpy", line 9187, in script
call screen serum_trade_ui(mc.inventory,mc.business.inventory)
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\ast.py", line 1828, in execute
self.call("execute")
File "\random\Lab_Rats_2-v0.24.1-pc\renpy\ast.py", line 1816, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\statements.py", line 177, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 519, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "\random\Lab_Rats_2-v0.24.1-pc\renpy\exports.py", line 2710, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "\random\Lab_Rats_2-v0.24.1-pc\renpy\ui.py", line 287, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\display\core.py", line 2649, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\display\core.py", line 3033, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\display\screen.py", line 424, in visit_all
callback(self)
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\display\core.py", line 3033, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\display\screen.py", line 434, in per_interact
self.update()
File "\Misc\random\Lab_Rats_2-v0.24.1-pc\renpy\display\screen.py", line 619, in update
self.screen.function(**self.scope)
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 19, in execute
screen serum_trade_ui(inventory_1,inventory_2,name_1="Player",name_2="Business"): #Lets you trade serums back and forth between two different inventories. Inventory 1 is assumed to be the players.
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 19, in execute
screen serum_trade_ui(inventory_1,inventory_2,name_1="Player",name_2="Business"): #Lets you trade serums back and forth between two different inventories. Inventory 1 is assumed to be the players.
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 22, in execute
frame:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 28, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 37, in execute
frame:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 41, in execute
viewport:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 45, in execute
hbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 47, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 50, in execute
for serum in set(inventory_1.get_serum_type_list()) | set(inventory_2.get_serum_type_list()): #Gets a unique entry for each serum design that shows up in either list. Doesn't duplicate if it's in both.
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 53, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 61, in execute
hbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 72, in execute
textbutton "<" action [Function(inventory_1.change_serum,serum, serum_transfer_amount),Function(inventory_2.change_serum,serum, -serum_transfer_amount)] sensitive (inventory_2.get_serum_count(serum) > serum_transfer_amount - 1) style "textbutton_no_padding_highlight" text_style "serum_text_style"
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 72, in keywords
textbutton "<" action [Function(inventory_1.change_serum,serum, serum_transfer_amount),Function(inventory_2.change_serum,serum, -serum_transfer_amount)] sensitive (inventory_2.get_serum_count(serum) > serum_transfer_amount - 1) style "textbutton_no_padding_highlight" text_style "serum_text_style"
File "<screen language>", line 72, in <module>
TypeError: bad operand type for unary -: 'unicode'
Windows-8-6.2.9200
Ren'Py 7.0.0.196
Lab Rats 2 - Down to Business v0.24.1
Thu Jan 16 10:01:47 2020