Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public bool Update()
 {
     return(StationUtil.HasFinishedChopping(workstation));
 }