Unnecessary formatting

This commit is contained in:
Gouvernathor 2024-03-26 19:42:57 +01:00
parent 40be2ccf18
commit c816674c7c

View File

@ -5,11 +5,11 @@ init -1 python:
def get_character_progression(key): def get_character_progression(key):
__check_exists(key) __check_exists(key)
return getattr(states, f"{key[:3]}").level return getattr(states, key[:3]).level
def get_character_scheduling(key): def get_character_scheduling(key):
__check_exists(key) __check_exists(key)
return getattr(states, f"{key[:3]}").wardrobe_scheduling return getattr(states, key[:3]).wardrobe_scheduling
def get_character_requirement(key, type): def get_character_requirement(key, type):
__check_exists(key) __check_exists(key)
@ -70,15 +70,15 @@ init -1 python:
def get_character_unlock(key): def get_character_unlock(key):
__check_exists(key) __check_exists(key)
return getattr(states, f"{key[:3]}").unlocked return getattr(states, key[:3]).unlocked
def get_character_gifted(key): def get_character_gifted(key):
__check_exists(key) __check_exists(key)
return getattr(states, f"{key[:3]}").gifted return getattr(states, key[:3]).gifted
def get_character_mood(key): def get_character_mood(key):
__check_exists(key) __check_exists(key)
return getattr(states, f"{key[:3]}").mood return getattr(states, key[:3]).mood
def get_outfit_score(outfit): def get_outfit_score(outfit):
"""Returns outfit 'lewdness' score""" """Returns outfit 'lewdness' score"""