I hate my code, but buy/sell is done
This commit is contained in:
parent
b68215a710
commit
1ea6c2d296
18 changed files with 208 additions and 64 deletions
|
|
@ -45,6 +45,7 @@ func get_buy_sell_list(buy: bool) -> String:
|
|||
total += item_description(buy, item) + "\n"
|
||||
return total
|
||||
|
||||
## Returns amount of items in buy/sell list
|
||||
func get_buy_sell_len(buy: bool) -> int:
|
||||
var list = items_on_buy if buy else items_on_sell
|
||||
return len(list)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue