I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 9122, in script call
$ picked_option.call_action()
File "game/script.rpy", line 9561, in script
call screen serum_trade_ui(mc.business.inventory,mc.business.sale_inventory,"Production Stockpile","Sales Stockpile")
File "renpy/common/000statements.rpy", line 531, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 21, 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 21, 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 24, in execute
frame:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 30, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 39, in execute
frame:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 43, in execute
viewport:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 47, in execute
hbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 49, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 52, 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 55, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 63, in execute
hbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 74, 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 74, 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 9122, in script call
$ picked_option.call_action()
File "game/script.rpy", line 9561, in script
call screen serum_trade_ui(mc.business.inventory,mc.business.sale_inventory,"Production Stockpile","Sales Stockpile")
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\ast.py", line 1949, in execute
self.call("execute")
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\ast.py", line 1937, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\statements.py", line 277, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 531, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\exports.py", line 2905, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\ui.py", line 297, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\display\core.py", line 2702, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\display\core.py", line 3094, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\display\core.py", line 541, in visit_all
d.visit_all(callback, seen)
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\display\core.py", line 541, in visit_all
d.visit_all(callback, seen)
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\display\core.py", line 541, in visit_all
d.visit_all(callback, seen)
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\display\screen.py", line 430, in visit_all
callback(self)
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\display\core.py", line 3094, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\display\screen.py", line 440, in per_interact
self.update()
File "E:\Games\adlt\gms\### Novels\Lab_Rats_2-v0.26.1-pc\Lab_Rats_2-v0.26.1-pc\renpy\display\screen.py", line 625, in update
self.screen.function(**self.scope)
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 21, 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 21, 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 24, in execute
frame:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 30, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 39, in execute
frame:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 43, in execute
viewport:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 47, in execute
hbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 49, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 52, 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 55, in execute
vbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 63, in execute
hbox:
File "game/Mods/Screens/Serum_Screens/enhanced_serum_trade_ui.rpy", line 74, 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 74, 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 74, in <module>
TypeError: bad operand type for unary -: 'unicode'
Windows-8-6.2.9200
Ren'Py 7.3.5.606
Lab Rats 2 - Down to Business v0.26.1
Sat Mar 28 12:44:16 2020