Compare commits
No commits in common. "dfd7972752cf3587da0ddfcc442f9be9c9e558ae" and "878cec8c763f1e57acfaa46af4fbcd29f4c0e72c" have entirely different histories.
dfd7972752
...
878cec8c76
@ -79,7 +79,7 @@ python early hide:
|
||||
return (who, action)
|
||||
|
||||
def execute(self):
|
||||
print(self)
|
||||
print(f"{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 = states.dolls[who]
|
||||
doll = getattr(store, who)
|
||||
|
||||
layers = (
|
||||
l[0] for pose in chibi.poses.keys()
|
||||
|
@ -1,5 +1,3 @@
|
||||
define renpy.store.states.dolls = {}
|
||||
|
||||
init python:
|
||||
class Doll(DollMethods):
|
||||
# 0 - 50 = Skin/Body Layers
|
||||
@ -79,7 +77,11 @@ init python:
|
||||
|
||||
self.build_image()
|
||||
|
||||
renpy.store.states.dolls[name] = self
|
||||
# Add doll name to global doll states store
|
||||
try:
|
||||
renpy.store.states.dolls.add(name)
|
||||
except AttributeError:
|
||||
renpy.store.states.dolls = {name}
|
||||
|
||||
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