When LiSE sends a choice to ELiDE for the player to pick from some options, it currently requires that the code that runs when you pick one option or another be a function or method that takes no extra arguments -- everything must be prewritten. It would be more convenient if you could write a method for some general purpose and use functools.partial to customize it to one player option or another.
When LiSE sends a choice to ELiDE for the player to pick from some options, it currently requires that the code that runs when you pick one option or another be a function or method that takes no extra arguments -- everything must be prewritten. It would be more convenient if you could write a method for some general purpose and use
functools.partial
to customize it to one player option or another.