예제 #1
0
        public GetRawIngredientAction(PlayerControls player, string ingredient)
        {
            this.player = player;
            state       = 0;

            PickupItemSpawner ingredientSpawner = StationUtil.GetSpawnerForItem(ingredient);

            Logger.Log("GetRawIngredientAction instantiated");

            currentAction = new PathFindAction(player, ingredientSpawner);
        }
예제 #2
0
 public bool Update()
 {
     return(StationUtil.HasFinishedChopping(workstation));
 }