Compare commits
No commits in common. "923384eb37c22e18ce81129d777eb9d27dc07416" and "9befd927a876774f346a2e770291365ca5df11c0" have entirely different histories.
923384eb37
...
9befd927a8
@ -73,23 +73,16 @@ python early hide:
|
||||
class chibi:
|
||||
@staticmethod
|
||||
def parse(l):
|
||||
who = l.name()
|
||||
action = l.name()
|
||||
arguments = l.arguments() # may be None
|
||||
l.expect_eol()
|
||||
who = l.simple_expression()
|
||||
action = l.simple_expression()
|
||||
|
||||
return (who, action, arguments)
|
||||
return (who, action)
|
||||
|
||||
def execute(self):
|
||||
print(self)
|
||||
who, action, arguments = self
|
||||
chibi = DollChibi.instances[who]
|
||||
method = getattr(chibi, action)
|
||||
if arguments is None:
|
||||
args, kwargs = (), {}
|
||||
else:
|
||||
args, kwargs = arguments.evaluate()
|
||||
method(*args, **kwargs)
|
||||
who, action = self
|
||||
chibi = DollChibi.instance[who]
|
||||
getattr(chibi, action)
|
||||
|
||||
# print(f"Execution: {who} {action}")
|
||||
|
||||
|
@ -374,12 +374,12 @@ default hooch_chibi = DollChibi(name="hooch", doll=hooch)
|
||||
# "Rollback block"
|
||||
# $ renpy.block_rollback()
|
||||
|
||||
# chibi tonks move (path=[(500, 421), (650, 521), (800, 421)], repeat=3, pause=False)
|
||||
# "repeat 3"
|
||||
# chibi tonks move (path=[(500, 421), (650, 521), (800, 421)], loop=True, pause=False)
|
||||
# chibi tonks move (path=[(500, 421), (650, 521), (800, 421)], repeat=3)
|
||||
# "loop"
|
||||
# chibi tonks move (path=[(500, 421), (650, 521), (800, 421)], loop=True, pause=False)
|
||||
# chibi tonks move (path=[(500, 421), (650, 521), (800, 421)], loop=True)
|
||||
# "doll synchronisation"
|
||||
# chibi tonks move (path=[(500, 421), (650, 521), (800, 421)], loop=True, pause=False)
|
||||
# ton @ hair default "Default" ("base", "base", "base", "mid")
|
||||
# ton @ hair angry "Angry" ("angry", "narrow", "angry", "mid")
|
||||
# ton @ hair scared "Scared" ("scream", "wide", "worried", "mid")
|
||||
@ -395,18 +395,18 @@ default hooch_chibi = DollChibi(name="hooch", doll=hooch)
|
||||
# "Rollback block"
|
||||
# $ renpy.block_rollback()
|
||||
|
||||
# chibi tonks place (pos=(300,300))
|
||||
# "pos 1"
|
||||
# chibi tonks place (pos=(400,300))
|
||||
# chibi tonks place (pos=(300,300))
|
||||
# "pos 2"
|
||||
# chibi tonks place (pos=(400,400))
|
||||
# chibi tonks place (pos=(400,300))
|
||||
# "pos 3"
|
||||
# chibi tonks place (pos=(200,400))
|
||||
# chibi tonks place (pos=(400,400))
|
||||
# "pos 4"
|
||||
# chibi tonks place (pos=(600,400))
|
||||
# chibi tonks place (pos=(200,400))
|
||||
# "pos 5"
|
||||
# chibi tonks place (pos=(600,400))
|
||||
# "End"
|
||||
# hide tonks_chibi
|
||||
# hide tonks_main
|
||||
# "End"
|
||||
|
||||
# jump main_room_menu
|
||||
|
Loading…
Reference in New Issue
Block a user