Compare commits
2 Commits
878cec8c76
...
dfd7972752
Author | SHA1 | Date | |
---|---|---|---|
dfd7972752 | |||
1e8f1ebfb8 |
@ -79,7 +79,7 @@ python early hide:
|
||||
return (who, action)
|
||||
|
||||
def execute(self):
|
||||
print(f"{self}")
|
||||
print(self)
|
||||
who, action = self
|
||||
chibi = DollChibi.instance[who]
|
||||
getattr(chibi, action)
|
||||
@ -101,7 +101,7 @@ python early hide:
|
||||
who, action = self
|
||||
|
||||
chibi = DollChibi.instances[who]
|
||||
doll = getattr(store, who)
|
||||
doll = states.dolls[who]
|
||||
|
||||
layers = (
|
||||
l[0] for pose in chibi.poses.keys()
|
||||
|
@ -1,3 +1,5 @@
|
||||
define renpy.store.states.dolls = {}
|
||||
|
||||
init python:
|
||||
class Doll(DollMethods):
|
||||
# 0 - 50 = Skin/Body Layers
|
||||
@ -77,11 +79,7 @@ init python:
|
||||
|
||||
self.build_image()
|
||||
|
||||
# Add doll name to global doll states store
|
||||
try:
|
||||
renpy.store.states.dolls.add(name)
|
||||
except AttributeError:
|
||||
renpy.store.states.dolls = {name}
|
||||
renpy.store.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]])
|
||||
|
Loading…
Reference in New Issue
Block a user