aboutsummaryrefslogtreecommitdiff
path: root/srb_lib.py
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-04-04 15:52:27 -0400
committerB. Stack <bgstack15@gmail.com>2024-04-04 15:52:27 -0400
commiteefa21a19721ebc8b250799675d9be8ff092997c (patch)
tree6f94211ac2a096d942fce1caf6083ef1f2b978a9 /srb_lib.py
parenttk: minimum viable product (diff)
downloadsrb_lib-eefa21a19721ebc8b250799675d9be8ff092997c.tar.gz
srb_lib-eefa21a19721ebc8b250799675d9be8ff092997c.tar.bz2
srb_lib-eefa21a19721ebc8b250799675d9be8ff092997c.zip
tk: add initial images, and levelset balloon count
Diffstat (limited to 'srb_lib.py')
-rw-r--r--srb_lib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/srb_lib.py b/srb_lib.py
index d388385..3bc803b 100644
--- a/srb_lib.py
+++ b/srb_lib.py
@@ -443,7 +443,7 @@ def set_level_status(data_object,profile_id,level,status,fix_levelset_available_
return -1, -1, f"Unable to decrement levelset available levels."
return data, current_status, ""
-def set_level_balloons(data_object,profile_id,level,count):
+def set_level_balloons(data_object,profile_id,level,count, silent = False):
data = _get_data_from_data_object(data_object)
level_obj, message = get_level_info(level)
if message != "" or level == -1:
@@ -503,7 +503,7 @@ def get_levelset_status(data_object,profile_id,levelset,silent=False):
if not silent:
print(f"Debug: letters, uppercase is collected: {completed_letters}")
# it comes back as an int, but does it look better as a hex?
- return profile_levelset_status, completed_letters
+ return profile_levelset_status, completed_letters, collected_balloons_for_levelset
def set_level_letters(data_object,profile_id,level,letters, silent = False):
""" Set collected letters for given level to all or none. """
bgstack15