public StumpTimer(PlumTree Tree, FruitTreeStump Stump, Mobile from) : base(TimeSpan.FromMilliseconds(5500)) { Priority = TimerPriority.TenMS; i_tree = Tree; i_stump = Stump; m_chopper = from; }
public static void init(PlumTree plant, bool full) { plant.LastPick = DateTime.Now; plant.regrowTimer = new FruitTimer(plant); if (full) { plant.Yield = plant.Capacity; } else { plant.Yield = 0; plant.regrowTimer.Start(); } }
public FruitTimer(PlumTree plant) : base(TimeSpan.FromSeconds(900), TimeSpan.FromSeconds(30)) { Priority = TimerPriority.OneSecond; i_plant = plant; }
public StumpTimer( PlumTree Tree, FruitTreeStump Stump, Mobile from ) : base( TimeSpan.FromMilliseconds( 5500 ) ) { Priority = TimerPriority.TenMS; i_tree = Tree; i_stump = Stump; m_chopper = from; }
public FruitTimer( PlumTree plant ) : base( TimeSpan.FromSeconds( 900 ), TimeSpan.FromSeconds( 30 ) ) { Priority = TimerPriority.OneSecond; i_plant = plant; }
public static void init ( PlumTree plant, bool full ) { plant.LastPick = DateTime.Now; plant.regrowTimer = new FruitTimer( plant ); if ( full ) { plant.Yield = plant.Capacity; } else { plant.Yield = 0; plant.regrowTimer.Start(); } }