I hate my code, but buy/sell is done

This commit is contained in:
2ndbeam 2024-05-23 12:08:25 +03:00
commit 1ea6c2d296
18 changed files with 208 additions and 64 deletions

View file

@ -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)