Compare commits
2 Commits
e88fda5a2c
...
1a70aff3bc
Author | SHA1 | Date | |
---|---|---|---|
1a70aff3bc | |||
5f742d4525 |
@ -79,7 +79,7 @@ init python:
|
|||||||
|
|
||||||
self.build_image()
|
self.build_image()
|
||||||
|
|
||||||
renpy.store.states.dolls[name] = self
|
states.dolls[name] = self
|
||||||
|
|
||||||
def generate_hash(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]])
|
clothes_hash = str([x[0]._hash for x in self.states.values() if istype(x[0], (DollCloth, DollClothDynamic, DollMakeup)) and x[2]])
|
||||||
|
@ -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