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