protected void Digging()
 {
     if (Channeling(ItemList.Shovel, PlayerActions.Dig) == PlayerActions.Dig)
     {
         Shovel s = (Shovel)(this.GetPlayerData().GetInventory()[Global.ItemNames[ItemList.Shovel]]);
         s.Dig(this.GetPlayerData(), this);
     }
 }
Exemple #2
0
 private void Dig()
 {
     StartCoroutine(shovel.Dig());
 }