Compare commits

..

2 Commits

Author SHA1 Message Date
1a70aff3bc Unnecessary module 2024-04-06 00:46:04 +02:00
5f742d4525 Simplify following turning states.dolls into a dict 2024-04-06 00:42:27 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ init python:
self.build_image()
renpy.store.states.dolls[name] = self
states.dolls[name] = self
def generate_hash(self):
clothes_hash = str([x[0]._hash for x in self.states.values() if istype(x[0], (DollCloth, DollClothDynamic, DollMakeup)) and x[2]])

View File

@ -23,7 +23,7 @@ init -1 python:
def get_character_object(key):
__check_exists(key)
return getattr(store, key)
return states.dolls[key]
def get_character_outfit(key, typ="default"):
__check_exists(key)