Simplify following turning states.dolls into a dict
This commit is contained in:
parent
e88fda5a2c
commit
5f742d4525
@ -23,7 +23,7 @@ init -1 python:
|
|||||||
|
|
||||||
def get_character_object(key):
|
def get_character_object(key):
|
||||||
__check_exists(key)
|
__check_exists(key)
|
||||||
return getattr(store, key)
|
return states.dolls[key]
|
||||||
|
|
||||||
def get_character_outfit(key, typ="default"):
|
def get_character_outfit(key, typ="default"):
|
||||||
__check_exists(key)
|
__check_exists(key)
|
||||||
|
Loading…
Reference in New Issue
Block a user