示例#1
0
 public void PickPlant(bool addToInventory)
 {
     if (!HasBeenPicked && worlditem.Is(WIMode.Frozen))
     {
         //this will handle everything
         Props.Revealed = true;
         Props.EncounteredTimesOfYear |= WorldClock.SeasonCurrent;
         Plants.SaveProps(Props);
         Plants.Pick(this, addToInventory);
     }
 }