Unnecessary formatting

(cherry picked from commit c816674c7c)
This commit is contained in:
Gouvernathor 2024-03-26 19:42:57 +01:00 committed by LoafyLemon
parent 3ebb5c53f4
commit 9182e5b750

View File

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