diff --git a/cooperative_cuisine/hooks.py b/cooperative_cuisine/hooks.py index 8ef10d9fe8ca181db6f42b2670ade46f27b46837..8d071249c4926d8b9771be0fc0231f23c81ee64a 100644 --- a/cooperative_cuisine/hooks.py +++ b/cooperative_cuisine/hooks.py @@ -151,6 +151,7 @@ Args: on_hands (bool): if the picked up item is put on the free player hands (True) or on a cooking equipment (False). return_this (Item | None): what will be put on the player (holding) player (str): player id. + player_holding: (Item | None): the item that the player is holding. """ PRE_DISPENSER_PICK_UP = "pre_dispenser_pick_up" @@ -221,6 +222,15 @@ Args: player (str): player id. return_this (Item | None): what will be put on the player (holding) """ +PICK_UP_ON_COOKING_EQUIPMENT = "pick_up_on_cooking_equipment" +"""When pick up from a counter when the player is holding a cooking equipment. Before the combining happens. + +Args: + return_this (Item): the item returned from the counter. + occupied_by (Item): What is now in the counter. + counter (Counter): the counter from which to pick up. + player (str): player id. +""" PRE_PLATE_DISPENSER_DROP_OFF = "pre_plate_dispenser_drop_off"