Beispiel #1
0
 public void OnFedItem(InventorySlot.ItemType type)
 {
     charge = 1;
     if (!continuous)
     {
         StartCoroutine(Spawn());
     }
 }
Beispiel #2
0
 void OnFedItem(InventorySlot.ItemType type)
 {
     timesFed++;
     if (timesFed == 3 && CompareTag("MrBiscuits2"))
     {
         GameOrchestrator.NextPhase();
     }
     if (timesFed >= foodToEvolve)
     {
         GameOrchestrator.NextPhase();
     }
     Health = 1f;
 }
Beispiel #3
0
 void OnFedItem(InventorySlot.ItemType type)
 {
     charge = 1;
 }
Beispiel #4
0
 void OnFedItem(InventorySlot.ItemType type)
 {
     StartCoroutine(FeedTimer());
 }
Beispiel #5
0
 public static bool CanBeFed(InventorySlot.ItemType target, InventorySlot.ItemType food)
 {
     return(Rules[target].Contains(food));
 }