Class: Studio::Item::BerryData

Inherits:
Object
  • Object
show all
Defined in:
docs/3_Studio.rb

Overview

Class describing the berry data of the item

Instance Attribute Summary collapse

Instance Attribute Details

#drain_rate ⇒ Integer (readonly)

Drain rate of the berry (in hours)

Returns:

  • (Integer)


436
437
438
# File 'docs/3_Studio.rb', line 436

def drain_rate
  @drain_rate
end

#firmness ⇒ Symbol (readonly)

Firmness of the berry (:soft, :very_soft, :hard, :very_hard, :super_hard)

Returns:

  • (Symbol)


424
425
426
# File 'docs/3_Studio.rb', line 424

def firmness
  @firmness
end

#growth ⇒ Integer (readonly)

Growth time of the berry (in hours)

Returns:

  • (Integer)


433
434
435
# File 'docs/3_Studio.rb', line 433

def growth
  @growth
end

#max_yield ⇒ Integer (readonly)

Maximum berry yield when harvested

Returns:

  • (Integer)


430
431
432
# File 'docs/3_Studio.rb', line 430

def max_yield
  @max_yield
end

#min_yield ⇒ Integer (readonly)

Minimum berry yield when harvested

Returns:

  • (Integer)


427
428
429
# File 'docs/3_Studio.rb', line 427

def min_yield
  @min_yield
end

#natural_gift_power ⇒ Integer (readonly)

Power of the move Natural Gift when used with this berry

Returns:

  • (Integer)


442
443
444
# File 'docs/3_Studio.rb', line 442

def natural_gift_power
  @natural_gift_power
end

#natural_gift_type ⇒ Symbol (readonly)

Type of the move Natural Gift when used with this berry

Returns:

  • (Symbol)


439
440
441
# File 'docs/3_Studio.rb', line 439

def natural_gift_type
  @natural_gift_type
end

#size ⇒ Float (readonly)

Size of the berry

Returns:

  • (Float)


421
422
423
# File 'docs/3_Studio.rb', line 421

def size
  @size
end